From 70d60b184c19abc3db43f10953552d23ff7c59d8 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 19 Aug 2011 13:47:21 +0100 Subject: inch closer to windows building --- i18npool/source/collator/Makefile | 4 ++++ i18npool/source/indexentry/Makefile | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'i18npool/source') diff --git a/i18npool/source/collator/Makefile b/i18npool/source/collator/Makefile index 4d1ed240547d..2c2c891e973a 100644 --- a/i18npool/source/collator/Makefile +++ b/i18npool/source/collator/Makefile @@ -36,7 +36,11 @@ collator_%.cxx : collator_%_invis.cxx sed 's/\(^.*get_\)/SAL_DLLPUBLIC_EXPORT \1/' $< > $@ collator_%_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/collator/data)/%.txt +ifeq ($(OS_FOR_BUILD),WNT) + $(gb_Helper_execute)gencoll_rule `cygpath -m $<` $@ $* +else $(gb_Helper_execute)gencoll_rule $< $@ $* +endif lrl_include.hxx : $(txtlist) echo '#define LOCAL_RULE_LANGS "$(sort $(foreach txt,$(^F),$(firstword $(subst _, ,$(txt)))))"' > $@ diff --git a/i18npool/source/indexentry/Makefile b/i18npool/source/indexentry/Makefile index a95e3672ac5c..c5335dcd66c4 100644 --- a/i18npool/source/indexentry/Makefile +++ b/i18npool/source/indexentry/Makefile @@ -34,7 +34,11 @@ include $(GBUILDDIR)/gbuild_simple.mk sed 's/\(^.*get_\)/SAL_DLLPUBLIC_EXPORT \1/' $< > $@ %_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/indexentry/data)/%.txt +ifeq ($(OS_FOR_BUILD),WNT) + $(gb_Helper_execute)genindex_data `cygpath -m $<` $@ $* +else $(gb_Helper_execute)genindex_data $< $@ $* +endif .PHONY: all # vim: set noet sw=4 ts=4: -- cgit