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