Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / oox / Library_oox.mk
blob632f09bf01ee75a4ef9aaee3cd5d1db22795d691
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Library_Library,oox))
12 $(eval $(call gb_Library_set_precompiled_header,oox,$(SRCDIR)/oox/inc/pch/precompiled_oox))
14 $(eval $(call gb_Library_use_custom_headers,oox,oox/generated))
16 $(eval $(call gb_Library_set_include,oox,\
17 $$(INCLUDE) \
18 -I$(SRCDIR)/oox/inc \
21 ifeq ($(COM)-$(OS)-$(CPUNAME),GCC-LINUX-IA64)
22 # at least Debian Linux ia64 fails at compile time on
23 # link libooxlo.so which is apparently too large
24 # for the toolchain to handle with default optimization
25 $(eval $(call gb_Library_add_cxxflags,oox,\
26 -Os \
28 endif
30 $(eval $(call gb_Library_add_defs,oox,\
31 -DOOX_DLLIMPLEMENTATION \
34 $(eval $(call gb_Library_use_sdk_api,oox))
36 $(eval $(call gb_Library_use_api,oox,\
37 oovbaapi \
40 $(eval $(call gb_Library_use_libraries,oox,\
41 basegfx \
42 comphelper \
43 cppu \
44 cppuhelper \
45 editeng \
46 expwrap \
47 drawinglayer \
48 msfilter \
49 sal \
50 i18nlangtag \
51 sax \
52 sfx \
53 svl \
54 svt \
55 svx \
56 svxcore \
57 sot \
58 tl \
59 utl \
60 vcl \
61 xo \
62 xmlscript \
65 $(eval $(call gb_Library_use_externals,oox,\
66 boost_headers \
69 ifeq ($(TLS),OPENSSL)
70 $(eval $(call gb_Library_use_externals,oox,\
71 openssl \
72 openssl_headers \
74 else
75 ifeq ($(TLS),NSS)
76 $(eval $(call gb_Library_use_externals,oox,\
77 plc4 \
78 nss3 \
80 endif
81 endif
83 $(eval $(call gb_Library_set_componentfile,oox,oox/util/oox))
85 $(eval $(call gb_Library_add_exception_objects,oox,\
86 oox/source/core/binarycodec \
87 oox/source/core/contexthandler2 \
88 oox/source/core/contexthandler \
89 oox/source/core/fastparser \
90 oox/source/core/fasttokenhandler \
91 oox/source/core/filterbase \
92 oox/source/core/filterdetect \
93 oox/source/core/fragmenthandler2 \
94 oox/source/core/fragmenthandler \
95 oox/source/core/recordparser \
96 oox/source/core/relations \
97 oox/source/core/relationshandler \
98 oox/source/core/services \
99 oox/source/core/xmlfilterbase \
100 oox/source/crypto/AgileEngine \
101 oox/source/crypto/CryptTools \
102 oox/source/crypto/DocumentEncryption \
103 oox/source/crypto/DocumentDecryption \
104 oox/source/crypto/Standard2007Engine \
105 oox/source/docprop/docprophandler \
106 oox/source/docprop/ooxmldocpropimport \
107 oox/source/drawingml/chart/axiscontext \
108 oox/source/drawingml/chart/axisconverter \
109 oox/source/drawingml/chart/axismodel \
110 oox/source/drawingml/chart/chartcontextbase \
111 oox/source/drawingml/chart/chartconverter \
112 oox/source/drawingml/chart/chartdrawingfragment \
113 oox/source/drawingml/chart/chartspaceconverter \
114 oox/source/drawingml/chart/chartspacefragment \
115 oox/source/drawingml/chart/chartspacemodel \
116 oox/source/drawingml/chart/converterbase \
117 oox/source/drawingml/chart/datasourcecontext \
118 oox/source/drawingml/chart/datasourceconverter \
119 oox/source/drawingml/chart/datasourcemodel \
120 oox/source/drawingml/chart/modelbase \
121 oox/source/drawingml/chart/objectformatter \
122 oox/source/drawingml/chart/plotareacontext \
123 oox/source/drawingml/chart/plotareaconverter \
124 oox/source/drawingml/chart/plotareamodel \
125 oox/source/drawingml/chart/seriescontext \
126 oox/source/drawingml/chart/seriesconverter \
127 oox/source/drawingml/chart/seriesmodel \
128 oox/source/drawingml/chart/titlecontext \
129 oox/source/drawingml/chart/titleconverter \
130 oox/source/drawingml/chart/titlemodel \
131 oox/source/drawingml/chart/typegroupcontext \
132 oox/source/drawingml/chart/typegroupconverter \
133 oox/source/drawingml/chart/typegroupmodel \
134 oox/source/drawingml/clrschemecontext \
135 oox/source/drawingml/clrscheme \
136 oox/source/drawingml/colorchoicecontext \
137 oox/source/drawingml/connectorshapecontext \
138 oox/source/drawingml/customshapegeometry \
139 oox/source/drawingml/customshapepresetdata \
140 oox/source/drawingml/customshapeproperties \
141 oox/source/drawingml/diagram/constraintlistcontext \
142 oox/source/drawingml/diagram/datamodelcontext \
143 oox/source/drawingml/diagram/diagram \
144 oox/source/drawingml/diagram/diagramdefinitioncontext \
145 oox/source/drawingml/diagram/diagramfragmenthandler \
146 oox/source/drawingml/diagram/diagramlayoutatoms \
147 oox/source/drawingml/diagram/layoutnodecontext \
148 oox/source/drawingml/drawingmltypes \
149 oox/source/drawingml/effectproperties \
150 oox/source/drawingml/effectpropertiescontext \
151 oox/source/drawingml/embeddedwavaudiofile \
152 oox/source/drawingml/fillproperties \
153 oox/source/drawingml/misccontexts \
154 oox/source/drawingml/graphicshapecontext \
155 oox/source/drawingml/guidcontext \
156 oox/source/drawingml/hyperlinkcontext \
157 oox/source/drawingml/linepropertiescontext \
158 oox/source/drawingml/lineproperties \
159 oox/source/drawingml/objectdefaultcontext \
160 oox/source/drawingml/scene3dcontext \
161 oox/source/drawingml/shapecontext \
162 oox/source/drawingml/shape \
163 oox/source/drawingml/shape3dproperties \
164 oox/source/drawingml/shapegroupcontext \
165 oox/source/drawingml/shapepropertiescontext \
166 oox/source/drawingml/shapepropertymap \
167 oox/source/drawingml/shapestylecontext \
168 oox/source/drawingml/spdefcontext \
169 oox/source/drawingml/table/tablebackgroundstylecontext \
170 oox/source/drawingml/table/tablecellcontext \
171 oox/source/drawingml/table/tablecell \
172 oox/source/drawingml/table/tablecontext \
173 oox/source/drawingml/table/tablepartstylecontext \
174 oox/source/drawingml/table/tableproperties \
175 oox/source/drawingml/table/tablerowcontext \
176 oox/source/drawingml/table/tablerow \
177 oox/source/drawingml/table/tablestylecellstylecontext \
178 oox/source/drawingml/table/tablestylecontext \
179 oox/source/drawingml/table/tablestyle \
180 oox/source/drawingml/table/tablestylelist \
181 oox/source/drawingml/table/tablestylelistfragmenthandler \
182 oox/source/drawingml/table/tablestylepart \
183 oox/source/drawingml/table/tablestyletextstylecontext \
184 oox/source/drawingml/textbodycontext \
185 oox/source/drawingml/textbody \
186 oox/source/drawingml/textbodypropertiescontext \
187 oox/source/drawingml/textbodyproperties \
188 oox/source/drawingml/textcharacterpropertiescontext \
189 oox/source/drawingml/textcharacterproperties \
190 oox/source/drawingml/texteffectscontext \
191 oox/source/drawingml/textfieldcontext \
192 oox/source/drawingml/textfield \
193 oox/source/drawingml/textfont \
194 oox/source/drawingml/textliststylecontext \
195 oox/source/drawingml/textliststyle \
196 oox/source/drawingml/textparagraph \
197 oox/source/drawingml/textparagraphpropertiescontext \
198 oox/source/drawingml/textparagraphproperties \
199 oox/source/drawingml/textrun \
200 oox/source/drawingml/textspacingcontext \
201 oox/source/drawingml/texttabstoplistcontext \
202 oox/source/drawingml/theme \
203 oox/source/drawingml/themeelementscontext \
204 oox/source/drawingml/themefragmenthandler \
205 oox/source/drawingml/ThemeOverrideFragmentHandler \
206 oox/source/drawingml/transform2dcontext \
207 oox/source/dump/dffdumper \
208 oox/source/dump/dumperbase \
209 oox/source/dump/oledumper \
210 oox/source/dump/pptxdumper \
211 oox/source/export/chartexport \
212 oox/source/export/ColorPropertySet \
213 oox/source/export/drawingml \
214 oox/source/export/shapes \
215 oox/source/export/vmlexport \
216 oox/source/helper/attributelist \
217 oox/source/helper/binaryinputstream \
218 oox/source/helper/binaryoutputstream \
219 oox/source/helper/binarystreambase \
220 oox/source/helper/containerhelper \
221 oox/source/helper/graphichelper \
222 oox/source/helper/grabbagstack \
223 oox/source/helper/modelobjecthelper \
224 oox/source/helper/progressbar \
225 oox/source/helper/propertymap \
226 oox/source/helper/propertyset \
227 oox/source/helper/storagebase \
228 oox/source/helper/textinputstream \
229 oox/source/helper/zipstorage \
230 oox/source/mathml/export \
231 oox/source/mathml/import \
232 oox/source/mathml/importutils \
233 oox/source/ole/axbinaryreader \
234 oox/source/ole/axbinarywriter \
235 oox/source/ole/axfontdata \
236 oox/source/ole/axcontrol \
237 oox/source/ole/axcontrolfragment \
238 oox/source/ole/olehelper \
239 oox/source/ole/oleobjecthelper \
240 oox/source/ole/olestorage \
241 oox/source/ole/vbacontrol \
242 oox/source/ole/vbaexport \
243 oox/source/ole/vbahelper \
244 oox/source/ole/vbainputstream \
245 oox/source/ole/vbamodule \
246 oox/source/ole/vbaproject \
247 oox/source/ppt/animationspersist \
248 oox/source/ppt/animationtypes \
249 oox/source/ppt/animvariantcontext \
250 oox/source/ppt/backgroundproperties \
251 oox/source/ppt/buildlistcontext \
252 oox/source/ppt/comments \
253 oox/source/ppt/commonbehaviorcontext \
254 oox/source/ppt/commontimenodecontext \
255 oox/source/ppt/conditioncontext \
256 oox/source/ppt/customshowlistcontext \
257 oox/source/ppt/dgmimport \
258 oox/source/ppt/dgmlayout \
259 oox/source/ppt/headerfootercontext \
260 oox/source/ppt/layoutfragmenthandler \
261 oox/source/ppt/pptfilterhelpers \
262 oox/source/ppt/pptgraphicshapecontext \
263 oox/source/ppt/pptimport \
264 oox/source/ppt/pptshapecontext \
265 oox/source/ppt/pptshape \
266 oox/source/ppt/pptshapegroupcontext \
267 oox/source/ppt/pptshapepropertiescontext \
268 oox/source/ppt/presentationfragmenthandler \
269 oox/source/ppt/slidefragmenthandler \
270 oox/source/ppt/slidemastertextstylescontext \
271 oox/source/ppt/slidepersist \
272 oox/source/ppt/slidetimingcontext \
273 oox/source/ppt/slidetransitioncontext \
274 oox/source/ppt/slidetransition \
275 oox/source/ppt/soundactioncontext \
276 oox/source/ppt/timeanimvaluecontext \
277 oox/source/ppt/timenode \
278 oox/source/ppt/timenodelistcontext \
279 oox/source/ppt/timetargetelementcontext \
280 oox/source/ppt/extdrawingfragmenthandler \
281 oox/source/shape/LockedCanvasContext \
282 oox/source/shape/ShapeContextHandler \
283 oox/source/shape/ShapeDrawingFragmentHandler \
284 oox/source/shape/ShapeFilterBase \
285 oox/source/shape/WpgContext \
286 oox/source/shape/WpsContext \
287 oox/source/token/namespacemap \
288 oox/source/token/propertynames \
289 oox/source/token/tokenmap \
290 oox/source/token/relationship \
291 oox/source/vml/vmldrawing \
292 oox/source/vml/vmldrawingfragment \
293 oox/source/vml/vmlformatting \
294 oox/source/vml/vmlinputstream \
295 oox/source/vml/vmlshapecontainer \
296 oox/source/vml/vmlshapecontext \
297 oox/source/vml/vmlshape \
298 oox/source/vml/vmltextboxcontext \
299 oox/source/vml/vmltextbox \
302 ifeq ($(OS),IOS)
303 # Either a compiler bug in Xcode 5.1.1 or some hard-to-spot undefined
304 # behaviour in the source code... Compiling this source file with
305 # optimization causes some Smart Art images to end up with completely
306 # wrong colour, some even totally black.
307 $(eval $(call gb_Library_add_cxxobjects,oox,\
308 oox/source/drawingml/color \
309 , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
311 else
312 $(eval $(call gb_Library_add_exception_objects,oox,\
313 oox/source/drawingml/color \
315 endif
317 ifeq ($(CPUNAME),M68K)
318 $(eval $(call gb_Library_add_cxxflags,oox,\
319 -mlong-jump-table-offsets \
321 endif
323 # vim: set noet sw=4 ts=4: