office-gobmx/libreofficekit/Executable_gtktiledviewer.mk
Andrzej Hunt a97457db2c One final removal of libreofficekit static library.
(Seems you need a clean build to notice this...)
2014-07-29 07:49:40 +02:00

49 lines
1.1 KiB
Makefile

# -*- 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_Executable_Executable,gtktiledviewer))
$(eval $(call gb_Executable_set_include,gtktiledviewer,\
$$(INCLUDE) \
-I$(SRCDIR)/desktop/inc \
))
$(eval $(call gb_Executable_use_externals,gtktiledviewer,\
gtk \
))
$(eval $(call gb_Executable_use_libraries,gtktiledviewer,\
libreofficekitgtk \
))
$(eval $(call gb_Executable_add_libs,gtktiledviewer,\
-lX11 \
-lXext \
-lXrender \
-lSM \
-lICE \
))
ifeq ($(OS),LINUX)
$(eval $(call gb_Executable_add_libs,gtktiledviewer,\
-lm \
-ldl \
-lpthread \
))
endif
$(eval $(call gb_Executable_add_cobjects,gtktiledviewer,\
libreofficekit/qa/lokdocview_quad/lokdocview_quad \
))
$(eval $(call gb_Executable_add_exception_objects,gtktiledviewer,\
libreofficekit/qa/gtktiledviewer/gtktiledviewer \
))
# vim: set noet sw=4 ts=4: