Embind: Don't use new when getting UNO singletons
[LibreOffice.git] / libreofficekit / Executable_gtktiledviewer.mk
blobb2383ee0c964eeecd7c808bbc9e29ba7aae0d860
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_Executable_Executable,gtktiledviewer))
12 $(eval $(call gb_Library_use_sdk_api,gtktiledviewer))
14 $(eval $(call gb_Executable_set_include,gtktiledviewer,\
15 $$(INCLUDE) \
16 -I$(SRCDIR)/desktop/inc \
17 -I$(SRCDIR)/libreofficekit/qa/gtktiledviewer/ \
18 -I$(WORKDIR)/UnoApiHeadersTarget/offapi/normal/ \
19 -I$(WORKDIR)/UnoApiHeadersTarget/udkapi/normal/ \
22 $(eval $(call gb_Executable_use_externals,gtktiledviewer,\
23 boost_headers \
26 $(eval $(call gb_Executable_add_cxxflags,gtktiledviewer,\
27 $$(GTK3_CFLAGS) \
30 $(eval $(call gb_Executable_add_libs,gtktiledviewer,\
31 $(GTK3_LIBS) \
34 ifneq ($(OS), WNT)
35 $(eval $(call gb_Executable_add_libs,gtktiledviewer,\
36 -lX11 \
37 -lXext \
38 -lXrender \
39 -lSM \
40 -lICE \
42 endif
44 $(eval $(call gb_Executable_use_libraries,gtktiledviewer,\
45 libreofficekitgtk \
48 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
49 $(eval $(call gb_Executable_add_libs,gtktiledviewer,\
50 -lm $(UNIX_DLAPI_LIBS) \
52 endif
54 $(eval $(call gb_Executable_add_exception_objects,gtktiledviewer,\
55 libreofficekit/qa/gtktiledviewer/gtv-main \
56 libreofficekit/qa/gtktiledviewer/gtv-application \
57 libreofficekit/qa/gtktiledviewer/gtv-application-window \
58 libreofficekit/qa/gtktiledviewer/gtv-main-toolbar \
59 libreofficekit/qa/gtktiledviewer/gtv-signal-handlers \
60 libreofficekit/qa/gtktiledviewer/gtv-helpers \
61 libreofficekit/qa/gtktiledviewer/gtv-lokdocview-signal-handlers \
62 libreofficekit/qa/gtktiledviewer/gtv-calc-header-bar \
63 libreofficekit/qa/gtktiledviewer/gtv-comments-sidebar \
64 libreofficekit/qa/gtktiledviewer/gtv-lok-dialog \
67 # vim: set noet sw=4 ts=4: