fix build
[LibreOffice.git] / sd / CppunitTest_sd_uimpress.mk
blobbff68b0386d0aedd0db119f38d6d0ad9cee9d282
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_CppunitTest_CppunitTest,sd_uimpress))
12 $(eval $(call gb_CppunitTest_set_include,sd_uimpress,\
13 $$(INCLUDE) \
14 -I$(SRCDIR)/sd/inc \
17 $(eval $(call gb_CppunitTest_use_sdk_api,sd_uimpress))
19 $(eval $(call gb_CppunitTest_use_library_objects,sd_uimpress,sd))
21 $(eval $(call gb_CppunitTest_use_libraries,sd_uimpress,\
22 $(call gb_Helper_optional,AVMEDIA,avmedia) \
23 basegfx \
24 canvastools \
25 comphelper \
26 cppcanvas \
27 cppu \
28 cppuhelper \
29 docmodel \
30 drawinglayer \
31 drawinglayercore \
32 editeng \
33 i18nlangtag \
34 i18nutil \
35 icg \
36 msfilter \
37 oox \
38 sal \
39 sax \
40 salhelper \
41 sb \
42 sfx \
43 sot \
44 svl \
45 svt \
46 svxcore \
47 svx \
48 test \
49 tk \
50 tl \
51 ucbhelper \
52 utl \
53 vcl \
54 xo \
57 ifeq ($(OS),WNT)
58 $(eval $(call gb_CppunitTest_use_system_win32_libs,sd_uimpress,\
59 uuid \
60 ws2_32 \
62 endif
64 ifeq ($(OS),MACOSX)
65 $(eval $(call gb_CppunitTest_add_libs,sd_uimpress,\
66 -lobjc \
69 $(eval $(call gb_CppunitTest_use_system_darwin_frameworks,sd_uimpress,\
70 Foundation \
71 IOBluetooth \
73 endif
75 $(eval $(call gb_CppunitTest_use_externals,sd_uimpress,\
76 boost_headers \
77 dbus \
78 $(if $(ENABLE_AVAHI), \
79 avahi \
80 ) \
81 $(if $(filter WNT,$(OS)),mDNSResponder) \
82 libxml2 \
85 ifneq ($(DBUS_HAVE_GLIB),)
86 $(eval $(call gb_CppunitTest_set_include,sd_uimpress,\
87 $$(INCLUDE) \
88 $(DBUS_GLIB_CFLAGS) \
90 $(eval $(call gb_CppunitTest_add_libs,sd_uimpress,\
91 $(DBUS_GLIB_LIBS) \
93 endif
95 $(eval $(call gb_CppunitTest_add_exception_objects,sd_uimpress,\
96 sd/qa/unit/uimpress \
99 $(eval $(call gb_CppunitTest_use_ure,sd_uimpress))
100 $(eval $(call gb_CppunitTest_use_vcl,sd_uimpress))
102 $(eval $(call gb_CppunitTest_use_components,sd_uimpress,\
103 configmgr/source/configmgr \
104 framework/util/fwk \
105 i18npool/util/i18npool \
106 linguistic/source/lng \
107 ucb/source/core/ucb1 \
108 ucb/source/ucp/file/ucpfile1 \
109 unoxml/source/service/unoxml \
112 $(eval $(call gb_CppunitTest_use_configuration,sd_uimpress))
114 # vim: set noet sw=4 ts=4: