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
,\
23 $(eval
$(call gb_Library_set_include
,libreofficekitgtk
,\
28 $(eval
$(call gb_Library_add_libs
,libreofficekitgtk
,\
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 \
43 $(eval
$(call gb_Library_use_packages
,libreofficekitgtk
, \
44 libreofficekit_selectionhandles \
47 # vim: set noet sw=4 ts=4: