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