Update git submodules
[LibreOffice.git] / xmloff / Library_xo.mk
blob2bad53c2130ac5491b6aef52945f3a27aba0e65f
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/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Library_Library,xo))
22 $(eval $(call gb_Library_set_componentfile,xo,xmloff/util/xo,services))
24 $(eval $(call gb_Library_add_componentimpls,xo, \
25 $(if $(ENABLE_WASM_STRIP_CHART),,chart) \
26 draw \
27 $(if $(ENABLE_WASM_STRIP_BASIC_DRAW_MATH_IMPRESS),, \
28 impress \
29 writer \
30 ) \
33 $(eval $(call gb_Library_set_precompiled_header,xo,xmloff/inc/pch/precompiled_xo))
35 $(eval $(call gb_Library_set_include,xo,\
36 -I$(SRCDIR)/xmloff/inc \
37 $$(INCLUDE) \
40 $(eval $(call gb_Library_add_defs,xo,\
41 -DXMLOFF_DLLIMPLEMENTATION \
44 $(eval $(call gb_Library_use_externals,xo,\
45 boost_headers \
46 frozen \
49 $(eval $(call gb_Library_use_custom_headers,xo,\
50 officecfg/registry \
51 xmloff/generated \
54 $(eval $(call gb_Library_use_sdk_api,xo))
56 $(eval $(call gb_Library_use_libraries,xo,\
57 basegfx \
58 comphelper \
59 cppu \
60 cppuhelper \
61 docmodel \
62 i18nlangtag \
63 sal \
64 salhelper \
65 sax \
66 svl \
67 tl \
68 utl \
69 vcl \
72 # WASM_CHART change
73 ifneq ($(ENABLE_WASM_STRIP_CHART),TRUE)
74 $(eval $(call gb_Library_add_exception_objects,xo,\
75 xmloff/source/chart/ColorPropertySet \
76 xmloff/source/chart/PropertyMaps \
77 xmloff/source/chart/SchXMLAutoStylePoolP \
78 xmloff/source/chart/SchXMLAxisContext \
79 xmloff/source/chart/SchXMLCalculationSettingsContext \
80 xmloff/source/chart/SchXMLChartContext \
81 xmloff/source/chart/SchXMLDataTableContext \
82 xmloff/source/chart/SchXMLEnumConverter \
83 xmloff/source/chart/SchXMLExport \
84 xmloff/source/chart/SchXMLImport \
85 xmloff/source/chart/SchXMLLegendContext \
86 xmloff/source/chart/SchXMLParagraphContext \
87 xmloff/source/chart/SchXMLPlotAreaContext \
88 xmloff/source/chart/SchXMLPropertyMappingContext \
89 xmloff/source/chart/SchXMLRegressionCurveObjectContext \
90 xmloff/source/chart/SchXMLSeries2Context \
91 xmloff/source/chart/SchXMLSeriesHelper \
92 xmloff/source/chart/SchXMLTableContext \
93 xmloff/source/chart/SchXMLTextListContext \
94 xmloff/source/chart/SchXMLTools \
95 xmloff/source/chart/XMLAxisPositionPropertyHdl \
96 xmloff/source/chart/XMLChartPropertyContext \
97 xmloff/source/chart/XMLChartStyleContext \
98 xmloff/source/chart/XMLErrorBarStylePropertyHdl \
99 xmloff/source/chart/XMLErrorIndicatorPropertyHdl \
100 xmloff/source/chart/XMLLabelSeparatorContext \
101 xmloff/source/chart/XMLSymbolImageContext \
102 xmloff/source/chart/XMLSymbolTypePropertyHdl \
103 xmloff/source/chart/XMLTextOrientationHdl \
104 xmloff/source/chart/contexts \
105 xmloff/source/chart/transporttypes \
107 endif
109 $(eval $(call gb_Library_add_exception_objects,xo,\
110 xmloff/source/core/DocumentSettingsContext \
111 xmloff/source/core/DomBuilderContext \
112 xmloff/source/core/DomExport \
113 xmloff/source/core/fasttokenhandler \
114 xmloff/source/core/ProgressBarHelper \
115 xmloff/source/core/PropertySetMerger \
116 xmloff/source/core/RDFaExportHelper \
117 xmloff/source/core/RDFaImportHelper \
118 xmloff/source/core/SettingsExportHelper \
119 xmloff/source/core/SvXMLAttr \
120 xmloff/source/core/SvXMLAttrCollection \
121 xmloff/source/core/XMLBase64Export \
122 xmloff/source/core/XMLBase64ImportContext \
123 xmloff/source/core/XMLBasicExportFilter \
124 xmloff/source/core/XMLEmbeddedObjectExportFilter \
125 xmloff/source/core/XMLEmbeddedObjectImportContext \
126 xmloff/source/core/i18nmap \
127 xmloff/source/core/namespacemap \
128 xmloff/source/core/unoatrcn \
129 xmloff/source/core/unointerfacetouniqueidentifiermapper \
130 xmloff/source/core/xmlcnimp \
131 xmloff/source/core/xmlerror \
132 xmloff/source/core/xmlexp \
133 xmloff/source/core/xmlictxt \
134 xmloff/source/core/xmlimp \
135 xmloff/source/core/xmltkmap \
136 xmloff/source/core/xmltoken \
137 xmloff/source/core/xmluconv \
138 xmloff/source/core/xmlmultiimagehelper \
139 xmloff/source/draw/EnhancedCustomShapeToken \
140 xmloff/source/draw/XMLGraphicsDefaultStyle \
141 xmloff/source/draw/XMLImageMapContext \
142 xmloff/source/draw/XMLImageMapExport \
143 xmloff/source/draw/XMLNumberStyles \
144 xmloff/source/draw/XMLReplacementImageContext \
145 xmloff/source/draw/XMLShapePropertySetContext \
146 xmloff/source/draw/XMLShapeStyleContext \
147 xmloff/source/draw/animationexport \
148 xmloff/source/draw/animationimport \
149 xmloff/source/draw/animexp \
150 xmloff/source/draw/animimp \
151 xmloff/source/draw/descriptionimp \
152 xmloff/source/draw/eventimp \
153 xmloff/source/draw/layerexp \
154 xmloff/source/draw/layerimp \
155 xmloff/source/draw/numithdl \
156 xmloff/source/draw/propimp0 \
157 xmloff/source/draw/sdpropls \
158 xmloff/source/draw/sdxmlexp \
159 xmloff/source/draw/sdxmlimp \
160 xmloff/source/draw/shapeexport \
161 xmloff/source/draw/shapeimport \
162 xmloff/source/draw/SignatureLineContext \
163 xmloff/source/draw/QRCodeContext \
164 xmloff/source/draw/xexptran \
165 xmloff/source/draw/ximp3dobject \
166 xmloff/source/draw/ximp3dscene \
167 xmloff/source/draw/ximpbody \
168 xmloff/source/draw/ximpcustomshape \
169 xmloff/source/draw/ximpgrp \
170 xmloff/source/draw/ximplink \
171 xmloff/source/draw/ximpnote \
172 xmloff/source/draw/ximppage \
173 xmloff/source/draw/ximpshap \
174 xmloff/source/draw/ximpshow \
175 xmloff/source/draw/ximpstyl \
176 xmloff/source/forms/controlelement \
177 xmloff/source/forms/controlpropertyhdl \
178 xmloff/source/forms/controlpropertymap \
179 xmloff/source/forms/elementexport \
180 xmloff/source/forms/elementimport \
181 xmloff/source/forms/eventexport \
182 xmloff/source/forms/eventimport \
183 xmloff/source/forms/formattributes \
184 xmloff/source/forms/formcellbinding \
185 xmloff/source/forms/formenums \
186 xmloff/source/forms/formevents \
187 xmloff/source/forms/formlayerexport \
188 xmloff/source/forms/formlayerimport \
189 xmloff/source/forms/gridcolumnproptranslator \
190 xmloff/source/forms/layerexport \
191 xmloff/source/forms/layerimport \
192 xmloff/source/forms/logging \
193 xmloff/source/forms/officeforms \
194 xmloff/source/forms/propertyexport \
195 xmloff/source/forms/propertyimport \
196 xmloff/source/forms/property_meta_data \
197 xmloff/source/forms/valueproperties \
198 xmloff/source/forms/handler/form_handler_factory \
199 xmloff/source/forms/handler/vcl_date_handler \
200 xmloff/source/forms/handler/vcl_time_handler \
201 xmloff/source/meta/MetaExportComponent \
202 xmloff/source/meta/MetaImportComponent \
203 xmloff/source/meta/xmlmetae \
204 xmloff/source/meta/xmlmetai \
205 xmloff/source/meta/xmlversion \
206 xmloff/source/script/XMLEventExport \
207 xmloff/source/script/XMLEventImportHelper \
208 xmloff/source/script/XMLEventsImportContext \
209 xmloff/source/script/XMLScriptContextFactory \
210 xmloff/source/script/XMLScriptExportHandler \
211 xmloff/source/script/XMLStarBasicContextFactory \
212 xmloff/source/script/XMLStarBasicExportHandler \
213 xmloff/source/script/xmlbasicscript \
214 xmloff/source/script/xmlscripti \
215 xmloff/source/style/AttributeContainerHandler \
216 xmloff/source/style/DashStyle \
217 xmloff/source/style/DrawAspectHdl \
218 xmloff/source/style/EnumPropertyHdl \
219 xmloff/source/style/FillStyleContext \
220 xmloff/source/style/GradientStyle \
221 xmloff/source/style/HatchStyle \
222 xmloff/source/style/ImageStyle \
223 xmloff/source/style/MarkerStyle \
224 xmloff/source/style/MultiPropertySetHelper \
225 xmloff/source/style/NamedBoolPropertyHdl \
226 xmloff/source/style/PageHeaderFooterContext \
227 xmloff/source/style/PageMasterExportPropMapper \
228 xmloff/source/style/PageMasterImportContext \
229 xmloff/source/style/PageMasterImportPropMapper \
230 xmloff/source/style/PageMasterPropHdl \
231 xmloff/source/style/PageMasterPropHdlFactory \
232 xmloff/source/style/PageMasterPropMapper \
233 xmloff/source/style/PageMasterStyleMap \
234 xmloff/source/style/PagePropertySetContext \
235 xmloff/source/style/SinglePropertySetInfoCache \
236 xmloff/source/style/StyleMap \
237 xmloff/source/style/StylePropertiesContext \
238 xmloff/source/style/TransGradientStyle \
239 xmloff/source/style/WordWrapPropertyHdl \
240 xmloff/source/style/XMLBackgroundImageContext \
241 xmloff/source/style/XMLBackgroundImageExport \
242 xmloff/source/style/XMLBitmapLogicalSizePropertyHandler \
243 xmloff/source/style/XMLBitmapRepeatOffsetPropertyHandler \
244 xmloff/source/style/XMLRtlGutterPropertyHandler \
245 xmloff/source/style/XMLClipPropertyHandler \
246 xmloff/source/style/XMLConstantsPropertyHandler \
247 xmloff/source/style/XMLElementPropertyContext \
248 xmloff/source/style/XMLFillBitmapSizePropertyHandler \
249 xmloff/source/style/XMLFontAutoStylePool \
250 xmloff/source/style/XMLFontStylesContext \
251 xmloff/source/style/XMLFootnoteSeparatorExport \
252 xmloff/source/style/XMLFootnoteSeparatorImport \
253 xmloff/source/style/XMLIsPercentagePropertyHandler \
254 xmloff/source/style/XMLPageExport \
255 xmloff/source/style/XMLPercentOrMeasurePropertyHandler \
256 xmloff/source/style/XMLRectangleMembersHandler \
257 xmloff/source/style/XMLThemeContext \
258 xmloff/source/style/adjushdl \
259 xmloff/source/style/backhdl \
260 xmloff/source/style/bordrhdl \
261 xmloff/source/style/breakhdl \
262 xmloff/source/style/cdouthdl \
263 xmloff/source/style/chrhghdl \
264 xmloff/source/style/chrlohdl \
265 xmloff/source/style/csmaphdl \
266 xmloff/source/style/durationhdl \
267 xmloff/source/style/escphdl \
268 xmloff/source/style/fonthdl \
269 xmloff/source/style/impastpl \
270 xmloff/source/style/kernihdl \
271 xmloff/source/style/lspachdl \
272 xmloff/source/style/numehelp \
273 xmloff/source/style/opaquhdl \
274 xmloff/source/style/postuhdl \
275 xmloff/source/style/prhdlfac \
276 xmloff/source/style/prstylei \
277 xmloff/source/style/prstylecond \
278 xmloff/source/style/shadwhdl \
279 xmloff/source/style/shdwdhdl \
280 xmloff/source/style/styleexp \
281 xmloff/source/style/tabsthdl \
282 xmloff/source/style/undlihdl \
283 xmloff/source/style/weighhdl \
284 xmloff/source/style/xmlaustp \
285 xmloff/source/style/xmlbahdl \
286 xmloff/source/style/xmlexppr \
287 xmloff/source/style/xmlimppr \
288 xmloff/source/style/xmlnume \
289 xmloff/source/style/xmlnumfe \
290 xmloff/source/style/xmlnumfi \
291 xmloff/source/style/xmlnumi \
292 xmloff/source/style/xmlprcon \
293 xmloff/source/style/xmlprhdl \
294 xmloff/source/style/xmlprmap \
295 xmloff/source/style/xmlstyle \
296 xmloff/source/style/xmltabe \
297 xmloff/source/style/xmltabi \
298 xmloff/source/table/XMLTableExport \
299 xmloff/source/table/XMLTableImport \
300 xmloff/source/text/XMLAutoMarkFileContext \
301 xmloff/source/text/XMLAutoTextContainerEventImport \
302 xmloff/source/text/XMLAutoTextEventExport \
303 xmloff/source/text/XMLAutoTextEventImport \
304 xmloff/source/text/XMLCalculationSettingsContext \
305 xmloff/source/text/XMLChangeElementImportContext \
306 xmloff/source/text/XMLChangeImportContext \
307 xmloff/source/text/XMLChangeInfoContext \
308 xmloff/source/text/XMLChangedRegionImportContext \
309 xmloff/source/text/XMLComplexColorContext \
310 xmloff/source/text/XMLComplexColorExport \
311 xmloff/source/text/XMLFootnoteBodyImportContext \
312 xmloff/source/text/XMLFootnoteConfigurationImportContext \
313 xmloff/source/text/XMLFootnoteImportContext \
314 xmloff/source/text/XMLIndexAlphabeticalSourceContext \
315 xmloff/source/text/XMLIndexBibliographyConfigurationContext \
316 xmloff/source/text/XMLIndexBibliographyEntryContext \
317 xmloff/source/text/XMLIndexBibliographySourceContext \
318 xmloff/source/text/XMLIndexBodyContext \
319 xmloff/source/text/XMLIndexChapterInfoEntryContext \
320 xmloff/source/text/XMLIndexIllustrationSourceContext \
321 xmloff/source/text/XMLIndexMarkExport \
322 xmloff/source/text/XMLIndexObjectSourceContext \
323 xmloff/source/text/XMLIndexSimpleEntryContext \
324 xmloff/source/text/XMLIndexSourceBaseContext \
325 xmloff/source/text/XMLIndexSpanEntryContext \
326 xmloff/source/text/XMLIndexTOCContext \
327 xmloff/source/text/XMLIndexTOCSourceContext \
328 xmloff/source/text/XMLIndexTOCStylesContext \
329 xmloff/source/text/XMLIndexTabStopEntryContext \
330 xmloff/source/text/XMLIndexTableSourceContext \
331 xmloff/source/text/XMLIndexTemplateContext \
332 xmloff/source/text/XMLIndexTitleTemplateContext \
333 xmloff/source/text/XMLIndexUserSourceContext \
334 xmloff/source/text/XMLLineNumberingExport \
335 xmloff/source/text/XMLLineNumberingImportContext \
336 xmloff/source/text/XMLLineNumberingSeparatorImportContext \
337 xmloff/source/text/XMLPropertyBackpatcher \
338 xmloff/source/text/XMLRedlineExport \
339 xmloff/source/text/XMLSectionExport \
340 xmloff/source/text/XMLSectionFootnoteConfigExport \
341 xmloff/source/text/XMLSectionFootnoteConfigImport \
342 xmloff/source/text/XMLSectionImportContext \
343 xmloff/source/text/XMLSectionSourceDDEImportContext \
344 xmloff/source/text/XMLSectionSourceImportContext \
345 xmloff/source/text/XMLStringBufferImportContext \
346 xmloff/source/text/XMLTextCharStyleNamesElementExport \
347 xmloff/source/text/XMLTextColumnsContext \
348 xmloff/source/text/XMLTextColumnsExport \
349 xmloff/source/text/XMLTextFrameContext \
350 xmloff/source/text/XMLTextFrameHyperlinkContext \
351 xmloff/source/text/XMLTextHeaderFooterContext \
352 xmloff/source/text/XMLTextListAutoStylePool \
353 xmloff/source/text/XMLTextListBlockContext \
354 xmloff/source/text/XMLTextListItemContext \
355 xmloff/source/text/XMLTextMarkImportContext \
356 xmloff/source/text/XMLTextMasterPageContext \
357 xmloff/source/text/XMLTextMasterPageExport \
358 xmloff/source/text/XMLTextMasterStylesContext \
359 xmloff/source/text/XMLTextNumRuleInfo \
360 xmloff/source/text/XMLTextPropertySetContext \
361 xmloff/source/text/XMLTextShapeImportHelper \
362 xmloff/source/text/XMLTextShapeStyleContext \
363 xmloff/source/text/XMLTextTableContext \
364 xmloff/source/text/XMLTrackedChangesImportContext \
365 xmloff/source/text/xmllinebreakcontext \
366 xmloff/source/text/txtdrope \
367 xmloff/source/text/txtdropi \
368 xmloff/source/text/txtexppr \
369 xmloff/source/text/txtflde \
370 xmloff/source/text/txtfldi \
371 xmloff/source/text/txtftne \
372 xmloff/source/text/txtimp \
373 xmloff/source/text/txtimppr \
374 xmloff/source/text/txtlists \
375 xmloff/source/text/txtparae \
376 xmloff/source/text/txtparai \
377 xmloff/source/text/txtprhdl \
378 xmloff/source/text/txtprmap \
379 xmloff/source/text/txtsecte \
380 xmloff/source/text/txtstyle \
381 xmloff/source/text/txtstyli \
382 xmloff/source/text/txtvfldi \
383 xmloff/source/text/xmlcontentcontrolcontext \
384 xmloff/source/xforms/SchemaContext \
385 xmloff/source/xforms/SchemaRestrictionContext \
386 xmloff/source/xforms/SchemaSimpleTypeContext \
387 xmloff/source/xforms/TokenContext \
388 xmloff/source/xforms/XFormsBindContext \
389 xmloff/source/xforms/XFormsInstanceContext \
390 xmloff/source/xforms/XFormsModelContext \
391 xmloff/source/xforms/XFormsSubmissionContext \
392 xmloff/source/xforms/xformsapi \
393 xmloff/source/xforms/xformsexport \
394 xmloff/source/xforms/xformsimport \
397 ifeq ($(CPUNAME),M68K)
398 $(eval $(call gb_Library_add_cxxflags,xo,\
399 -mlong-jump-table-offsets \
401 endif
403 # vim: set noet sw=4 ts=4: