1 # -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
12 $(eval
$(call gb_Executable_Executable
,pluginapp.bin
))
14 $(eval
$(call gb_Executable_use_external
,pluginapp.bin
,npapi_headers
))
16 $(eval
$(call gb_Executable_set_include
,pluginapp.bin
,\
18 -I
$(SRCDIR
)/extensions
/source
/plugin
/inc \
21 $(eval
$(call gb_Executable_use_sdk_api
,pluginapp.bin
))
23 $(eval
$(call gb_Executable_add_exception_objects
,pluginapp.bin
,\
24 extensions
/source
/plugin
/unx
/npwrap \
25 extensions
/source
/plugin
/unx
/npnapi \
28 $(eval
$(call gb_Executable_use_static_libraries
,pluginapp.bin
,\
32 $(eval
$(call gb_Executable_use_libraries
,pluginapp.bin
,\
37 $(eval
$(call gb_Executable_add_libs
,pluginapp.bin
,\
44 else ifeq ($(filter-out FREEBSD NETBSD OPENBSD DRAGONFLY
,$(OS
)),)
45 $(eval
$(call gb_Executable_add_libs
,pluginapp.bin
,\
51 $(eval
$(call gb_Executable_add_libs
,pluginapp.bin
,\
60 $(eval
$(call gb_Executable_add_libs
,pluginapp.bin
,\
69 ifeq ($(ENABLE_GTK
),TRUE
)
70 $(eval
$(call gb_Executable_use_externals
,pluginapp.bin
,\
75 # the orignal dmakefile said: don't ask, it's ugly
77 $(eval
$(call gb_Executable_set_ldflags
,pluginapp.bin
,\
84 # vim:set noet sw=4 ts=4: