bump product version to 4.1.6.2
[LibreOffice.git] / extensions / Library_pl.mk
blob3970fdf80719ace8b8e8ee7f359aadf525ffdacc
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_Library_Library,pl))
14 $(eval $(call gb_Library_set_componentfile,pl,extensions/source/plugin/pl))
16 $(eval $(call gb_Library_use_externals,pl,\
17 boost_headers \
18 npapi_headers \
21 $(eval $(call gb_Library_set_include,pl,\
22 $$(INCLUDE) \
23 -I$(SRCDIR)/extensions/source/plugin/inc \
26 $(eval $(call gb_Library_use_sdk_api,pl))
28 ifeq ($(SOLAR_JAVA),TRUE)
29 $(eval $(call gb_Library_add_defs,pl,\
30 -DOJI \
33 endif # SOLAR_JAVA=YES
35 ifeq ($(SYSTEM_MOZILLA),YES)
36 $(eval $(call gb_Library_add_defs,pl,\
37 -DSYSTEM_MOZILLA \
39 endif # SYSTEM_MOZILLA=YES
41 ifeq ($(OS),SOLARIS)
42 $(eval $(call gb_Library_add_libs,pl,\
43 -lsocket \
45 endif # OS=SOLARIS
47 ifeq ($(OS),WNT)
48 $(eval $(call gb_Library_use_system_win32_libs,pl,\
49 advapi32 \
50 ole32 \
51 version \
54 $(eval $(call gb_Library_add_exception_objects,pl,\
55 extensions/source/plugin/win/winmgr \
56 extensions/source/plugin/win/sysplug \
58 endif # GUI=WNT
60 ifneq ($(OS),WNT)
62 ifeq ($(OS),MACOSX)
64 $(eval $(call gb_Library_add_objcxxobjects,pl,\
65 extensions/source/plugin/aqua/macmgr \
66 extensions/source/plugin/aqua/sysplug \
69 $(eval $(call gb_Library_use_system_darwin_frameworks,pl,\
70 Cocoa \
71 Carbon \
72 CoreFoundation \
75 else # OS!=MACOSX
77 ifeq ($(ENABLE_GTK),TRUE)
78 $(eval $(call gb_Library_add_defs,pl,\
79 -DENABLE_GTK \
82 $(eval $(call gb_Library_use_external,pl,gtk))
83 endif # ENABLE_GTK=TRUE
85 $(eval $(call gb_Library_add_exception_objects,pl,\
86 extensions/source/plugin/unx/nppapi \
87 extensions/source/plugin/unx/sysplug \
88 extensions/source/plugin/unx/unxmgr \
91 $(eval $(call gb_Library_use_static_libraries,pl,\
92 plugcon \
95 $(eval $(call gb_Library_add_libs,pl,\
96 -lX11 \
99 endif # OS=MACOSX
101 endif # GUI=UNX
103 $(eval $(call gb_Library_use_libraries,pl,\
104 tk \
105 vcl \
106 svl \
107 utl \
108 tl \
109 comphelper \
110 ucbhelper \
111 cppuhelper \
112 cppu \
113 sal \
114 salhelper \
115 $(gb_UWINAPI) \
118 $(eval $(call gb_Library_add_exception_objects,pl,\
119 extensions/source/plugin/base/context \
120 extensions/source/plugin/base/evtlstnr \
121 extensions/source/plugin/base/manager \
122 extensions/source/plugin/base/multiplx \
123 extensions/source/plugin/base/nfuncs \
124 extensions/source/plugin/base/plcom \
125 extensions/source/plugin/base/plctrl \
126 extensions/source/plugin/base/plmodel \
127 extensions/source/plugin/base/service \
128 extensions/source/plugin/base/xplugin \
131 # vim:set noet sw=4 ts=4: