1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #*************************************************************************
12 $(eval
$(call gb_CppunitTest_CppunitTest
,sw_odfexport2
))
14 $(eval
$(call gb_CppunitTest_use_common_precompiled_header
,sw_odfexport2
))
16 $(eval
$(call gb_CppunitTest_add_exception_objects
,sw_odfexport2
, \
17 sw
/qa
/extras
/odfexport
/odfexport2 \
20 $(eval
$(call gb_CppunitTest_use_libraries
,sw_odfexport2
, \
38 $(eval
$(call gb_CppunitTest_use_externals
,sw_odfexport2
,\
43 $(eval
$(call gb_CppunitTest_set_include
,sw_odfexport2
,\
45 -I
$(SRCDIR
)/sw
/source
/core
/inc \
46 -I
$(SRCDIR
)/sw
/qa
/inc \
47 -I
$(SRCDIR
)/sw
/source
/uibase
/inc \
51 $(eval
$(call gb_CppunitTest_use_api
,sw_odfexport2
,\
57 $(eval
$(call gb_CppunitTest_use_ure
,sw_odfexport2
))
58 $(eval
$(call gb_CppunitTest_use_vcl
,sw_odfexport2
))
60 $(eval
$(call gb_CppunitTest_use_rdb
,sw_odfexport2
,services
))
62 $(eval
$(call gb_CppunitTest_use_custom_headers
,sw_odfexport2
,\
66 $(eval
$(call gb_CppunitTest_use_configuration
,sw_odfexport2
))
68 $(eval
$(call gb_CppunitTest_use_uiconfigs
,sw_odfexport2
, \
73 $(eval
$(call gb_CppunitTest_use_more_fonts
,sw_odfexport2
))
75 ifneq ($(filter DICTIONARIES
,$(BUILD_TYPE
)),)
76 $(eval
$(call gb_CppunitTest_use_packages
,sw_odfexport2
,\
77 $(call gb_Dictionary_get_packagename
,dict-de
) \
78 $(call gb_Dictionary_get_packagename
,dict-en
) \
79 $(call gb_Dictionary_get_packagename
,dict-hu
) \
83 $(eval
$(call gb_CppunitTest_add_arguments
,sw_odfexport2
, \
84 -env
:arg-env
=$(gb_Helper_LIBRARY_PATH_VAR
)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
87 # vim: set noet sw=4 ts=4: