2014-04-28 23:33:04 +09:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
2011-12-17 22:11:57 +01:00
|
|
|
#
|
|
|
|
#
|
2013-04-24 17:14:03 +01:00
|
|
|
# This file is part of the LibreOffice project.
|
2011-12-17 22:11:57 +01:00
|
|
|
#
|
2013-04-24 17:14:03 +01:00
|
|
|
# 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/.
|
2011-12-17 22:11:57 +01:00
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_Executable_Executable,pluginapp.bin))
|
|
|
|
|
2012-11-15 18:09:55 +01:00
|
|
|
$(eval $(call gb_Executable_use_external,pluginapp.bin,npapi_headers))
|
2012-01-11 18:20:48 +01:00
|
|
|
|
2011-12-17 22:11:57 +01:00
|
|
|
$(eval $(call gb_Executable_set_include,pluginapp.bin,\
|
|
|
|
$$(INCLUDE) \
|
2011-12-17 22:11:57 +01:00
|
|
|
-I$(SRCDIR)/extensions/source/plugin/inc \
|
2011-12-17 22:11:57 +01:00
|
|
|
))
|
|
|
|
|
2012-07-02 14:55:53 +01:00
|
|
|
$(eval $(call gb_Executable_use_sdk_api,pluginapp.bin))
|
2011-12-17 22:11:57 +01:00
|
|
|
|
|
|
|
$(eval $(call gb_Executable_add_exception_objects,pluginapp.bin,\
|
|
|
|
extensions/source/plugin/unx/npwrap \
|
|
|
|
extensions/source/plugin/unx/npnapi \
|
2012-03-12 16:24:34 +01:00
|
|
|
))
|
|
|
|
|
2012-04-07 23:22:08 +02:00
|
|
|
$(eval $(call gb_Executable_use_static_libraries,pluginapp.bin,\
|
2012-03-12 16:24:34 +01:00
|
|
|
plugcon \
|
2011-12-17 22:11:57 +01:00
|
|
|
))
|
|
|
|
|
2012-04-07 23:22:08 +02:00
|
|
|
$(eval $(call gb_Executable_use_libraries,pluginapp.bin,\
|
2011-12-17 22:11:57 +01:00
|
|
|
sal \
|
|
|
|
))
|
|
|
|
|
2014-11-10 17:27:46 +01:00
|
|
|
ifeq ($(filter-out FREEBSD NETBSD OPENBSD DRAGONFLY,$(OS)),)
|
2011-12-17 22:11:57 +01:00
|
|
|
$(eval $(call gb_Executable_add_libs,pluginapp.bin,\
|
|
|
|
-lXt \
|
|
|
|
-lXext \
|
|
|
|
-lX11 \
|
|
|
|
))
|
|
|
|
else ifeq ($(OS),AIX)
|
|
|
|
$(eval $(call gb_Executable_add_libs,pluginapp.bin,\
|
|
|
|
-lXpm \
|
|
|
|
-lXmu \
|
|
|
|
-lXt \
|
|
|
|
-lXext \
|
|
|
|
-lX11 \
|
|
|
|
-ldl \
|
|
|
|
))
|
|
|
|
else
|
|
|
|
$(eval $(call gb_Executable_add_libs,pluginapp.bin,\
|
|
|
|
-lXt \
|
|
|
|
-lXext \
|
|
|
|
-lX11 \
|
|
|
|
-ldl \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(ENABLE_GTK),TRUE)
|
2012-01-07 12:54:16 +01:00
|
|
|
$(eval $(call gb_Executable_use_externals,pluginapp.bin,\
|
|
|
|
gthread \
|
|
|
|
gtk \
|
|
|
|
))
|
2011-12-17 22:11:57 +01:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2013-01-26 22:19:07 +01:00
|
|
|
# vim:set noet sw=4 ts=4:
|