Update git submodules
[LibreOffice.git] / vcl / Library_vcl.mk
blobfb9687dc47c0a036921d7945ca4029e819749090
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 -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_LIBFIXMATH),-DSYSTEM_LIBFIXMATH) \
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 drawinglayercore \
67 i18nlangtag \
68 i18nutil \
69 $(if $(ENABLE_JAVA),jvmaccess) \
70 $(if $(filter OPENCL,$(BUILD_TYPE)),opencl) \
71 sal \
72 salhelper \
73 sot \
74 svl \
75 tl \
76 ucbhelper \
77 utl \
78 xmlreader \
81 $(eval $(call gb_Library_use_externals,vcl,\
82 boost_headers \
83 expat \
84 frozen \
85 gio \
86 graphite \
87 harfbuzz \
88 icu_headers \
89 icuuc \
90 lcms2 \
91 libeot \
92 libjpeg \
93 libpng \
94 libtiff \
95 libwebp \
98 $(eval $(call gb_Library_add_exception_objects,vcl,\
99 vcl/source/rendercontext/drawmode \
100 vcl/skia/SkiaHelper \
101 vcl/source/accessibility/AccessibleTextAttributeHelper \
102 vcl/source/animate/Animation \
103 vcl/source/animate/AnimationFrame \
104 vcl/source/animate/AnimationRenderer \
105 vcl/source/cnttype/mcnttfactory \
106 vcl/source/cnttype/mcnttype \
107 vcl/source/printer/Options \
108 vcl/source/printer/QueueInfo \
109 vcl/source/window/bubblewindow \
110 vcl/source/window/errinf \
111 vcl/source/window/settings \
112 vcl/source/window/paint \
113 vcl/source/window/abstdlg \
114 vcl/source/window/accel \
115 vcl/source/window/accmgr \
116 vcl/source/window/brdwin \
117 vcl/source/window/bufferdevice \
118 vcl/source/window/accessibility \
119 vcl/source/window/legacyaccessibility \
120 vcl/source/window/clipping \
121 vcl/source/window/stacking \
122 vcl/source/window/debug \
123 vcl/source/window/globalization \
124 vcl/source/window/builder \
125 vcl/source/window/commandevent \
126 vcl/source/window/cursor \
127 vcl/source/window/debugevent \
128 vcl/source/window/decoview \
129 vcl/source/window/dialog \
130 vcl/source/window/dlgctrl \
131 vcl/source/window/dndeventdispatcher \
132 vcl/source/window/dndlistenercontainer \
133 vcl/source/window/dockingarea \
134 vcl/source/window/dockmgr \
135 vcl/source/window/dockwin \
136 vcl/source/window/DocWindow \
137 vcl/source/window/event \
138 vcl/source/window/floatwin \
139 $(if $(ENABLE_WASM_STRIP_SPLASH),,vcl/source/window/introwin) \
140 vcl/source/window/keycod \
141 vcl/source/window/keyevent \
142 vcl/source/window/layout \
143 vcl/source/window/menu \
144 vcl/source/window/menubarwindow \
145 vcl/source/window/menufloatingwindow \
146 vcl/source/window/menuitemlist \
147 vcl/source/window/menuwindow \
148 vcl/source/window/mnemonic \
149 vcl/source/window/mouse \
150 vcl/source/window/NotebookBarAddonsMerger \
151 vcl/source/window/OptionalBox \
152 vcl/source/window/printdlg \
153 vcl/source/window/scrwnd \
154 vcl/source/window/seleng \
155 vcl/source/window/split \
156 vcl/source/window/splitwin \
157 vcl/source/window/status \
158 vcl/source/window/syschild \
159 vcl/source/window/syswin \
160 vcl/source/window/tabdlg \
161 vcl/source/window/tabpage \
162 vcl/source/window/taskpanelist \
163 vcl/source/window/toolbox2 \
164 vcl/source/window/toolbox \
165 vcl/source/window/window2 \
166 vcl/source/window/window3 \
167 vcl/source/window/window \
168 vcl/source/window/winproc \
169 vcl/source/window/wrkwin \
170 vcl/source/window/EnumContext \
171 vcl/source/control/button \
172 vcl/source/control/calendar \
173 vcl/source/control/combobox \
174 vcl/source/control/ctrl \
175 vcl/source/control/ContextVBox \
176 vcl/source/control/DropdownBox \
177 vcl/source/control/edit \
178 vcl/source/control/field2 \
179 vcl/source/control/field \
180 vcl/source/control/fixed \
181 vcl/source/control/fixedhyper \
182 vcl/source/control/hyperlabel \
183 vcl/source/control/fmtfield \
184 vcl/source/control/InterimItemWindow \
185 vcl/source/control/imgctrl \
186 vcl/source/control/imivctl1 \
187 vcl/source/control/imivctl2 \
188 vcl/source/control/ivctrl \
189 vcl/source/control/longcurr \
190 vcl/source/control/imp_listbox \
191 vcl/source/control/listbox \
192 vcl/source/control/managedmenubutton \
193 vcl/source/control/menubtn \
194 vcl/source/control/NotebookbarPopup \
195 vcl/source/control/PriorityHBox \
196 vcl/source/control/PriorityMergedHBox \
197 vcl/source/control/notebookbar \
198 vcl/source/control/WeldedTabbedNotebookbar \
199 vcl/source/control/quickselectionengine \
200 vcl/source/control/prgsbar \
201 vcl/source/control/roadmap \
202 vcl/source/control/roadmapwizard \
203 vcl/source/control/scrbar \
204 vcl/source/control/slider \
205 vcl/source/control/spinbtn \
206 vcl/source/control/spinfld \
207 vcl/source/control/tabctrl \
208 vcl/source/control/throbber \
209 vcl/source/control/wizardmachine \
210 vcl/source/edit/vclmedit \
211 vcl/source/edit/textdata \
212 vcl/source/edit/textdoc \
213 vcl/source/edit/texteng \
214 vcl/source/edit/textundo \
215 vcl/source/edit/textview \
216 vcl/source/edit/txtattr \
217 vcl/source/edit/xtextedt \
218 vcl/source/toolkit/group \
219 vcl/source/toolkit/morebtn \
220 vcl/source/outdev/background \
221 vcl/source/outdev/eps \
222 vcl/source/outdev/outdev \
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/TextLayoutCache \
247 vcl/source/text/textlayout \
248 vcl/source/treelist/headbar \
249 vcl/source/treelist/iconview \
250 vcl/source/treelist/iconviewimpl \
251 vcl/source/treelist/imap \
252 vcl/source/treelist/imap2 \
253 vcl/source/treelist/imap3 \
254 vcl/source/treelist/inetimg \
255 vcl/source/treelist/svtabbx \
256 vcl/source/treelist/transfer \
257 vcl/source/treelist/transfer2 \
258 vcl/source/treelist/viewdataentry \
259 vcl/source/treelist/treelist \
260 vcl/source/treelist/treelistbox \
261 vcl/source/treelist/treelistentry \
262 vcl/source/treelist/svimpbox \
263 vcl/source/treelist/svlbitm \
264 vcl/source/treelist/uiobject \
265 vcl/source/text/ImplLayoutRuns \
266 vcl/source/text/mnemonic \
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/GraphicReader \
324 vcl/source/graphic/Manager \
325 vcl/source/graphic/UnoBinaryDataContainer \
326 vcl/source/graphic/UnoGraphic \
327 vcl/source/graphic/UnoGraphicMapper \
328 vcl/source/graphic/UnoGraphicDescriptor \
329 vcl/source/graphic/UnoGraphicObject \
330 vcl/source/graphic/UnoGraphicProvider \
331 vcl/source/graphic/VectorGraphicSearch \
332 vcl/source/graphic/VectorGraphicLoader \
333 vcl/source/bitmap/impvect \
334 vcl/source/bitmap/bitmap \
335 vcl/source/bitmap/bitmappalette \
336 vcl/source/bitmap/BitmapEx \
337 vcl/source/bitmap/BitmapInfoAccess \
338 vcl/source/bitmap/BitmapReadAccess \
339 vcl/source/bitmap/BitmapWriteAccess \
340 vcl/source/bitmap/alpha \
341 vcl/source/bitmap/dibtools \
342 vcl/source/bitmap/bmpfast \
343 vcl/source/bitmap/bitmapfilter \
344 vcl/source/bitmap/bitmappaint \
345 vcl/source/bitmap/BitmapShadowFilter \
346 vcl/source/bitmap/BitmapAlphaClampFilter \
347 vcl/source/bitmap/BitmapBasicMorphologyFilter \
348 vcl/source/bitmap/BitmapMaskToAlphaFilter \
349 vcl/source/bitmap/BitmapMonochromeFilter \
350 vcl/source/bitmap/BitmapSmoothenFilter \
351 vcl/source/bitmap/BitmapLightenFilter \
352 vcl/source/bitmap/BitmapDisabledImageFilter \
353 vcl/source/bitmap/BitmapColorizeFilter \
354 vcl/source/bitmap/BitmapGaussianSeparableBlurFilter \
355 vcl/source/bitmap/BitmapSobelGreyFilter \
356 vcl/source/bitmap/BitmapSolarizeFilter \
357 vcl/source/bitmap/BitmapSepiaFilter \
358 vcl/source/bitmap/BitmapMosaicFilter \
359 vcl/source/bitmap/BitmapEmbossGreyFilter \
360 vcl/source/bitmap/BitmapPopArtFilter \
361 vcl/source/bitmap/BitmapDuoToneFilter \
362 vcl/source/bitmap/BitmapConvolutionMatrixFilter \
363 vcl/source/bitmap/BitmapMedianFilter \
364 vcl/source/bitmap/BitmapInterpolateScaleFilter \
365 vcl/source/bitmap/BitmapSeparableUnsharpenFilter \
366 vcl/source/bitmap/BitmapFastScaleFilter \
367 vcl/source/bitmap/BitmapScaleSuperFilter \
368 vcl/source/bitmap/BitmapScaleConvolutionFilter \
369 vcl/source/bitmap/BitmapSymmetryCheck \
370 vcl/source/bitmap/BitmapColorQuantizationFilter \
371 vcl/source/bitmap/BitmapSimpleColorQuantizationFilter \
372 vcl/source/bitmap/BitmapTools \
373 vcl/source/bitmap/Octree \
374 vcl/source/bitmap/salbmp \
375 vcl/source/image/Image \
376 vcl/source/image/ImageTree \
377 vcl/source/image/ImageRepository \
378 vcl/source/image/ImplImage \
379 vcl/source/image/ImplImageTree \
380 vcl/source/bitmap/BitmapFilterStackBlur \
381 vcl/source/helper/canvasbitmap \
382 vcl/source/helper/canvastools \
383 vcl/source/helper/commandinfoprovider \
384 vcl/source/helper/displayconnectiondispatch \
385 vcl/source/helper/driverblocklist \
386 vcl/source/helper/evntpost \
387 vcl/source/helper/idletask \
388 vcl/source/helper/lazydelete \
389 vcl/source/helper/strhelper \
390 vcl/source/helper/svtaccessiblefactory \
391 vcl/source/helper/threadex \
392 vcl/source/app/brand \
393 vcl/source/app/customweld \
394 vcl/source/app/dbggui \
395 vcl/source/app/dndhelp \
396 vcl/source/app/help \
397 vcl/source/app/i18nhelp \
398 vcl/source/app/idle \
399 vcl/source/app/salplug \
400 vcl/source/app/salusereventlist \
401 vcl/source/app/salvtables \
402 vcl/source/app/scheduler \
403 vcl/source/app/session \
404 vcl/source/app/settings \
405 vcl/source/app/IconThemeInfo \
406 vcl/source/app/IconThemeScanner \
407 vcl/source/app/IconThemeSelector \
408 vcl/source/app/ITiledRenderable \
409 vcl/source/app/sound \
410 vcl/source/app/stdtext \
411 vcl/source/app/svapp \
412 vcl/source/app/svdata \
413 vcl/source/app/svmain \
414 vcl/source/app/timer \
415 vcl/source/app/unohelp2 \
416 vcl/source/app/htmltransferable \
417 vcl/source/app/unohelp \
418 vcl/source/app/vclevent \
419 vcl/source/app/watchdog \
420 vcl/source/app/weldutils \
421 vcl/source/app/winscheduler \
422 vcl/source/components/dtranscomp \
423 vcl/source/components/factory \
424 vcl/source/components/fontident \
425 vcl/source/filter/bmp/BmpReader \
426 vcl/source/filter/bmp/BmpWriter \
427 vcl/source/filter/egif/egif \
428 vcl/source/filter/egif/giflzwc \
429 vcl/source/filter/eps/eps \
430 vcl/source/filter/etiff/etiff \
431 vcl/source/filter/FilterConfigCache \
432 vcl/source/filter/FilterConfigItem \
433 vcl/source/filter/graphicfilter \
434 vcl/source/filter/graphicfilter2 \
435 vcl/source/filter/GraphicNativeTransform \
436 vcl/source/filter/GraphicNativeMetadata \
437 vcl/source/filter/GraphicFormatDetector \
438 vcl/source/filter/idxf/dxf2mtf \
439 vcl/source/filter/idxf/dxfblkrd \
440 vcl/source/filter/idxf/dxfentrd \
441 vcl/source/filter/idxf/dxfgrprd \
442 vcl/source/filter/idxf/dxfreprd \
443 vcl/source/filter/idxf/dxftblrd \
444 vcl/source/filter/idxf/dxfvec \
445 vcl/source/filter/idxf/idxf \
446 vcl/source/filter/ieps/ieps \
447 vcl/source/filter/igif/decode \
448 vcl/source/filter/igif/gifread \
449 vcl/source/filter/imet/ios2met \
450 vcl/source/filter/ipbm/ipbm \
451 vcl/source/filter/ipcd/ipcd \
452 vcl/source/filter/ipcx/ipcx \
453 vcl/source/filter/ipict/ipict \
454 vcl/source/filter/ipsd/ipsd \
455 vcl/source/filter/ipict/shape \
456 vcl/source/filter/ipdf/pdfcompat \
457 vcl/source/filter/ipdf/pdfread \
458 vcl/source/filter/ipdf/pdfdocument \
459 vcl/source/filter/iras/iras \
460 vcl/source/filter/itga/itga \
461 vcl/source/filter/itiff/itiff \
462 vcl/source/filter/ixbm/xbmread \
463 vcl/source/filter/ixpm/xpmread \
464 vcl/source/filter/jpeg/Exif \
465 vcl/source/filter/jpeg/jpeg \
466 vcl/source/filter/jpeg/jpegc \
467 vcl/source/filter/jpeg/JpegReader \
468 vcl/source/filter/jpeg/JpegWriter \
469 vcl/source/filter/jpeg/JpegTransform \
470 vcl/source/filter/svm/SvmConverter \
471 vcl/source/filter/svm/SvmReader \
472 vcl/source/filter/svm/SvmWriter \
473 vcl/source/filter/wmf/emfwr \
474 vcl/source/filter/wmf/wmf \
475 vcl/source/filter/wmf/wmfexternal \
476 vcl/source/filter/wmf/wmfwr \
477 vcl/source/filter/png/PngImageReader \
478 vcl/source/filter/png/PngImageWriter \
479 vcl/source/filter/webp/reader \
480 vcl/source/filter/webp/writer \
481 vcl/source/font/DirectFontSubstitution \
482 vcl/source/font/EmphasisMark \
483 vcl/source/font/Feature \
484 vcl/source/font/FeatureCollector \
485 vcl/source/font/FeatureParser \
486 vcl/source/font/FontSelectPattern \
487 vcl/source/font/LogicalFontInstance \
488 vcl/source/font/OpenTypeFeatureDefinitionList \
489 vcl/source/font/PhysicalFontCollection \
490 vcl/source/font/PhysicalFontFace \
491 vcl/source/font/PhysicalFontFamily \
492 vcl/source/font/fontattributes \
493 vcl/source/font/fontcache \
494 vcl/source/font/fontcharmap \
495 vcl/source/font/fontmetric \
496 vcl/source/font/font \
497 vcl/source/fontsubset/cff \
498 vcl/source/fontsubset/fontsubset \
499 vcl/source/fontsubset/sft \
500 vcl/source/fontsubset/ttcr \
501 vcl/source/fontsubset/xlat \
502 vcl/source/pdf/PDFiumTools \
503 vcl/source/uitest/logger \
504 vcl/source/uitest/uiobject \
505 vcl/source/uitest/uitest \
506 vcl/source/uitest/uno/uiobject_uno \
507 vcl/source/uitest/uno/uitest_uno \
508 vcl/backendtest/outputdevice/bitmap \
509 vcl/backendtest/outputdevice/clip \
510 vcl/backendtest/outputdevice/common \
511 vcl/backendtest/outputdevice/gradient \
512 vcl/backendtest/outputdevice/line \
513 vcl/backendtest/outputdevice/outputdevice \
514 vcl/backendtest/outputdevice/pixel \
515 vcl/backendtest/outputdevice/polygon \
516 vcl/backendtest/outputdevice/polypolygon \
517 vcl/backendtest/outputdevice/polypolygon_b2d \
518 vcl/backendtest/outputdevice/polyline \
519 vcl/backendtest/outputdevice/polyline_b2d \
520 vcl/backendtest/outputdevice/text \
521 vcl/backendtest/outputdevice/rectangle \
522 vcl/backendtest/GraphicsRenderTests \
523 vcl/jsdialog/enabled \
524 vcl/jsdialog/jsdialogbuilder \
525 vcl/jsdialog/executor \
528 $(eval $(call gb_Library_add_cobjects,vcl,\
529 vcl/source/filter/jpeg/transupp \
532 vcl_headless_code= \
533 vcl/headless/svpframe \
534 $(if $(filter-out iOS,$(OS)), \
535 vcl/headless/svpbmp \
536 vcl/headless/svpgdi \
537 vcl/headless/SvpGraphicsBackend \
538 vcl/headless/CairoCommon \
539 vcl/headless/BitmapHelper \
541 vcl/headless/svpdummies \
542 vcl/headless/svpinst \
543 vcl/headless/svpvd \
544 vcl/unx/generic/app/gendisp \
545 vcl/unx/generic/app/geninst \
546 vcl/unx/generic/app/gensys \
548 vcl_headless_freetype_code=\
549 vcl/headless/svpprn \
550 vcl/headless/svptext \
551 vcl/unx/generic/app/gendata \
552 vcl/unx/generic/gdi/cairotextrender \
553 vcl/unx/generic/gdi/freetypetextrender \
554 vcl/unx/generic/glyphs/freetype_glyphcache \
555 vcl/unx/generic/glyphs/glyphcache \
556 vcl/unx/generic/fontmanager/fontsubst \
557 vcl/unx/generic/fontmanager/fontconfig \
558 vcl/unx/generic/fontmanager/fontmanager \
559 vcl/unx/generic/fontmanager/helper \
560 vcl/unx/generic/print/genpspgraphics \
561 vcl/unx/generic/print/genprnpsp \
562 vcl/unx/generic/print/prtsetup \
563 vcl/unx/generic/printer/jobdata \
564 vcl/unx/generic/printer/ppdparser \
566 ifeq ($(SYSTEM_LIBFIXMATH),TRUE)
567 $(eval $(call gb_Library_add_libs,vcl,\
568 -llibfixmath \
570 endif
572 ifeq ($(USING_X11),TRUE)
573 $(eval $(call gb_Library_add_exception_objects,vcl,\
574 vcl/unx/generic/window/sessioninhibitor \
575 vcl/unx/generic/printer/cpdmgr \
578 $(eval $(call gb_Library_use_externals,vcl,\
579 dbus \
580 valgrind \
583 $(eval $(call gb_Library_add_libs,vcl,\
584 -lX11 \
585 -lXext \
587 endif # USING_X11
590 ifeq ($(DISABLE_GUI),TRUE)
591 $(eval $(call gb_Library_add_exception_objects,vcl,\
592 vcl/headless/headlessinst \
595 else # !DISABLE_GUI
597 $(eval $(call gb_Library_add_exception_objects,vcl,\
598 vcl/source/opengl/OpenGLContext \
599 vcl/source/opengl/OpenGLHelper \
600 $(if $(filter SKIA,$(BUILD_TYPE)), \
601 vcl/skia/salbmp \
602 vcl/skia/zone \
603 vcl/skia/gdiimpl \
607 $(eval $(call gb_Library_use_externals,vcl,\
608 epoxy \
609 $(if $(filter SKIA,$(BUILD_TYPE)),skia) \
611 endif # !DISABLE_GUI
615 # * plugin loader: used on all platforms except iOS and Android
616 # * select headless code and corresponding libraries
618 $(eval $(call gb_Library_add_exception_objects,vcl,\
619 $(if $(USE_HEADLESS_CODE), \
620 $(if $(ENABLE_CUPS), \
621 vcl/unx/generic/printer/cupsmgr \
622 vcl/unx/generic/printer/printerinfomanager \
624 vcl/null/printerinfomanager \
626 $(vcl_headless_code) \
627 $(vcl_headless_freetype_code) \
629 vcl/source/pdf/$(if $(filter PDFIUM,$(BUILD_TYPE)),,Dummy)PDFiumLibrary \
632 # fontconfig depends on expat for static builds
633 $(eval $(call gb_Library_use_externals,vcl,\
634 $(if $(USE_HEADLESS_CODE), \
635 cairo \
636 $(if $(ENABLE_CUPS),cups) \
637 fontconfig \
638 freetype \
640 $(if $(filter PDFIUM,$(BUILD_TYPE)),pdfium) \
643 $(eval $(call gb_Library_add_libs,vcl,\
644 $(if $(filter LINUX %BSD SOLARIS,$(OS)), \
645 -lm \
646 $(if $(DISABLE_DYNLOADING),,$(UNIX_DLAPI_LIBS)) \
652 # OS specific stuff not handled yet
655 ifeq ($(OS),HAIKU)
656 $(eval $(call gb_Library_add_libs,vcl,\
657 -lbe \
659 endif
662 ifeq ($(OS),ANDROID)
663 $(eval $(call gb_Library_add_libs,vcl,\
664 -llog \
665 -landroid \
666 -llo-bootstrap \
668 $(eval $(call gb_Library_add_exception_objects,vcl,\
669 vcl/android/androidinst \
671 endif
674 ifeq ($(OS),iOS)
675 $(eval $(call gb_Library_add_cxxflags,vcl,\
676 $(gb_OBJCXXFLAGS) \
678 $(eval $(call gb_Library_add_objcxxobjects,vcl,\
679 vcl/quartz/cgutils \
681 $(eval $(call gb_Library_add_exception_objects,vcl,\
682 vcl/ios/iosinst \
683 vcl/ios/dummies \
684 vcl/ios/clipboard \
685 vcl/ios/salios \
686 vcl/ios/iOSTransferable \
687 vcl/ios/DataFlavorMapping \
688 vcl/ios/HtmlFmtFlt \
689 vcl/quartz/CoreTextFont \
690 vcl/quartz/CoreTextFontFace \
691 vcl/quartz/SystemFontList \
692 vcl/quartz/salbmp \
693 vcl/quartz/salgdi \
694 vcl/quartz/salgdicommon \
695 vcl/quartz/salvd \
696 vcl/quartz/utils \
697 vcl/quartz/AquaGraphicsBackend \
698 $(vcl_headless_code) \
699 vcl/unx/generic/app/gendata \
701 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
702 UIKit \
703 CoreFoundation \
705 endif
708 ifeq ($(OS),MACOSX)
709 $(eval $(call gb_Library_add_objcxxobjects,vcl,\
710 vcl/quartz/cgutils \
711 $(if $(filter SKIA,$(BUILD_TYPE)), \
712 vcl/skia/quartz/salbmp \
715 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
716 Cocoa \
717 CoreFoundation \
718 Metal \
720 endif
723 ifeq ($(OS),WNT)
724 $(eval $(call gb_Library_add_exception_objects,vcl,\
725 vcl/source/opengl/win/WinDeviceInfo \
726 vcl/win/app/fileregistration \
729 $(eval $(call gb_Library_use_system_win32_libs,vcl,\
730 ole32 \
731 setupapi \
732 version \
735 $(eval $(call gb_Library_add_nativeres,vcl,vcl/salsrc))
737 # HACK: dependency on icon themes so running unit tests don't
738 # prevent delivering these by having open file handles on WNT
739 $(eval $(call gb_Library_use_packages,vcl, \
740 vcl_opengl_denylist \
741 $(if $(filter host,$(gb_Side)),postprocess_images) \
743 endif # WNT
745 # vim: set noet sw=4 ts=4: