a84157c361
Change-Id: I8af971f659d483c16507c906fa65346a5e0292f1
51 lines
1.2 KiB
Makefile
51 lines
1.2 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_sdk_api,gtktiledviewer))
|
|
|
|
$(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:
|