Bump for 4.0-15
[LibreOffice.git] / i18npool / CppunitTest_i18npool_test_languagetag.mk
blob02aae4126859e91033bf46afe238f4b4dbb9356b
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_CppunitTest_CppunitTest,i18npool_test_languagetag))
12 $(eval $(call gb_CppunitTest_use_api,i18npool_test_languagetag,\
13 udkapi \
14 offapi \
17 $(eval $(call gb_CppunitTest_use_library_objects,i18npool_test_languagetag,i18nisolang1))
19 $(eval $(call gb_CppunitTest_use_libraries,i18npool_test_languagetag,\
20 cppu \
21 cppuhelper \
22 sal \
23 $(gb_UWINAPI) \
26 ifeq ($(ENABLE_LIBLANGTAG),YES)
27 $(eval $(call gb_CppunitTest_use_externals,i18npool_test_languagetag,\
28 liblangtag \
29 libxml2 \
31 $(eval $(call gb_CppunitTest_add_defs,i18npool_test_languagetag,-DENABLE_LIBLANGTAG))
33 ifeq ($(SYSTEM_LIBLANGTAG),YES)
34 $(eval $(call gb_CppunitTest_add_defs,i18npool_test_languagetag,-DSYSTEM_LIBLANGTAG))
35 else
36 $(eval $(call gb_CppunitTest_use_package,i18npool_test_languagetag,langtag_data))
37 endif
38 endif
40 $(eval $(call gb_CppunitTest_set_include,i18npool_test_languagetag,\
41 -I$(SRCDIR)/i18npool/inc \
42 $$(INCLUDE) \
45 $(eval $(call gb_CppunitTest_add_exception_objects,i18npool_test_languagetag,\
46 i18npool/qa/cppunit/test_languagetag \
49 # vim: set noet sw=4 ts=4: