vcl: svx: preserve the imported PDF page number in Graphic
[LibreOffice.git] / svx / Library_svxcore.mk
blob603860d7f11b9fdd9b02fd8b7aeb891926a0622c
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,$(SRCDIR)/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 \
88 ifeq ($(ENABLE_HEADLESS),)
89 $(eval $(call gb_Library_use_externals,svxcore,\
90 epoxy \
92 endif
94 ifeq ($(OS),MACOSX)
96 $(eval $(call gb_Library_add_cxxflags,svxcore,\
97 $(gb_OBJCXXFLAGS) \
100 $(eval $(call gb_Library_use_system_darwin_frameworks,svxcore,\
101 Foundation \
104 endif
106 $(eval $(call gb_Library_add_exception_objects,svxcore,\
107 svx/source/core/coreservices \
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/checklbx \
115 svx/source/dialog/dialmgr \
116 svx/source/dialog/dlgutil \
117 svx/source/dialog/hexcolorcontrol \
118 svx/source/dialog/framelink \
119 svx/source/dialog/framelinkarray \
120 svx/source/dialog/langbox \
121 svx/source/dialog/pagenumberlistbox \
122 svx/source/dialog/papersizelistbox \
123 svx/source/dialog/samecontentlistbox \
124 svx/source/dialog/spacinglistbox \
125 svx/source/dialog/stddlg \
126 svx/source/dialog/svxdlg \
127 svx/source/dialog/SvxNumOptionsTabPageHelper \
128 svx/source/engine3d/camera3d \
129 svx/source/engine3d/cube3d \
130 svx/source/engine3d/deflt3d \
131 svx/source/engine3d/dragmt3d \
132 svx/source/engine3d/e3dsceneupdater \
133 svx/source/engine3d/e3dundo \
134 svx/source/engine3d/extrud3d \
135 svx/source/engine3d/helperhittest3d \
136 svx/source/engine3d/helperminimaldepth3d \
137 svx/source/engine3d/lathe3d \
138 svx/source/engine3d/obj3d \
139 svx/source/engine3d/objfac3d \
140 svx/source/engine3d/polygn3d \
141 svx/source/engine3d/scene3d \
142 svx/source/engine3d/sphere3d \
143 svx/source/engine3d/svx3ditems \
144 svx/source/engine3d/view3d \
145 svx/source/engine3d/view3d1 \
146 svx/source/engine3d/viewpt3d2 \
147 svx/source/gallery2/codec \
148 svx/source/gallery2/galbrws1 \
149 svx/source/gallery2/galbrws2 \
150 svx/source/gallery2/galctrl \
151 svx/source/gallery2/galexpl \
152 svx/source/gallery2/galini \
153 svx/source/gallery2/gallery1 \
154 svx/source/gallery2/galmisc \
155 svx/source/gallery2/galobj \
156 svx/source/gallery2/galtheme \
157 svx/source/gallery2/GalleryControl \
158 svx/source/gallery2/GallerySplitter \
159 svx/source/items/chrtitem \
160 svx/source/items/clipfmtitem \
161 svx/source/items/customshapeitem \
162 svx/source/items/drawitem \
163 svx/source/items/e3ditem \
164 svx/source/items/galleryitem \
165 svx/source/items/grfitem \
166 svx/source/sdr/animation/scheduler \
167 svx/source/sdr/animation/objectanimator \
168 svx/source/sdr/animation/animationstate \
169 svx/source/sdr/attribute/sdrallfillattributeshelper \
170 svx/source/sdr/attribute/sdrlinefillshadowtextattribute \
171 svx/source/sdr/attribute/sdrfilltextattribute \
172 svx/source/sdr/attribute/sdrshadowtextattribute \
173 svx/source/sdr/attribute/sdrtextattribute \
174 svx/source/sdr/attribute/sdrlineshadowtextattribute \
175 svx/source/sdr/attribute/sdrformtextattribute \
176 svx/source/sdr/attribute/sdrformtextoutlineattribute \
177 svx/source/sdr/contact/viewobjectcontactofgroup \
178 svx/source/sdr/contact/viewobjectcontactofsdrpage \
179 svx/source/sdr/contact/viewcontactofpageobj \
180 svx/source/sdr/contact/viewcontactofe3d \
181 svx/source/sdr/contact/viewcontactofe3dcube \
182 svx/source/sdr/contact/viewcontactofsdrmediaobj \
183 svx/source/sdr/contact/viewobjectcontactofmasterpagedescriptor \
184 svx/source/sdr/contact/viewobjectcontactofpageobj \
185 svx/source/sdr/contact/viewobjectcontactofe3dscene \
186 svx/source/sdr/contact/viewcontactofgraphic \
187 svx/source/sdr/contact/viewobjectcontactredirector \
188 svx/source/sdr/contact/viewcontactofsdrcircobj \
189 svx/source/sdr/contact/viewcontactofgroup \
190 svx/source/sdr/contact/viewcontactofunocontrol \
191 svx/source/sdr/contact/viewcontactofsdrobjcustomshape \
192 svx/source/sdr/contact/viewcontactofsdrobj \
193 svx/source/sdr/contact/objectcontact \
194 svx/source/sdr/contact/viewcontactoftextobj \
195 svx/source/sdr/contact/viewcontactofe3dlathe \
196 svx/source/sdr/contact/viewcontactofsdrpage \
197 svx/source/sdr/contact/viewcontactofe3dextrude \
198 svx/source/sdr/contact/viewcontactofmasterpagedescriptor \
199 svx/source/sdr/contact/viewcontact \
200 svx/source/sdr/contact/viewcontactofsdrole2obj \
201 svx/source/sdr/contact/displayinfo \
202 svx/source/sdr/contact/viewcontactofe3dscene \
203 svx/source/sdr/contact/viewcontactofsdrrectobj \
204 svx/source/sdr/contact/viewobjectcontactofsdrole2obj \
205 svx/source/sdr/contact/viewobjectcontactofunocontrol \
206 svx/source/sdr/contact/viewobjectcontactofgraphic \
207 svx/source/sdr/contact/sdrmediawindow \
208 svx/source/sdr/contact/viewobjectcontactofsdrmediaobj \
209 svx/source/sdr/contact/viewcontactofsdrcaptionobj \
210 svx/source/sdr/contact/viewcontactofvirtobj \
211 svx/source/sdr/contact/viewcontactofe3dsphere \
212 svx/source/sdr/contact/viewcontactofe3dpolygon \
213 svx/source/sdr/contact/viewcontactofsdredgeobj \
214 svx/source/sdr/contact/viewobjectcontact \
215 svx/source/sdr/contact/viewobjectcontactofsdrobj \
216 svx/source/sdr/contact/objectcontactofpageview \
217 svx/source/sdr/contact/viewcontactofsdrpathobj \
218 svx/source/sdr/contact/viewcontactofsdrmeasureobj \
219 svx/source/sdr/contact/objectcontactofobjlistpainter \
220 svx/source/sdr/contact/viewobjectcontactofe3d \
221 svx/source/sdr/event/eventhandler \
222 svx/source/sdr/overlay/overlayline \
223 svx/source/sdr/overlay/overlaycrosshair \
224 svx/source/sdr/overlay/overlayrollingrectangle \
225 svx/source/sdr/overlay/overlaytriangle \
226 svx/source/sdr/overlay/overlayselection \
227 svx/source/sdr/overlay/overlayrectangle \
228 svx/source/sdr/overlay/overlaybitmapex \
229 svx/source/sdr/overlay/overlaymanagerbuffered \
230 svx/source/sdr/overlay/overlayhelpline \
231 svx/source/sdr/overlay/overlayanimatedbitmapex \
232 svx/source/sdr/overlay/overlaypolypolygon \
233 svx/source/sdr/overlay/overlayobjectcell \
234 svx/source/sdr/overlay/overlaytools \
235 svx/source/sdr/overlay/overlayprimitive2dsequenceobject \
236 svx/source/sdr/overlay/overlayobject \
237 svx/source/sdr/overlay/overlaymanager \
238 svx/source/sdr/overlay/overlayobjectlist \
239 svx/source/sdr/overlay/overlayhandle \
240 svx/source/sdr/primitive2d/sdrellipseprimitive2d \
241 svx/source/sdr/primitive2d/sdrprimitivetools \
242 svx/source/sdr/primitive2d/sdrtextprimitive2d \
243 svx/source/sdr/primitive2d/primitivefactory2d \
244 svx/source/sdr/primitive2d/sdrolecontentprimitive2d \
245 svx/source/sdr/primitive2d/sdrcustomshapeprimitive2d \
246 svx/source/sdr/primitive2d/sdrgrafprimitive2d \
247 svx/source/sdr/primitive2d/sdrole2primitive2d \
248 svx/source/sdr/primitive2d/sdrpathprimitive2d \
249 svx/source/sdr/primitive2d/sdrrectangleprimitive2d \
250 svx/source/sdr/primitive2d/sdrcaptionprimitive2d \
251 svx/source/sdr/primitive2d/sdrconnectorprimitive2d \
252 svx/source/sdr/primitive2d/sdrmeasureprimitive2d \
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/sdrhittesthelper \
283 svx/source/svdraw/sdrmasterpagedescriptor \
284 svx/source/svdraw/sdrpagewindow \
285 svx/source/svdraw/sdrpaintwindow \
286 svx/source/svdraw/sdrundomanager \
287 svx/source/svdraw/selectioncontroller \
288 svx/source/svdraw/svdattr \
289 svx/source/svdraw/svdcrtv \
290 svx/source/svdraw/svddrag \
291 svx/source/svdraw/svddrgmt \
292 svx/source/svdraw/svddrgv \
293 svx/source/svdraw/svdedtv \
294 svx/source/svdraw/svdedtv1 \
295 svx/source/svdraw/svdedtv2 \
296 svx/source/svdraw/svdedxv \
297 svx/source/svdraw/svdetc \
298 svx/source/svdraw/svdfmtf \
299 svx/source/svdraw/svdglev \
300 svx/source/svdraw/svdglue \
301 svx/source/svdraw/svdhdl \
302 svx/source/svdraw/svdhlpln \
303 svx/source/svdraw/svdibrow \
304 svx/source/svdraw/svditer \
305 svx/source/svdraw/svdlayer \
306 svx/source/svdraw/svdmark \
307 svx/source/svdraw/svdmodel \
308 svx/source/svdraw/svdmrkv \
309 svx/source/svdraw/svdmrkv1 \
310 svx/source/svdraw/svdoashp \
311 svx/source/svdraw/svdoattr \
312 svx/source/svdraw/svdobj \
313 svx/source/svdraw/svdobjplusdata \
314 svx/source/svdraw/svdobjuserdatalist \
315 svx/source/svdraw/svdocapt \
316 svx/source/svdraw/svdocirc \
317 svx/source/svdraw/svdoedge \
318 svx/source/svdraw/svdograf \
319 svx/source/svdraw/svdogrp \
320 svx/source/svdraw/svdomeas \
321 svx/source/svdraw/svdomedia \
322 svx/source/svdraw/svdoole2 \
323 svx/source/svdraw/svdopage \
324 svx/source/svdraw/svdopath \
325 svx/source/svdraw/svdorect \
326 svx/source/svdraw/svdotext \
327 svx/source/svdraw/svdotextdecomposition \
328 svx/source/svdraw/svdotextpathdecomposition \
329 svx/source/svdraw/svdotxat \
330 svx/source/svdraw/svdotxdr \
331 svx/source/svdraw/svdotxed \
332 svx/source/svdraw/svdotxfl \
333 svx/source/svdraw/svdotxln \
334 svx/source/svdraw/svdotxtr \
335 svx/source/svdraw/svdouno \
336 svx/source/svdraw/svdoutl \
337 svx/source/svdraw/svdoutlinercache \
338 svx/source/svdraw/svdovirt \
339 svx/source/svdraw/svdpage \
340 svx/source/svdraw/svdpagv \
341 svx/source/svdraw/svdpntv \
342 svx/source/svdraw/svdpoev \
343 svx/source/svdraw/svdsnpv \
344 svx/source/svdraw/svdtext \
345 svx/source/svdraw/svdtrans \
346 svx/source/svdraw/svdundo \
347 svx/source/svdraw/svdview \
348 svx/source/svdraw/svdviter \
349 svx/source/svdraw/svdxcgv \
350 svx/source/svdraw/textchain \
351 svx/source/svdraw/textchainflow \
352 svx/source/svdraw/textchaincursor \
353 svx/source/styles/CommonStylePreviewRenderer \
354 svx/source/styles/CommonStyleManager \
355 svx/source/styles/ColorSets \
356 svx/source/table/cell \
357 svx/source/table/cellcursor \
358 svx/source/table/cellrange \
359 svx/source/table/propertyset \
360 svx/source/table/svdotable \
361 svx/source/table/tablecolumn \
362 svx/source/table/tablecolumns \
363 svx/source/table/tablecontroller \
364 svx/source/table/tablehandles \
365 svx/source/table/tablelayouter \
366 svx/source/table/tablemodel \
367 svx/source/table/tablerow \
368 svx/source/table/tablerows \
369 svx/source/table/tableundo \
370 svx/source/table/viewcontactoftableobj \
371 svx/source/tbxctrls/extrusioncontrols \
372 svx/source/tbxctrls/fontworkgallery \
373 svx/source/tbxctrls/Palette \
374 svx/source/tbxctrls/PaletteManager \
375 svx/source/tbxctrls/tbcontrl \
376 svx/source/tbxctrls/tbxcolorupdate \
377 svx/source/tbxctrls/SvxColorValueSet \
378 svx/source/tbxctrls/SvxPresetListBox \
379 svx/source/toolbars/extrusionbar \
380 svx/source/toolbars/fontworkbar \
381 svx/source/unodraw/gluepts \
382 svx/source/unodraw/shapepropertynotifier \
383 svx/source/unodraw/tableshape \
384 svx/source/unodraw/unobrushitemhelper \
385 svx/source/unodraw/unobtabl \
386 svx/source/unodraw/unodtabl \
387 svx/source/unodraw/UnoGraphicExporter \
388 svx/source/unodraw/unogtabl \
389 svx/source/unodraw/unohtabl \
390 svx/source/unodraw/unomlstr \
391 svx/source/unodraw/unomod \
392 svx/source/unodraw/unomtabl \
393 svx/source/unodraw/UnoNameItemTable \
394 svx/source/unodraw/unopage \
395 svx/source/unodraw/unoprov \
396 svx/source/unodraw/unoshap2 \
397 svx/source/unodraw/unoshap3 \
398 svx/source/unodraw/unoshap4 \
399 svx/source/unodraw/unoshape \
400 svx/source/unodraw/unoshtxt \
401 svx/source/unodraw/unottabl \
402 svx/source/unodraw/XPropertyTable \
403 svx/source/xml/xmleohlp \
404 svx/source/xml/xmlexport \
405 svx/source/xml/xmlgrhlp \
406 svx/source/xml/xmlxtexp \
407 svx/source/xml/xmlxtimp \
408 svx/source/xoutdev/xattr \
409 svx/source/xoutdev/xattr2 \
410 svx/source/xoutdev/xattrbmp \
411 svx/source/xoutdev/xexch \
412 svx/source/xoutdev/_xoutbmp \
413 svx/source/xoutdev/_xpoly \
414 svx/source/xoutdev/xpool \
415 svx/source/xoutdev/xtabbtmp \
416 svx/source/xoutdev/xtabcolr \
417 svx/source/xoutdev/xtabdash \
418 svx/source/xoutdev/xtabgrdt \
419 svx/source/xoutdev/xtabhtch \
420 svx/source/xoutdev/xtable \
421 svx/source/xoutdev/xtabptrn \
422 svx/source/xoutdev/XPropertyEntry \
423 svx/source/xoutdev/xtablend \
426 $(eval $(call gb_Library_add_exception_objects,svxcore,\
427 svx/source/fmcomp/dbaexchange \
428 svx/source/fmcomp/fmgridcl \
429 svx/source/fmcomp/fmgridif \
430 svx/source/fmcomp/gridcell \
431 svx/source/fmcomp/gridcols \
432 svx/source/fmcomp/gridctrl \
433 svx/source/fmcomp/xmlexchg \
434 svx/source/form/dataaccessdescriptor \
435 svx/source/form/datalistener \
436 svx/source/form/datanavi \
437 svx/source/form/delayedevent \
438 svx/source/form/fmcontrolbordermanager \
439 svx/source/form/fmcontrollayout \
440 svx/source/form/fmdmod \
441 svx/source/form/fmdocumentclassification \
442 svx/source/form/fmdpage \
443 svx/source/form/fmexch \
444 svx/source/form/fmexpl \
445 svx/source/form/fmitems \
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: