ofz: Use-of-uninitialized-value
[LibreOffice.git] / svx / Library_svxcore.mk
blob0c3adee945c3ebfb957d3714a4b24b20f2967ca9
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))
24 $(eval $(call gb_Library_add_sdi_headers,svxcore,svx/sdi/svxslots))
26 $(eval $(call gb_Library_use_custom_headers,svxcore,\
27 officecfg/registry \
30 $(eval $(call gb_Library_use_sdk_api,svxcore))
32 $(eval $(call gb_Library_set_include,svxcore,\
33 -I$(SRCDIR)/svx/inc \
34 -I$(SRCDIR)/svx/source/inc \
35 $$(INCLUDE) \
36 -I$(WORKDIR)/SdiTarget/svx/sdi \
39 $(eval $(call gb_Library_set_precompiled_header,svxcore,svx/inc/pch/precompiled_svxcore))
41 #BOOST switch in customshapes
42 #dialog:
43 #.IF "$(OS)"=="WNT"
44 #CFLAGS+= -DUNICODE -D_UNICODE
45 #.ENDIF
47 $(eval $(call gb_Library_add_defs,svxcore,\
48 -DSVXCORE_DLLIMPLEMENTATION \
51 $(eval $(call gb_Library_use_libraries,svxcore,\
52 $(call gb_Helper_optional,AVMEDIA,avmedia) \
53 basegfx \
54 sb \
55 comphelper \
56 cppuhelper \
57 cppu \
58 $(call gb_Helper_optional,DBCONNECTIVITY, \
59 dbtools) \
60 drawinglayer \
61 editeng \
62 fwk \
63 i18nlangtag \
64 i18nutil \
65 lng \
66 sal \
67 salhelper \
68 sax \
69 sfx \
70 sot \
71 svl \
72 svt \
73 tk \
74 tl \
75 ucbhelper \
76 utl \
77 vcl \
78 xo \
81 $(eval $(call gb_Library_use_externals,svxcore,\
82 boost_headers \
83 icuuc \
84 icu_headers \
85 libxml2 \
87 ifeq ($(DISABLE_GUI),)
88 $(eval $(call gb_Library_use_externals,svxcore,\
89 epoxy \
91 endif
93 ifeq ($(OS),MACOSX)
95 $(eval $(call gb_Library_add_cxxflags,svxcore,\
96 $(gb_OBJCXXFLAGS) \
99 $(eval $(call gb_Library_use_system_darwin_frameworks,svxcore,\
100 Foundation \
103 endif
105 $(eval $(call gb_Library_add_exception_objects,svxcore,\
106 svx/source/core/extedit \
107 svx/source/core/graphichelper \
108 svx/source/customshapes/EnhancedCustomShape2d \
109 svx/source/customshapes/EnhancedCustomShapeFunctionParser \
110 svx/source/customshapes/EnhancedCustomShapeGeometry \
111 svx/source/customshapes/EnhancedCustomShapeTypeNames \
112 svx/source/dialog/dialmgr \
113 svx/source/dialog/dlgutil \
114 svx/source/dialog/hexcolorcontrol \
115 svx/source/dialog/framelink \
116 svx/source/dialog/framelinkarray \
117 svx/source/dialog/langbox \
118 svx/source/dialog/pagenumberlistbox \
119 svx/source/dialog/papersizelistbox \
120 svx/source/dialog/samecontentlistbox \
121 svx/source/dialog/spacinglistbox \
122 svx/source/dialog/svxdlg \
123 svx/source/dialog/SvxNumOptionsTabPageHelper \
124 svx/source/engine3d/camera3d \
125 svx/source/engine3d/cube3d \
126 svx/source/engine3d/deflt3d \
127 svx/source/engine3d/dragmt3d \
128 svx/source/engine3d/e3dsceneupdater \
129 svx/source/engine3d/e3dundo \
130 svx/source/engine3d/extrud3d \
131 svx/source/engine3d/helperhittest3d \
132 svx/source/engine3d/helperminimaldepth3d \
133 svx/source/engine3d/lathe3d \
134 svx/source/engine3d/obj3d \
135 svx/source/engine3d/objfac3d \
136 svx/source/engine3d/polygn3d \
137 svx/source/engine3d/scene3d \
138 svx/source/engine3d/sphere3d \
139 svx/source/engine3d/svx3ditems \
140 svx/source/engine3d/view3d \
141 svx/source/engine3d/view3d1 \
142 svx/source/engine3d/viewpt3d2 \
143 svx/source/fmcomp/dbaexchange \
144 svx/source/fmcomp/fmgridcl \
145 svx/source/fmcomp/fmgridif \
146 svx/source/fmcomp/gridcell \
147 svx/source/fmcomp/gridcols \
148 svx/source/fmcomp/gridctrl \
149 svx/source/fmcomp/xmlexchg \
150 svx/source/form/dataaccessdescriptor \
151 svx/source/form/datalistener \
152 svx/source/form/datanavi \
153 svx/source/form/delayedevent \
154 svx/source/form/labelitemwindow \
155 svx/source/form/fmcontrolbordermanager \
156 svx/source/form/fmcontrollayout \
157 svx/source/form/fmdmod \
158 svx/source/form/fmdocumentclassification \
159 svx/source/form/fmdpage \
160 svx/source/form/fmexch \
161 svx/source/form/fmexpl \
162 svx/source/form/fmmodel \
163 svx/source/form/fmobj \
164 svx/source/form/fmpage \
165 svx/source/form/fmpgeimp \
166 svx/source/form/fmscriptingenv \
167 svx/source/form/fmservs \
168 svx/source/form/fmshell \
169 svx/source/form/fmshimp \
170 svx/source/form/fmtextcontroldialogs \
171 svx/source/form/fmtextcontrolfeature \
172 svx/source/form/fmtextcontrolshell \
173 svx/source/form/fmtools \
174 svx/source/form/fmundo \
175 svx/source/form/fmview \
176 svx/source/form/fmvwimp \
177 svx/source/form/formcontrolfactory \
178 svx/source/form/formcontroller \
179 svx/source/form/formcontrolling \
180 svx/source/form/formdispatchinterceptor \
181 svx/source/form/formfeaturedispatcher \
182 svx/source/form/formtoolbars \
183 svx/source/form/legacyformcontroller \
184 svx/source/form/navigatortree \
185 svx/source/form/navigatortreemodel \
186 svx/source/form/ParseContext \
187 svx/source/form/sdbdatacolumn \
188 svx/source/form/sqlparserclient \
189 svx/source/form/typemap \
190 svx/source/form/xfm_addcondition \
191 svx/source/gallery2/codec \
192 svx/source/gallery2/galbrws1 \
193 svx/source/gallery2/galbrws2 \
194 svx/source/gallery2/galctrl \
195 svx/source/gallery2/galexpl \
196 svx/source/gallery2/galini \
197 svx/source/gallery2/gallery1 \
198 svx/source/gallery2/galmisc \
199 svx/source/gallery2/galobj \
200 svx/source/gallery2/galtheme \
201 svx/source/gallery2/GalleryControl \
202 svx/source/gallery2/gallerybinaryengine \
203 svx/source/gallery2/gallerybinaryengineentry \
204 svx/source/gallery2/gallerystoragelocations \
205 svx/source/gallery2/gallerybinarystoragelocations \
206 svx/source/gallery2/galleryobjectcollection \
207 svx/source/gallery2/galleryfilestorage \
208 svx/source/gallery2/galleryfilestorageentry \
209 svx/source/gallery2/galleryobjectstorage \
210 svx/source/gallery2/galleryobjectbinarystorage \
211 svx/source/gallery2/galleryobjectxmlstorage \
212 svx/source/items/chrtitem \
213 svx/source/items/clipfmtitem \
214 svx/source/items/customshapeitem \
215 svx/source/items/drawitem \
216 svx/source/items/e3ditem \
217 svx/source/items/galleryitem \
218 svx/source/items/grfitem \
219 svx/source/sdr/animation/scheduler \
220 svx/source/sdr/animation/objectanimator \
221 svx/source/sdr/animation/animationstate \
222 svx/source/sdr/attribute/sdrallfillattributeshelper \
223 svx/source/sdr/attribute/sdrlinefilleffectstextattribute \
224 svx/source/sdr/attribute/sdrfilltextattribute \
225 svx/source/sdr/attribute/sdreffectstextattribute \
226 svx/source/sdr/attribute/sdrtextattribute \
227 svx/source/sdr/attribute/sdrlineeffectstextattribute \
228 svx/source/sdr/attribute/sdrformtextattribute \
229 svx/source/sdr/attribute/sdrformtextoutlineattribute \
230 svx/source/sdr/contact/viewobjectcontactofgroup \
231 svx/source/sdr/contact/viewobjectcontactofsdrpage \
232 svx/source/sdr/contact/viewcontactofpageobj \
233 svx/source/sdr/contact/viewcontactofe3d \
234 svx/source/sdr/contact/viewcontactofe3dcube \
235 svx/source/sdr/contact/viewcontactofsdrmediaobj \
236 svx/source/sdr/contact/viewobjectcontactofmasterpagedescriptor \
237 svx/source/sdr/contact/viewobjectcontactofpageobj \
238 svx/source/sdr/contact/viewobjectcontactofe3dscene \
239 svx/source/sdr/contact/viewcontactofgraphic \
240 svx/source/sdr/contact/viewobjectcontactredirector \
241 svx/source/sdr/contact/viewcontactofsdrcircobj \
242 svx/source/sdr/contact/viewcontactofgroup \
243 svx/source/sdr/contact/viewcontactofunocontrol \
244 svx/source/sdr/contact/viewcontactofsdrobjcustomshape \
245 svx/source/sdr/contact/viewcontactofsdrobj \
246 svx/source/sdr/contact/objectcontact \
247 svx/source/sdr/contact/viewcontactoftextobj \
248 svx/source/sdr/contact/viewcontactofe3dlathe \
249 svx/source/sdr/contact/viewcontactofsdrpage \
250 svx/source/sdr/contact/viewcontactofe3dextrude \
251 svx/source/sdr/contact/viewcontactofmasterpagedescriptor \
252 svx/source/sdr/contact/viewcontact \
253 svx/source/sdr/contact/viewcontactofsdrole2obj \
254 svx/source/sdr/contact/displayinfo \
255 svx/source/sdr/contact/viewcontactofe3dscene \
256 svx/source/sdr/contact/viewcontactofsdrrectobj \
257 svx/source/sdr/contact/viewobjectcontactofsdrole2obj \
258 svx/source/sdr/contact/viewobjectcontactofunocontrol \
259 svx/source/sdr/contact/viewobjectcontactofgraphic \
260 svx/source/sdr/contact/sdrmediawindow \
261 svx/source/sdr/contact/viewobjectcontactofsdrmediaobj \
262 svx/source/sdr/contact/viewcontactofsdrcaptionobj \
263 svx/source/sdr/contact/viewcontactofvirtobj \
264 svx/source/sdr/contact/viewcontactofe3dsphere \
265 svx/source/sdr/contact/viewcontactofe3dpolygon \
266 svx/source/sdr/contact/viewcontactofsdredgeobj \
267 svx/source/sdr/contact/viewobjectcontact \
268 svx/source/sdr/contact/viewobjectcontactofsdrobj \
269 svx/source/sdr/contact/objectcontactofpageview \
270 svx/source/sdr/contact/viewcontactofsdrpathobj \
271 svx/source/sdr/contact/viewcontactofsdrmeasureobj \
272 svx/source/sdr/contact/objectcontactofobjlistpainter \
273 svx/source/sdr/contact/viewobjectcontactofe3d \
274 svx/source/sdr/overlay/overlayline \
275 svx/source/sdr/overlay/overlaycrosshair \
276 svx/source/sdr/overlay/overlayrollingrectangle \
277 svx/source/sdr/overlay/overlaytriangle \
278 svx/source/sdr/overlay/overlayselection \
279 svx/source/sdr/overlay/overlayrectangle \
280 svx/source/sdr/overlay/overlaybitmapex \
281 svx/source/sdr/overlay/overlaymanagerbuffered \
282 svx/source/sdr/overlay/overlayhelpline \
283 svx/source/sdr/overlay/overlayanimatedbitmapex \
284 svx/source/sdr/overlay/overlaypolypolygon \
285 svx/source/sdr/overlay/overlayobjectcell \
286 svx/source/sdr/overlay/overlaytools \
287 svx/source/sdr/overlay/overlayprimitive2dsequenceobject \
288 svx/source/sdr/overlay/overlayobject \
289 svx/source/sdr/overlay/overlaymanager \
290 svx/source/sdr/overlay/overlayobjectlist \
291 svx/source/sdr/overlay/overlayhandle \
292 svx/source/sdr/misc/ImageMapInfo \
293 svx/source/sdr/primitive2d/sdrellipseprimitive2d \
294 svx/source/sdr/primitive2d/sdrprimitivetools \
295 svx/source/sdr/primitive2d/sdrtextprimitive2d \
296 svx/source/sdr/primitive2d/primitivefactory2d \
297 svx/source/sdr/primitive2d/sdrolecontentprimitive2d \
298 svx/source/sdr/primitive2d/sdrcustomshapeprimitive2d \
299 svx/source/sdr/primitive2d/sdrgrafprimitive2d \
300 svx/source/sdr/primitive2d/sdrole2primitive2d \
301 svx/source/sdr/primitive2d/sdrpathprimitive2d \
302 svx/source/sdr/primitive2d/sdrrectangleprimitive2d \
303 svx/source/sdr/primitive2d/sdrcaptionprimitive2d \
304 svx/source/sdr/primitive2d/sdrconnectorprimitive2d \
305 svx/source/sdr/primitive2d/sdrmeasureprimitive2d \
306 svx/source/sdr/primitive2d/sdrframeborderprimitive2d \
307 svx/source/sdr/primitive2d/sdrattributecreator \
308 svx/source/sdr/primitive2d/sdrdecompositiontools \
309 svx/source/sdr/primitive3d/sdrattributecreator3d \
310 svx/source/sdr/properties/pageproperties \
311 svx/source/sdr/properties/e3dsceneproperties \
312 svx/source/sdr/properties/itemsettools \
313 svx/source/sdr/properties/captionproperties \
314 svx/source/sdr/properties/e3dextrudeproperties \
315 svx/source/sdr/properties/e3dproperties \
316 svx/source/sdr/properties/measureproperties \
317 svx/source/sdr/properties/customshapeproperties \
318 svx/source/sdr/properties/rectangleproperties \
319 svx/source/sdr/properties/groupproperties \
320 svx/source/sdr/properties/properties \
321 svx/source/sdr/properties/e3dlatheproperties \
322 svx/source/sdr/properties/graphicproperties \
323 svx/source/sdr/properties/circleproperties \
324 svx/source/sdr/properties/emptyproperties \
325 svx/source/sdr/properties/e3dsphereproperties \
326 svx/source/sdr/properties/defaultproperties \
327 svx/source/sdr/properties/textproperties \
328 svx/source/sdr/properties/attributeproperties \
329 svx/source/sdr/properties/connectorproperties \
330 svx/source/sdr/properties/e3dcompoundproperties \
331 svx/source/sdr/properties/oleproperties \
332 svx/source/svdraw/clonelist \
333 svx/source/svdraw/charthelper \
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/tbxctrls/extrusioncontrols \
427 svx/source/tbxctrls/fontworkgallery \
428 svx/source/tbxctrls/linectrl \
429 svx/source/tbxctrls/Palette \
430 svx/source/tbxctrls/PaletteManager \
431 svx/source/tbxctrls/tbcontrl \
432 svx/source/tbxctrls/tbxcolorupdate \
433 svx/source/tbxctrls/SvxColorValueSet \
434 svx/source/tbxctrls/SvxPresetListBox \
435 svx/source/tbxctrls/StylesPreviewToolBoxControl \
436 svx/source/tbxctrls/StylesPreviewWindow \
437 svx/source/toolbars/extrusionbar \
438 svx/source/toolbars/fontworkbar \
439 svx/source/uitest/sdrobject \
440 svx/source/unodraw/gluepts \
441 svx/source/unodraw/shapepropertynotifier \
442 svx/source/unodraw/SvxXTextColumns \
443 svx/source/unodraw/tableshape \
444 svx/source/unodraw/unobrushitemhelper \
445 svx/source/unodraw/unobtabl \
446 svx/source/unodraw/unodtabl \
447 svx/source/unodraw/UnoGraphicExporter \
448 svx/source/unodraw/unogtabl \
449 svx/source/unodraw/unohtabl \
450 svx/source/unodraw/unomlstr \
451 svx/source/unodraw/unomod \
452 svx/source/unodraw/unomtabl \
453 svx/source/unodraw/UnoNameItemTable \
454 svx/source/unodraw/unopage \
455 svx/source/unodraw/unoprov \
456 svx/source/unodraw/unoshap2 \
457 svx/source/unodraw/unoshap3 \
458 svx/source/unodraw/unoshap4 \
459 svx/source/unodraw/unoshape \
460 svx/source/unodraw/unoshtxt \
461 svx/source/unodraw/unottabl \
462 svx/source/unodraw/XPropertyTable \
463 svx/source/xml/xmleohlp \
464 svx/source/xml/xmlexport \
465 svx/source/xml/xmlgrhlp \
466 svx/source/xml/xmlxtexp \
467 svx/source/xml/xmlxtimp \
468 svx/source/xoutdev/xattr \
469 svx/source/xoutdev/xattr2 \
470 svx/source/xoutdev/xattrbmp \
471 svx/source/xoutdev/_xoutbmp \
472 svx/source/xoutdev/_xpoly \
473 svx/source/xoutdev/xpool \
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: