Update git submodules
[LibreOffice.git] / svx / Library_svxcore.mk
blob40fad5ea6b4fd345a727dad130b4e506249206a9
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,svxcore))
22 $(eval $(call gb_Library_set_componentfile,svxcore,svx/util/svxcore,services))
24 $(eval $(call gb_Library_add_componentimpls,svxcore, \
25 $(if $(ENABLE_WASM_STRIP_BASIC_DRAW_MATH_IMPRESS),,draw) \
28 $(eval $(call gb_Library_add_sdi_headers,svxcore,svx/sdi/svxslots))
30 $(eval $(call gb_Library_use_custom_headers,svxcore,\
31 officecfg/registry \
32 oox/generated \
35 $(eval $(call gb_Library_use_sdk_api,svxcore))
37 $(eval $(call gb_Library_set_include,svxcore,\
38 -I$(SRCDIR)/svx/inc \
39 -I$(SRCDIR)/svx/source/inc \
40 $$(INCLUDE) \
41 -I$(WORKDIR)/SdiTarget/svx/sdi \
44 $(eval $(call gb_Library_set_precompiled_header,svxcore,svx/inc/pch/precompiled_svxcore))
46 #BOOST switch in customshapes
47 #dialog:
48 #.IF "$(OS)"=="WNT"
49 #CFLAGS+= -DUNICODE -D_UNICODE
50 #.ENDIF
52 $(eval $(call gb_Library_add_defs,svxcore,\
53 -DSVXCORE_DLLIMPLEMENTATION \
56 $(eval $(call gb_Library_use_libraries,svxcore,\
57 avmedia \
58 basegfx \
59 sb \
60 comphelper \
61 cppuhelper \
62 cppu \
63 $(call gb_Helper_optional,DBCONNECTIVITY, \
64 dbtools) \
65 docmodel \
66 drawinglayercore \
67 drawinglayer \
68 editeng \
69 fwk \
70 i18nlangtag \
71 i18nutil \
72 lng \
73 sal \
74 salhelper \
75 sax \
76 sfx \
77 sot \
78 svl \
79 svt \
80 tk \
81 tl \
82 ucbhelper \
83 utl \
84 vcl \
85 xo \
88 $(eval $(call gb_Library_use_externals,svxcore,\
89 boost_headers \
90 frozen \
91 icuuc \
92 icu_headers \
93 libxml2 \
96 ifeq ($(OS),MACOSX)
98 $(eval $(call gb_Library_add_cxxflags,svxcore,\
99 $(gb_OBJCXXFLAGS) \
102 $(eval $(call gb_Library_use_system_darwin_frameworks,svxcore,\
103 Foundation \
106 endif
108 $(eval $(call gb_Library_add_exception_objects,svxcore,\
109 svx/source/core/extedit \
110 svx/source/core/graphichelper \
111 svx/source/core/extendedprimitive2dxmldump \
112 svx/source/customshapes/EnhancedCustomShape2d \
113 svx/source/customshapes/EnhancedCustomShapeFunctionParser \
114 svx/source/customshapes/EnhancedCustomShapeGeometry \
115 svx/source/customshapes/EnhancedCustomShapeTypeNames \
116 svx/source/diagram/datamodel \
117 svx/source/diagram/IDiagramHelper \
118 svx/source/dialog/dialmgr \
119 svx/source/dialog/dlgutil \
120 svx/source/dialog/hexcolorcontrol \
121 svx/source/dialog/framelink \
122 svx/source/dialog/framelinkarray \
123 svx/source/dialog/langbox \
124 svx/source/dialog/pagenumberlistbox \
125 svx/source/dialog/papersizelistbox \
126 svx/source/dialog/samecontentlistbox \
127 svx/source/dialog/spacinglistbox \
128 svx/source/dialog/svxdlg \
129 svx/source/dialog/SvxNumOptionsTabPageHelper \
130 svx/source/engine3d/camera3d \
131 svx/source/engine3d/cube3d \
132 svx/source/engine3d/deflt3d \
133 svx/source/engine3d/dragmt3d \
134 svx/source/engine3d/e3dsceneupdater \
135 svx/source/engine3d/e3dundo \
136 svx/source/engine3d/extrud3d \
137 svx/source/engine3d/helperhittest3d \
138 svx/source/engine3d/helperminimaldepth3d \
139 svx/source/engine3d/lathe3d \
140 svx/source/engine3d/obj3d \
141 svx/source/engine3d/objfac3d \
142 svx/source/engine3d/polygn3d \
143 svx/source/engine3d/scene3d \
144 svx/source/engine3d/sphere3d \
145 svx/source/engine3d/svx3ditems \
146 svx/source/engine3d/view3d \
147 svx/source/engine3d/view3d1 \
148 svx/source/engine3d/viewpt3d2 \
149 svx/source/fmcomp/dbaexchange \
150 svx/source/fmcomp/fmgridcl \
151 svx/source/fmcomp/fmgridif \
152 svx/source/fmcomp/gridcell \
153 svx/source/fmcomp/gridcols \
154 svx/source/fmcomp/gridctrl \
155 svx/source/fmcomp/xmlexchg \
156 svx/source/form/dataaccessdescriptor \
157 svx/source/form/datalistener \
158 svx/source/form/datanavi \
159 svx/source/form/delayedevent \
160 svx/source/form/labelitemwindow \
161 svx/source/form/fmcontrolbordermanager \
162 svx/source/form/fmcontrollayout \
163 svx/source/form/fmdmod \
164 svx/source/form/fmdocumentclassification \
165 svx/source/form/fmexch \
166 svx/source/form/fmexpl \
167 svx/source/form/fmmodel \
168 svx/source/form/fmobj \
169 svx/source/form/fmpage \
170 svx/source/form/fmpgeimp \
171 svx/source/form/fmscriptingenv \
172 svx/source/form/fmservs \
173 svx/source/form/fmshell \
174 svx/source/form/fmshimp \
175 svx/source/form/fmtextcontroldialogs \
176 svx/source/form/fmtextcontrolfeature \
177 svx/source/form/fmtextcontrolshell \
178 svx/source/form/fmtools \
179 svx/source/form/fmundo \
180 svx/source/form/fmview \
181 svx/source/form/fmvwimp \
182 svx/source/form/formcontrolfactory \
183 svx/source/form/formcontroller \
184 svx/source/form/formcontrolling \
185 svx/source/form/formdispatchinterceptor \
186 svx/source/form/formfeaturedispatcher \
187 svx/source/form/formtoolbars \
188 svx/source/form/legacyformcontroller \
189 svx/source/form/navigatortree \
190 svx/source/form/navigatortreemodel \
191 svx/source/form/ParseContext \
192 svx/source/form/sdbdatacolumn \
193 svx/source/form/sqlparserclient \
194 svx/source/form/typemap \
195 svx/source/form/xfm_addcondition \
196 svx/source/gallery2/codec \
197 svx/source/gallery2/galbrws1 \
198 svx/source/gallery2/galctrl \
199 svx/source/gallery2/galexpl \
200 svx/source/gallery2/galini \
201 svx/source/gallery2/gallery1 \
202 svx/source/gallery2/galmisc \
203 svx/source/gallery2/galobj \
204 svx/source/gallery2/galtheme \
205 svx/source/gallery2/GalleryControl \
206 svx/source/gallery2/galleryobjectcollection \
207 svx/source/gallery2/galleryfilestorage \
208 svx/source/gallery2/galleryfilestorageentry \
209 svx/source/gallery2/gallerystoragelocations \
210 svx/source/items/chrtitem \
211 svx/source/items/clipfmtitem \
212 svx/source/items/customshapeitem \
213 svx/source/items/drawitem \
214 svx/source/items/e3ditem \
215 svx/source/items/RectangleAlignmentItem \
216 svx/source/items/galleryitem \
217 svx/source/items/grfitem \
218 svx/source/sdr/animation/scheduler \
219 svx/source/sdr/animation/objectanimator \
220 svx/source/sdr/animation/animationstate \
221 svx/source/sdr/attribute/sdrallfillattributeshelper \
222 svx/source/sdr/attribute/sdrlinefilleffectstextattribute \
223 svx/source/sdr/attribute/sdrfilltextattribute \
224 svx/source/sdr/attribute/sdreffectstextattribute \
225 svx/source/sdr/attribute/sdrtextattribute \
226 svx/source/sdr/attribute/sdrlineeffectstextattribute \
227 svx/source/sdr/attribute/sdrformtextattribute \
228 svx/source/sdr/attribute/sdrformtextoutlineattribute \
229 svx/source/sdr/contact/viewobjectcontactofgroup \
230 svx/source/sdr/contact/viewobjectcontactofsdrpage \
231 svx/source/sdr/contact/viewcontactofpageobj \
232 svx/source/sdr/contact/viewcontactofe3d \
233 svx/source/sdr/contact/viewcontactofe3dcube \
234 svx/source/sdr/contact/viewcontactofsdrmediaobj \
235 svx/source/sdr/contact/viewobjectcontactofmasterpagedescriptor \
236 svx/source/sdr/contact/viewobjectcontactofpageobj \
237 svx/source/sdr/contact/viewobjectcontactofe3dscene \
238 svx/source/sdr/contact/viewcontactofgraphic \
239 svx/source/sdr/contact/viewobjectcontactredirector \
240 svx/source/sdr/contact/viewcontactofsdrcircobj \
241 svx/source/sdr/contact/viewcontactofgroup \
242 svx/source/sdr/contact/viewcontactofunocontrol \
243 svx/source/sdr/contact/viewcontactofsdrobjcustomshape \
244 svx/source/sdr/contact/viewcontactofsdrobj \
245 svx/source/sdr/contact/objectcontact \
246 svx/source/sdr/contact/viewcontactoftextobj \
247 svx/source/sdr/contact/viewcontactofe3dlathe \
248 svx/source/sdr/contact/viewcontactofsdrpage \
249 svx/source/sdr/contact/viewcontactofe3dextrude \
250 svx/source/sdr/contact/viewcontactofmasterpagedescriptor \
251 svx/source/sdr/contact/viewcontact \
252 svx/source/sdr/contact/viewcontactofsdrole2obj \
253 svx/source/sdr/contact/displayinfo \
254 svx/source/sdr/contact/viewcontactofe3dscene \
255 svx/source/sdr/contact/viewcontactofsdrrectobj \
256 svx/source/sdr/contact/viewobjectcontactofsdrole2obj \
257 svx/source/sdr/contact/viewobjectcontactofunocontrol \
258 svx/source/sdr/contact/viewobjectcontactofgraphic \
259 $(call gb_Helper_optional,AVMEDIA,svx/source/sdr/contact/sdrmediawindow) \
260 svx/source/sdr/contact/viewobjectcontactofsdrmediaobj \
261 svx/source/sdr/contact/viewcontactofsdrcaptionobj \
262 svx/source/sdr/contact/viewcontactofvirtobj \
263 svx/source/sdr/contact/viewcontactofe3dsphere \
264 svx/source/sdr/contact/viewcontactofe3dpolygon \
265 svx/source/sdr/contact/viewcontactofsdredgeobj \
266 svx/source/sdr/contact/viewobjectcontact \
267 svx/source/sdr/contact/viewobjectcontactofsdrobj \
268 svx/source/sdr/contact/objectcontactofpageview \
269 svx/source/sdr/contact/viewcontactofsdrpathobj \
270 svx/source/sdr/contact/viewcontactofsdrmeasureobj \
271 svx/source/sdr/contact/objectcontactofobjlistpainter \
272 svx/source/sdr/contact/viewobjectcontactofe3d \
273 svx/source/sdr/overlay/overlayline \
274 svx/source/sdr/overlay/overlaycrosshair \
275 svx/source/sdr/overlay/overlayrollingrectangle \
276 svx/source/sdr/overlay/overlaytriangle \
277 svx/source/sdr/overlay/overlayselection \
278 svx/source/sdr/overlay/overlayrectangle \
279 svx/source/sdr/overlay/overlaybitmapex \
280 svx/source/sdr/overlay/overlaymanagerbuffered \
281 svx/source/sdr/overlay/overlayhelpline \
282 svx/source/sdr/overlay/overlayanimatedbitmapex \
283 svx/source/sdr/overlay/overlaypolypolygon \
284 svx/source/sdr/overlay/overlayobjectcell \
285 svx/source/sdr/overlay/overlaytools \
286 svx/source/sdr/overlay/overlayprimitive2dsequenceobject \
287 svx/source/sdr/overlay/overlayobject \
288 svx/source/sdr/overlay/overlaymanager \
289 svx/source/sdr/overlay/overlayobjectlist \
290 svx/source/sdr/overlay/overlayhandle \
291 svx/source/sdr/misc/ImageMapInfo \
292 svx/source/sdr/primitive2d/sdrellipseprimitive2d \
293 svx/source/sdr/primitive2d/sdrprimitivetools \
294 svx/source/sdr/primitive2d/sdrtextprimitive2d \
295 svx/source/sdr/primitive2d/primitivefactory2d \
296 svx/source/sdr/primitive2d/sdrolecontentprimitive2d \
297 svx/source/sdr/primitive2d/sdrcustomshapeprimitive2d \
298 svx/source/sdr/primitive2d/sdrgrafprimitive2d \
299 svx/source/sdr/primitive2d/sdrole2primitive2d \
300 svx/source/sdr/primitive2d/sdrpathprimitive2d \
301 svx/source/sdr/primitive2d/sdrrectangleprimitive2d \
302 svx/source/sdr/primitive2d/sdrcaptionprimitive2d \
303 svx/source/sdr/primitive2d/sdrconnectorprimitive2d \
304 svx/source/sdr/primitive2d/sdrmeasureprimitive2d \
305 svx/source/sdr/primitive2d/sdrframeborderprimitive2d \
306 svx/source/sdr/primitive2d/sdrattributecreator \
307 svx/source/sdr/primitive2d/sdrdecompositiontools \
308 svx/source/sdr/primitive3d/sdrattributecreator3d \
309 svx/source/sdr/properties/pageproperties \
310 svx/source/sdr/properties/e3dsceneproperties \
311 svx/source/sdr/properties/itemsettools \
312 svx/source/sdr/properties/captionproperties \
313 svx/source/sdr/properties/e3dextrudeproperties \
314 svx/source/sdr/properties/e3dproperties \
315 svx/source/sdr/properties/measureproperties \
316 svx/source/sdr/properties/customshapeproperties \
317 svx/source/sdr/properties/rectangleproperties \
318 svx/source/sdr/properties/groupproperties \
319 svx/source/sdr/properties/properties \
320 svx/source/sdr/properties/e3dlatheproperties \
321 svx/source/sdr/properties/graphicproperties \
322 svx/source/sdr/properties/circleproperties \
323 svx/source/sdr/properties/emptyproperties \
324 svx/source/sdr/properties/e3dsphereproperties \
325 svx/source/sdr/properties/defaultproperties \
326 svx/source/sdr/properties/textproperties \
327 svx/source/sdr/properties/attributeproperties \
328 svx/source/sdr/properties/connectorproperties \
329 svx/source/sdr/properties/e3dcompoundproperties \
330 svx/source/sdr/properties/oleproperties \
331 svx/source/svdraw/charthelper \
332 svx/source/svdraw/constructhelper \
333 svx/source/svdraw/clonelist \
334 svx/source/svdraw/gradtrns \
335 svx/source/svdraw/polypolygoneditor \
336 svx/source/svdraw/presetooxhandleadjustmentrelations \
337 svx/source/svdraw/sdrhittesthelper \
338 svx/source/svdraw/sdrmasterpagedescriptor \
339 svx/source/svdraw/sdrpagewindow \
340 svx/source/svdraw/sdrpaintwindow \
341 svx/source/svdraw/sdrundomanager \
342 svx/source/svdraw/selectioncontroller \
343 svx/source/svdraw/svdattr \
344 svx/source/svdraw/svdcrtv \
345 svx/source/svdraw/svddrag \
346 svx/source/svdraw/svddrgmt \
347 svx/source/svdraw/svddrgv \
348 svx/source/svdraw/svdedtv \
349 svx/source/svdraw/svdedtv1 \
350 svx/source/svdraw/svdedtv2 \
351 svx/source/svdraw/svdedxv \
352 svx/source/svdraw/svdetc \
353 svx/source/svdraw/svdfmtf \
354 svx/source/svdraw/svdglev \
355 svx/source/svdraw/svdglue \
356 svx/source/svdraw/svdhdl \
357 svx/source/svdraw/svdhlpln \
358 svx/source/svdraw/svditer \
359 svx/source/svdraw/svdlayer \
360 svx/source/svdraw/svdmark \
361 svx/source/svdraw/svdmodel \
362 svx/source/svdraw/svdmrkv \
363 svx/source/svdraw/svdmrkv1 \
364 svx/source/svdraw/svdoashp \
365 svx/source/svdraw/svdoattr \
366 svx/source/svdraw/svdobj \
367 svx/source/svdraw/svdobjplusdata \
368 svx/source/svdraw/svdobjuserdatalist \
369 svx/source/svdraw/svdocapt \
370 svx/source/svdraw/svdocirc \
371 svx/source/svdraw/svdoedge \
372 svx/source/svdraw/svdograf \
373 svx/source/svdraw/svdogrp \
374 svx/source/svdraw/svdomeas \
375 svx/source/svdraw/svdomedia \
376 svx/source/svdraw/svdoole2 \
377 svx/source/svdraw/svdopage \
378 svx/source/svdraw/svdopath \
379 svx/source/svdraw/svdorect \
380 svx/source/svdraw/svdotext \
381 svx/source/svdraw/svdotextdecomposition \
382 svx/source/svdraw/svdotextpathdecomposition \
383 svx/source/svdraw/svdotxat \
384 svx/source/svdraw/svdotxdr \
385 svx/source/svdraw/svdotxed \
386 svx/source/svdraw/svdotxfl \
387 svx/source/svdraw/svdotxln \
388 svx/source/svdraw/svdotxtr \
389 svx/source/svdraw/svdouno \
390 svx/source/svdraw/svdoutl \
391 svx/source/svdraw/svdoutlinercache \
392 svx/source/svdraw/svdovirt \
393 svx/source/svdraw/svdpage \
394 svx/source/svdraw/svdpagv \
395 svx/source/svdraw/svdpdf \
396 svx/source/svdraw/svdpntv \
397 svx/source/svdraw/svdpoev \
398 svx/source/svdraw/svdsnpv \
399 svx/source/svdraw/svdtext \
400 svx/source/svdraw/svdtrans \
401 svx/source/svdraw/svdundo \
402 svx/source/svdraw/svdview \
403 svx/source/svdraw/svdviter \
404 svx/source/svdraw/svdxcgv \
405 svx/source/svdraw/textchain \
406 svx/source/svdraw/textchainflow \
407 svx/source/svdraw/textchaincursor \
408 svx/source/styles/CommonStylePreviewRenderer \
409 svx/source/styles/CommonStyleManager \
410 svx/source/styles/ColorSets \
411 svx/source/table/cell \
412 svx/source/table/cellcursor \
413 svx/source/table/cellrange \
414 svx/source/table/propertyset \
415 svx/source/table/svdotable \
416 svx/source/table/tablecolumn \
417 svx/source/table/tablecolumns \
418 svx/source/table/tablecontroller \
419 svx/source/table/tablehandles \
420 svx/source/table/tablelayouter \
421 svx/source/table/tablemodel \
422 svx/source/table/tablerow \
423 svx/source/table/tablerows \
424 svx/source/table/tableundo \
425 svx/source/table/viewcontactoftableobj \
426 svx/source/theme/ThemeColorChangerCommon \
427 svx/source/theme/ThemeColorPaletteManager \
428 svx/source/tbxctrls/extrusioncontrols \
429 svx/source/tbxctrls/fontworkgallery \
430 svx/source/tbxctrls/linectrl \
431 svx/source/tbxctrls/Palette \
432 svx/source/tbxctrls/PaletteManager \
433 svx/source/tbxctrls/tbcontrl \
434 svx/source/tbxctrls/tbxcolorupdate \
435 svx/source/tbxctrls/SvxColorValueSet \
436 svx/source/tbxctrls/SvxPresetListBox \
437 svx/source/tbxctrls/StylesPreviewToolBoxControl \
438 svx/source/tbxctrls/StylesPreviewWindow \
439 svx/source/toolbars/extrusionbar \
440 svx/source/toolbars/fontworkbar \
441 svx/source/uitest/sdrobject \
442 svx/source/unodraw/gluepts \
443 svx/source/unodraw/SvxXTextColumns \
444 svx/source/unodraw/tableshape \
445 svx/source/unodraw/unobrushitemhelper \
446 svx/source/unodraw/unobtabl \
447 svx/source/unodraw/unodtabl \
448 svx/source/unodraw/UnoGraphicExporter \
449 svx/source/unodraw/unogtabl \
450 svx/source/unodraw/unohtabl \
451 svx/source/unodraw/unomlstr \
452 svx/source/unodraw/unomod \
453 svx/source/unodraw/unomtabl \
454 svx/source/unodraw/UnoNameItemTable \
455 svx/source/unodraw/unopage \
456 svx/source/unodraw/unoprov \
457 svx/source/unodraw/unoshap2 \
458 svx/source/unodraw/unoshap3 \
459 svx/source/unodraw/unoshap4 \
460 svx/source/unodraw/unoshape \
461 svx/source/unodraw/unoshtxt \
462 svx/source/unodraw/unottabl \
463 svx/source/unodraw/XPropertyTable \
464 svx/source/xml/xmleohlp \
465 svx/source/xml/xmlexport \
466 svx/source/xml/xmlgrhlp \
467 svx/source/xml/xmlxtexp \
468 svx/source/xml/xmlxtimp \
469 svx/source/xoutdev/xattr \
470 svx/source/xoutdev/xattr2 \
471 svx/source/xoutdev/xattrbmp \
472 svx/source/xoutdev/_xoutbmp \
473 svx/source/xoutdev/_xpoly \
474 svx/source/xoutdev/xtabbtmp \
475 svx/source/xoutdev/xtabcolr \
476 svx/source/xoutdev/xtabdash \
477 svx/source/xoutdev/xtabgrdt \
478 svx/source/xoutdev/xtabhtch \
479 svx/source/xoutdev/xtable \
480 svx/source/xoutdev/xtabptrn \
481 svx/source/xoutdev/XPropertyEntry \
482 svx/source/xoutdev/xtablend \
485 $(eval $(call gb_SdiTarget_SdiTarget,svx/sdi/svxslots,svx/sdi/svx))
487 $(eval $(call gb_SdiTarget_set_include,svx/sdi/svxslots,\
488 $$(INCLUDE) \
489 -I$(SRCDIR)/svx/inc \
490 -I$(SRCDIR)/svx/sdi \
491 -I$(SRCDIR)/sfx2/sdi \
494 # vim: set noet sw=4 ts=4: