tdf#161349 writerfilter: only copy page background vml fill
[libreoffice.git] / vcl / Library_vcl.mk
bloba59285a26dfb98530dcdca42134af6fd851524d2
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,vcl))
22 $(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.common,services))
24 ifeq ($(OS),MACOSX)
25 $(eval $(call gb_Library_add_componentimpl,vcl,macosx))
26 else ifeq ($(OS),WNT)
27 $(eval $(call gb_Library_add_componentimpl,vcl,windows))
28 else ifeq ($(OS),ANDROID)
29 $(eval $(call gb_Library_add_componentimpl,vcl,android))
30 else ifeq ($(OS),iOS)
31 $(eval $(call gb_Library_add_componentimpl,vcl,ios))
32 else ifeq ($(DISABLE_GUI),TRUE)
33 $(eval $(call gb_Library_add_componentimpl,vcl,headless))
34 else
35 $(eval $(call gb_Library_add_componentimpl,vcl,unx))
36 endif
38 $(eval $(call gb_Library_set_precompiled_header,vcl,vcl/inc/pch/precompiled_vcl))
40 $(eval $(call gb_Library_set_include,vcl,\
41 $$(INCLUDE) \
42 -I$(SRCDIR)/vcl/inc \
45 $(eval $(call gb_Library_add_defs,vcl,\
46 -DVCL_DLLIMPLEMENTATION \
47 -DDLLIMPLEMENTATION_UITEST \
48 -DCUI_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,cui))\" \
49 -DTK_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,tk))\" \
50 $(if $(SYSTEM_LIBFIXMATH),-DSYSTEM_LIBFIXMATH) \
53 $(eval $(call gb_Library_use_sdk_api,vcl))
55 $(eval $(call gb_Library_use_custom_headers,vcl,\
56 officecfg/registry \
59 $(eval $(call gb_Library_use_libraries,vcl,\
60 basegfx \
61 comphelper \
62 cppu \
63 cppuhelper \
64 $(call gb_Helper_optional,BREAKPAD,crashreport) \
65 drawinglayercore \
66 i18nlangtag \
67 i18nutil \
68 $(if $(ENABLE_JAVA),jvmaccess) \
69 $(if $(filter OPENCL,$(BUILD_TYPE)),opencl) \
70 sal \
71 salhelper \
72 sot \
73 svl \
74 tl \
75 ucbhelper \
76 utl \
77 xmlreader \
80 $(eval $(call gb_Library_use_externals,vcl,\
81 boost_headers \
82 expat \
83 frozen \
84 gio \
85 graphite \
86 harfbuzz \
87 icu_headers \
88 icuuc \
89 lcms2 \
90 libeot \
91 libjpeg \
92 libpng \
93 libtiff \
94 libwebp \
97 $(eval $(call gb_Library_add_exception_objects,vcl,\
98 vcl/source/rendercontext/drawmode \
99 vcl/skia/SkiaHelper \
100 vcl/source/accessibility/AccessibleTextAttributeHelper \
101 vcl/source/animate/Animation \
102 vcl/source/animate/AnimationFrame \
103 vcl/source/animate/AnimationRenderer \
104 vcl/source/cnttype/mcnttfactory \
105 vcl/source/cnttype/mcnttype \
106 vcl/source/printer/Options \
107 vcl/source/printer/QueueInfo \
108 vcl/source/window/bubblewindow \
109 vcl/source/window/errinf \
110 vcl/source/window/settings \
111 vcl/source/window/paint \
112 vcl/source/window/abstdlg \
113 vcl/source/window/accel \
114 vcl/source/window/accmgr \
115 vcl/source/window/brdwin \
116 vcl/source/window/bufferdevice \
117 vcl/source/window/accessibility \
118 vcl/source/window/legacyaccessibility \
119 vcl/source/window/clipping \
120 vcl/source/window/stacking \
121 vcl/source/window/debug \
122 vcl/source/window/globalization \
123 vcl/source/window/builder \
124 vcl/source/window/commandevent \
125 vcl/source/window/cursor \
126 vcl/source/window/debugevent \
127 vcl/source/window/decoview \
128 vcl/source/window/dialog \
129 vcl/source/window/dlgctrl \
130 vcl/source/window/dndeventdispatcher \
131 vcl/source/window/dndlistenercontainer \
132 vcl/source/window/dockingarea \
133 vcl/source/window/dockmgr \
134 vcl/source/window/dockwin \
135 vcl/source/window/DocWindow \
136 vcl/source/window/event \
137 vcl/source/window/floatwin \
138 $(if $(ENABLE_WASM_STRIP_SPLASH),,vcl/source/window/introwin) \
139 vcl/source/window/keycod \
140 vcl/source/window/keyevent \
141 vcl/source/window/layout \
142 vcl/source/window/menu \
143 vcl/source/window/menubarwindow \
144 vcl/source/window/menufloatingwindow \
145 vcl/source/window/menuitemlist \
146 vcl/source/window/menuwindow \
147 vcl/source/window/mnemonic \
148 vcl/source/window/mouse \
149 vcl/source/window/NotebookBarAddonsMerger \
150 vcl/source/window/OptionalBox \
151 vcl/source/window/printdlg \
152 vcl/source/window/scrwnd \
153 vcl/source/window/seleng \
154 vcl/source/window/split \
155 vcl/source/window/splitwin \
156 vcl/source/window/status \
157 vcl/source/window/syschild \
158 vcl/source/window/syswin \
159 vcl/source/window/tabdlg \
160 vcl/source/window/tabpage \
161 vcl/source/window/taskpanelist \
162 vcl/source/window/toolbox2 \
163 vcl/source/window/toolbox \
164 vcl/source/window/window2 \
165 vcl/source/window/window3 \
166 vcl/source/window/window \
167 vcl/source/window/winproc \
168 vcl/source/window/wrkwin \
169 vcl/source/window/EnumContext \
170 vcl/source/control/button \
171 vcl/source/control/calendar \
172 vcl/source/control/combobox \
173 vcl/source/control/ctrl \
174 vcl/source/control/ContextVBox \
175 vcl/source/control/DropdownBox \
176 vcl/source/control/edit \
177 vcl/source/control/field2 \
178 vcl/source/control/field \
179 vcl/source/control/fixed \
180 vcl/source/control/fixedhyper \
181 vcl/source/control/hyperlabel \
182 vcl/source/control/fmtfield \
183 vcl/source/control/InterimItemWindow \
184 vcl/source/control/imgctrl \
185 vcl/source/control/imivctl1 \
186 vcl/source/control/imivctl2 \
187 vcl/source/control/ivctrl \
188 vcl/source/control/longcurr \
189 vcl/source/control/imp_listbox \
190 vcl/source/control/listbox \
191 vcl/source/control/managedmenubutton \
192 vcl/source/control/menubtn \
193 vcl/source/control/NotebookbarPopup \
194 vcl/source/control/PriorityHBox \
195 vcl/source/control/PriorityMergedHBox \
196 vcl/source/control/notebookbar \
197 vcl/source/control/WeldedTabbedNotebookbar \
198 vcl/source/control/quickselectionengine \
199 vcl/source/control/prgsbar \
200 vcl/source/control/roadmap \
201 vcl/source/control/roadmapwizard \
202 vcl/source/control/scrbar \
203 vcl/source/control/slider \
204 vcl/source/control/spinbtn \
205 vcl/source/control/spinfld \
206 vcl/source/control/tabctrl \
207 vcl/source/control/throbber \
208 vcl/source/control/wizardmachine \
209 vcl/source/edit/vclmedit \
210 vcl/source/edit/textdata \
211 vcl/source/edit/textdoc \
212 vcl/source/edit/texteng \
213 vcl/source/edit/textundo \
214 vcl/source/edit/textview \
215 vcl/source/edit/txtattr \
216 vcl/source/edit/xtextedt \
217 vcl/source/toolkit/group \
218 vcl/source/toolkit/morebtn \
219 vcl/source/outdev/background \
220 vcl/source/outdev/eps \
221 vcl/source/outdev/outdev \
222 vcl/source/outdev/EmphasisMarks \
223 vcl/source/outdev/stack \
224 vcl/source/outdev/clipping \
225 vcl/source/outdev/fill \
226 vcl/source/outdev/polygon \
227 vcl/source/outdev/transparent \
228 vcl/source/outdev/mask \
229 vcl/source/outdev/bitmap \
230 vcl/source/outdev/bitmapex \
231 vcl/source/outdev/font \
232 vcl/source/outdev/text \
233 vcl/source/outdev/textline \
234 vcl/source/outdev/pixel \
235 vcl/source/outdev/rect \
236 vcl/source/outdev/line \
237 vcl/source/outdev/polyline \
238 vcl/source/outdev/hatch \
239 vcl/source/outdev/gradient \
240 vcl/source/outdev/curvedshapes \
241 vcl/source/outdev/wallpaper \
242 vcl/source/outdev/vclreferencebase \
243 vcl/source/outdev/nativecontrols \
244 vcl/source/outdev/map \
245 vcl/source/text/ImplLayoutArgs \
246 vcl/source/text/ImplLayoutRuns \
247 vcl/source/text/mnemonic \
248 vcl/source/text/TextLayoutCache \
249 vcl/source/text/textlayout \
250 vcl/source/treelist/headbar \
251 vcl/source/treelist/iconview \
252 vcl/source/treelist/iconviewimpl \
253 vcl/source/treelist/imap \
254 vcl/source/treelist/imap2 \
255 vcl/source/treelist/imap3 \
256 vcl/source/treelist/inetimg \
257 vcl/source/treelist/svtabbx \
258 vcl/source/treelist/transfer \
259 vcl/source/treelist/transfer2 \
260 vcl/source/treelist/viewdataentry \
261 vcl/source/treelist/treelist \
262 vcl/source/treelist/treelistbox \
263 vcl/source/treelist/treelistentry \
264 vcl/source/treelist/svimpbox \
265 vcl/source/treelist/svlbitm \
266 vcl/source/treelist/uiobject \
267 vcl/source/gdi/formpdfexport \
268 vcl/source/gdi/configsettings \
269 vcl/source/gdi/cvtgrf \
270 vcl/source/gdi/embeddedfontshelper \
271 vcl/source/gdi/FileDefinitionWidgetDraw \
272 vcl/source/gdi/WidgetDefinitionReader \
273 vcl/source/gdi/WidgetDefinition \
274 vcl/source/gdi/extoutdevdata \
275 vcl/source/gdi/gdimtf \
276 vcl/source/gdi/mtfxmldump \
277 vcl/source/gdi/gdimetafiletools \
278 vcl/source/gdi/gfxlink \
279 vcl/source/gdi/gradient \
280 vcl/source/gdi/graph \
281 vcl/source/gdi/graphictools \
282 vcl/source/gdi/hatch \
283 vcl/source/gdi/impglyphitem \
284 vcl/source/gdi/impgraph \
285 vcl/source/gdi/jobset \
286 vcl/source/gdi/lineinfo \
287 vcl/source/gdi/mapmod \
288 vcl/source/gdi/metaact \
289 vcl/source/gdi/oldprintadaptor \
290 vcl/source/gdi/pdfbuildin_fonts \
291 vcl/source/gdi/pdfextoutdevdata \
292 vcl/source/gdi/pdfwriter \
293 vcl/source/gdi/pdfwriter_impl2 \
294 vcl/source/gdi/pdfwriter_impl \
295 vcl/source/gdi/pdfobjectcopier \
296 vcl/source/gdi/print2 \
297 vcl/source/gdi/print3 \
298 vcl/source/gdi/print \
299 vcl/source/gdi/regband \
300 vcl/source/gdi/region \
301 vcl/source/gdi/regionband \
302 vcl/source/gdi/salgdilayout \
303 vcl/source/gdi/salgdiimpl \
304 vcl/source/gdi/sallayout \
305 vcl/source/gdi/salmisc \
306 vcl/source/gdi/vectorgraphicdata \
307 vcl/source/gdi/virdev \
308 vcl/source/gdi/wall \
309 vcl/source/gdi/scrptrun \
310 vcl/source/gdi/CommonSalLayout \
311 vcl/source/gdi/TypeSerializer \
312 vcl/source/pdf/PdfConfig \
313 vcl/source/pdf/ResourceDict \
314 vcl/source/pdf/Matrix3 \
315 vcl/source/pdf/XmpMetadata \
316 vcl/source/pdf/ExternalPDFStreams \
317 vcl/source/graphic/BinaryDataContainer \
318 vcl/source/graphic/BinaryDataContainerTools \
319 vcl/source/graphic/GraphicID \
320 vcl/source/graphic/GraphicLoader \
321 vcl/source/graphic/GraphicObject \
322 vcl/source/graphic/GraphicObject2 \
323 vcl/source/graphic/Manager \
324 vcl/source/graphic/UnoBinaryDataContainer \
325 vcl/source/graphic/UnoGraphic \
326 vcl/source/graphic/UnoGraphicMapper \
327 vcl/source/graphic/UnoGraphicDescriptor \
328 vcl/source/graphic/UnoGraphicObject \
329 vcl/source/graphic/UnoGraphicProvider \
330 vcl/source/graphic/VectorGraphicSearch \
331 vcl/source/graphic/VectorGraphicLoader \
332 vcl/source/bitmap/Vectorizer \
333 vcl/source/bitmap/bitmap \
334 vcl/source/bitmap/bitmappalette \
335 vcl/source/bitmap/BitmapEx \
336 vcl/source/bitmap/BitmapInfoAccess \
337 vcl/source/bitmap/BitmapReadAccess \
338 vcl/source/bitmap/BitmapWriteAccess \
339 vcl/source/bitmap/alpha \
340 vcl/source/bitmap/dibtools \
341 vcl/source/bitmap/bmpfast \
342 vcl/source/bitmap/bitmapfilter \
343 vcl/source/bitmap/bitmappaint \
344 vcl/source/bitmap/BitmapArithmeticBlendFilter \
345 vcl/source/bitmap/BitmapShadowFilter \
346 vcl/source/bitmap/BitmapAlphaClampFilter \
347 vcl/source/bitmap/BitmapBasicMorphologyFilter \
348 vcl/source/bitmap/BitmapDarkenBlendFilter \
349 vcl/source/bitmap/BitmapLightenBlendFilter \
350 vcl/source/bitmap/BitmapMaskToAlphaFilter \
351 vcl/source/bitmap/BitmapMonochromeFilter \
352 vcl/source/bitmap/BitmapMultiplyBlendFilter \
353 vcl/source/bitmap/BitmapNormalBlendFilter \
354 vcl/source/bitmap/BitmapScreenBlendFilter \
355 vcl/source/bitmap/BitmapSmoothenFilter \
356 vcl/source/bitmap/BitmapLightenFilter \
357 vcl/source/bitmap/BitmapDisabledImageFilter \
358 vcl/source/bitmap/BitmapColorizeFilter \
359 vcl/source/bitmap/BitmapGaussianSeparableBlurFilter \
360 vcl/source/bitmap/BitmapSobelGreyFilter \
361 vcl/source/bitmap/BitmapSolarizeFilter \
362 vcl/source/bitmap/BitmapSepiaFilter \
363 vcl/source/bitmap/BitmapMosaicFilter \
364 vcl/source/bitmap/BitmapEmbossGreyFilter \
365 vcl/source/bitmap/BitmapPopArtFilter \
366 vcl/source/bitmap/BitmapDuoToneFilter \
367 vcl/source/bitmap/BitmapConvolutionMatrixFilter \
368 vcl/source/bitmap/BitmapMedianFilter \
369 vcl/source/bitmap/BitmapInterpolateScaleFilter \
370 vcl/source/bitmap/BitmapSeparableUnsharpenFilter \
371 vcl/source/bitmap/BitmapFastScaleFilter \
372 vcl/source/bitmap/BitmapScaleSuperFilter \
373 vcl/source/bitmap/BitmapScaleConvolutionFilter \
374 vcl/source/bitmap/BitmapSymmetryCheck \
375 vcl/source/bitmap/BitmapColorQuantizationFilter \
376 vcl/source/bitmap/BitmapSimpleColorQuantizationFilter \
377 vcl/source/bitmap/BitmapTools \
378 vcl/source/bitmap/Octree \
379 vcl/source/bitmap/salbmp \
380 vcl/source/image/Image \
381 vcl/source/image/ImageTree \
382 vcl/source/image/ImageRepository \
383 vcl/source/image/ImplImage \
384 vcl/source/image/ImplImageTree \
385 vcl/source/bitmap/BitmapFilterStackBlur \
386 vcl/source/helper/canvasbitmap \
387 vcl/source/helper/canvastools \
388 vcl/source/helper/commandinfoprovider \
389 vcl/source/helper/displayconnectiondispatch \
390 vcl/source/helper/driverblocklist \
391 vcl/source/helper/evntpost \
392 vcl/source/helper/idletask \
393 vcl/source/helper/strhelper \
394 vcl/source/helper/svtaccessiblefactory \
395 vcl/source/helper/threadex \
396 vcl/source/app/brand \
397 vcl/source/app/customweld \
398 vcl/source/app/dbggui \
399 vcl/source/app/dndhelp \
400 vcl/source/app/help \
401 vcl/source/app/i18nhelp \
402 vcl/source/app/idle \
403 vcl/source/app/salplug \
404 vcl/source/app/salusereventlist \
405 vcl/source/app/salvtables \
406 vcl/source/app/scheduler \
407 vcl/source/app/session \
408 vcl/source/app/settings \
409 vcl/source/app/IconThemeInfo \
410 vcl/source/app/IconThemeScanner \
411 vcl/source/app/IconThemeSelector \
412 vcl/source/app/ITiledRenderable \
413 vcl/source/app/sound \
414 vcl/source/app/stdtext \
415 vcl/source/app/svapp \
416 vcl/source/app/svdata \
417 vcl/source/app/svmain \
418 vcl/source/app/timer \
419 vcl/source/app/unohelp2 \
420 vcl/source/app/htmltransferable \
421 vcl/source/app/unohelp \
422 vcl/source/app/vclevent \
423 vcl/source/app/watchdog \
424 vcl/source/app/weldutils \
425 vcl/source/app/winscheduler \
426 vcl/source/components/dtranscomp \
427 vcl/source/components/factory \
428 vcl/source/components/fontident \
429 vcl/source/filter/bmp/BmpReader \
430 vcl/source/filter/bmp/BmpWriter \
431 vcl/source/filter/egif/egif \
432 vcl/source/filter/egif/giflzwc \
433 vcl/source/filter/eps/eps \
434 vcl/source/filter/etiff/etiff \
435 vcl/source/filter/FilterConfigCache \
436 vcl/source/filter/FilterConfigItem \
437 vcl/source/filter/graphicfilter \
438 vcl/source/filter/graphicfilter2 \
439 vcl/source/filter/GraphicNativeTransform \
440 vcl/source/filter/GraphicNativeMetadata \
441 vcl/source/filter/GraphicFormatDetector \
442 vcl/source/filter/idxf/dxf2mtf \
443 vcl/source/filter/idxf/dxfblkrd \
444 vcl/source/filter/idxf/dxfentrd \
445 vcl/source/filter/idxf/dxfgrprd \
446 vcl/source/filter/idxf/dxfreprd \
447 vcl/source/filter/idxf/dxftblrd \
448 vcl/source/filter/idxf/dxfvec \
449 vcl/source/filter/idxf/idxf \
450 vcl/source/filter/ieps/ieps \
451 vcl/source/filter/igif/decode \
452 vcl/source/filter/igif/gifread \
453 vcl/source/filter/imet/ios2met \
454 vcl/source/filter/ipbm/ipbm \
455 vcl/source/filter/ipcd/ipcd \
456 vcl/source/filter/ipcx/ipcx \
457 vcl/source/filter/ipict/ipict \
458 vcl/source/filter/ipsd/ipsd \
459 vcl/source/filter/ipict/shape \
460 vcl/source/filter/ipdf/pdfcompat \
461 vcl/source/filter/ipdf/pdfread \
462 vcl/source/filter/ipdf/pdfdocument \
463 vcl/source/filter/iras/iras \
464 vcl/source/filter/itga/itga \
465 vcl/source/filter/itiff/itiff \
466 vcl/source/filter/ixbm/xbmread \
467 vcl/source/filter/ixpm/xpmread \
468 vcl/source/filter/jpeg/Exif \
469 vcl/source/filter/jpeg/jpeg \
470 vcl/source/filter/jpeg/jpegc \
471 vcl/source/filter/jpeg/JpegReader \
472 vcl/source/filter/jpeg/JpegWriter \
473 vcl/source/filter/jpeg/JpegTransform \
474 vcl/source/filter/svm/SvmConverter \
475 vcl/source/filter/svm/SvmReader \
476 vcl/source/filter/svm/SvmWriter \
477 vcl/source/filter/wmf/emfwr \
478 vcl/source/filter/wmf/wmf \
479 vcl/source/filter/wmf/wmfexternal \
480 vcl/source/filter/wmf/wmfwr \
481 vcl/source/filter/png/PngImageReader \
482 vcl/source/filter/png/PngImageWriter \
483 vcl/source/filter/webp/reader \
484 vcl/source/filter/webp/writer \
485 vcl/source/font/DirectFontSubstitution \
486 vcl/source/font/EmphasisMark \
487 vcl/source/font/Feature \
488 vcl/source/font/FeatureCollector \
489 vcl/source/font/FeatureParser \
490 vcl/source/font/FontSelectPattern \
491 vcl/source/font/LogicalFontInstance \
492 vcl/source/font/OpenTypeFeatureDefinitionList \
493 vcl/source/font/PhysicalFontCollection \
494 vcl/source/font/PhysicalFontFace \
495 vcl/source/font/PhysicalFontFamily \
496 vcl/source/font/fontattributes \
497 vcl/source/font/fontcache \
498 vcl/source/font/fontcharmap \
499 vcl/source/font/fontmetric \
500 vcl/source/font/font \
501 vcl/source/fontsubset/cff \
502 vcl/source/fontsubset/fontsubset \
503 vcl/source/fontsubset/sft \
504 vcl/source/fontsubset/ttcr \
505 vcl/source/fontsubset/xlat \
506 vcl/source/pdf/PDFiumTools \
507 vcl/source/uitest/logger \
508 vcl/source/uitest/uiobject \
509 vcl/source/uitest/uitest \
510 vcl/source/uitest/uno/uiobject_uno \
511 vcl/source/uitest/uno/uitest_uno \
512 vcl/backendtest/outputdevice/bitmap \
513 vcl/backendtest/outputdevice/clip \
514 vcl/backendtest/outputdevice/common \
515 vcl/backendtest/outputdevice/gradient \
516 vcl/backendtest/outputdevice/line \
517 vcl/backendtest/outputdevice/outputdevice \
518 vcl/backendtest/outputdevice/pixel \
519 vcl/backendtest/outputdevice/polygon \
520 vcl/backendtest/outputdevice/polypolygon \
521 vcl/backendtest/outputdevice/polypolygon_b2d \
522 vcl/backendtest/outputdevice/polyline \
523 vcl/backendtest/outputdevice/polyline_b2d \
524 vcl/backendtest/outputdevice/text \
525 vcl/backendtest/outputdevice/rectangle \
526 vcl/backendtest/GraphicsRenderTests \
527 vcl/jsdialog/enabled \
528 vcl/jsdialog/jsdialogbuilder \
529 vcl/jsdialog/executor \
532 $(eval $(call gb_Library_add_cobjects,vcl,\
533 vcl/source/filter/jpeg/transupp \
536 vcl_headless_code= \
537 vcl/headless/svpframe \
538 $(if $(filter-out iOS,$(OS)), \
539 vcl/headless/svpbmp \
540 vcl/headless/svpgdi \
541 vcl/headless/SvpGraphicsBackend \
542 vcl/headless/CairoCommon \
543 vcl/headless/BitmapHelper \
545 vcl/headless/svpdummies \
546 vcl/headless/svpinst \
547 vcl/headless/svpvd \
548 vcl/unx/generic/app/gendisp \
549 vcl/unx/generic/app/geninst \
550 vcl/unx/generic/app/gensys \
552 vcl_headless_freetype_code=\
553 vcl/headless/svpprn \
554 vcl/headless/svptext \
555 vcl/unx/generic/app/gendata \
556 vcl/unx/generic/gdi/cairotextrender \
557 vcl/unx/generic/gdi/freetypetextrender \
558 vcl/unx/generic/glyphs/freetype_glyphcache \
559 vcl/unx/generic/glyphs/glyphcache \
560 vcl/unx/generic/fontmanager/fontsubst \
561 vcl/unx/generic/fontmanager/fontconfig \
562 vcl/unx/generic/fontmanager/fontmanager \
563 vcl/unx/generic/fontmanager/helper \
564 vcl/unx/generic/print/genpspgraphics \
565 vcl/unx/generic/print/genprnpsp \
566 vcl/unx/generic/print/prtsetup \
567 vcl/unx/generic/printer/jobdata \
568 vcl/unx/generic/printer/ppdparser \
570 ifeq ($(SYSTEM_LIBFIXMATH),TRUE)
571 $(eval $(call gb_Library_add_libs,vcl,\
572 $(LIBFIXMATH_LIBS) \
574 endif
576 ifeq ($(USING_X11),TRUE)
577 $(eval $(call gb_Library_add_exception_objects,vcl,\
578 vcl/unx/generic/desktopdetect/desktopdetector \
579 $(if $(ENABLE_CPDB), \
580 vcl/unx/generic/printer/cpdmgr \
584 $(eval $(call gb_Library_use_externals,vcl,\
585 dbus \
586 valgrind \
589 $(eval $(call gb_Library_add_libs,vcl,\
590 -lX11 \
591 -lXext \
593 endif # USING_X11
595 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
596 $(eval $(call gb_Library_add_libs,vcl,\
597 -lm $(UNIX_DLAPI_LIBS) \
599 endif
601 ifeq ($(DISABLE_GUI),TRUE)
602 $(eval $(call gb_Library_add_exception_objects,vcl,\
603 vcl/headless/headlessinst \
606 else # !DISABLE_GUI
608 $(eval $(call gb_Library_add_exception_objects,vcl,\
609 vcl/source/opengl/OpenGLContext \
610 vcl/source/opengl/OpenGLHelper \
611 $(if $(filter SKIA,$(BUILD_TYPE)), \
612 vcl/skia/salbmp \
613 vcl/skia/zone \
614 vcl/skia/gdiimpl \
616 $(if $(filter LINUX SOLARIS %BSD,$(OS)), \
617 vcl/unx/generic/window/sessioninhibitor \
621 $(eval $(call gb_Library_use_externals,vcl,\
622 epoxy \
623 $(if $(filter SKIA,$(BUILD_TYPE)),skia) \
625 endif # !DISABLE_GUI
629 # * plugin loader: used on all platforms except iOS and Android
630 # * select headless code and corresponding libraries
632 $(eval $(call gb_Library_add_exception_objects,vcl,\
633 $(if $(USE_HEADLESS_CODE), \
634 $(if $(ENABLE_CUPS), \
635 vcl/unx/generic/printer/cupsmgr \
637 $(if $(filter TRUE,$(ENABLE_CPDB) $(ENABLE_CUPS)),\
638 vcl/unx/generic/printer/printerinfomanager \
640 vcl/null/printerinfomanager \
642 $(vcl_headless_code) \
643 $(vcl_headless_freetype_code) \
645 vcl/source/pdf/$(if $(filter PDFIUM,$(BUILD_TYPE)),,Dummy)PDFiumLibrary \
648 # fontconfig depends on expat for static builds
649 $(eval $(call gb_Library_use_externals,vcl,\
650 $(if $(USE_HEADLESS_CODE), \
651 cairo \
652 $(if $(ENABLE_CPDB),cpdb) \
653 $(if $(ENABLE_CUPS),cups) \
654 fontconfig \
655 freetype \
657 $(if $(filter PDFIUM,$(BUILD_TYPE)),pdfium) \
660 $(eval $(call gb_Library_add_libs,vcl,\
661 $(if $(filter LINUX %BSD SOLARIS,$(OS)), \
662 -lm \
663 $(if $(DISABLE_DYNLOADING),,$(UNIX_DLAPI_LIBS)) \
669 # OS specific stuff not handled yet
672 ifeq ($(OS),HAIKU)
673 $(eval $(call gb_Library_add_libs,vcl,\
674 -lbe \
676 endif
679 ifeq ($(OS),ANDROID)
680 $(eval $(call gb_Library_add_libs,vcl,\
681 -llog \
682 -landroid \
683 -llo-bootstrap \
685 $(eval $(call gb_Library_add_exception_objects,vcl,\
686 vcl/android/androidinst \
688 endif
691 ifeq ($(OS),iOS)
692 $(eval $(call gb_Library_add_cxxflags,vcl,\
693 $(gb_OBJCXXFLAGS) \
695 $(eval $(call gb_Library_add_objcxxobjects,vcl,\
696 vcl/quartz/cgutils \
698 $(eval $(call gb_Library_add_exception_objects,vcl,\
699 vcl/ios/iosinst \
700 vcl/ios/dummies \
701 vcl/ios/clipboard \
702 vcl/ios/salios \
703 vcl/ios/iOSTransferable \
704 vcl/ios/DataFlavorMapping \
705 vcl/ios/HtmlFmtFlt \
706 vcl/quartz/CoreTextFont \
707 vcl/quartz/CoreTextFontFace \
708 vcl/quartz/SystemFontList \
709 vcl/quartz/salbmp \
710 vcl/quartz/salgdi \
711 vcl/quartz/salgdicommon \
712 vcl/quartz/salvd \
713 vcl/quartz/utils \
714 vcl/quartz/AquaGraphicsBackend \
715 $(vcl_headless_code) \
716 vcl/unx/generic/app/gendata \
718 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
719 UIKit \
720 CoreFoundation \
722 endif
725 ifeq ($(OS),MACOSX)
726 $(eval $(call gb_Library_add_objcxxobjects,vcl,\
727 vcl/quartz/cgutils \
728 $(if $(filter SKIA,$(BUILD_TYPE)), \
729 vcl/skia/quartz/salbmp \
732 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
733 Cocoa \
734 CoreFoundation \
735 Metal \
737 endif
740 ifeq ($(OS),WNT)
741 $(eval $(call gb_Library_add_exception_objects,vcl,\
742 vcl/source/opengl/win/WinDeviceInfo \
743 vcl/win/app/fileregistration \
746 $(eval $(call gb_Library_use_system_win32_libs,vcl,\
747 ole32 \
748 setupapi \
749 version \
752 $(eval $(call gb_Library_add_nativeres,vcl,vcl/salsrc))
754 # HACK: dependency on icon themes so running unit tests don't
755 # prevent delivering these by having open file handles on WNT
756 $(eval $(call gb_Library_use_packages,vcl, \
757 vcl_opengl_denylist \
758 $(if $(filter host,$(gb_Side)),postprocess_images) \
760 endif # WNT
762 # vim: set noet sw=4 ts=4: