look for java, javac and javadoc with the .exe suffix on windows
[LibreOffice.git] / sw / ww8export_setup.mk
blobdaa726c1b667cab92d8ce4f0c096cde6f2757380
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 # template for ww8export tests
13 define sw_ww8export_test
15 $(eval $(call gb_CppunitTest_CppunitTest,sw_ww8export$(1)))
17 $(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_ww8export$(1)))
19 $(eval $(call gb_CppunitTest_add_exception_objects,sw_ww8export$(1), \
20 sw/qa/extras/ww8export/ww8export$(1) \
23 $(eval $(call gb_CppunitTest_use_libraries,sw_ww8export$(1), \
24 comphelper \
25 cppu \
26 cppuhelper \
27 docmodel \
28 editeng \
29 emboleobj \
30 sal \
31 sfx \
32 test \
33 unotest \
34 utl \
35 subsequenttest \
36 svl \
37 svxcore \
38 sw \
39 swqahelper \
40 tl \
41 vcl \
44 $(eval $(call gb_CppunitTest_use_externals,sw_ww8export$(1),\
45 boost_headers \
46 libxml2 \
49 $(eval $(call gb_CppunitTest_set_include,sw_ww8export$(1),\
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_ww8export$(1),\
58 udkapi \
59 offapi \
60 oovbaapi \
63 $(eval $(call gb_CppunitTest_use_ure,sw_ww8export$(1)))
64 $(eval $(call gb_CppunitTest_use_vcl,sw_ww8export$(1)))
66 $(eval $(call gb_CppunitTest_use_rdb,sw_ww8export$(1),services))
68 ifeq ($(OS),WNT)
69 # gpgme-w32spawn.exe is needed in workdir/LinkTarget/Executable
70 $(eval $(call gb_CppunitTest_use_packages,sw_ww8export$(1),\
71 $(call gb_Helper_optional,GPGMEPP,gpgmepp)\
73 endif
75 $(eval $(call gb_CppunitTest_use_configuration,sw_ww8export$(1)))
77 $(eval $(call gb_CppunitTest_use_packages,sw_ww8export$(1),\
78 oox_customshapes \
81 endef
83 # vim: set noet sw=4 ts=4: