summaryrefslogtreecommitdiff
path: root/xmloff/prj
diff options
context:
space:
mode:
authorBjoern Michaelsen <b_michaelsen@openoffice.org>2010-06-18 19:03:40 +0200
committerBjoern Michaelsen <b_michaelsen@openoffice.org>2010-06-18 19:03:40 +0200
commitb25e198437049b3db6d70a4fb81713fd937b6f5a (patch)
tree067d590e58d85f0be91252d9c5240287b9537fd9 /xmloff/prj
parent137b283deb31f38a25d9996dc1a0c2057d39998a (diff)
CWS gnumake2: enabling precompiled headers where possible
Diffstat (limited to 'xmloff/prj')
-rw-r--r--xmloff/prj/target_lib_xo.mk4
-rw-r--r--xmloff/prj/target_lib_xof.mk8
2 files changed, 7 insertions, 5 deletions
diff --git a/xmloff/prj/target_lib_xo.mk b/xmloff/prj/target_lib_xo.mk
index d503388be383..5a13d5053f93 100644
--- a/xmloff/prj/target_lib_xo.mk
+++ b/xmloff/prj/target_lib_xo.mk
@@ -27,7 +27,9 @@
$(eval $(call gb_Library_Library,xo))
-$(call gb_Library_get_headers_target,xo) : $(call gb_Package_get_target,xo_inc)
+$(eval $(call gb_Library_add_package_headers,xo,xmloff_inc))
+
+$(eval $(call gb_Library_add_precompiled_header,xo,$(SRCDIR)/xmloff/inc/pch/precompiled_xmloff))
$(eval $(call gb_Library_set_include,xo,\
$$(SOLARINC) \
diff --git a/xmloff/prj/target_lib_xof.mk b/xmloff/prj/target_lib_xof.mk
index a414106da31e..320aafbf12fe 100644
--- a/xmloff/prj/target_lib_xof.mk
+++ b/xmloff/prj/target_lib_xof.mk
@@ -28,13 +28,13 @@
$(eval $(call gb_Library_Library,xof))
$(eval $(call gb_Library_set_include,xof,\
- $$(SOLARINC) \
- -I$(WORKDIR)/inc/ \
+ -I$(SRCDIR)/xmloff/inc/pch \
-I$(SRCDIR)/xmloff/inc \
-I$(SRCDIR)/xmloff/source/inc \
- -I$(SRCDIR)/xmloff/inc/pch \
- -I$(OUTDIR)/inc/offuh \
+ -I$(WORKDIR)/inc/ \
+ $$(INCLUDE) \
-I$(OUTDIR)/inc \
+ -I$(OUTDIR)/inc/offuh \
))
$(eval $(call gb_Library_add_linked_libs,xof,\