Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / i18npool / Library_i18npool.mk
blob183ea54ecabd2919e9a73685e9a8477e45a3bbae
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License or as specified alternatively below. You may obtain a copy of
7 # the License at http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
12 # License.
14 # The Initial Developer of the Original Code is
15 # Matúš Kukan <matus.kukan@gmail.com>
16 # Portions created by the Initial Developer are Copyright (C) 2011 the
17 # Initial Developer. All Rights Reserved.
19 # Major Contributor(s):
21 # For minor contributions see the git repository.
23 # Alternatively, the contents of this file may be used under the terms of
24 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
25 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
26 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
27 # instead of those above.
29 $(eval $(call gb_Library_Library,i18npool))
31 $(eval $(call gb_Library_set_componentfile,i18npool,i18npool/util/i18npool))
33 $(eval $(call gb_Library_set_include,i18npool,\
34 $$(INCLUDE) \
35 -I$(SRCDIR)/i18npool/inc \
38 $(eval $(call gb_Library_use_sdk_api,i18npool))
40 $(eval $(call gb_Library_use_libraries,i18npool,\
41 comphelper \
42 cppu \
43 cppuhelper \
44 i18nisolang1 \
45 i18nutil \
46 sal \
47 $(gb_UWINAPI) \
50 $(eval $(call gb_Library_use_externals,i18npool,\
51 icui18n \
52 icuuc \
55 $(eval $(call gb_Library_add_exception_objects,i18npool,\
56 i18npool/source/breakiterator/breakiterator_cjk \
57 i18npool/source/breakiterator/breakiterator_ctl \
58 i18npool/source/breakiterator/breakiteratorImpl \
59 i18npool/source/breakiterator/breakiterator_th \
60 i18npool/source/breakiterator/breakiterator_unicode \
61 i18npool/source/breakiterator/xdictionary \
62 i18npool/source/calendar/calendarImpl \
63 i18npool/source/calendar/calendar_gregorian \
64 i18npool/source/calendar/calendar_hijri \
65 i18npool/source/calendar/calendar_jewish \
66 i18npool/source/characterclassification/cclass_unicode \
67 i18npool/source/characterclassification/cclass_unicode_parser \
68 i18npool/source/characterclassification/characterclassificationImpl \
69 i18npool/source/characterclassification/unoscripttypedetector \
70 i18npool/source/collator/chaptercollator \
71 i18npool/source/collator/collatorImpl \
72 i18npool/source/collator/collator_unicode \
73 i18npool/source/defaultnumberingprovider/defaultnumberingprovider \
74 i18npool/source/indexentry/indexentrysupplier \
75 i18npool/source/indexentry/indexentrysupplier_asian \
76 i18npool/source/indexentry/indexentrysupplier_common \
77 i18npool/source/indexentry/indexentrysupplier_default \
78 i18npool/source/indexentry/indexentrysupplier_ja_phonetic \
79 i18npool/source/inputchecker/inputsequencechecker \
80 i18npool/source/inputchecker/inputsequencechecker_hi \
81 i18npool/source/inputchecker/inputsequencechecker_th \
82 i18npool/source/localedata/localedata \
83 i18npool/source/nativenumber/nativenumbersupplier \
84 i18npool/source/numberformatcode/numberformatcode \
85 i18npool/source/ordinalsuffix/ordinalsuffix \
86 i18npool/source/registerservices/registerservices \
87 i18npool/source/textconversion/textconversion \
88 i18npool/source/textconversion/textconversionImpl \
89 i18npool/source/textconversion/textconversion_ko \
90 i18npool/source/textconversion/textconversion_zh \
91 i18npool/source/transliteration/chartonum \
92 i18npool/source/transliteration/fullwidthToHalfwidth \
93 i18npool/source/transliteration/halfwidthToFullwidth \
94 i18npool/source/transliteration/hiraganaToKatakana \
95 i18npool/source/transliteration/ignoreBaFa_ja_JP \
96 i18npool/source/transliteration/ignoreHyuByu_ja_JP \
97 i18npool/source/transliteration/ignoreIandEfollowedByYa_ja_JP \
98 i18npool/source/transliteration/ignoreIterationMark_ja_JP \
99 i18npool/source/transliteration/ignoreKana \
100 i18npool/source/transliteration/ignoreKiKuFollowedBySa_ja_JP \
101 i18npool/source/transliteration/ignoreMiddleDot_ja_JP \
102 i18npool/source/transliteration/ignoreMinusSign_ja_JP \
103 i18npool/source/transliteration/ignoreProlongedSoundMark_ja_JP \
104 i18npool/source/transliteration/ignoreSeparator_ja_JP \
105 i18npool/source/transliteration/ignoreSeZe_ja_JP \
106 i18npool/source/transliteration/ignoreSize_ja_JP \
107 i18npool/source/transliteration/ignoreSpace_ja_JP \
108 i18npool/source/transliteration/ignoreTiJi_ja_JP \
109 i18npool/source/transliteration/ignoreTraditionalKana_ja_JP \
110 i18npool/source/transliteration/ignoreTraditionalKanji_ja_JP \
111 i18npool/source/transliteration/ignoreWidth \
112 i18npool/source/transliteration/ignoreZiZu_ja_JP \
113 i18npool/source/transliteration/katakanaToHiragana \
114 i18npool/source/transliteration/largeToSmall_ja_JP \
115 i18npool/source/transliteration/numtochar \
116 i18npool/source/transliteration/numtotext_cjk \
117 i18npool/source/transliteration/smallToLarge_ja_JP \
118 i18npool/source/transliteration/texttonum \
119 i18npool/source/transliteration/textToPronounce_zh \
120 i18npool/source/transliteration/transliteration_body \
121 i18npool/source/transliteration/transliteration_caseignore \
122 i18npool/source/transliteration/transliteration_commonclass \
123 i18npool/source/transliteration/transliteration_Ignore \
124 i18npool/source/transliteration/transliterationImpl \
125 i18npool/source/transliteration/transliteration_Numeric \
126 i18npool/source/transliteration/transliteration_OneToOne \
129 ifeq ($(DISABLE_DYNLOADING),TRUE)
130 $(call gb_CxxObject_get_target,i18npool/source/localedata/localedata): $(call gb_CustomTarget_get_workdir,i18npool/localedata)/localedata_static.hxx
132 $(call gb_CustomTarget_get_workdir,i18npool/localedata)/localedata_static.hxx : $(SRCDIR)/i18npool/source/localedata/genstaticheader.pl
133 $(PERL) $(SRCDIR)/i18npool/source/localedata/genstaticheader.pl $(patsubst $(SRCDIR)/i18npool/source/localedata/data/%.xml,%,$(shell echo $(SRCDIR)/i18npool/source/localedata/data/*.xml)) >$@
135 $(call gb_CxxObject_get_target,i18npool/source/localedata/localedata) : \
136 INCLUDE += -I$(call gb_CustomTarget_get_workdir,i18npool/localedata)
138 endif
140 # collator_unicode.cxx includes generated lrl_include.hxx
141 $(call gb_CxxObject_get_target,i18npool/source/collator/collator_unicode) : \
142 INCLUDE += -I$(call gb_CustomTarget_get_workdir,i18npool/collator)
143 $(call gb_CxxObject_get_target,i18npool/source/collator/collator_unicode) :| \
144 $(call gb_CustomTarget_get_workdir,i18npool/collator)/lrl_include.hxx
146 $(eval $(call gb_Library_add_generated_cobjects,i18npool,\
147 CustomTarget/i18npool/breakiterator/OpenOffice_dat \
148 $(foreach txt,$(wildcard $(SRCDIR)/i18npool/source/breakiterator/data/*.txt),\
149 CustomTarget/i18npool/breakiterator/$(notdir $(basename $(txt)))_brk) \
152 # i18npool dlopens localedata_* libraries.
153 # This is runtime dependency to prevent tests
154 # to be run sooner then localedata_* exists.
155 $(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,i18npool)) :| \
156 $(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,localedata_en)) \
157 $(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,localedata_es)) \
158 $(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,localedata_euro)) \
159 $(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,localedata_others)) \
161 # vim: set noet sw=4 ts=4: