bump product version to 4.1.6.2
[LibreOffice.git] / extensions / Executable_pluginapp.bin.mk
blob531aabd5a5460b4130587b50137ac1fb12b42dae
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,\
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 ($(OS),SOLARIS)
37 $(eval $(call gb_Executable_add_libs,pluginapp.bin,\
38 -lXm \
39 -lXt \
40 -lXext \
41 -lX11 \
42 -ldl \
44 else ifeq ($(filter-out FREEBSD NETBSD OPENBSD DRAGONFLY,$(OS)),)
45 $(eval $(call gb_Executable_add_libs,pluginapp.bin,\
46 -lXt \
47 -lXext \
48 -lX11 \
50 else ifeq ($(OS),AIX)
51 $(eval $(call gb_Executable_add_libs,pluginapp.bin,\
52 -lXpm \
53 -lXmu \
54 -lXt \
55 -lXext \
56 -lX11 \
57 -ldl \
59 else
60 $(eval $(call gb_Executable_add_libs,pluginapp.bin,\
61 -lXt \
62 -lXext \
63 -lX11 \
64 -ldl \
66 endif
69 ifeq ($(ENABLE_GTK),TRUE)
70 $(eval $(call gb_Executable_use_externals,pluginapp.bin,\
71 gthread \
72 gtk \
75 # the orignal dmakefile said: don't ask, it's ugly
76 ifeq ($(OS),SOLARIS)
77 $(eval $(call gb_Executable_set_ldflags,pluginapp.bin,\
78 -z nodefs \
80 endif
82 endif
84 # vim:set noet sw=4 ts=4: