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