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