Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / libreofficekit / Library_libreofficekitgtk.mk
blobfc62e72ca72300e22cbd61c067d6f5e22286e9c5
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_add_cxxflags,libreofficekitgtk,\
24 $$(GTK3_CFLAGS) \
27 $(eval $(call gb_Library_add_libs,libreofficekitgtk,\
28 $(GTK3_LIBS) \
31 $(eval $(call gb_Library_add_defs,libreofficekitgtk,\
32 -DLOK_PATH="\"$(LIBDIR)/libreoffice/$(LIBO_LIB_FOLDER)\"" \
35 ifeq ($(OS),$(filter LINUX %BSD SOLARIS, $(OS)))
36 $(eval $(call gb_Library_add_libs,libreofficekitgtk,\
37 $(DLOPEN_LIBS) -lm \
39 endif
41 # vim: set noet sw=4 ts=4: