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
,\
30 $(eval
$(call gb_Library_use_sdk_api
,svxcore
))
32 $(eval
$(call gb_Library_set_include
,svxcore
,\
34 -I
$(SRCDIR
)/svx
/source
/inc \
36 -I
$(WORKDIR
)/SdiTarget
/svx
/sdi \
39 $(eval
$(call gb_Library_set_precompiled_header
,svxcore
,$(SRCDIR
)/svx
/inc
/pch
/precompiled_svxcore
))
41 #BOOST switch in customshapes
44 #CFLAGS+= -DUNICODE -D_UNICODE
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
,\
80 $(eval
$(call gb_Library_use_externals
,svxcore
,\
85 $(eval
$(call gb_Library_add_exception_objects
,svxcore
,\
86 svx
/source
/core
/coreservices \
87 svx
/source
/core
/extedit \
88 svx
/source
/core
/graphichelper \
89 svx
/source
/customshapes
/EnhancedCustomShape2d \
90 svx
/source
/customshapes
/EnhancedCustomShapeGeometry \
91 svx
/source
/customshapes
/EnhancedCustomShapeTypeNames \
92 svx
/source
/dialog
/checklbx \
93 svx
/source
/dialog
/dialmgr \
94 svx
/source
/dialog
/dlgutil \
95 svx
/source
/dialog
/framelink \
96 svx
/source
/dialog
/langbox \
97 svx
/source
/dialog
/simptabl \
98 svx
/source
/dialog
/stddlg \
99 svx
/source
/dialog
/svxdlg \
100 svx
/source
/engine3d
/camera3d \
101 svx
/source
/engine3d
/cube3d \
102 svx
/source
/engine3d
/deflt3d \
103 svx
/source
/engine3d
/dragmt3d \
104 svx
/source
/engine3d
/e3dsceneupdater \
105 svx
/source
/engine3d
/e3dundo \
106 svx
/source
/engine3d
/extrud3d \
107 svx
/source
/engine3d
/helperhittest3d \
108 svx
/source
/engine3d
/helperminimaldepth3d \
109 svx
/source
/engine3d
/lathe3d \
110 svx
/source
/engine3d
/obj3d \
111 svx
/source
/engine3d
/objfac3d \
112 svx
/source
/engine3d
/polygn3d \
113 svx
/source
/engine3d
/polysc3d \
114 svx
/source
/engine3d
/scene3d \
115 svx
/source
/engine3d
/sphere3d \
116 svx
/source
/engine3d
/svx3ditems \
117 svx
/source
/engine3d
/view3d \
118 svx
/source
/engine3d
/view3d1 \
119 svx
/source
/engine3d
/viewpt3d2 \
120 svx
/source
/gallery2
/codec \
121 svx
/source
/gallery2
/galbrws \
122 svx
/source
/gallery2
/galbrws1 \
123 svx
/source
/gallery2
/galbrws2 \
124 svx
/source
/gallery2
/galctrl \
125 svx
/source
/gallery2
/galexpl \
126 svx
/source
/gallery2
/galini \
127 svx
/source
/gallery2
/gallery1 \
128 svx
/source
/gallery2
/galmisc \
129 svx
/source
/gallery2
/galobj \
130 svx
/source
/gallery2
/galtheme \
131 svx
/source
/gallery2
/GalleryControl \
132 svx
/source
/gallery2
/GallerySplitter \
133 svx
/source
/items
/chrtitem \
134 svx
/source
/items
/clipfmtitem \
135 svx
/source
/items
/customshapeitem \
136 svx
/source
/items
/drawitem \
137 svx
/source
/items
/e3ditem \
138 svx
/source
/items
/grfitem \
139 svx
/source
/sdr
/animation
/scheduler \
140 svx
/source
/sdr
/animation
/objectanimator \
141 svx
/source
/sdr
/animation
/animationstate \
142 svx
/source
/sdr
/attribute
/sdrlinefillshadowtextattribute \
143 svx
/source
/sdr
/attribute
/sdrfilltextattribute \
144 svx
/source
/sdr
/attribute
/sdrshadowtextattribute \
145 svx
/source
/sdr
/attribute
/sdrtextattribute \
146 svx
/source
/sdr
/attribute
/sdrlineshadowtextattribute \
147 svx
/source
/sdr
/attribute
/sdrformtextattribute \
148 svx
/source
/sdr
/attribute
/sdrformtextoutlineattribute \
149 svx
/source
/sdr
/contact
/viewobjectcontactofgroup \
150 svx
/source
/sdr
/contact
/viewobjectcontactofsdrpage \
151 svx
/source
/sdr
/contact
/viewcontactofpageobj \
152 svx
/source
/sdr
/contact
/viewcontactofe3d \
153 svx
/source
/sdr
/contact
/viewcontactofe3dcube \
154 svx
/source
/sdr
/contact
/viewcontactofsdrmediaobj \
155 svx
/source
/sdr
/contact
/viewobjectcontactofmasterpagedescriptor \
156 svx
/source
/sdr
/contact
/viewobjectcontactofpageobj \
157 svx
/source
/sdr
/contact
/viewobjectcontactofe3dscene \
158 svx
/source
/sdr
/contact
/viewcontactofgraphic \
159 svx
/source
/sdr
/contact
/viewobjectcontactredirector \
160 svx
/source
/sdr
/contact
/viewcontactofsdrcircobj \
161 svx
/source
/sdr
/contact
/viewcontactofgroup \
162 svx
/source
/sdr
/contact
/viewcontactofunocontrol \
163 svx
/source
/sdr
/contact
/viewcontactofsdrobjcustomshape \
164 svx
/source
/sdr
/contact
/viewcontactofsdrobj \
165 svx
/source
/sdr
/contact
/objectcontact \
166 svx
/source
/sdr
/contact
/viewcontactoftextobj \
167 svx
/source
/sdr
/contact
/viewcontactofe3dlathe \
168 svx
/source
/sdr
/contact
/viewcontactofsdrpage \
169 svx
/source
/sdr
/contact
/viewcontactofe3dextrude \
170 svx
/source
/sdr
/contact
/viewcontactofmasterpagedescriptor \
171 svx
/source
/sdr
/contact
/viewcontact \
172 svx
/source
/sdr
/contact
/viewcontactofsdrole2obj \
173 svx
/source
/sdr
/contact
/displayinfo \
174 svx
/source
/sdr
/contact
/viewcontactofe3dscene \
175 svx
/source
/sdr
/contact
/viewcontactofsdrrectobj \
176 svx
/source
/sdr
/contact
/viewobjectcontactofsdrole2obj \
177 svx
/source
/sdr
/contact
/viewobjectcontactofunocontrol \
178 svx
/source
/sdr
/contact
/viewobjectcontactofgraphic \
179 svx
/source
/sdr
/contact
/sdrmediawindow \
180 svx
/source
/sdr
/contact
/viewobjectcontactofsdrmediaobj \
181 svx
/source
/sdr
/contact
/viewcontactofsdrcaptionobj \
182 svx
/source
/sdr
/contact
/viewcontactofvirtobj \
183 svx
/source
/sdr
/contact
/viewcontactofe3dsphere \
184 svx
/source
/sdr
/contact
/viewcontactofe3dpolygon \
185 svx
/source
/sdr
/contact
/viewcontactofsdredgeobj \
186 svx
/source
/sdr
/contact
/viewobjectcontact \
187 svx
/source
/sdr
/contact
/viewobjectcontactofsdrobj \
188 svx
/source
/sdr
/contact
/objectcontactofpageview \
189 svx
/source
/sdr
/contact
/viewcontactofsdrpathobj \
190 svx
/source
/sdr
/contact
/viewcontactofsdrmeasureobj \
191 svx
/source
/sdr
/contact
/objectcontactofobjlistpainter \
192 svx
/source
/sdr
/contact
/viewobjectcontactofe3d \
193 svx
/source
/sdr
/event
/eventhandler \
194 svx
/source
/sdr
/overlay
/overlayline \
195 svx
/source
/sdr
/overlay
/overlaycrosshair \
196 svx
/source
/sdr
/overlay
/overlayrollingrectangle \
197 svx
/source
/sdr
/overlay
/overlaytriangle \
198 svx
/source
/sdr
/overlay
/overlayselection \
199 svx
/source
/sdr
/overlay
/overlayhatchrect \
200 svx
/source
/sdr
/overlay
/overlaybitmapex \
201 svx
/source
/sdr
/overlay
/overlaymanagerbuffered \
202 svx
/source
/sdr
/overlay
/overlayhelpline \
203 svx
/source
/sdr
/overlay
/overlayanimatedbitmapex \
204 svx
/source
/sdr
/overlay
/overlaypolypolygon \
205 svx
/source
/sdr
/overlay
/overlayobjectcell \
206 svx
/source
/sdr
/overlay
/overlaytools \
207 svx
/source
/sdr
/overlay
/overlayprimitive2dsequenceobject \
208 svx
/source
/sdr
/overlay
/overlayobject \
209 svx
/source
/sdr
/overlay
/overlaymanager \
210 svx
/source
/sdr
/overlay
/overlayobjectlist \
211 svx
/source
/sdr
/primitive2d
/sdrellipseprimitive2d \
212 svx
/source
/sdr
/primitive2d
/sdrprimitivetools \
213 svx
/source
/sdr
/primitive2d
/sdrtextprimitive2d \
214 svx
/source
/sdr
/primitive2d
/primitivefactory2d \
215 svx
/source
/sdr
/primitive2d
/sdrolecontentprimitive2d \
216 svx
/source
/sdr
/primitive2d
/sdrcustomshapeprimitive2d \
217 svx
/source
/sdr
/primitive2d
/sdrgrafprimitive2d \
218 svx
/source
/sdr
/primitive2d
/sdrole2primitive2d \
219 svx
/source
/sdr
/primitive2d
/sdrpathprimitive2d \
220 svx
/source
/sdr
/primitive2d
/sdrrectangleprimitive2d \
221 svx
/source
/sdr
/primitive2d
/sdrcaptionprimitive2d \
222 svx
/source
/sdr
/primitive2d
/sdrconnectorprimitive2d \
223 svx
/source
/sdr
/primitive2d
/sdrmeasureprimitive2d \
224 svx
/source
/sdr
/primitive2d
/sdrattributecreator \
225 svx
/source
/sdr
/primitive2d
/sdrdecompositiontools \
226 svx
/source
/sdr
/primitive3d
/sdrattributecreator3d \
227 svx
/source
/sdr
/properties
/pageproperties \
228 svx
/source
/sdr
/properties
/e3dsceneproperties \
229 svx
/source
/sdr
/properties
/itemsettools \
230 svx
/source
/sdr
/properties
/captionproperties \
231 svx
/source
/sdr
/properties
/e3dextrudeproperties \
232 svx
/source
/sdr
/properties
/e3dproperties \
233 svx
/source
/sdr
/properties
/measureproperties \
234 svx
/source
/sdr
/properties
/customshapeproperties \
235 svx
/source
/sdr
/properties
/rectangleproperties \
236 svx
/source
/sdr
/properties
/groupproperties \
237 svx
/source
/sdr
/properties
/properties \
238 svx
/source
/sdr
/properties
/e3dlatheproperties \
239 svx
/source
/sdr
/properties
/graphicproperties \
240 svx
/source
/sdr
/properties
/circleproperties \
241 svx
/source
/sdr
/properties
/emptyproperties \
242 svx
/source
/sdr
/properties
/e3dsphereproperties \
243 svx
/source
/sdr
/properties
/defaultproperties \
244 svx
/source
/sdr
/properties
/textproperties \
245 svx
/source
/sdr
/properties
/attributeproperties \
246 svx
/source
/sdr
/properties
/connectorproperties \
247 svx
/source
/sdr
/properties
/e3dcompoundproperties \
248 svx
/source
/sdr
/properties
/oleproperties \
249 svx
/source
/svdraw
/clonelist \
250 svx
/source
/svdraw
/charthelper \
251 svx
/source
/svdraw
/gradtrns \
252 svx
/source
/svdraw
/polypolygoneditor \
253 svx
/source
/svdraw
/sdrhittesthelper \
254 svx
/source
/svdraw
/sdrmasterpagedescriptor \
255 svx
/source
/svdraw
/sdrpagewindow \
256 svx
/source
/svdraw
/sdrpaintwindow \
257 svx
/source
/svdraw
/selectioncontroller \
258 svx
/source
/svdraw
/svdattr \
259 svx
/source
/svdraw
/svdcrtv \
260 svx
/source
/svdraw
/svddrag \
261 svx
/source
/svdraw
/svddrgmt \
262 svx
/source
/svdraw
/svddrgv \
263 svx
/source
/svdraw
/svdedtv \
264 svx
/source
/svdraw
/svdedtv1 \
265 svx
/source
/svdraw
/svdedtv2 \
266 svx
/source
/svdraw
/svdedxv \
267 svx
/source
/svdraw
/svdetc \
268 svx
/source
/svdraw
/svdfmtf \
269 svx
/source
/svdraw
/svdglev \
270 svx
/source
/svdraw
/svdglue \
271 svx
/source
/svdraw
/svdhdl \
272 svx
/source
/svdraw
/svdhlpln \
273 svx
/source
/svdraw
/svdibrow \
274 svx
/source
/svdraw
/svditer \
275 svx
/source
/svdraw
/svdlayer \
276 svx
/source
/svdraw
/svdmark \
277 svx
/source
/svdraw
/svdmodel \
278 svx
/source
/svdraw
/svdmrkv \
279 svx
/source
/svdraw
/svdmrkv1 \
280 svx
/source
/svdraw
/svdoashp \
281 svx
/source
/svdraw
/svdoattr \
282 svx
/source
/svdraw
/svdobj \
283 svx
/source
/svdraw
/svdocapt \
284 svx
/source
/svdraw
/svdocirc \
285 svx
/source
/svdraw
/svdoedge \
286 svx
/source
/svdraw
/svdograf \
287 svx
/source
/svdraw
/svdogrp \
288 svx
/source
/svdraw
/svdomeas \
289 svx
/source
/svdraw
/svdomedia \
290 svx
/source
/svdraw
/svdoole2 \
291 svx
/source
/svdraw
/svdopage \
292 svx
/source
/svdraw
/svdopath \
293 svx
/source
/svdraw
/svdorect \
294 svx
/source
/svdraw
/svdotext \
295 svx
/source
/svdraw
/svdotextdecomposition \
296 svx
/source
/svdraw
/svdotextpathdecomposition \
297 svx
/source
/svdraw
/svdotxat \
298 svx
/source
/svdraw
/svdotxdr \
299 svx
/source
/svdraw
/svdotxed \
300 svx
/source
/svdraw
/svdotxfl \
301 svx
/source
/svdraw
/svdotxln \
302 svx
/source
/svdraw
/svdotxtr \
303 svx
/source
/svdraw
/svdouno \
304 svx
/source
/svdraw
/svdoutl \
305 svx
/source
/svdraw
/svdoutlinercache \
306 svx
/source
/svdraw
/svdovirt \
307 svx
/source
/svdraw
/svdpage \
308 svx
/source
/svdraw
/svdpagv \
309 svx
/source
/svdraw
/svdpntv \
310 svx
/source
/svdraw
/svdpoev \
311 svx
/source
/svdraw
/svdsnpv \
312 svx
/source
/svdraw
/svdtext \
313 svx
/source
/svdraw
/svdtrans \
314 svx
/source
/svdraw
/svdundo \
315 svx
/source
/svdraw
/svdview \
316 svx
/source
/svdraw
/svdviter \
317 svx
/source
/svdraw
/svdxcgv \
318 svx
/source
/table
/cell \
319 svx
/source
/table
/cellcursor \
320 svx
/source
/table
/cellrange \
321 svx
/source
/table
/propertyset \
322 svx
/source
/table
/svdotable \
323 svx
/source
/table
/tablecolumn \
324 svx
/source
/table
/tablecolumns \
325 svx
/source
/table
/tablecontroller \
326 svx
/source
/table
/tablehandles \
327 svx
/source
/table
/tablelayouter \
328 svx
/source
/table
/tablemodel \
329 svx
/source
/table
/tablerow \
330 svx
/source
/table
/tablerows \
331 svx
/source
/table
/tableundo \
332 svx
/source
/table
/viewcontactoftableobj \
333 svx
/source
/tbxctrls
/extrusioncontrols \
334 svx
/source
/tbxctrls
/fontworkgallery \
335 svx
/source
/tbxctrls
/tbcontrl \
336 svx
/source
/tbxctrls
/tbxcolorupdate \
337 svx
/source
/tbxctrls
/SvxColorValueSet \
338 svx
/source
/toolbars
/extrusionbar \
339 svx
/source
/toolbars
/fontworkbar \
340 svx
/source
/unodraw
/gluepts \
341 svx
/source
/unodraw
/shapepropertynotifier \
342 svx
/source
/unodraw
/tableshape \
343 svx
/source
/unodraw
/unobtabl \
344 svx
/source
/unodraw
/unodtabl \
345 svx
/source
/unodraw
/UnoGraphicExporter \
346 svx
/source
/unodraw
/unogtabl \
347 svx
/source
/unodraw
/unohtabl \
348 svx
/source
/unodraw
/unomlstr \
349 svx
/source
/unodraw
/unomod \
350 svx
/source
/unodraw
/unomtabl \
351 svx
/source
/unodraw
/UnoNameItemTable \
352 svx
/source
/unodraw
/unopage \
353 svx
/source
/unodraw
/unoprov \
354 svx
/source
/unodraw
/unoshap2 \
355 svx
/source
/unodraw
/unoshap3 \
356 svx
/source
/unodraw
/unoshap4 \
357 svx
/source
/unodraw
/unoshape \
358 svx
/source
/unodraw
/unoshtxt \
359 svx
/source
/unodraw
/unottabl \
360 svx
/source
/unodraw
/XPropertyTable \
361 svx
/source
/xml
/xmleohlp \
362 svx
/source
/xml
/xmlexport \
363 svx
/source
/xml
/xmlgrhlp \
364 svx
/source
/xml
/xmlxtexp \
365 svx
/source
/xml
/xmlxtimp \
366 svx
/source
/xoutdev
/xattr \
367 svx
/source
/xoutdev
/xattr2 \
368 svx
/source
/xoutdev
/xattrbmp \
369 svx
/source
/xoutdev
/xexch \
370 svx
/source
/xoutdev
/_xoutbmp \
371 svx
/source
/xoutdev
/_xpoly \
372 svx
/source
/xoutdev
/xpool \
373 svx
/source
/xoutdev
/xtabbtmp \
374 svx
/source
/xoutdev
/xtabcolr \
375 svx
/source
/xoutdev
/xtabdash \
376 svx
/source
/xoutdev
/xtabgrdt \
377 svx
/source
/xoutdev
/xtabhtch \
378 svx
/source
/xoutdev
/xtable \
379 svx
/source
/xoutdev
/XPropertyEntry \
380 svx
/source
/xoutdev
/xtablend \
383 ifneq (,$(filter DBCONNECTIVITY
,$(BUILD_TYPE
)))
385 $(eval
$(call gb_Library_add_exception_objects
,svxcore
,\
386 svx
/source
/fmcomp
/dbaexchange \
387 svx
/source
/fmcomp
/fmgridcl \
388 svx
/source
/fmcomp
/fmgridif \
389 svx
/source
/fmcomp
/gridcell \
390 svx
/source
/fmcomp
/gridcols \
391 svx
/source
/fmcomp
/gridctrl \
392 svx
/source
/fmcomp
/xmlexchg \
393 svx
/source
/form
/dataaccessdescriptor \
394 svx
/source
/form
/datalistener \
395 svx
/source
/form
/datanavi \
396 svx
/source
/form
/dbtoolsclient \
397 svx
/source
/form
/delayedevent \
398 svx
/source
/form
/fmcontrolbordermanager \
399 svx
/source
/form
/fmcontrollayout \
400 svx
/source
/form
/fmdmod \
401 svx
/source
/form
/fmdocumentclassification \
402 svx
/source
/form
/fmdpage \
403 svx
/source
/form
/fmexch \
404 svx
/source
/form
/fmexpl \
405 svx
/source
/form
/fmitems \
406 svx
/source
/form
/fmmodel \
407 svx
/source
/form
/fmobj \
408 svx
/source
/form
/fmpage \
409 svx
/source
/form
/fmpgeimp \
410 svx
/source
/form
/fmscriptingenv \
411 svx
/source
/form
/fmservs \
412 svx
/source
/form
/fmshell \
413 svx
/source
/form
/fmshimp \
414 svx
/source
/form
/fmtextcontroldialogs \
415 svx
/source
/form
/fmtextcontrolfeature \
416 svx
/source
/form
/fmtextcontrolshell \
417 svx
/source
/form
/fmtools \
418 svx
/source
/form
/fmundo \
419 svx
/source
/form
/fmview \
420 svx
/source
/form
/fmvwimp \
421 svx
/source
/form
/formcontrolfactory \
422 svx
/source
/form
/formcontroller \
423 svx
/source
/form
/formcontrolling \
424 svx
/source
/form
/formdispatchinterceptor \
425 svx
/source
/form
/formfeaturedispatcher \
426 svx
/source
/form
/formtoolbars \
427 svx
/source
/form
/legacyformcontroller \
428 svx
/source
/form
/navigatortree \
429 svx
/source
/form
/navigatortreemodel \
430 svx
/source
/form
/ParseContext \
431 svx
/source
/form
/sdbdatacolumn \
432 svx
/source
/form
/sqlparserclient \
433 svx
/source
/form
/stringlistresource \
434 svx
/source
/form
/typeconversionclient \
435 svx
/source
/form
/typemap \
436 svx
/source
/form
/xfm_addcondition \
440 # the following source file can't be compiled with optimization by some compilers (crash or endless loop):
441 # Solaris Sparc with Sun compiler, gcc on MacOSX and Linux PPC
442 # the latter is currently not supported by gbuild and needs a fix here later
443 ifeq ($(OS
),$(filter-out SOLARIS MACOSX
,$(OS
)))
444 $(eval
$(call gb_Library_add_exception_objects
,svxcore
,\
445 svx
/source
/customshapes
/EnhancedCustomShapeFunctionParser \
448 $(eval
$(call gb_Library_add_cxxobjects
,svxcore
,\
449 svx
/source
/customshapes
/EnhancedCustomShapeFunctionParser \
450 , $(gb_COMPILERNOOPTFLAGS
) $(gb_LinkTarget_EXCEPTIONFLAGS
) \
454 $(eval
$(call gb_SdiTarget_SdiTarget
,svx
/sdi
/svxslots
,svx
/sdi
/svx
))
456 $(eval
$(call gb_SdiTarget_set_include
,svx
/sdi
/svxslots
,\
458 -I
$(SRCDIR
)/svx
/inc \
459 -I
$(SRCDIR
)/svx
/sdi \
460 -I
$(SRCDIR
)/sfx2
/sdi \
463 # Runtime dependency for unit-tests
464 $(call gb_LinkTarget_get_target
,$(call gb_Library_get_linktargetname
,svxcore
)) :| \
465 $(call gb_AllLangResTarget_get_target
,svx
)
467 # vim: set noet sw=4 ts=4: