From f6e1fa452313e3916f6bae5ab6c2c07141b34934 Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Wed, 16 Jun 2010 16:10:59 +0200 Subject: CWS gnumake2: simplified pch, integrated with linktarget --- sw/prj/target_lib_sw.mk | 2 ++ sw/prj/target_module_sw.mk | 10 ++++------ 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sw') diff --git a/sw/prj/target_lib_sw.mk b/sw/prj/target_lib_sw.mk index 28e0bc45ed0d..ddd2f4507110 100644 --- a/sw/prj/target_lib_sw.mk +++ b/sw/prj/target_lib_sw.mk @@ -29,6 +29,8 @@ $(eval $(call gb_Library_Library,sw)) $(eval $(call gb_Library_add_sdi_headers,sw,sw/sdi/swslots)) +$(eval $(call gb_Library_add_precompiled_header,sw,$(SRCDIR)/sw/inc/pch/precompiled_sw)) + $(eval $(call gb_Library_set_include,sw,\ -I$(SRCDIR)/sw/source/core/inc \ -I$(SRCDIR)/sw/source/filter/inc \ diff --git a/sw/prj/target_module_sw.mk b/sw/prj/target_module_sw.mk index cb9433eb44e1..20e4944877dd 100755 --- a/sw/prj/target_module_sw.mk +++ b/sw/prj/target_module_sw.mk @@ -26,9 +26,7 @@ #************************************************************************* $(eval $(call gb_Module_Module,sw,\ - $(call gb_PrecompiledHeader_get_target,precompiled_sw) \ -)) - #$(call gb_AllLangResTarget_get_target,sw) \ + $(call gb_AllLangResTarget_get_target,sw) \ $(call gb_Library_get_target,msword) \ $(call gb_Library_get_target,sw) \ $(call gb_Library_get_target,swd) \ @@ -37,11 +35,10 @@ $(eval $(call gb_Module_Module,sw,\ $(call gb_Package_get_target,sw_uiconfig) \ $(call gb_Package_get_target,sw_xml) \ $(call gb_Package_get_target,sw_misc) \ +)) $(eval $(call gb_Module_read_includes,sw,\ - pch_sw \ -)) - #lib_sw \ + lib_sw \ lib_swd \ lib_swui \ lib_msword \ @@ -50,3 +47,4 @@ $(eval $(call gb_Module_read_includes,sw,\ package_uiconfig \ package_xml \ res_sw \ +)) -- cgit