make sure to not divide by zero when computing miter limit
[LibreOffice.git] / sd / CppunitTest_sd_uimpress.mk
blob93426dfc3a55ebe88ecd7ba4701b193dd38ce1a3
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 drawinglayer \
30 editeng \
31 i18nlangtag \
32 i18nutil \
33 msfilter \
34 oox \
35 sal \
36 sax \
37 salhelper \
38 sb \
39 sfx \
40 sot \
41 svl \
42 svt \
43 svxcore \
44 svx \
45 test \
46 tk \
47 tl \
48 ucbhelper \
49 utl \
50 vcl \
51 xo \
54 ifeq ($(OS),WNT)
55 $(eval $(call gb_CppunitTest_use_system_win32_libs,sd_uimpress,\
56 uuid \
57 ws2_32 \
59 endif
61 ifeq ($(OS),MACOSX)
62 $(eval $(call gb_CppunitTest_add_libs,sd_uimpress,\
63 -lobjc \
66 $(eval $(call gb_CppunitTest_use_system_darwin_frameworks,sd_uimpress,\
67 Foundation \
68 IOBluetooth \
70 endif
72 $(eval $(call gb_CppunitTest_use_externals,sd_uimpress,\
73 boost_headers \
74 dbus \
75 $(if $(ENABLE_AVAHI), \
76 avahi \
77 ) \
78 $(if $(filter WNT,$(OS)),mDNSResponder) \
79 libxml2 \
82 ifneq ($(DBUS_HAVE_GLIB),)
83 $(eval $(call gb_CppunitTest_set_include,sd_uimpress,\
84 $$(INCLUDE) \
85 $(DBUS_GLIB_CFLAGS) \
87 $(eval $(call gb_CppunitTest_add_libs,sd_uimpress,\
88 $(DBUS_GLIB_LIBS) \
90 endif
92 $(eval $(call gb_CppunitTest_add_exception_objects,sd_uimpress,\
93 sd/qa/unit/uimpress \
96 $(eval $(call gb_CppunitTest_use_ure,sd_uimpress))
97 $(eval $(call gb_CppunitTest_use_vcl,sd_uimpress))
99 $(eval $(call gb_CppunitTest_use_components,sd_uimpress,\
100 configmgr/source/configmgr \
101 framework/util/fwk \
102 i18npool/util/i18npool \
103 linguistic/source/lng \
104 ucb/source/core/ucb1 \
105 ucb/source/ucp/file/ucpfile1 \
106 unoxml/source/service/unoxml \
109 $(eval $(call gb_CppunitTest_use_configuration,sd_uimpress))
111 # vim: set noet sw=4 ts=4: