Branch libreoffice-5-0-4
[LibreOffice.git] / extensions / Executable_pluginapp.bin.mk
blob96a25cca4c4d7c7560a9fec6c9c87d0823f50dd5
1 # -*- Mode: makefile-gmake; 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,\
17 $$(INCLUDE) \
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,\
29 plugcon \
32 $(eval $(call gb_Executable_use_libraries,pluginapp.bin,\
33 sal \
36 ifeq ($(filter-out FREEBSD NETBSD OPENBSD DRAGONFLY,$(OS)),)
37 $(eval $(call gb_Executable_add_libs,pluginapp.bin,\
38 -lXt \
39 -lXext \
40 -lX11 \
42 else ifeq ($(OS),AIX)
43 $(eval $(call gb_Executable_add_libs,pluginapp.bin,\
44 -lXpm \
45 -lXmu \
46 -lXt \
47 -lXext \
48 -lX11 \
49 -ldl \
51 else
52 $(eval $(call gb_Executable_add_libs,pluginapp.bin,\
53 -lXt \
54 -lXext \
55 -lX11 \
56 -ldl \
58 endif
61 ifeq ($(ENABLE_GTK),TRUE)
62 $(eval $(call gb_Executable_use_externals,pluginapp.bin,\
63 gthread \
64 gtk \
67 endif
69 # vim:set noet sw=4 ts=4: