Version 3.6.0.4, tag libreoffice-3.6.0.4
[LibreOffice.git] / svx / Library_svxcore.mk
blobbeda9bd523668e9d3b328fa800fcabd11e961854
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 #
6 # Copyright 2000, 2011 Oracle and/or its affiliates.
8 # OpenOffice.org - a multi-platform office productivity suite
10 # This file is part of OpenOffice.org.
12 # OpenOffice.org is free software: you can redistribute it and/or modify
13 # it under the terms of the GNU Lesser General Public License version 3
14 # only, as published by the Free Software Foundation.
16 # OpenOffice.org is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU Lesser General Public License version 3 for more details
20 # (a copy is included in the LICENSE file that accompanied this code).
22 # You should have received a copy of the GNU Lesser General Public License
23 # version 3 along with OpenOffice.org. If not, see
24 # <http://www.openoffice.org/license.html>
25 # for a copy of the LGPLv3 License.
27 #*************************************************************************
29 $(eval $(call gb_Library_Library,svxcore))
31 $(eval $(call gb_Library_set_componentfile,svxcore,svx/util/svxcore))
33 $(eval $(call gb_Library_add_sdi_headers,svxcore,svx/sdi/svxslots))
35 $(eval $(call gb_Library_use_packages,svxcore,\
36 svx_inc \
37 svx_sdi \
40 $(eval $(call gb_Library_use_api,svxcore,\
41 udkapi \
42 offapi \
45 $(eval $(call gb_Library_set_include,svxcore,\
46 -I$(SRCDIR)/svx/inc \
47 -I$(SRCDIR)/svx/source/inc \
48 $$(INCLUDE) \
49 -I$(WORKDIR)/SdiTarget/svx/sdi \
52 #BOOST switch in customshapes
53 #dialog:
54 #.IF "$(GUI)"=="WNT"
55 #CFLAGS+= -DUNICODE -D_UNICODE
56 #.ENDIF
58 $(eval $(call gb_Library_add_defs,svxcore,\
59 -DSVX_DLLIMPLEMENTATION \
60 -DBOOST_SPIRIT_USE_OLD_NAMESPACE \
63 $(eval $(call gb_Library_use_libraries,svxcore,\
64 avmedia \
65 basegfx \
66 sb \
67 comphelper \
68 cppuhelper \
69 cppu \
70 drawinglayer \
71 editeng \
72 fwe \
73 i18nisolang1 \
74 lng \
75 sal \
76 salhelper \
77 sax \
78 sfx \
79 sot \
80 svl \
81 svt \
82 tk \
83 tl \
84 ucbhelper \
85 utl \
86 vcl \
87 xo \
88 $(gb_STDLIBS) \
91 $(eval $(call gb_Library_use_external,svxcore,icuuc))
93 $(eval $(call gb_Library_add_exception_objects,svxcore,\
94 svx/source/core/coreservices \
95 svx/source/customshapes/EnhancedCustomShape2d \
96 svx/source/customshapes/EnhancedCustomShapeGeometry \
97 svx/source/customshapes/EnhancedCustomShapeTypeNames \
98 svx/source/dialog/checklbx \
99 svx/source/dialog/dialmgr \
100 svx/source/dialog/dlgutil \
101 svx/source/dialog/framelink \
102 svx/source/dialog/langbox \
103 svx/source/dialog/simptabl \
104 svx/source/dialog/stddlg \
105 svx/source/dialog/svxdlg \
106 svx/source/engine3d/camera3d \
107 svx/source/engine3d/cube3d \
108 svx/source/engine3d/deflt3d \
109 svx/source/engine3d/dragmt3d \
110 svx/source/engine3d/e3dsceneupdater \
111 svx/source/engine3d/e3dundo \
112 svx/source/engine3d/extrud3d \
113 svx/source/engine3d/helperhittest3d \
114 svx/source/engine3d/helperminimaldepth3d \
115 svx/source/engine3d/lathe3d \
116 svx/source/engine3d/obj3d \
117 svx/source/engine3d/objfac3d \
118 svx/source/engine3d/polygn3d \
119 svx/source/engine3d/polysc3d \
120 svx/source/engine3d/scene3d \
121 svx/source/engine3d/sphere3d \
122 svx/source/engine3d/svx3ditems \
123 svx/source/engine3d/view3d \
124 svx/source/engine3d/view3d1 \
125 svx/source/engine3d/viewpt3d2 \
126 svx/source/gallery2/codec \
127 svx/source/gallery2/galbrws \
128 svx/source/gallery2/galbrws1 \
129 svx/source/gallery2/galbrws2 \
130 svx/source/gallery2/galctrl \
131 svx/source/gallery2/galexpl \
132 svx/source/gallery2/gallery1 \
133 svx/source/gallery2/galmisc \
134 svx/source/gallery2/galobj \
135 svx/source/gallery2/galtheme \
136 svx/source/items/chrtitem \
137 svx/source/items/clipfmtitem \
138 svx/source/items/customshapeitem \
139 svx/source/items/drawitem \
140 svx/source/items/e3ditem \
141 svx/source/items/grfitem \
142 svx/source/sdr/animation/scheduler \
143 svx/source/sdr/animation/objectanimator \
144 svx/source/sdr/animation/animationstate \
145 svx/source/sdr/attribute/sdrlinefillshadowtextattribute \
146 svx/source/sdr/attribute/sdrfilltextattribute \
147 svx/source/sdr/attribute/sdrshadowtextattribute \
148 svx/source/sdr/attribute/sdrtextattribute \
149 svx/source/sdr/attribute/sdrlineshadowtextattribute \
150 svx/source/sdr/attribute/sdrformtextattribute \
151 svx/source/sdr/attribute/sdrformtextoutlineattribute \
152 svx/source/sdr/contact/viewobjectcontactofgroup \
153 svx/source/sdr/contact/viewobjectcontactofsdrpage \
154 svx/source/sdr/contact/viewcontactofpageobj \
155 svx/source/sdr/contact/viewcontactofe3d \
156 svx/source/sdr/contact/viewcontactofe3dcube \
157 svx/source/sdr/contact/viewcontactofsdrmediaobj \
158 svx/source/sdr/contact/viewobjectcontactofmasterpagedescriptor \
159 svx/source/sdr/contact/viewobjectcontactofpageobj \
160 svx/source/sdr/contact/viewobjectcontactofe3dscene \
161 svx/source/sdr/contact/viewcontactofgraphic \
162 svx/source/sdr/contact/viewobjectcontactredirector \
163 svx/source/sdr/contact/viewcontactofsdrcircobj \
164 svx/source/sdr/contact/viewcontactofgroup \
165 svx/source/sdr/contact/viewcontactofunocontrol \
166 svx/source/sdr/contact/viewcontactofsdrobjcustomshape \
167 svx/source/sdr/contact/viewcontactofsdrobj \
168 svx/source/sdr/contact/objectcontact \
169 svx/source/sdr/contact/viewcontactoftextobj \
170 svx/source/sdr/contact/viewcontactofe3dlathe \
171 svx/source/sdr/contact/viewcontactofsdrpage \
172 svx/source/sdr/contact/viewcontactofe3dextrude \
173 svx/source/sdr/contact/viewcontactofmasterpagedescriptor \
174 svx/source/sdr/contact/viewcontact \
175 svx/source/sdr/contact/viewcontactofsdrole2obj \
176 svx/source/sdr/contact/displayinfo \
177 svx/source/sdr/contact/objectcontacttools \
178 svx/source/sdr/contact/viewcontactofe3dscene \
179 svx/source/sdr/contact/viewcontactofsdrrectobj \
180 svx/source/sdr/contact/viewobjectcontactofsdrole2obj \
181 svx/source/sdr/contact/viewobjectcontactofunocontrol \
182 svx/source/sdr/contact/viewobjectcontactofgraphic \
183 svx/source/sdr/contact/sdrmediawindow \
184 svx/source/sdr/contact/viewobjectcontactofsdrmediaobj \
185 svx/source/sdr/contact/viewcontactofsdrcaptionobj \
186 svx/source/sdr/contact/viewcontactofvirtobj \
187 svx/source/sdr/contact/viewcontactofe3dsphere \
188 svx/source/sdr/contact/viewcontactofe3dpolygon \
189 svx/source/sdr/contact/viewcontactofsdredgeobj \
190 svx/source/sdr/contact/viewobjectcontact \
191 svx/source/sdr/contact/viewobjectcontactofsdrobj \
192 svx/source/sdr/contact/objectcontactofpageview \
193 svx/source/sdr/contact/viewcontactofsdrpathobj \
194 svx/source/sdr/contact/viewcontactofsdrmeasureobj \
195 svx/source/sdr/contact/objectcontactofobjlistpainter \
196 svx/source/sdr/contact/viewobjectcontactofe3d \
197 svx/source/sdr/event/eventhandler \
198 svx/source/sdr/overlay/overlayline \
199 svx/source/sdr/overlay/overlaycrosshair \
200 svx/source/sdr/overlay/overlayrollingrectangle \
201 svx/source/sdr/overlay/overlaytriangle \
202 svx/source/sdr/overlay/overlayselection \
203 svx/source/sdr/overlay/overlayhatchrect \
204 svx/source/sdr/overlay/overlaybitmapex \
205 svx/source/sdr/overlay/overlaymanagerbuffered \
206 svx/source/sdr/overlay/overlayhelpline \
207 svx/source/sdr/overlay/overlayanimatedbitmapex \
208 svx/source/sdr/overlay/overlaypolypolygon \
209 svx/source/sdr/overlay/overlayobjectcell \
210 svx/source/sdr/overlay/overlaytools \
211 svx/source/sdr/overlay/overlayprimitive2dsequenceobject \
212 svx/source/sdr/overlay/overlayobject \
213 svx/source/sdr/overlay/overlaymanager \
214 svx/source/sdr/overlay/overlayobjectlist \
215 svx/source/sdr/primitive2d/sdrellipseprimitive2d \
216 svx/source/sdr/primitive2d/sdrprimitivetools \
217 svx/source/sdr/primitive2d/sdrtextprimitive2d \
218 svx/source/sdr/primitive2d/primitivefactory2d \
219 svx/source/sdr/primitive2d/sdrolecontentprimitive2d \
220 svx/source/sdr/primitive2d/sdrcustomshapeprimitive2d \
221 svx/source/sdr/primitive2d/sdrgrafprimitive2d \
222 svx/source/sdr/primitive2d/sdrole2primitive2d \
223 svx/source/sdr/primitive2d/sdrpathprimitive2d \
224 svx/source/sdr/primitive2d/sdrrectangleprimitive2d \
225 svx/source/sdr/primitive2d/sdrcaptionprimitive2d \
226 svx/source/sdr/primitive2d/sdrconnectorprimitive2d \
227 svx/source/sdr/primitive2d/sdrmeasureprimitive2d \
228 svx/source/sdr/primitive2d/sdrattributecreator \
229 svx/source/sdr/primitive2d/sdrdecompositiontools \
230 svx/source/sdr/primitive3d/sdrattributecreator3d \
231 svx/source/sdr/properties/pageproperties \
232 svx/source/sdr/properties/e3dsceneproperties \
233 svx/source/sdr/properties/itemsettools \
234 svx/source/sdr/properties/captionproperties \
235 svx/source/sdr/properties/e3dextrudeproperties \
236 svx/source/sdr/properties/e3dproperties \
237 svx/source/sdr/properties/measureproperties \
238 svx/source/sdr/properties/customshapeproperties \
239 svx/source/sdr/properties/rectangleproperties \
240 svx/source/sdr/properties/groupproperties \
241 svx/source/sdr/properties/properties \
242 svx/source/sdr/properties/e3dlatheproperties \
243 svx/source/sdr/properties/graphicproperties \
244 svx/source/sdr/properties/circleproperties \
245 svx/source/sdr/properties/emptyproperties \
246 svx/source/sdr/properties/e3dsphereproperties \
247 svx/source/sdr/properties/defaultproperties \
248 svx/source/sdr/properties/textproperties \
249 svx/source/sdr/properties/attributeproperties \
250 svx/source/sdr/properties/connectorproperties \
251 svx/source/sdr/properties/e3dcompoundproperties \
252 svx/source/sdr/properties/oleproperties \
253 svx/source/svdraw/clonelist \
254 svx/source/svdraw/gradtrns \
255 svx/source/svdraw/polypolygoneditor \
256 svx/source/svdraw/sdrhittesthelper \
257 svx/source/svdraw/sdrmasterpagedescriptor \
258 svx/source/svdraw/sdrpagewindow \
259 svx/source/svdraw/sdrpaintwindow \
260 svx/source/svdraw/selectioncontroller \
261 svx/source/svdraw/svdattr \
262 svx/source/svdraw/svdcrtv \
263 svx/source/svdraw/svddrag \
264 svx/source/svdraw/svddrgmt \
265 svx/source/svdraw/svddrgv \
266 svx/source/svdraw/svdedtv \
267 svx/source/svdraw/svdedtv1 \
268 svx/source/svdraw/svdedtv2 \
269 svx/source/svdraw/svdedxv \
270 svx/source/svdraw/svdetc \
271 svx/source/svdraw/svdfmtf \
272 svx/source/svdraw/svdglev \
273 svx/source/svdraw/svdglue \
274 svx/source/svdraw/svdhdl \
275 svx/source/svdraw/svdhlpln \
276 svx/source/svdraw/svdibrow \
277 svx/source/svdraw/svditer \
278 svx/source/svdraw/svdlayer \
279 svx/source/svdraw/svdmark \
280 svx/source/svdraw/svdmodel \
281 svx/source/svdraw/svdmrkv \
282 svx/source/svdraw/svdmrkv1 \
283 svx/source/svdraw/svdoashp \
284 svx/source/svdraw/svdoattr \
285 svx/source/svdraw/svdobj \
286 svx/source/svdraw/svdocapt \
287 svx/source/svdraw/svdocirc \
288 svx/source/svdraw/svdoedge \
289 svx/source/svdraw/svdograf \
290 svx/source/svdraw/svdogrp \
291 svx/source/svdraw/svdomeas \
292 svx/source/svdraw/svdomedia \
293 svx/source/svdraw/svdoole2 \
294 svx/source/svdraw/svdopage \
295 svx/source/svdraw/svdopath \
296 svx/source/svdraw/svdorect \
297 svx/source/svdraw/svdotext \
298 svx/source/svdraw/svdotextdecomposition \
299 svx/source/svdraw/svdotextpathdecomposition \
300 svx/source/svdraw/svdotxat \
301 svx/source/svdraw/svdotxdr \
302 svx/source/svdraw/svdotxed \
303 svx/source/svdraw/svdotxfl \
304 svx/source/svdraw/svdotxln \
305 svx/source/svdraw/svdotxtr \
306 svx/source/svdraw/svdouno \
307 svx/source/svdraw/svdoutl \
308 svx/source/svdraw/svdoutlinercache \
309 svx/source/svdraw/svdovirt \
310 svx/source/svdraw/svdpage \
311 svx/source/svdraw/svdpagv \
312 svx/source/svdraw/svdpntv \
313 svx/source/svdraw/svdpoev \
314 svx/source/svdraw/svdsnpv \
315 svx/source/svdraw/svdtext \
316 svx/source/svdraw/svdtrans \
317 svx/source/svdraw/svdundo \
318 svx/source/svdraw/svdview \
319 svx/source/svdraw/svdviter \
320 svx/source/svdraw/svdxcgv \
321 svx/source/table/cell \
322 svx/source/table/cellcursor \
323 svx/source/table/cellrange \
324 svx/source/table/propertyset \
325 svx/source/table/svdotable \
326 svx/source/table/tablecolumn \
327 svx/source/table/tablecolumns \
328 svx/source/table/tablecontroller \
329 svx/source/table/tablehandles \
330 svx/source/table/tablelayouter \
331 svx/source/table/tablemodel \
332 svx/source/table/tablerow \
333 svx/source/table/tablerows \
334 svx/source/table/tableundo \
335 svx/source/table/viewcontactoftableobj \
336 svx/source/tbxctrls/extrusioncontrols \
337 svx/source/tbxctrls/fontworkgallery \
338 svx/source/tbxctrls/tbcontrl \
339 svx/source/tbxctrls/tbxcolorupdate \
340 svx/source/toolbars/extrusionbar \
341 svx/source/toolbars/fontworkbar \
342 svx/source/unodraw/gluepts \
343 svx/source/unodraw/shapepropertynotifier \
344 svx/source/unodraw/tableshape \
345 svx/source/unodraw/unobtabl \
346 svx/source/unodraw/unodtabl \
347 svx/source/unodraw/UnoGraphicExporter \
348 svx/source/unodraw/unogtabl \
349 svx/source/unodraw/unohtabl \
350 svx/source/unodraw/unomlstr \
351 svx/source/unodraw/unomod \
352 svx/source/unodraw/unomtabl \
353 svx/source/unodraw/UnoNameItemTable \
354 svx/source/unodraw/unopage \
355 svx/source/unodraw/unoprov \
356 svx/source/unodraw/unoshap2 \
357 svx/source/unodraw/unoshap3 \
358 svx/source/unodraw/unoshap4 \
359 svx/source/unodraw/unoshape \
360 svx/source/unodraw/unoshtxt \
361 svx/source/unodraw/unottabl \
362 svx/source/unodraw/XPropertyTable \
363 svx/source/xml/xmleohlp \
364 svx/source/xml/xmlexport \
365 svx/source/xml/xmlgrhlp \
366 svx/source/xml/xmlxtexp \
367 svx/source/xml/xmlxtimp \
368 svx/source/xoutdev/xattr \
369 svx/source/xoutdev/xattr2 \
370 svx/source/xoutdev/xattrbmp \
371 svx/source/xoutdev/xexch \
372 svx/source/xoutdev/_xoutbmp \
373 svx/source/xoutdev/_xpoly \
374 svx/source/xoutdev/xpool \
375 svx/source/xoutdev/xtabbtmp \
376 svx/source/xoutdev/xtabcolr \
377 svx/source/xoutdev/xtabdash \
378 svx/source/xoutdev/xtabgrdt \
379 svx/source/xoutdev/xtabhtch \
380 svx/source/xoutdev/xtable \
381 svx/source/xoutdev/xtablend \
384 ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE))$(filter IOS,$(OS)))
385 $(eval $(call gb_Library_use_packages,svxcore,\
386 connectivity_inc \
387 connectivity_generated \
390 $(eval $(call gb_Library_add_exception_objects,svxcore,\
391 svx/source/fmcomp/dbaexchange \
392 svx/source/fmcomp/fmgridcl \
393 svx/source/fmcomp/fmgridif \
394 svx/source/fmcomp/gridcell \
395 svx/source/fmcomp/gridcols \
396 svx/source/fmcomp/gridctrl \
397 svx/source/fmcomp/trace \
398 svx/source/fmcomp/xmlexchg \
399 svx/source/form/dataaccessdescriptor \
400 svx/source/form/datalistener \
401 svx/source/form/datanavi \
402 svx/source/form/dbtoolsclient \
403 svx/source/form/delayedevent \
404 svx/source/form/fmcontrolbordermanager \
405 svx/source/form/fmcontrollayout \
406 svx/source/form/fmdmod \
407 svx/source/form/fmdocumentclassification \
408 svx/source/form/fmdpage \
409 svx/source/form/fmexch \
410 svx/source/form/fmexpl \
411 svx/source/form/fmitems \
412 svx/source/form/fmmodel \
413 svx/source/form/fmobj \
414 svx/source/form/fmpage \
415 svx/source/form/fmpgeimp \
416 svx/source/form/fmscriptingenv \
417 svx/source/form/fmservs \
418 svx/source/form/fmshell \
419 svx/source/form/fmshimp \
420 svx/source/form/fmtextcontroldialogs \
421 svx/source/form/fmtextcontrolfeature \
422 svx/source/form/fmtextcontrolshell \
423 svx/source/form/fmtools \
424 svx/source/form/fmundo \
425 svx/source/form/fmview \
426 svx/source/form/fmvwimp \
427 svx/source/form/formcontrolfactory \
428 svx/source/form/formcontroller \
429 svx/source/form/formcontrolling \
430 svx/source/form/formdispatchinterceptor \
431 svx/source/form/formfeaturedispatcher \
432 svx/source/form/formtoolbars \
433 svx/source/form/legacyformcontroller \
434 svx/source/form/navigatortree \
435 svx/source/form/navigatortreemodel \
436 svx/source/form/ParseContext \
437 svx/source/form/sdbdatacolumn \
438 svx/source/form/sqlparserclient \
439 svx/source/form/stringlistresource \
440 svx/source/form/typeconversionclient \
441 svx/source/form/typemap \
442 svx/source/form/xfm_addcondition \
444 endif
446 # the following source file can't be compiled with optimization by some compilers (crash or endless loop):
447 # Solaris Sparc with Sun compiler, gcc on MacOSX and Linux PPC
448 # the latter is currently not supported by gbuild and needs a fix here later
449 ifeq ($(OS),$(filter-out SOLARIS MACOSX,$(OS)))
450 $(eval $(call gb_Library_add_exception_objects,svxcore,\
451 svx/source/customshapes/EnhancedCustomShapeFunctionParser \
453 else
454 $(eval $(call gb_Library_add_cxxobjects,svxcore,\
455 svx/source/customshapes/EnhancedCustomShapeFunctionParser \
456 , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
458 endif
460 $(eval $(call gb_SdiTarget_SdiTarget,svx/sdi/svxslots,svx/sdi/svx))
462 $(eval $(call gb_SdiTarget_set_include,svx/sdi/svxslots,\
463 $$(INCLUDE) \
464 -I$(SRCDIR)/svx/inc \
465 -I$(SRCDIR)/svx/sdi \
468 # vim: set noet sw=4 ts=4: