diff options
author | Bjoern Michaelsen <b_michaelsen@openoffice.org> | 2010-06-11 18:39:05 +0200 |
---|---|---|
committer | Bjoern Michaelsen <b_michaelsen@openoffice.org> | 2010-06-11 18:39:05 +0200 |
commit | 331210d4b90e96706b79e3b1158710391664515f (patch) | |
tree | 44e77997221218834bdcc61dc68ea3471d280913 /sw/prj | |
parent | 155250b64550030864994a1fee40132944b7cac6 (diff) |
CWS gnumake2: more work on precompiled headers
Diffstat (limited to 'sw/prj')
-rwxr-xr-x[-rw-r--r--] | sw/prj/target_module_sw.mk | 10 | ||||
-rwxr-xr-x | sw/prj/target_pch_sw.mk | 41 |
2 files changed, 47 insertions, 4 deletions
diff --git a/sw/prj/target_module_sw.mk b/sw/prj/target_module_sw.mk index 20e4944877dd..cb9433eb44e1 100644..100755 --- a/sw/prj/target_module_sw.mk +++ b/sw/prj/target_module_sw.mk @@ -26,7 +26,9 @@ #************************************************************************* $(eval $(call gb_Module_Module,sw,\ - $(call gb_AllLangResTarget_get_target,sw) \ + $(call gb_PrecompiledHeader_get_target,precompiled_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) \ @@ -35,10 +37,11 @@ $(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,\ - lib_sw \ + pch_sw \ +)) + #lib_sw \ lib_swd \ lib_swui \ lib_msword \ @@ -47,4 +50,3 @@ $(eval $(call gb_Module_read_includes,sw,\ package_uiconfig \ package_xml \ res_sw \ -)) diff --git a/sw/prj/target_pch_sw.mk b/sw/prj/target_pch_sw.mk new file mode 100755 index 000000000000..1ef7f12f0a3b --- /dev/null +++ b/sw/prj/target_pch_sw.mk @@ -0,0 +1,41 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2009 by Sun Microsystems, Inc. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +$(eval $(call gb_PrecompiledHeader_PrecompiledHeader,precompiled_sw,$(SRCDIR)/sw/inc/pch/precompiled_sw)) + +$(eval $(call gb_PrecompiledHeader_set_include,precompiled_sw,\ + $$(INCLUDE) \ + -I$(OUTDIR)/inc/offuh \ + -I$(OUTDIR)/inc \ +)) + +$(eval $(call gb_PrecompiledHeader_set_defs,precompiled_sw,\ + $$(DEFS) \ + -DACCESSIBLE_LAYOUT \ +)) + +# vim: set noet sw=4 ts=4: |