Version 4.3.0.0.beta1, tag libreoffice-4.3.0.0.beta1
[LibreOffice.git] / Library_merged.mk
blob4cfff2bfc06b01cc91ac882b3e530d7d8c5f2edc
1 # -*- Mode: makefile-gmake; 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 icu_headers \
35 icui18n \
36 icuuc \
37 boost_headers \
38 boostdatetime \
39 $(call gb_Helper_optional,DESKTOP,clucene) \
40 $(call gb_Helper_optional,COLLADA2GLTF,collada2gltf) \
41 cups \
42 curl \
43 dbus \
44 expat \
45 gconf \
46 gio \
47 glew \
48 graphite \
49 $(if $(ENABLE_GTK),gtk) \
50 harfbuzz \
51 hunspell \
52 jpeg \
53 lcms2 \
54 $(call gb_Helper_optional,LIBATOMIC_OPS,libatomic_ops) \
55 libeot \
56 liblangtag \
57 libxml2 \
58 libxslt \
59 mesa_headers \
60 mythes \
61 nss3 \
62 $(call gb_Helper_optional,COLLADA2GLTF,opencollada_parser) \
63 $(call gb_Helper_optional,COLLADA2GLTF,png) \
64 telepathy \
65 zlib \
68 ifeq (ALL,$(MERGELIBS))
69 $(eval $(call gb_Library_use_static_libraries,merged,\
70 ulingu \
72 $(eval $(call gb_Library_use_externals,merged,\
73 cppunit \
74 hyphen \
75 libexslt \
76 libexttextcat \
77 $(if $(filter-out ANDROID IOS,$(OS)),openldap) \
78 $(call gb_Helper_optional,PYUNO,python) \
80 endif
82 ifeq ($(GUIBASE),unx)
83 $(eval $(call gb_Library_use_externals,merged,\
84 fontconfig \
85 freetype \
87 $(eval $(call gb_Library_add_libs,merged,\
88 -lX11 \
89 -lXext \
90 -lSM \
91 -lICE \
93 endif
95 ifeq ($(OS),LINUX)
96 $(eval $(call gb_Library_add_libs,merged,\
97 -lm \
98 -ldl \
99 -lGL \
100 -lGLU \
101 -lpthread \
102 -lrt \
103 -lX11 \
105 endif
107 ifeq ($(OS),WNT)
108 $(eval $(call gb_Library_use_system_win32_libs,merged,\
109 advapi32 \
110 gdi32 \
111 gdiplus \
112 glu32 \
113 imm32 \
114 mpr \
115 msimg32 \
116 oldnames \
117 ole32 \
118 oleaut32 \
119 opengl32 \
120 shell32 \
121 shlwapi \
122 user32 \
123 usp10 \
124 uuid \
125 version \
126 winmm \
127 winspool \
129 # prevent warning spamming
130 $(eval $(call gb_Library_add_ldflags,merged,\
131 /ignore:4049 \
132 /ignore:4217 \
134 endif
136 ifeq ($(OS),MACOSX)
137 $(eval $(call gb_Library_use_libraries,merged,\
138 AppleRemote \
140 $(eval $(call gb_Library_add_libs,merged,\
141 -lobjc \
143 $(eval $(call gb_Library_use_system_darwin_frameworks,merged,\
144 Carbon \
145 Cocoa \
146 CoreFoundation \
147 CoreServices \
148 OpenGL \
149 QuickTime \
151 endif
153 # vim: set noet sw=4 ts=4: