Bump for 4.0-15
[LibreOffice.git] / extensions / Executable_nsplugin.mk
blob866257e1fde22599b4e797b9553c946375baa342
1 # -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
3 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License or as specified alternatively below. You may obtain a copy of
8 # the License at http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
13 # License.
15 # The Initial Developer of the Original Code is
16 # Peter Foley <pefoley2@verizon.net>
17 # Portions created by the Initial Developer are Copyright (C) 2011 the
18 # Initial Developer. All Rights Reserved.
20 # Major Contributor(s):
22 # For minor contributions see the git repository.
24 # Alternatively, the contents of this file may be used under the terms of
25 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
26 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
27 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
28 # instead of those above.
31 $(eval $(call gb_Executable_Executable,nsplugin))
33 $(eval $(call gb_Executable_use_packages,nsplugin,\
34 basegfx_inc \
35 comphelper_inc \
36 tools_inc \
39 $(eval $(call gb_Executable_use_sdk_api,nsplugin))
41 $(eval $(call gb_Executable_add_exception_objects,nsplugin,\
42 extensions/source/nsplugin/source/so_closelistener \
43 extensions/source/nsplugin/source/so_instance \
44 extensions/source/nsplugin/source/so_main \
47 $(eval $(call gb_Executable_use_static_libraries,nsplugin,\
48 npsoenv \
51 $(eval $(call gb_Executable_add_libs,nsplugin,\
52 $(if $(filter $(OS),LINUX), \
53 -ldl \
54 ) \
55 $(if $(filter $(OS),SOLARIS), \
56 -lnsl \
57 -lsocket \
58 ) \
61 $(eval $(call gb_Executable_use_libraries,nsplugin,\
62 comphelper \
63 cppu \
64 cppuhelper \
65 sal \
68 ifeq ($(GUI),WNT)
69 $(eval $(call gb_Executable_add_exception_objects,nsplugin,\
70 extensions/source/nsplugin/source/nsp_windows \
73 $(eval $(call gb_Executable_use_static_libraries,nsplugin,\
74 ooopathutils \
77 $(eval $(call gb_Executable_use_system_win32_libs,nsplugin,\
78 advapi32 \
79 comdlg32 \
80 gdi32 \
81 kernel32 \
82 ole32 \
83 oleaut32 \
84 shell32 \
85 user32 \
86 uuid \
87 winspool \
88 ws2_32 \
90 endif # WNT
92 # vim:set shiftwidth=4 softtabstop=4 expandtab: