2014-06-12 17:38:10 +01:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
|
|
#
|
|
|
|
# This file is part of the LibreOffice project.
|
|
|
|
#
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_Library,libreofficekitgtk))
|
|
|
|
|
2015-03-25 17:54:11 +01:00
|
|
|
$(eval $(call gb_Library_use_sdk_api,libreofficekitgtk))
|
2014-06-12 17:38:10 +01:00
|
|
|
|
2015-03-10 16:42:10 +01:00
|
|
|
$(eval $(call gb_Library_add_exception_objects,libreofficekitgtk,\
|
2014-06-12 17:38:10 +01:00
|
|
|
libreofficekit/source/gtk/lokdocview \
|
2015-06-04 00:06:46 +05:30
|
|
|
libreofficekit/source/gtk/tilebuffer \
|
2014-06-12 17:38:10 +01:00
|
|
|
))
|
|
|
|
|
2015-10-04 19:40:13 +03:00
|
|
|
$(eval $(call gb_Library_use_externals,libreofficekitgtk,\
|
|
|
|
boost_headers \
|
|
|
|
))
|
|
|
|
|
2020-03-17 14:24:03 +01:00
|
|
|
$(eval $(call gb_Library_set_include,libreofficekitgtk,\
|
|
|
|
$$(INCLUDE) \
|
2015-06-10 16:18:06 +05:30
|
|
|
$$(GTK3_CFLAGS) \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_add_libs,libreofficekitgtk,\
|
|
|
|
$(GTK3_LIBS) \
|
|
|
|
))
|
|
|
|
|
2015-12-08 23:14:25 +05:30
|
|
|
$(eval $(call gb_Library_add_defs,libreofficekitgtk,\
|
|
|
|
-DLOK_PATH="\"$(LIBDIR)/libreoffice/$(LIBO_LIB_FOLDER)\"" \
|
2022-10-20 12:55:41 +03:00
|
|
|
-DLOK_DOC_VIEW_IMPLEMENTATION \
|
2015-12-08 23:14:25 +05:30
|
|
|
))
|
|
|
|
|
2015-09-15 15:58:51 +02:00
|
|
|
ifeq ($(OS),$(filter LINUX %BSD SOLARIS, $(OS)))
|
2014-06-12 17:38:10 +01:00
|
|
|
$(eval $(call gb_Library_add_libs,libreofficekitgtk,\
|
2022-01-18 07:29:40 +01:00
|
|
|
$(UNIX_DLAPI_LIBS) -lm \
|
2014-06-12 17:38:10 +01:00
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2022-10-21 10:19:58 +02:00
|
|
|
$(eval $(call gb_Library_use_packages,libreofficekitgtk, \
|
|
|
|
libreofficekit_selectionhandles \
|
|
|
|
))
|
|
|
|
|
2014-06-12 17:38:10 +01:00
|
|
|
# vim: set noet sw=4 ts=4:
|