summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-19 15:44:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-19 15:44:28 +0100
commit8fe21bbcaf1c496d2181c077548d619aa6f66ad6 (patch)
treee1b565b0359f48e7c1b61c2bae0d77a5aa79b871 /i18npool
parent23eb3939a750fbfd3157bd7d3777ae3ec0282b02 (diff)
get localedata to build under windows, lib vs bin
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/localedata/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/i18npool/source/localedata/Makefile b/i18npool/source/localedata/Makefile
index fabf2020ce93..1b70c8de17b1 100644
--- a/i18npool/source/localedata/Makefile
+++ b/i18npool/source/localedata/Makefile
@@ -37,13 +37,24 @@ localedata_%.cxx : localedata_%_invis.cxx
sed 's/\(^.*get[^;]*$$\)/SAL_DLLPUBLIC_EXPORT \1/' $< > $@
localedata_%_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/localedata/data)/%.xml saxparser.rdb
+ifeq ($(OS_FOR_BUILD),WNT)
+ $(gb_Helper_execute)saxparser $* `cygpath -w $<` $@ \
+ $(my_file)`cygpath -m $(WORKDIR)/CustomTarget/i18npool/source/localedata/saxparser.rdb` `cygpath -w $(OUTDIR)/bin/types.rdb` \
+ -env:OOO_INBUILD_SHAREDLIB_DIR=$(my_file)`cygpath -m $(OUTDIR)/bin`
+else
$(gb_Helper_execute)saxparser $* $< $@ \
$(my_file)$(WORKDIR)/CustomTarget/i18npool/source/localedata/saxparser.rdb $(OUTDIR)/bin/types.rdb \
-env:OOO_INBUILD_SHAREDLIB_DIR=$(my_file)$(OUTDIR)/lib
+endif
saxparser.rdb : saxparser.input
+ifeq ($(OS_FOR_BUILD),WNT)
+ $(gb_XSLTPROC) --nonet --stringparam prefix `cygpath -m $(OUTDIR)/xml/` -o $@ \
+ $(SOLARENV)/bin/packcomponents.xslt saxparser.input
+else
$(gb_XSLTPROC) --nonet --stringparam prefix $(OUTDIR)/xml/ -o $@ \
$(SOLARENV)/bin/packcomponents.xslt saxparser.input
+endif
saxparser.input :
echo '<list><filename>$(my_components)</filename></list>' > $@