diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2008-01-16 13:32:22 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2008-01-16 13:32:22 +0000 |
commit | f02fe1c456555e6001180d64cfe1582982cb495b (patch) | |
tree | e801a7d62332862266d2f0aa286a2e0c1ca26a57 /i18npool/source/collator | |
parent | 7e7cc4d0fa0db2036da7d67d4349ff815a47cbca (diff) |
INTEGRATION: CWS ause085 (1.16.2); FILE MERGED
2007/11/27 12:34:15 hjs 1.16.2.3: #i83988# make sure list gets updated in incremental build
2007/11/26 17:12:46 hjs 1.16.2.2: #i83988# write language list define to .hxx and include it
2007/11/26 15:00:04 hjs 1.16.2.1: #i83981# makefile fixes
Diffstat (limited to 'i18npool/source/collator')
-rw-r--r-- | i18npool/source/collator/makefile.mk | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/i18npool/source/collator/makefile.mk b/i18npool/source/collator/makefile.mk index f05f4cea2986..7da297d9549f 100644 --- a/i18npool/source/collator/makefile.mk +++ b/i18npool/source/collator/makefile.mk @@ -4,9 +4,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.16 $ +# $Revision: 1.17 $ # -# last change: $Author: rt $ $Date: 2007-11-06 15:50:57 $ +# last change: $Author: ihi $ $Date: 2008-01-16 14:32:22 $ # # The Contents of this file are made available subject to # the terms of GNU Lesser General Public License Version 2.1. @@ -46,17 +46,9 @@ ENABLE_EXCEPTIONS=TRUE # --- Files -------------------------------------------------------- -tempvar:=$(shell @cd data && ls *.txt) -LOCAL_RULE_LANGS:=$(uniq $(foreach,i,$(tempvar) $(i:s/-/_/:s/_/ /:1))) -rules_dependencies:=$(foreach,i,$(tempvar) data$/$i) - -.IF "$(GUI)"=="WNT" -CFLAGSCXX+=-DLOCAL_RULE_LANGS="\"$(LOCAL_RULE_LANGS)\"" -.ELIF "$(GUI)"=="OS2" -#CFLAGSCXX+=-DLOCAL_RULE_LANGS="$(LOCAL_RULE_LANGS)" -.ELSE -CFLAGSCXX+=-DLOCAL_RULE_LANGS='"$(LOCAL_RULE_LANGS)"' -.ENDIF +txtlist:=$(shell @cd data && ls *.txt) +LOCAL_RULE_LANGS:=$(uniq $(foreach,i,$(txtlist) $(i:s/-/_/:s/_/ /:1))) +rules_dependencies:=$(foreach,i,$(txtlist) data$/$i) $(INCCOM)$/lrl_include.hxx rules_obj = $(SLO)$/collator_unicode.obj @@ -80,3 +72,8 @@ APP1STDLIBS = $(SALLIB) \ .INCLUDE : target.mk $(rules_obj) : $(rules_dependencies) + +$(INCCOM)$/lrl_include.hxx: $(foreach,i,$(txtlist) data$/$i) + @@$(RM) $@ + @echo $(EMQ)#define LOCAL_RULE_LANGS $(EMQ)"$(LOCAL_RULE_LANGS)$(EMQ)" >& $@ + |