tdf#149574 sc: fix missing nullptr check
[LibreOffice.git] / sw / CppunitTest_sw_ooxmlimport.mk
blobf4273f909e18129b0a045b3ba9d7f5ce595c43f2
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_ooxmlimport))
14 ifneq ($(OS),MACOSX)
15 $(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_ooxmlimport))
16 endif
18 $(eval $(call gb_CppunitTest_add_exception_objects,sw_ooxmlimport, \
19 sw/qa/extras/ooxmlimport/ooxmlimport \
22 $(eval $(call gb_CppunitTest_use_libraries,sw_ooxmlimport, \
23 basegfx \
24 comphelper \
25 cppu \
26 cppuhelper \
27 sal \
28 sfx \
29 test \
30 unotest \
31 utl \
32 sw \
33 swqahelper \
34 tl \
35 vcl \
36 svxcore \
39 $(eval $(call gb_CppunitTest_use_externals,sw_ooxmlimport,\
40 boost_headers \
41 libxml2 \
44 $(eval $(call gb_CppunitTest_set_include,sw_ooxmlimport,\
45 -I$(SRCDIR)/sw/inc \
46 -I$(SRCDIR)/sw/source/core/inc \
47 -I$(SRCDIR)/sw/qa/inc \
48 $$(INCLUDE) \
51 ifeq ($(OS),MACOSX)
53 $(eval $(call gb_CppunitTest_add_cxxflags,sw_ooxmlimport,\
54 $(gb_OBJCXXFLAGS) \
57 $(eval $(call gb_CppunitTest_use_system_darwin_frameworks,sw_ooxmlimport,\
58 AppKit \
61 endif
63 $(eval $(call gb_CppunitTest_use_api,sw_ooxmlimport,\
64 udkapi \
65 offapi \
66 oovbaapi \
69 $(eval $(call gb_CppunitTest_use_ure,sw_ooxmlimport))
70 $(eval $(call gb_CppunitTest_use_vcl,sw_ooxmlimport))
72 $(eval $(call gb_CppunitTest_use_rdb,sw_ooxmlimport,services))
74 $(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlimport))
76 $(eval $(call gb_CppunitTest_use_more_fonts,sw_ooxmlimport))
78 # vim: set noet sw=4 ts=4: