1# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#*************************************************************************
3#
4# This file is part of the LibreOffice project.
5#
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/.
9#
10#*************************************************************************
11
12$(eval $(call gb_CppunitTest_CppunitTest,sw_odfexport2))
13
14$(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_odfexport2))
15
16$(eval $(call gb_CppunitTest_add_exception_objects,sw_odfexport2, \
17    sw/qa/extras/odfexport/odfexport2 \
18))
19
20$(eval $(call gb_CppunitTest_use_libraries,sw_odfexport2, \
21    comphelper \
22    cppu \
23    cppuhelper \
24    sal \
25    sfx \
26    svl \
27    sw \
28    swqahelper \
29    test \
30    tl \
31    unotest \
32    utl \
33    vcl \
34))
35
36$(eval $(call gb_CppunitTest_use_externals,sw_odfexport2,\
37    boost_headers \
38    libxml2 \
39))
40
41$(eval $(call gb_CppunitTest_set_include,sw_odfexport2,\
42    -I$(SRCDIR)/sw/inc \
43    -I$(SRCDIR)/sw/source/core/inc \
44    -I$(SRCDIR)/sw/qa/inc \
45    $$(INCLUDE) \
46))
47
48$(eval $(call gb_CppunitTest_use_api,sw_odfexport2,\
49    udkapi \
50    offapi \
51    oovbaapi \
52))
53
54$(eval $(call gb_CppunitTest_use_ure,sw_odfexport2))
55$(eval $(call gb_CppunitTest_use_vcl,sw_odfexport2))
56
57$(eval $(call gb_CppunitTest_use_rdb,sw_odfexport2,services))
58
59$(eval $(call gb_CppunitTest_use_custom_headers,sw_odfexport2,\
60    officecfg/registry \
61))
62
63$(eval $(call gb_CppunitTest_use_configuration,sw_odfexport2))
64
65$(eval $(call gb_CppunitTest_use_uiconfigs,sw_odfexport2, \
66    modules/swriter \
67    svx \
68))
69
70$(eval $(call gb_CppunitTest_use_more_fonts,sw_odfexport2))
71
72# vim: set noet sw=4 ts=4:
73