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