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