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_unowriter
))
14 $(eval
$(call gb_CppunitTest_use_common_precompiled_header
,sw_unowriter
))
16 $(eval
$(call gb_CppunitTest_add_exception_objects
,sw_unowriter
, \
17 sw
/qa
/extras
/unowriter
/unowriter \
20 # note: this links msword only for the reason to have an order dependency,
21 # because "make sw.check" will not see the dependency through services.rdb
22 $(eval
$(call gb_CppunitTest_use_libraries
,sw_unowriter
, \
44 $(eval
$(call gb_CppunitTest_use_externals
,sw_unowriter
,\
49 $(eval
$(call gb_CppunitTest_set_include
,sw_unowriter
,\
51 -I
$(SRCDIR
)/sw
/source
/core
/inc \
52 -I
$(SRCDIR
)/sw
/source
/uibase
/inc \
53 -I
$(SRCDIR
)/sw
/qa
/inc \
57 $(eval
$(call gb_CppunitTest_use_api
,sw_unowriter
,\
63 $(eval
$(call gb_CppunitTest_use_ure
,sw_unowriter
))
64 $(eval
$(call gb_CppunitTest_use_vcl
,sw_unowriter
))
66 $(eval
$(call gb_CppunitTest_use_rdb
,sw_unowriter
,services
))
68 $(eval
$(call gb_CppunitTest_use_configuration
,sw_unowriter
))
70 $(eval
$(call gb_CppunitTest_use_uiconfigs
,sw_unowriter
, \
74 $(call gb_CppunitTest_get_target
,sw_unowriter
): \
75 $(call gb_Library_get_target
,i18npool
)
77 $(eval
$(call gb_CppunitTest_use_more_fonts
,sw_unowriter
))
79 ifneq ($(filter MORE_FONTS
,$(BUILD_TYPE
)),)
80 $(eval
$(call gb_CppunitTest_set_non_application_font_use
,sw_unowriter
,abort
))
83 # vim: set noet sw=4 ts=4: