Version 6.1.0.2, tag libreoffice-6.1.0.2
[LibreOffice.git] / sw / CppunitTest_sw_layoutwriter.mk
blob675299180e44c1b3679921e63f8120eba6820c97
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_layoutwriter))
14 $(eval $(call gb_CppunitTest_add_exception_objects,sw_layoutwriter, \
15 sw/qa/extras/layout/layout \
18 # note: this links msword only for the reason to have a order dependency,
19 # because "make sw.check" will not see the dependency through services.rdb
20 $(eval $(call gb_CppunitTest_use_libraries,sw_layoutwriter, \
21 comphelper \
22 cppu \
23 cppuhelper \
24 editeng \
25 msword \
26 sal \
27 sfx \
28 svl \
29 svt \
30 svxcore \
31 sw \
32 test \
33 unotest \
34 vcl \
35 tl \
36 utl \
39 $(eval $(call gb_CppunitTest_use_externals,sw_layoutwriter,\
40 boost_headers \
41 libxml2 \
44 $(eval $(call gb_CppunitTest_set_include,sw_layoutwriter,\
45 -I$(SRCDIR)/sw/inc \
46 -I$(SRCDIR)/sw/source/core/inc \
47 -I$(SRCDIR)/sw/qa/extras/inc \
48 $$(INCLUDE) \
51 $(eval $(call gb_CppunitTest_use_sdk_api,sw_layoutwriter))
53 $(eval $(call gb_CppunitTest_use_ure,sw_layoutwriter))
54 $(eval $(call gb_CppunitTest_use_vcl,sw_layoutwriter))
56 $(eval $(call gb_CppunitTest_use_rdb,sw_layoutwriter,services))
58 $(eval $(call gb_CppunitTest_use_configuration,sw_layoutwriter))
60 $(eval $(call gb_CppunitTest_use_uiconfigs,sw_layoutwriter, \
61 modules/swriter \
64 $(call gb_CppunitTest_get_target,sw_layoutwriter): \
65 $(call gb_Library_get_target,textconv_dict)
67 ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
68 $(call gb_CppunitTest_get_target,sw_layoutwriter): \
69 $(call gb_ExternalPackage_get_target,fonts_liberation)
70 endif
72 # vim: set noet sw=4 ts=4: