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