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