bump product version to 4.1.6.2
[LibreOffice.git] / i18nlangtag / CppunitTest_i18nlangtag_test_languagetag.mk
blobf00171747ef332435fce15be0edd77d936047e82
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,i18nlangtag_test_languagetag))
12 $(eval $(call gb_CppunitTest_use_api,i18nlangtag_test_languagetag,\
13 udkapi \
14 offapi \
17 $(eval $(call gb_CppunitTest_use_libraries,i18nlangtag_test_languagetag,\
18 i18nlangtag \
19 cppu \
20 cppuhelper \
21 sal \
22 $(gb_UWINAPI) \
25 ifeq ($(ENABLE_LIBLANGTAG),YES)
26 $(eval $(call gb_CppunitTest_use_externals,i18nlangtag_test_languagetag,\
27 liblangtag \
28 libxml2 \
30 $(eval $(call gb_CppunitTest_add_defs,i18nlangtag_test_languagetag,-DENABLE_LIBLANGTAG))
32 ifeq ($(SYSTEM_LIBLANGTAG),YES)
33 $(eval $(call gb_CppunitTest_add_defs,i18nlangtag_test_languagetag,-DSYSTEM_LIBLANGTAG))
34 else
35 $(eval $(call gb_CppunitTest_use_package,i18nlangtag_test_languagetag,langtag_data))
36 endif
37 endif
39 $(eval $(call gb_CppunitTest_add_exception_objects,i18nlangtag_test_languagetag,\
40 i18nlangtag/qa/cppunit/test_languagetag \
43 # vim: set noet sw=4 ts=4: