diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-19 15:44:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-19 15:44:28 +0100 |
commit | 8fe21bbcaf1c496d2181c077548d619aa6f66ad6 (patch) | |
tree | e1b565b0359f48e7c1b61c2bae0d77a5aa79b871 /i18npool/source | |
parent | Resolves: fdo#39026 SfxPickList singleton wasn't instantiated (diff) | |
download | core-8fe21bbcaf1c496d2181c077548d619aa6f66ad6.tar.gz core-8fe21bbcaf1c496d2181c077548d619aa6f66ad6.zip |
get localedata to build under windows, lib vs bin
Diffstat (limited to 'i18npool/source')
-rw-r--r-- | i18npool/source/localedata/Makefile | 11 |
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>' > $@ |