summaryrefslogtreecommitdiff
path: root/framework/prj/target_lib_fwk.mk
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
commit0e211a1c963efbe4e6e85ed6315982087432341b (patch)
treeecc6b63099ab7db587e81cf21725a1d137ea4fac /framework/prj/target_lib_fwk.mk
parentb726828067fc122fcae94d09cf6ac61f6b2b9e4d (diff)
CWS gnumake2: enabling precompiled headers where possible
Diffstat (limited to 'framework/prj/target_lib_fwk.mk')
-rw-r--r--framework/prj/target_lib_fwk.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/framework/prj/target_lib_fwk.mk b/framework/prj/target_lib_fwk.mk
index 272f57e7df..37b5fbcb58 100644
--- a/framework/prj/target_lib_fwk.mk
+++ b/framework/prj/target_lib_fwk.mk
@@ -27,14 +27,16 @@
$(eval $(call gb_Library_Library,fwk))
-$(call gb_Library_get_headers_target,fwk) : $(call gb_Package_get_target,framework_inc)
+$(eval $(call gb_Library_add_package_headers,fwk,framework_inc))
+
+$(eval $(call gb_Library_add_precompiled_header,fwk,$(SRCDIR)/framework/inc/pch/precompiled_framework))
$(eval $(call gb_Library_set_include,fwk,\
- $$(INCLUDE) \
- -I$(WORKDIR)/inc/framework/ \
-I$(SRCDIR)/framework/inc \
-I$(SRCDIR)/framework/inc/pch \
-I$(SRCDIR)/framework/source/inc \
+ -I$(WORKDIR)/inc/framework/ \
+ $$(INCLUDE) \
-I$(OUTDIR)/inc/framework \
-I$(OUTDIR)/inc/offuh \
))