Update git submodules
[LibreOffice.git] / libreofficekit / Library_libreofficekitgtk.mk
blob4430c039703bc17b708a254fcd81796f9fbaf4bf
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)\"" \
34 -DLOK_DOC_VIEW_IMPLEMENTATION \
37 ifeq ($(OS),$(filter LINUX %BSD SOLARIS, $(OS)))
38 $(eval $(call gb_Library_add_libs,libreofficekitgtk,\
39 $(UNIX_DLAPI_LIBS) -lm \
41 endif
43 $(eval $(call gb_Library_use_packages,libreofficekitgtk, \
44 libreofficekit_selectionhandles \
47 # vim: set noet sw=4 ts=4: