tdf#139906 Prevent to use the Mail Merge wizard without data source.
[LibreOffice.git] / libreofficekit / Library_libreofficekitgtk.mk
blob842bce6ac9935e7b7a31b8f20fd5dea5b059f0b5
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_Library_Library,libreofficekitgtk))
12 $(eval $(call gb_Library_use_sdk_api,libreofficekitgtk))
14 $(eval $(call gb_Library_add_exception_objects,libreofficekitgtk,\
15 libreofficekit/source/gtk/lokdocview \
16 libreofficekit/source/gtk/tilebuffer \
19 $(eval $(call gb_Library_use_externals,libreofficekitgtk,\
20 boost_headers \
23 $(eval $(call gb_Library_set_include,libreofficekitgtk,\
24 $$(INCLUDE) \
25 $$(GTK3_CFLAGS) \
28 $(eval $(call gb_Library_add_libs,libreofficekitgtk,\
29 $(GTK3_LIBS) \
32 $(eval $(call gb_Library_add_defs,libreofficekitgtk,\
33 -DLOK_PATH="\"$(LIBDIR)/libreoffice/$(LIBO_LIB_FOLDER)\"" \
36 ifeq ($(OS),$(filter LINUX %BSD SOLARIS, $(OS)))
37 $(eval $(call gb_Library_add_libs,libreofficekitgtk,\
38 $(DLOPEN_LIBS) -lm \
40 endif
42 # vim: set noet sw=4 ts=4: