look for java, javac and javadoc with the .exe suffix on windows
[LibreOffice.git] / sw / CppunitTest_sw_unowriter.mk
blob9ed2a7522ec648827abae425dd78d922d718ed86
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, \
23 comphelper \
24 cppu \
25 cppuhelper \
26 editeng \
27 msword \
28 sal \
29 sfx \
30 subsequenttest \
31 svl \
32 svt \
33 svxcore \
34 sw \
35 swqahelper \
36 test \
37 unotest \
38 vcl \
39 tl \
40 tk \
41 utl \
44 $(eval $(call gb_CppunitTest_use_externals,sw_unowriter,\
45 boost_headers \
46 libxml2 \
49 $(eval $(call gb_CppunitTest_set_include,sw_unowriter,\
50 -I$(SRCDIR)/sw/inc \
51 -I$(SRCDIR)/sw/source/core/inc \
52 -I$(SRCDIR)/sw/source/uibase/inc \
53 -I$(SRCDIR)/sw/qa/inc \
54 $$(INCLUDE) \
57 $(eval $(call gb_CppunitTest_use_api,sw_unowriter,\
58 udkapi \
59 offapi \
60 oovbaapi \
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, \
71 modules/swriter \
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))
81 endif
83 # vim: set noet sw=4 ts=4: