Version 4.2.0.1, tag libreoffice-4.2.0.1
[LibreOffice.git] / Library_merged.mk
blob1e961111f30cd479ab0f3a8326f4e7864223bc4d
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/.
11 $(eval $(call gb_Library_Library,merged))
13 # gb_MERGEDLIBS is defined in solenv/gbuild/extensions/pre_MergedLibsList.mk
14 $(eval $(call gb_Library_use_library_objects,merged,\
15 $(gb_MERGEDLIBS) \
18 $(eval $(call gb_Library_use_libraries,merged,\
19 comphelper \
20 cppu \
21 cppuhelper \
22 i18nlangtag \
23 $(if $(ENABLE_JAVA), \
24 jvmaccess \
25 jvmfwk) \
26 sal \
27 salhelper \
28 ucbhelper \
29 xmlreader \
30 $(gb_UWINAPI) \
33 $(eval $(call gb_Library_use_externals,merged,\
34 boostdatetime \
35 $(call gb_Helper_optional,DESKTOP,clucene) \
36 cups \
37 curl \
38 dbus \
39 expat \
40 gconf \
41 gio \
42 graphite \
43 $(if $(ENABLE_GTK),gtk) \
44 harfbuzz \
45 hunspell \
46 icui18n \
47 icuuc \
48 jpeg \
49 lcms2 \
50 $(call gb_Helper_optional,LIBATOMIC_OPS,libatomic_ops) \
51 liblangtag \
52 libxml2 \
53 libxslt \
54 $(if $(filter-out IOS,$(OS)),lpsolve) \
55 mythes \
56 nss3 \
57 telepathy \
58 zlib \
61 ifeq (ALL,$(MERGELIBS))
62 $(eval $(call gb_Library_use_static_libraries,merged,\
63 ulingu \
65 $(eval $(call gb_Library_use_externals,merged,\
66 cppunit \
67 hyphen \
68 libexslt \
69 libexttextcat \
70 $(if $(filter-out ANDROID IOS,$(OS)),openldap) \
71 $(call gb_Helper_optional,PYUNO,python) \
73 endif
75 ifeq ($(GUIBASE),unx)
76 $(eval $(call gb_Library_use_externals,merged,\
77 fontconfig \
78 freetype \
80 $(eval $(call gb_Library_add_libs,merged,\
81 -lX11 \
82 -lXext \
83 -lSM \
84 -lICE \
86 endif
88 ifeq ($(OS),LINUX)
89 $(eval $(call gb_Library_add_libs,merged,\
90 -lm \
91 -ldl \
92 -lpthread \
93 -lrt \
95 endif
97 ifeq ($(OS),WNT)
98 $(eval $(call gb_Library_use_system_win32_libs,merged,\
99 advapi32 \
100 gdi32 \
101 gdiplus \
102 imm32 \
103 mpr \
104 msimg32 \
105 oldnames \
106 ole32 \
107 oleaut32 \
108 shell32 \
109 user32 \
110 usp10 \
111 uuid \
112 version \
113 winmm \
114 winspool \
116 # prevent warning spamming
117 $(eval $(call gb_Library_add_ldflags,merged,\
118 /ignore:4049 \
119 /ignore:4217 \
121 endif
123 ifeq ($(OS),MACOSX)
124 $(eval $(call gb_Library_use_libraries,merged,\
125 AppleRemote \
127 $(eval $(call gb_Library_add_libs,merged,\
128 -lobjc \
130 $(eval $(call gb_Library_use_system_darwin_frameworks,merged,\
131 Carbon \
132 Cocoa \
133 CoreFoundation \
134 CoreServices \
135 QuickTime \
137 endif
139 # vim: set noet sw=4 ts=4: