Revert "new change in helpcontent2"
[LibreOffice.git] / Library_merged.mk
blob51b919415bead02f6bf23008b855c7699957cb3e
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. You may obtain a copy of the License at
8 # 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 # Matúš Kukan <matus.kukan@gmail.com> (C) 2011, All Rights Reserved.
18 # Alternatively, the contents of this file may be used under the terms of
19 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
20 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
21 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
22 # instead of those above.
24 $(eval $(call gb_Library_Library,merged))
26 # gb_MERGEDLIBS is defined in solenv/gbuild/extensions/pre_MergedLibsList.mk
27 $(eval $(call gb_Library_use_library_objects,merged,\
28 $(gb_MERGEDLIBS) \
31 $(eval $(call gb_Library_use_libraries,merged,\
32 basegfx \
33 comphelper \
34 cppu \
35 cppuhelper \
36 i18nisolang1 \
37 jvmfwk \
38 sal \
39 salhelper \
40 tl \
41 ucbhelper \
42 xmlreader \
43 $(gb_UWINAPI) \
46 $(eval $(call gb_Library_use_externals,merged,\
47 cups \
48 icule \
49 icuuc \
50 jpeg \
51 lcms2 \
52 libxml2 \
53 nss3 \
54 zlib \
57 # This would be needed on all platforms but only on android we merge libraries from lingucomponent
58 ifeq ($(OS),ANDROID)
59 $(eval $(call gb_Library_use_externals,merged,\
60 hunspell \
61 expat_utf8 \
63 $(eval $(call gb_Library_use_static_libraries,merged,\
64 sax_shared \
65 ulingu \
67 $(eval $(call gb_Library_add_libs,merged,\
68 $(if $(filter MSC,$(COM)),libmythes.lib,-lmythes-1.2) \
69 $(if $(filter MSC,$(COM)),hyphen.lib,-lhyphen) \
71 endif
73 ifeq ($(ENABLE_GRAPHITE),TRUE)
74 $(eval $(call gb_Library_use_externals,merged,\
75 graphite \
77 endif
79 ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
80 $(eval $(call gb_Library_use_externals,merged,\
81 berkeleydb \
83 endif
85 ifneq ($(OS),IOS)
86 $(eval $(call gb_Library_use_libraries,merged,\
87 jvmaccess \
89 endif
91 ifeq ($(GUIBASE),unx)
92 $(eval $(call gb_Library_use_externals,merged,\
93 fontconfig \
94 freetype \
96 endif
98 ifeq ($(OS),LINUX)
99 $(eval $(call gb_Library_add_libs,merged,\
100 -lm \
101 -ldl \
102 -lpthread \
104 endif
106 ifeq ($(OS),WNT)
107 $(eval $(call gb_Library_use_system_win32_libs,merged,\
108 advapi32 \
109 gdi32 \
110 gdiplus \
111 imm32 \
112 mpr \
113 msimg32 \
114 oldnames \
115 ole32 \
116 oleaut32 \
117 shell32 \
118 user32 \
119 usp10 \
120 uuid \
121 version \
122 winmm \
123 winspool \
125 # prevent warning spamming
126 $(eval $(call gb_Library_add_ldflags,merged,\
127 /ignore:4049 \
128 /ignore:4217 \
130 $(eval $(call gb_Library_use_externals,merged,\
131 icuin \
133 else
134 $(eval $(call gb_Library_use_externals,merged,\
135 icui18n \
137 endif
139 ifeq ($(OS),MACOSX)
140 $(eval $(call gb_Library_use_libraries,merged,\
141 AppleRemote \
143 $(eval $(call gb_Library_add_libs,merged,\
144 -lobjc \
146 $(eval $(call gb_Library_use_system_darwin_frameworks,merged,\
147 Carbon \
148 Cocoa \
149 CoreFoundation \
150 CoreServices \
151 QuickTime \
153 endif
155 ifeq ($(OS),ANDROID)
156 $(eval $(call gb_Library_use_static_libraries,merged,\
157 basebmp \
160 $(eval $(call gb_Library_use_libraries,merged,\
161 libotouch \
164 $(eval $(call gb_Library_add_libs,merged,\
165 -llog \
166 -landroid \
167 -llo-bootstrap \
170 $(eval $(call gb_Library_use_externals,merged,\
171 fontconfig \
172 freetype \
174 endif
176 ifeq ($(OS),IOS)
177 $(eval $(call gb_Library_use_system_darwin_frameworks,merged,\
178 CoreFoundation \
179 UIKit \
181 endif
183 ifneq ($(ENABLE_LIBRSVG),NO)
184 $(eval $(call gb_Library_use_externals,merged,\
185 cairo \
187 endif
189 ifeq ($(ENABLE_TELEPATHY),TRUE)
190 $(eval $(call gb_Library_use_externals,merged,\
191 gtk \
192 telepathy \
194 endif
196 ifeq ($(ENABLE_DBUS),TRUE)
197 $(eval $(call gb_Library_use_externals,merged,\
198 dbus \
200 endif
202 ifeq ($(ENABLE_LIBLANGTAG),YES)
203 $(eval $(call gb_Library_use_externals,merged,\
204 glib \
205 liblangtag \
207 endif
209 # vim: set noet sw=4 ts=4: