bump product version to 4.2.0.1
[LibreOffice.git] / i18npool / Library_i18npool.mk
blobf8900bf0fb6546aa4d535fd995ae7d84a4b0780c
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Library_Library,i18npool))
12 $(eval $(call gb_Library_set_componentfile,i18npool,i18npool/util/i18npool))
14 $(eval $(call gb_Library_set_include,i18npool,\
15 $$(INCLUDE) \
16 -I$(SRCDIR)/i18npool/inc \
19 $(eval $(call gb_Library_use_sdk_api,i18npool))
21 $(eval $(call gb_Library_use_libraries,i18npool,\
22 comphelper \
23 cppu \
24 cppuhelper \
25 i18nlangtag \
26 i18nutil \
27 sal \
28 $(gb_UWINAPI) \
31 $(eval $(call gb_Library_use_externals,i18npool,\
32 boost_headers \
33 icui18n \
34 icuuc \
35 icu_headers \
38 $(eval $(call gb_Library_add_exception_objects,i18npool,\
39 i18npool/source/breakiterator/breakiterator_cjk \
40 i18npool/source/breakiterator/breakiterator_ctl \
41 i18npool/source/breakiterator/breakiteratorImpl \
42 i18npool/source/breakiterator/breakiterator_th \
43 i18npool/source/breakiterator/breakiterator_unicode \
44 i18npool/source/breakiterator/xdictionary \
45 i18npool/source/calendar/calendarImpl \
46 i18npool/source/calendar/calendar_gregorian \
47 i18npool/source/calendar/calendar_hijri \
48 i18npool/source/calendar/calendar_jewish \
49 i18npool/source/characterclassification/cclass_unicode \
50 i18npool/source/characterclassification/cclass_unicode_parser \
51 i18npool/source/characterclassification/characterclassificationImpl \
52 i18npool/source/characterclassification/unoscripttypedetector \
53 i18npool/source/collator/chaptercollator \
54 i18npool/source/collator/collatorImpl \
55 i18npool/source/collator/collator_unicode \
56 i18npool/source/defaultnumberingprovider/defaultnumberingprovider \
57 i18npool/source/indexentry/indexentrysupplier \
58 i18npool/source/indexentry/indexentrysupplier_asian \
59 i18npool/source/indexentry/indexentrysupplier_common \
60 i18npool/source/indexentry/indexentrysupplier_default \
61 i18npool/source/indexentry/indexentrysupplier_ja_phonetic \
62 i18npool/source/inputchecker/inputsequencechecker \
63 i18npool/source/inputchecker/inputsequencechecker_hi \
64 i18npool/source/inputchecker/inputsequencechecker_th \
65 i18npool/source/localedata/localedata \
66 i18npool/source/nativenumber/nativenumbersupplier \
67 i18npool/source/numberformatcode/numberformatcode \
68 i18npool/source/ordinalsuffix/ordinalsuffix \
69 i18npool/source/registerservices/registerservices \
70 i18npool/source/textconversion/textconversion \
71 i18npool/source/textconversion/textconversionImpl \
72 i18npool/source/textconversion/textconversion_ko \
73 i18npool/source/textconversion/textconversion_zh \
74 i18npool/source/transliteration/chartonum \
75 i18npool/source/transliteration/fullwidthToHalfwidth \
76 i18npool/source/transliteration/halfwidthToFullwidth \
77 i18npool/source/transliteration/hiraganaToKatakana \
78 i18npool/source/transliteration/ignoreBaFa_ja_JP \
79 i18npool/source/transliteration/ignoreHyuByu_ja_JP \
80 i18npool/source/transliteration/ignoreIandEfollowedByYa_ja_JP \
81 i18npool/source/transliteration/ignoreIterationMark_ja_JP \
82 i18npool/source/transliteration/ignoreKana \
83 i18npool/source/transliteration/ignoreKiKuFollowedBySa_ja_JP \
84 i18npool/source/transliteration/ignoreMiddleDot_ja_JP \
85 i18npool/source/transliteration/ignoreMinusSign_ja_JP \
86 i18npool/source/transliteration/ignoreProlongedSoundMark_ja_JP \
87 i18npool/source/transliteration/ignoreSeparator_ja_JP \
88 i18npool/source/transliteration/ignoreSeZe_ja_JP \
89 i18npool/source/transliteration/ignoreSize_ja_JP \
90 i18npool/source/transliteration/ignoreSpace_ja_JP \
91 i18npool/source/transliteration/ignoreTiJi_ja_JP \
92 i18npool/source/transliteration/ignoreTraditionalKana_ja_JP \
93 i18npool/source/transliteration/ignoreTraditionalKanji_ja_JP \
94 i18npool/source/transliteration/ignoreWidth \
95 i18npool/source/transliteration/ignoreZiZu_ja_JP \
96 i18npool/source/transliteration/ignoreDiacritics_CTL \
97 i18npool/source/transliteration/katakanaToHiragana \
98 i18npool/source/transliteration/largeToSmall_ja_JP \
99 i18npool/source/transliteration/numtochar \
100 i18npool/source/transliteration/numtotext_cjk \
101 i18npool/source/transliteration/smallToLarge_ja_JP \
102 i18npool/source/transliteration/texttonum \
103 i18npool/source/transliteration/textToPronounce_zh \
104 i18npool/source/transliteration/transliteration_body \
105 i18npool/source/transliteration/transliteration_caseignore \
106 i18npool/source/transliteration/transliteration_commonclass \
107 i18npool/source/transliteration/transliteration_Ignore \
108 i18npool/source/transliteration/transliterationImpl \
109 i18npool/source/transliteration/transliteration_Numeric \
110 i18npool/source/transliteration/transliteration_OneToOne \
113 ifeq ($(DISABLE_DYNLOADING),TRUE)
114 $(call gb_CxxObject_get_target,i18npool/source/localedata/localedata): $(call gb_CustomTarget_get_workdir,i18npool/localedata)/localedata_static.hxx
116 $(call gb_CustomTarget_get_workdir,i18npool/localedata)/localedata_static.hxx : $(SRCDIR)/i18npool/source/localedata/genstaticheader.pl
117 $(PERL) $(SRCDIR)/i18npool/source/localedata/genstaticheader.pl $(patsubst $(SRCDIR)/i18npool/source/localedata/data/%.xml,%,$(shell echo $(SRCDIR)/i18npool/source/localedata/data/*.xml)) >$@
119 $(call gb_CxxObject_get_target,i18npool/source/localedata/localedata) : \
120 INCLUDE += -I$(call gb_CustomTarget_get_workdir,i18npool/localedata)
122 endif
124 # collator_unicode.cxx includes generated lrl_include.hxx
125 $(call gb_CxxObject_get_target,i18npool/source/collator/collator_unicode) : \
126 INCLUDE += -I$(call gb_CustomTarget_get_workdir,i18npool/collator)
127 $(call gb_CxxObject_get_target,i18npool/source/collator/collator_unicode) :| \
128 $(call gb_CustomTarget_get_workdir,i18npool/collator)/lrl_include.hxx
130 $(eval $(call gb_Library_add_generated_cobjects,i18npool,\
131 CustomTarget/i18npool/breakiterator/OpenOffice_dat \
132 $(foreach txt,$(wildcard $(SRCDIR)/i18npool/source/breakiterator/data/*.txt),\
133 CustomTarget/i18npool/breakiterator/$(notdir $(basename $(txt)))_brk),\
134 $(if $(filter GCC,$(COM)),-Wno-unused-macros) \
137 # i18npool dlopens localedata_* libraries.
138 # This is runtime dependency to prevent tests
139 # to be run sooner then localedata_* exists.
140 $(call gb_Library_get_target,i18npool) : | \
141 $(call gb_Library_get_target,localedata_en) \
142 $(call gb_Library_get_target,localedata_es) \
143 $(call gb_Library_get_target,localedata_euro) \
144 $(call gb_Library_get_target,localedata_others) \
146 # vim: set noet sw=4 ts=4: