Bump version to 24.04.3.4
[LibreOffice.git] / oox / Library_oox.mk
blob3043d7345f3d7aa7961b617c1e34f531009593c1
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,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 $(call gb_Helper_optional,AVMEDIA,avmedia) \
42 basegfx \
43 comphelper \
44 cppu \
45 cppuhelper \
46 docmodel \
47 drawinglayer \
48 editeng \
49 i18nlangtag \
50 msfilter \
51 sal \
52 sax \
53 sfx \
54 svl \
55 svt \
56 svx \
57 svxcore \
58 sot \
59 tl \
60 utl \
61 vcl \
62 xmlscript \
63 xo \
66 $(eval $(call gb_Library_use_externals,oox,\
67 boost_headers \
68 frozen \
71 ifeq ($(TLS),OPENSSL)
72 $(eval $(call gb_Library_use_externals,oox,\
73 openssl \
74 openssl_headers \
76 else
77 ifeq ($(TLS),NSS)
78 $(eval $(call gb_Library_use_externals,oox,\
79 plc4 \
80 nss3 \
82 endif
83 endif
85 $(eval $(call gb_Library_set_componentfile,oox,oox/util/oox,services))
87 # WASM_CHART change
88 ifeq (,$(ENABLE_WASM_STRIP_CHART))
89 $(eval $(call gb_Library_add_exception_objects,oox,\
90 oox/source/export/chartexport \
91 oox/source/drawingml/chart/axiscontext \
92 oox/source/drawingml/chart/axisconverter \
93 oox/source/drawingml/chart/axismodel \
94 oox/source/drawingml/chart/chartcontextbase \
95 oox/source/drawingml/chart/chartconverter \
96 oox/source/drawingml/chart/chartdrawingfragment \
97 oox/source/drawingml/chart/chartspaceconverter \
98 oox/source/drawingml/chart/chartspacefragment \
99 oox/source/drawingml/chart/chartspacemodel \
100 oox/source/drawingml/chart/converterbase \
101 oox/source/drawingml/chart/datasourcecontext \
102 oox/source/drawingml/chart/datasourceconverter \
103 oox/source/drawingml/chart/datasourcemodel \
104 oox/source/drawingml/chart/datatablecontext \
105 oox/source/drawingml/chart/datatableconverter \
106 oox/source/drawingml/chart/modelbase \
107 oox/source/drawingml/chart/objectformatter \
108 oox/source/drawingml/chart/plotareacontext \
109 oox/source/drawingml/chart/plotareaconverter \
110 oox/source/drawingml/chart/plotareamodel \
111 oox/source/drawingml/chart/seriescontext \
112 oox/source/drawingml/chart/seriesconverter \
113 oox/source/drawingml/chart/seriesmodel \
114 oox/source/drawingml/chart/titlecontext \
115 oox/source/drawingml/chart/titleconverter \
116 oox/source/drawingml/chart/titlemodel \
117 oox/source/drawingml/chart/typegroupcontext \
118 oox/source/drawingml/chart/typegroupconverter \
119 oox/source/drawingml/chart/typegroupmodel \
121 endif
123 $(eval $(call gb_Library_add_exception_objects,oox,\
124 oox/source/core/binarycodec \
125 oox/source/core/contexthandler2 \
126 oox/source/core/contexthandler \
127 oox/source/core/fastparser \
128 oox/source/core/fasttokenhandler \
129 oox/source/core/filterbase \
130 oox/source/core/filterdetect \
131 oox/source/core/fragmenthandler2 \
132 oox/source/core/fragmenthandler \
133 oox/source/core/recordparser \
134 oox/source/core/relations \
135 oox/source/core/relationshandler \
136 oox/source/core/xmlfilterbase \
137 oox/source/crypto/AgileEngine \
138 oox/source/crypto/CryptTools \
139 oox/source/crypto/DocumentEncryption \
140 oox/source/crypto/DocumentDecryption \
141 oox/source/crypto/Standard2007Engine \
142 oox/source/crypto/StrongEncryptionDataSpace \
143 oox/source/docprop/docprophandler \
144 oox/source/docprop/ooxmldocpropimport \
145 oox/source/drawingml/clrschemecontext \
146 oox/source/drawingml/clrscheme \
147 oox/source/drawingml/colorchoicecontext \
148 oox/source/drawingml/connectorhelper \
149 oox/source/drawingml/connectorshapecontext \
150 oox/source/drawingml/customshapegeometry \
151 oox/source/drawingml/customshapepresetdata \
152 oox/source/drawingml/customshapeproperties \
153 oox/source/drawingml/diagram/constraintlistcontext \
154 oox/source/drawingml/diagram/datamodel \
155 oox/source/drawingml/diagram/datamodelcontext \
156 oox/source/drawingml/diagram/diagram \
157 oox/source/drawingml/diagram/diagramhelper \
158 oox/source/drawingml/diagram/diagramdefinitioncontext \
159 oox/source/drawingml/diagram/diagramfragmenthandler \
160 oox/source/drawingml/diagram/diagramlayoutatoms \
161 oox/source/drawingml/diagram/layoutatomvisitorbase \
162 oox/source/drawingml/diagram/layoutatomvisitors \
163 oox/source/drawingml/diagram/layoutnodecontext \
164 oox/source/drawingml/diagram/rulelistcontext \
165 oox/source/drawingml/drawingmltypes \
166 oox/source/drawingml/effectproperties \
167 oox/source/drawingml/effectpropertiescontext \
168 oox/source/drawingml/embeddedwavaudiofile \
169 oox/source/drawingml/fillproperties \
170 oox/source/drawingml/fontworkhelpers \
171 oox/source/drawingml/misccontexts \
172 oox/source/drawingml/graphicshapecontext \
173 oox/source/drawingml/guidcontext \
174 oox/source/drawingml/hyperlinkcontext \
175 oox/source/drawingml/linepropertiescontext \
176 oox/source/drawingml/lineproperties \
177 oox/source/drawingml/objectdefaultcontext \
178 oox/source/drawingml/presetgeometrynames \
179 oox/source/drawingml/scene3dcontext \
180 oox/source/drawingml/shapecontext \
181 oox/source/drawingml/shape \
182 oox/source/drawingml/shape3dproperties \
183 oox/source/drawingml/shapegroupcontext \
184 oox/source/drawingml/shapepropertiescontext \
185 oox/source/drawingml/shapepropertymap \
186 oox/source/drawingml/shapestylecontext \
187 oox/source/drawingml/spdefcontext \
188 oox/source/drawingml/table/tablebackgroundstylecontext \
189 oox/source/drawingml/table/tablecellcontext \
190 oox/source/drawingml/table/tablecell \
191 oox/source/drawingml/table/tablecontext \
192 oox/source/drawingml/table/tablepartstylecontext \
193 oox/source/drawingml/table/tableproperties \
194 oox/source/drawingml/table/tablerowcontext \
195 oox/source/drawingml/table/tablerow \
196 oox/source/drawingml/table/tablestylecellstylecontext \
197 oox/source/drawingml/table/tablestylecontext \
198 oox/source/drawingml/table/tablestyle \
199 oox/source/drawingml/table/tablestylelist \
200 oox/source/drawingml/table/tablestylelistfragmenthandler \
201 oox/source/drawingml/table/tablestylepart \
202 oox/source/drawingml/table/tablestyletextstylecontext \
203 oox/source/drawingml/textbodycontext \
204 oox/source/drawingml/textbody \
205 oox/source/drawingml/textbodypropertiescontext \
206 oox/source/drawingml/textbodyproperties \
207 oox/source/drawingml/textcharacterpropertiescontext \
208 oox/source/drawingml/textcharacterproperties \
209 oox/source/drawingml/texteffectscontext \
210 oox/source/drawingml/textfieldcontext \
211 oox/source/drawingml/textfield \
212 oox/source/drawingml/textfont \
213 oox/source/drawingml/textliststylecontext \
214 oox/source/drawingml/textliststyle \
215 oox/source/drawingml/textparagraph \
216 oox/source/drawingml/textparagraphpropertiescontext \
217 oox/source/drawingml/textparagraphproperties \
218 oox/source/drawingml/textrun \
219 oox/source/drawingml/textspacingcontext \
220 oox/source/drawingml/texttabstoplistcontext \
221 oox/source/drawingml/theme \
222 oox/source/drawingml/themeelementscontext \
223 oox/source/drawingml/themefragmenthandler \
224 oox/source/drawingml/ThemeOverrideFragmentHandler \
225 oox/source/drawingml/ThemeFilterBase \
226 oox/source/drawingml/transform2dcontext \
227 oox/source/dump/dffdumper \
228 oox/source/dump/dumperbase \
229 oox/source/dump/oledumper \
230 oox/source/dump/pptxdumper \
231 oox/source/export/ColorPropertySet \
232 oox/source/export/ColorExportUtils \
233 oox/source/export/drawingml \
234 oox/source/export/DMLPresetShapeExport \
235 oox/source/export/shapes \
236 oox/source/export/vmlexport \
237 oox/source/export/ThemeExport \
238 oox/source/helper/attributelist \
239 oox/source/helper/binaryinputstream \
240 oox/source/helper/binaryoutputstream \
241 oox/source/helper/binarystreambase \
242 oox/source/helper/containerhelper \
243 oox/source/helper/graphichelper \
244 oox/source/helper/grabbagstack \
245 oox/source/helper/modelobjecthelper \
246 oox/source/helper/ooxresid \
247 oox/source/helper/progressbar \
248 oox/source/helper/propertymap \
249 oox/source/helper/propertyset \
250 oox/source/helper/storagebase \
251 oox/source/helper/textinputstream \
252 oox/source/helper/zipstorage \
253 oox/source/mathml/imexport \
254 oox/source/mathml/importutils \
255 oox/source/ole/axbinaryreader \
256 oox/source/ole/axbinarywriter \
257 oox/source/ole/axfontdata \
258 oox/source/ole/axcontrol \
259 oox/source/ole/axcontrolfragment \
260 oox/source/ole/olehelper \
261 oox/source/ole/oleobjecthelper \
262 oox/source/ole/olestorage \
263 oox/source/ole/vbacontrol \
264 oox/source/ole/vbaexport \
265 oox/source/ole/vbahelper \
266 oox/source/ole/vbainputstream \
267 oox/source/ole/vbamodule \
268 oox/source/ole/vbaproject \
269 oox/source/ppt/animationspersist \
270 oox/source/ppt/animationtypes \
271 oox/source/ppt/animvariantcontext \
272 oox/source/ppt/backgroundproperties \
273 oox/source/ppt/buildlistcontext \
274 oox/source/ppt/comments \
275 oox/source/ppt/commonbehaviorcontext \
276 oox/source/ppt/commontimenodecontext \
277 oox/source/ppt/conditioncontext \
278 oox/source/ppt/customshowlistcontext \
279 oox/source/ppt/headerfootercontext \
280 oox/source/ppt/layoutfragmenthandler \
281 oox/source/ppt/pptfilterhelpers \
282 oox/source/ppt/pptgraphicshapecontext \
283 oox/source/ppt/pptimport \
284 oox/source/ppt/pptshapecontext \
285 oox/source/ppt/pptshape \
286 oox/source/ppt/pptshapegroupcontext \
287 oox/source/ppt/pptshapepropertiescontext \
288 oox/source/ppt/presentationfragmenthandler \
289 oox/source/ppt/presPropsfragmenthandler \
290 oox/source/ppt/slidefragmenthandler \
291 oox/source/ppt/slidemastertextstylescontext \
292 oox/source/ppt/slidepersist \
293 oox/source/ppt/slidetimingcontext \
294 oox/source/ppt/slidetransitioncontext \
295 oox/source/ppt/slidetransition \
296 oox/source/ppt/soundactioncontext \
297 oox/source/ppt/timeanimvaluecontext \
298 oox/source/ppt/timenode \
299 oox/source/ppt/timenodelistcontext \
300 oox/source/ppt/timetargetelementcontext \
301 oox/source/ppt/extdrawingfragmenthandler \
302 oox/source/shape/LockedCanvasContext \
303 oox/source/shape/ShapeContextHandler \
304 oox/source/shape/ShapeDrawingFragmentHandler \
305 oox/source/shape/ShapeFilterBase \
306 oox/source/shape/WordprocessingCanvasContext \
307 oox/source/shape/WpgContext \
308 oox/source/shape/WpsContext \
309 oox/source/token/namespacemap \
310 oox/source/token/propertynames \
311 oox/source/token/tokenmap \
312 oox/source/token/relationship \
313 oox/source/vml/vmldrawing \
314 oox/source/vml/vmldrawingfragment \
315 oox/source/vml/vmlformatting \
316 oox/source/vml/vmlinputstream \
317 oox/source/vml/vmlshapecontainer \
318 oox/source/vml/vmlshapecontext \
319 oox/source/vml/vmlshape \
320 oox/source/vml/vmltextboxcontext \
321 oox/source/vml/vmltextbox \
324 ifeq ($(OS),iOS)
325 # Either a compiler bug in Xcode 5.1.1 or some hard-to-spot undefined
326 # behaviour in the source code... Compiling this source file with
327 # optimization causes some Smart Art images to end up with completely
328 # wrong colour, some even totally black.
329 $(eval $(call gb_Library_add_exception_objects,oox,\
330 oox/source/drawingml/color \
331 , $(gb_COMPILERNOOPTFLAGS) \
333 else
334 $(eval $(call gb_Library_add_exception_objects,oox,\
335 oox/source/drawingml/color \
337 endif
339 ifeq ($(CPUNAME),M68K)
340 $(eval $(call gb_Library_add_cxxflags,oox,\
341 -mlong-jump-table-offsets \
343 endif
345 # vim: set noet sw=4 ts=4: