Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / oox / Library_oox.mk
blobe37df6a393b984ad669a9bfcc54db3e5b9aec80e
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/connectorshapecontext \
149 oox/source/drawingml/customshapegeometry \
150 oox/source/drawingml/customshapepresetdata \
151 oox/source/drawingml/customshapeproperties \
152 oox/source/drawingml/diagram/constraintlistcontext \
153 oox/source/drawingml/diagram/datamodel \
154 oox/source/drawingml/diagram/datamodelcontext \
155 oox/source/drawingml/diagram/diagram \
156 oox/source/drawingml/diagram/diagramhelper \
157 oox/source/drawingml/diagram/diagramdefinitioncontext \
158 oox/source/drawingml/diagram/diagramfragmenthandler \
159 oox/source/drawingml/diagram/diagramlayoutatoms \
160 oox/source/drawingml/diagram/layoutatomvisitorbase \
161 oox/source/drawingml/diagram/layoutatomvisitors \
162 oox/source/drawingml/diagram/layoutnodecontext \
163 oox/source/drawingml/diagram/rulelistcontext \
164 oox/source/drawingml/drawingmltypes \
165 oox/source/drawingml/effectproperties \
166 oox/source/drawingml/effectpropertiescontext \
167 oox/source/drawingml/embeddedwavaudiofile \
168 oox/source/drawingml/fillproperties \
169 oox/source/drawingml/fontworkhelpers \
170 oox/source/drawingml/misccontexts \
171 oox/source/drawingml/graphicshapecontext \
172 oox/source/drawingml/guidcontext \
173 oox/source/drawingml/hyperlinkcontext \
174 oox/source/drawingml/linepropertiescontext \
175 oox/source/drawingml/lineproperties \
176 oox/source/drawingml/objectdefaultcontext \
177 oox/source/drawingml/presetgeometrynames \
178 oox/source/drawingml/scene3dcontext \
179 oox/source/drawingml/shapecontext \
180 oox/source/drawingml/shape \
181 oox/source/drawingml/shape3dproperties \
182 oox/source/drawingml/shapegroupcontext \
183 oox/source/drawingml/shapepropertiescontext \
184 oox/source/drawingml/shapepropertymap \
185 oox/source/drawingml/shapestylecontext \
186 oox/source/drawingml/spdefcontext \
187 oox/source/drawingml/table/tablebackgroundstylecontext \
188 oox/source/drawingml/table/tablecellcontext \
189 oox/source/drawingml/table/tablecell \
190 oox/source/drawingml/table/tablecontext \
191 oox/source/drawingml/table/tablepartstylecontext \
192 oox/source/drawingml/table/tableproperties \
193 oox/source/drawingml/table/tablerowcontext \
194 oox/source/drawingml/table/tablerow \
195 oox/source/drawingml/table/tablestylecellstylecontext \
196 oox/source/drawingml/table/tablestylecontext \
197 oox/source/drawingml/table/tablestyle \
198 oox/source/drawingml/table/tablestylelist \
199 oox/source/drawingml/table/tablestylelistfragmenthandler \
200 oox/source/drawingml/table/tablestylepart \
201 oox/source/drawingml/table/tablestyletextstylecontext \
202 oox/source/drawingml/textbodycontext \
203 oox/source/drawingml/textbody \
204 oox/source/drawingml/textbodypropertiescontext \
205 oox/source/drawingml/textbodyproperties \
206 oox/source/drawingml/textcharacterpropertiescontext \
207 oox/source/drawingml/textcharacterproperties \
208 oox/source/drawingml/texteffectscontext \
209 oox/source/drawingml/textfieldcontext \
210 oox/source/drawingml/textfield \
211 oox/source/drawingml/textfont \
212 oox/source/drawingml/textliststylecontext \
213 oox/source/drawingml/textliststyle \
214 oox/source/drawingml/textparagraph \
215 oox/source/drawingml/textparagraphpropertiescontext \
216 oox/source/drawingml/textparagraphproperties \
217 oox/source/drawingml/textrun \
218 oox/source/drawingml/textspacingcontext \
219 oox/source/drawingml/texttabstoplistcontext \
220 oox/source/drawingml/theme \
221 oox/source/drawingml/themeelementscontext \
222 oox/source/drawingml/themefragmenthandler \
223 oox/source/drawingml/ThemeOverrideFragmentHandler \
224 oox/source/drawingml/ThemeFilterBase \
225 oox/source/drawingml/transform2dcontext \
226 oox/source/dump/dffdumper \
227 oox/source/dump/dumperbase \
228 oox/source/dump/oledumper \
229 oox/source/dump/pptxdumper \
230 oox/source/export/ColorPropertySet \
231 oox/source/export/ColorExportUtils \
232 oox/source/export/drawingml \
233 oox/source/export/DMLPresetShapeExport \
234 oox/source/export/shapes \
235 oox/source/export/vmlexport \
236 oox/source/export/ThemeExport \
237 oox/source/helper/attributelist \
238 oox/source/helper/binaryinputstream \
239 oox/source/helper/binaryoutputstream \
240 oox/source/helper/binarystreambase \
241 oox/source/helper/containerhelper \
242 oox/source/helper/graphichelper \
243 oox/source/helper/grabbagstack \
244 oox/source/helper/modelobjecthelper \
245 oox/source/helper/ooxresid \
246 oox/source/helper/progressbar \
247 oox/source/helper/propertymap \
248 oox/source/helper/propertyset \
249 oox/source/helper/storagebase \
250 oox/source/helper/textinputstream \
251 oox/source/helper/zipstorage \
252 oox/source/mathml/imexport \
253 oox/source/mathml/importutils \
254 oox/source/ole/axbinaryreader \
255 oox/source/ole/axbinarywriter \
256 oox/source/ole/axfontdata \
257 oox/source/ole/axcontrol \
258 oox/source/ole/axcontrolfragment \
259 oox/source/ole/olehelper \
260 oox/source/ole/oleobjecthelper \
261 oox/source/ole/olestorage \
262 oox/source/ole/vbacontrol \
263 oox/source/ole/vbaexport \
264 oox/source/ole/vbahelper \
265 oox/source/ole/vbainputstream \
266 oox/source/ole/vbamodule \
267 oox/source/ole/vbaproject \
268 oox/source/ppt/animationspersist \
269 oox/source/ppt/animationtypes \
270 oox/source/ppt/animvariantcontext \
271 oox/source/ppt/backgroundproperties \
272 oox/source/ppt/buildlistcontext \
273 oox/source/ppt/comments \
274 oox/source/ppt/commonbehaviorcontext \
275 oox/source/ppt/commontimenodecontext \
276 oox/source/ppt/conditioncontext \
277 oox/source/ppt/customshowlistcontext \
278 oox/source/ppt/headerfootercontext \
279 oox/source/ppt/layoutfragmenthandler \
280 oox/source/ppt/pptfilterhelpers \
281 oox/source/ppt/pptgraphicshapecontext \
282 oox/source/ppt/pptimport \
283 oox/source/ppt/pptshapecontext \
284 oox/source/ppt/pptshape \
285 oox/source/ppt/pptshapegroupcontext \
286 oox/source/ppt/pptshapepropertiescontext \
287 oox/source/ppt/presentationfragmenthandler \
288 oox/source/ppt/presPropsfragmenthandler \
289 oox/source/ppt/slidefragmenthandler \
290 oox/source/ppt/slidemastertextstylescontext \
291 oox/source/ppt/slidepersist \
292 oox/source/ppt/slidetimingcontext \
293 oox/source/ppt/slidetransitioncontext \
294 oox/source/ppt/slidetransition \
295 oox/source/ppt/soundactioncontext \
296 oox/source/ppt/timeanimvaluecontext \
297 oox/source/ppt/timenode \
298 oox/source/ppt/timenodelistcontext \
299 oox/source/ppt/timetargetelementcontext \
300 oox/source/ppt/extdrawingfragmenthandler \
301 oox/source/shape/LockedCanvasContext \
302 oox/source/shape/ShapeContextHandler \
303 oox/source/shape/ShapeDrawingFragmentHandler \
304 oox/source/shape/ShapeFilterBase \
305 oox/source/shape/WpgContext \
306 oox/source/shape/WpsContext \
307 oox/source/token/namespacemap \
308 oox/source/token/propertynames \
309 oox/source/token/tokenmap \
310 oox/source/token/relationship \
311 oox/source/vml/vmldrawing \
312 oox/source/vml/vmldrawingfragment \
313 oox/source/vml/vmlformatting \
314 oox/source/vml/vmlinputstream \
315 oox/source/vml/vmlshapecontainer \
316 oox/source/vml/vmlshapecontext \
317 oox/source/vml/vmlshape \
318 oox/source/vml/vmltextboxcontext \
319 oox/source/vml/vmltextbox \
322 ifeq ($(OS),iOS)
323 # Either a compiler bug in Xcode 5.1.1 or some hard-to-spot undefined
324 # behaviour in the source code... Compiling this source file with
325 # optimization causes some Smart Art images to end up with completely
326 # wrong colour, some even totally black.
327 $(eval $(call gb_Library_add_exception_objects,oox,\
328 oox/source/drawingml/color \
329 , $(gb_COMPILERNOOPTFLAGS) \
331 else
332 $(eval $(call gb_Library_add_exception_objects,oox,\
333 oox/source/drawingml/color \
335 endif
337 ifeq ($(CPUNAME),M68K)
338 $(eval $(call gb_Library_add_cxxflags,oox,\
339 -mlong-jump-table-offsets \
341 endif
343 # vim: set noet sw=4 ts=4: