tdf#137544 simplify SdrObjList destructor
[LibreOffice.git] / svx / Library_svxcore.mk
blob5a7e48a470184615546aca69dfd97f00497776ab
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 epoxy \
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/customshapes/EnhancedCustomShape2d \
112 svx/source/customshapes/EnhancedCustomShapeFunctionParser \
113 svx/source/customshapes/EnhancedCustomShapeGeometry \
114 svx/source/customshapes/EnhancedCustomShapeTypeNames \
115 svx/source/diagram/datamodel \
116 svx/source/diagram/IDiagramHelper \
117 svx/source/dialog/dialmgr \
118 svx/source/dialog/dlgutil \
119 svx/source/dialog/hexcolorcontrol \
120 svx/source/dialog/framelink \
121 svx/source/dialog/framelinkarray \
122 svx/source/dialog/langbox \
123 svx/source/dialog/pagenumberlistbox \
124 svx/source/dialog/papersizelistbox \
125 svx/source/dialog/samecontentlistbox \
126 svx/source/dialog/spacinglistbox \
127 svx/source/dialog/svxdlg \
128 svx/source/dialog/SvxNumOptionsTabPageHelper \
129 svx/source/engine3d/camera3d \
130 svx/source/engine3d/cube3d \
131 svx/source/engine3d/deflt3d \
132 svx/source/engine3d/dragmt3d \
133 svx/source/engine3d/e3dsceneupdater \
134 svx/source/engine3d/e3dundo \
135 svx/source/engine3d/extrud3d \
136 svx/source/engine3d/helperhittest3d \
137 svx/source/engine3d/helperminimaldepth3d \
138 svx/source/engine3d/lathe3d \
139 svx/source/engine3d/obj3d \
140 svx/source/engine3d/objfac3d \
141 svx/source/engine3d/polygn3d \
142 svx/source/engine3d/scene3d \
143 svx/source/engine3d/sphere3d \
144 svx/source/engine3d/svx3ditems \
145 svx/source/engine3d/view3d \
146 svx/source/engine3d/view3d1 \
147 svx/source/engine3d/viewpt3d2 \
148 svx/source/fmcomp/dbaexchange \
149 svx/source/fmcomp/fmgridcl \
150 svx/source/fmcomp/fmgridif \
151 svx/source/fmcomp/gridcell \
152 svx/source/fmcomp/gridcols \
153 svx/source/fmcomp/gridctrl \
154 svx/source/fmcomp/xmlexchg \
155 svx/source/form/dataaccessdescriptor \
156 svx/source/form/datalistener \
157 svx/source/form/datanavi \
158 svx/source/form/delayedevent \
159 svx/source/form/labelitemwindow \
160 svx/source/form/fmcontrolbordermanager \
161 svx/source/form/fmcontrollayout \
162 svx/source/form/fmdmod \
163 svx/source/form/fmdocumentclassification \
164 svx/source/form/fmdpage \
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/galbrws2 \
199 svx/source/gallery2/galctrl \
200 svx/source/gallery2/galexpl \
201 svx/source/gallery2/galini \
202 svx/source/gallery2/gallery1 \
203 svx/source/gallery2/galmisc \
204 svx/source/gallery2/galobj \
205 svx/source/gallery2/galtheme \
206 svx/source/gallery2/GalleryControl \
207 svx/source/gallery2/gallerybinaryengine \
208 svx/source/gallery2/gallerybinaryengineentry \
209 svx/source/gallery2/gallerystoragelocations \
210 svx/source/gallery2/gallerybinarystoragelocations \
211 svx/source/gallery2/galleryobjectcollection \
212 svx/source/gallery2/galleryfilestorage \
213 svx/source/gallery2/galleryfilestorageentry \
214 svx/source/gallery2/galleryobjectstorage \
215 svx/source/gallery2/galleryobjectbinarystorage \
216 svx/source/gallery2/galleryobjectxmlstorage \
217 svx/source/items/chrtitem \
218 svx/source/items/clipfmtitem \
219 svx/source/items/customshapeitem \
220 svx/source/items/drawitem \
221 svx/source/items/e3ditem \
222 svx/source/items/RectangleAlignmentItem \
223 svx/source/items/galleryitem \
224 svx/source/items/grfitem \
225 svx/source/sdr/animation/scheduler \
226 svx/source/sdr/animation/objectanimator \
227 svx/source/sdr/animation/animationstate \
228 svx/source/sdr/attribute/sdrallfillattributeshelper \
229 svx/source/sdr/attribute/sdrlinefilleffectstextattribute \
230 svx/source/sdr/attribute/sdrfilltextattribute \
231 svx/source/sdr/attribute/sdreffectstextattribute \
232 svx/source/sdr/attribute/sdrtextattribute \
233 svx/source/sdr/attribute/sdrlineeffectstextattribute \
234 svx/source/sdr/attribute/sdrformtextattribute \
235 svx/source/sdr/attribute/sdrformtextoutlineattribute \
236 svx/source/sdr/contact/viewobjectcontactofgroup \
237 svx/source/sdr/contact/viewobjectcontactofsdrpage \
238 svx/source/sdr/contact/viewcontactofpageobj \
239 svx/source/sdr/contact/viewcontactofe3d \
240 svx/source/sdr/contact/viewcontactofe3dcube \
241 svx/source/sdr/contact/viewcontactofsdrmediaobj \
242 svx/source/sdr/contact/viewobjectcontactofmasterpagedescriptor \
243 svx/source/sdr/contact/viewobjectcontactofpageobj \
244 svx/source/sdr/contact/viewobjectcontactofe3dscene \
245 svx/source/sdr/contact/viewcontactofgraphic \
246 svx/source/sdr/contact/viewobjectcontactredirector \
247 svx/source/sdr/contact/viewcontactofsdrcircobj \
248 svx/source/sdr/contact/viewcontactofgroup \
249 svx/source/sdr/contact/viewcontactofunocontrol \
250 svx/source/sdr/contact/viewcontactofsdrobjcustomshape \
251 svx/source/sdr/contact/viewcontactofsdrobj \
252 svx/source/sdr/contact/objectcontact \
253 svx/source/sdr/contact/viewcontactoftextobj \
254 svx/source/sdr/contact/viewcontactofe3dlathe \
255 svx/source/sdr/contact/viewcontactofsdrpage \
256 svx/source/sdr/contact/viewcontactofe3dextrude \
257 svx/source/sdr/contact/viewcontactofmasterpagedescriptor \
258 svx/source/sdr/contact/viewcontact \
259 svx/source/sdr/contact/viewcontactofsdrole2obj \
260 svx/source/sdr/contact/displayinfo \
261 svx/source/sdr/contact/viewcontactofe3dscene \
262 svx/source/sdr/contact/viewcontactofsdrrectobj \
263 svx/source/sdr/contact/viewobjectcontactofsdrole2obj \
264 svx/source/sdr/contact/viewobjectcontactofunocontrol \
265 svx/source/sdr/contact/viewobjectcontactofgraphic \
266 $(call gb_Helper_optional,AVMEDIA,svx/source/sdr/contact/sdrmediawindow) \
267 svx/source/sdr/contact/viewobjectcontactofsdrmediaobj \
268 svx/source/sdr/contact/viewcontactofsdrcaptionobj \
269 svx/source/sdr/contact/viewcontactofvirtobj \
270 svx/source/sdr/contact/viewcontactofe3dsphere \
271 svx/source/sdr/contact/viewcontactofe3dpolygon \
272 svx/source/sdr/contact/viewcontactofsdredgeobj \
273 svx/source/sdr/contact/viewobjectcontact \
274 svx/source/sdr/contact/viewobjectcontactofsdrobj \
275 svx/source/sdr/contact/objectcontactofpageview \
276 svx/source/sdr/contact/viewcontactofsdrpathobj \
277 svx/source/sdr/contact/viewcontactofsdrmeasureobj \
278 svx/source/sdr/contact/objectcontactofobjlistpainter \
279 svx/source/sdr/contact/viewobjectcontactofe3d \
280 svx/source/sdr/overlay/overlayline \
281 svx/source/sdr/overlay/overlaycrosshair \
282 svx/source/sdr/overlay/overlayrollingrectangle \
283 svx/source/sdr/overlay/overlaytriangle \
284 svx/source/sdr/overlay/overlayselection \
285 svx/source/sdr/overlay/overlayrectangle \
286 svx/source/sdr/overlay/overlaybitmapex \
287 svx/source/sdr/overlay/overlaymanagerbuffered \
288 svx/source/sdr/overlay/overlayhelpline \
289 svx/source/sdr/overlay/overlayanimatedbitmapex \
290 svx/source/sdr/overlay/overlaypolypolygon \
291 svx/source/sdr/overlay/overlayobjectcell \
292 svx/source/sdr/overlay/overlaytools \
293 svx/source/sdr/overlay/overlayprimitive2dsequenceobject \
294 svx/source/sdr/overlay/overlayobject \
295 svx/source/sdr/overlay/overlaymanager \
296 svx/source/sdr/overlay/overlayobjectlist \
297 svx/source/sdr/overlay/overlayhandle \
298 svx/source/sdr/misc/ImageMapInfo \
299 svx/source/sdr/primitive2d/sdrellipseprimitive2d \
300 svx/source/sdr/primitive2d/sdrprimitivetools \
301 svx/source/sdr/primitive2d/sdrtextprimitive2d \
302 svx/source/sdr/primitive2d/primitivefactory2d \
303 svx/source/sdr/primitive2d/sdrolecontentprimitive2d \
304 svx/source/sdr/primitive2d/sdrcustomshapeprimitive2d \
305 svx/source/sdr/primitive2d/sdrgrafprimitive2d \
306 svx/source/sdr/primitive2d/sdrole2primitive2d \
307 svx/source/sdr/primitive2d/sdrpathprimitive2d \
308 svx/source/sdr/primitive2d/sdrrectangleprimitive2d \
309 svx/source/sdr/primitive2d/sdrcaptionprimitive2d \
310 svx/source/sdr/primitive2d/sdrconnectorprimitive2d \
311 svx/source/sdr/primitive2d/sdrmeasureprimitive2d \
312 svx/source/sdr/primitive2d/sdrframeborderprimitive2d \
313 svx/source/sdr/primitive2d/sdrattributecreator \
314 svx/source/sdr/primitive2d/sdrdecompositiontools \
315 svx/source/sdr/primitive3d/sdrattributecreator3d \
316 svx/source/sdr/properties/pageproperties \
317 svx/source/sdr/properties/e3dsceneproperties \
318 svx/source/sdr/properties/itemsettools \
319 svx/source/sdr/properties/captionproperties \
320 svx/source/sdr/properties/e3dextrudeproperties \
321 svx/source/sdr/properties/e3dproperties \
322 svx/source/sdr/properties/measureproperties \
323 svx/source/sdr/properties/customshapeproperties \
324 svx/source/sdr/properties/rectangleproperties \
325 svx/source/sdr/properties/groupproperties \
326 svx/source/sdr/properties/properties \
327 svx/source/sdr/properties/e3dlatheproperties \
328 svx/source/sdr/properties/graphicproperties \
329 svx/source/sdr/properties/circleproperties \
330 svx/source/sdr/properties/emptyproperties \
331 svx/source/sdr/properties/e3dsphereproperties \
332 svx/source/sdr/properties/defaultproperties \
333 svx/source/sdr/properties/textproperties \
334 svx/source/sdr/properties/attributeproperties \
335 svx/source/sdr/properties/connectorproperties \
336 svx/source/sdr/properties/e3dcompoundproperties \
337 svx/source/sdr/properties/oleproperties \
338 svx/source/svdraw/clonelist \
339 svx/source/svdraw/charthelper \
340 svx/source/svdraw/gradtrns \
341 svx/source/svdraw/polypolygoneditor \
342 svx/source/svdraw/presetooxhandleadjustmentrelations \
343 svx/source/svdraw/sdrhittesthelper \
344 svx/source/svdraw/sdrmasterpagedescriptor \
345 svx/source/svdraw/sdrpagewindow \
346 svx/source/svdraw/sdrpaintwindow \
347 svx/source/svdraw/sdrundomanager \
348 svx/source/svdraw/selectioncontroller \
349 svx/source/svdraw/svdattr \
350 svx/source/svdraw/svdcrtv \
351 svx/source/svdraw/svddrag \
352 svx/source/svdraw/svddrgmt \
353 svx/source/svdraw/svddrgv \
354 svx/source/svdraw/svdedtv \
355 svx/source/svdraw/svdedtv1 \
356 svx/source/svdraw/svdedtv2 \
357 svx/source/svdraw/svdedxv \
358 svx/source/svdraw/svdetc \
359 svx/source/svdraw/svdfmtf \
360 svx/source/svdraw/svdglev \
361 svx/source/svdraw/svdglue \
362 svx/source/svdraw/svdhdl \
363 svx/source/svdraw/svdhlpln \
364 svx/source/svdraw/svditer \
365 svx/source/svdraw/svdlayer \
366 svx/source/svdraw/svdmark \
367 svx/source/svdraw/svdmodel \
368 svx/source/svdraw/svdmrkv \
369 svx/source/svdraw/svdmrkv1 \
370 svx/source/svdraw/svdoashp \
371 svx/source/svdraw/svdoattr \
372 svx/source/svdraw/svdobj \
373 svx/source/svdraw/svdobjplusdata \
374 svx/source/svdraw/svdobjuserdatalist \
375 svx/source/svdraw/svdocapt \
376 svx/source/svdraw/svdocirc \
377 svx/source/svdraw/svdoedge \
378 svx/source/svdraw/svdograf \
379 svx/source/svdraw/svdogrp \
380 svx/source/svdraw/svdomeas \
381 svx/source/svdraw/svdomedia \
382 svx/source/svdraw/svdoole2 \
383 svx/source/svdraw/svdopage \
384 svx/source/svdraw/svdopath \
385 svx/source/svdraw/svdorect \
386 svx/source/svdraw/svdotext \
387 svx/source/svdraw/svdotextdecomposition \
388 svx/source/svdraw/svdotextpathdecomposition \
389 svx/source/svdraw/svdotxat \
390 svx/source/svdraw/svdotxdr \
391 svx/source/svdraw/svdotxed \
392 svx/source/svdraw/svdotxfl \
393 svx/source/svdraw/svdotxln \
394 svx/source/svdraw/svdotxtr \
395 svx/source/svdraw/svdouno \
396 svx/source/svdraw/svdoutl \
397 svx/source/svdraw/svdoutlinercache \
398 svx/source/svdraw/svdovirt \
399 svx/source/svdraw/svdpage \
400 svx/source/svdraw/svdpagv \
401 svx/source/svdraw/svdpdf \
402 svx/source/svdraw/svdpntv \
403 svx/source/svdraw/svdpoev \
404 svx/source/svdraw/svdsnpv \
405 svx/source/svdraw/svdtext \
406 svx/source/svdraw/svdtrans \
407 svx/source/svdraw/svdundo \
408 svx/source/svdraw/svdview \
409 svx/source/svdraw/svdviter \
410 svx/source/svdraw/svdxcgv \
411 svx/source/svdraw/textchain \
412 svx/source/svdraw/textchainflow \
413 svx/source/svdraw/textchaincursor \
414 svx/source/styles/CommonStylePreviewRenderer \
415 svx/source/styles/CommonStyleManager \
416 svx/source/styles/ColorSets \
417 svx/source/table/cell \
418 svx/source/table/cellcursor \
419 svx/source/table/cellrange \
420 svx/source/table/propertyset \
421 svx/source/table/svdotable \
422 svx/source/table/tablecolumn \
423 svx/source/table/tablecolumns \
424 svx/source/table/tablecontroller \
425 svx/source/table/tablehandles \
426 svx/source/table/tablelayouter \
427 svx/source/table/tablemodel \
428 svx/source/table/tablerow \
429 svx/source/table/tablerows \
430 svx/source/table/tableundo \
431 svx/source/table/viewcontactoftableobj \
432 svx/source/theme/ThemeColorChanger \
433 svx/source/tbxctrls/extrusioncontrols \
434 svx/source/tbxctrls/fontworkgallery \
435 svx/source/tbxctrls/linectrl \
436 svx/source/tbxctrls/Palette \
437 svx/source/tbxctrls/PaletteManager \
438 svx/source/tbxctrls/tbcontrl \
439 svx/source/tbxctrls/tbxcolorupdate \
440 svx/source/tbxctrls/SvxColorValueSet \
441 svx/source/tbxctrls/SvxPresetListBox \
442 svx/source/tbxctrls/StylesPreviewToolBoxControl \
443 svx/source/tbxctrls/StylesPreviewWindow \
444 svx/source/toolbars/extrusionbar \
445 svx/source/toolbars/fontworkbar \
446 svx/source/uitest/sdrobject \
447 svx/source/unodraw/gluepts \
448 svx/source/unodraw/shapepropertynotifier \
449 svx/source/unodraw/SvxXTextColumns \
450 svx/source/unodraw/tableshape \
451 svx/source/unodraw/unobrushitemhelper \
452 svx/source/unodraw/unobtabl \
453 svx/source/unodraw/unodtabl \
454 svx/source/unodraw/UnoGraphicExporter \
455 svx/source/unodraw/unogtabl \
456 svx/source/unodraw/unohtabl \
457 svx/source/unodraw/unomlstr \
458 svx/source/unodraw/unomod \
459 svx/source/unodraw/unomtabl \
460 svx/source/unodraw/UnoNameItemTable \
461 svx/source/unodraw/unopage \
462 svx/source/unodraw/unoprov \
463 svx/source/unodraw/unoshap2 \
464 svx/source/unodraw/unoshap3 \
465 svx/source/unodraw/unoshap4 \
466 svx/source/unodraw/unoshape \
467 svx/source/unodraw/unoshtxt \
468 svx/source/unodraw/unottabl \
469 svx/source/unodraw/XPropertyTable \
470 svx/source/xml/xmleohlp \
471 svx/source/xml/xmlexport \
472 svx/source/xml/xmlgrhlp \
473 svx/source/xml/xmlxtexp \
474 svx/source/xml/xmlxtimp \
475 svx/source/xoutdev/xattr \
476 svx/source/xoutdev/xattr2 \
477 svx/source/xoutdev/xattrbmp \
478 svx/source/xoutdev/_xoutbmp \
479 svx/source/xoutdev/_xpoly \
480 svx/source/xoutdev/xpool \
481 svx/source/xoutdev/xtabbtmp \
482 svx/source/xoutdev/xtabcolr \
483 svx/source/xoutdev/xtabdash \
484 svx/source/xoutdev/xtabgrdt \
485 svx/source/xoutdev/xtabhtch \
486 svx/source/xoutdev/xtable \
487 svx/source/xoutdev/xtabptrn \
488 svx/source/xoutdev/XPropertyEntry \
489 svx/source/xoutdev/xtablend \
492 $(eval $(call gb_SdiTarget_SdiTarget,svx/sdi/svxslots,svx/sdi/svx))
494 $(eval $(call gb_SdiTarget_set_include,svx/sdi/svxslots,\
495 $$(INCLUDE) \
496 -I$(SRCDIR)/svx/inc \
497 -I$(SRCDIR)/svx/sdi \
498 -I$(SRCDIR)/sfx2/sdi \
501 # vim: set noet sw=4 ts=4: