Fix typo
[LibreOffice.git] / vcl / Library_vcl.mk
blob1bdb0fa700e5fa7bbd5132dd258660f760218b2d
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/stack \
223 vcl/source/outdev/clipping \
224 vcl/source/outdev/fill \
225 vcl/source/outdev/polygon \
226 vcl/source/outdev/transparent \
227 vcl/source/outdev/mask \
228 vcl/source/outdev/bitmap \
229 vcl/source/outdev/bitmapex \
230 vcl/source/outdev/font \
231 vcl/source/outdev/text \
232 vcl/source/outdev/textline \
233 vcl/source/outdev/pixel \
234 vcl/source/outdev/rect \
235 vcl/source/outdev/line \
236 vcl/source/outdev/polyline \
237 vcl/source/outdev/hatch \
238 vcl/source/outdev/gradient \
239 vcl/source/outdev/curvedshapes \
240 vcl/source/outdev/wallpaper \
241 vcl/source/outdev/vclreferencebase \
242 vcl/source/outdev/nativecontrols \
243 vcl/source/outdev/map \
244 vcl/source/text/ImplLayoutArgs \
245 vcl/source/text/TextLayoutCache \
246 vcl/source/text/textlayout \
247 vcl/source/treelist/headbar \
248 vcl/source/treelist/iconview \
249 vcl/source/treelist/iconviewimpl \
250 vcl/source/treelist/imap \
251 vcl/source/treelist/imap2 \
252 vcl/source/treelist/imap3 \
253 vcl/source/treelist/inetimg \
254 vcl/source/treelist/svtabbx \
255 vcl/source/treelist/transfer \
256 vcl/source/treelist/transfer2 \
257 vcl/source/treelist/viewdataentry \
258 vcl/source/treelist/treelist \
259 vcl/source/treelist/treelistbox \
260 vcl/source/treelist/treelistentry \
261 vcl/source/treelist/svimpbox \
262 vcl/source/treelist/svlbitm \
263 vcl/source/treelist/uiobject \
264 vcl/source/text/ImplLayoutRuns \
265 vcl/source/text/mnemonic \
266 vcl/source/gdi/formpdfexport \
267 vcl/source/gdi/configsettings \
268 vcl/source/gdi/cvtgrf \
269 vcl/source/gdi/embeddedfontshelper \
270 vcl/source/gdi/FileDefinitionWidgetDraw \
271 vcl/source/gdi/WidgetDefinitionReader \
272 vcl/source/gdi/WidgetDefinition \
273 vcl/source/gdi/extoutdevdata \
274 vcl/source/gdi/gdimtf \
275 vcl/source/gdi/mtfxmldump \
276 vcl/source/gdi/gdimetafiletools \
277 vcl/source/gdi/gfxlink \
278 vcl/source/gdi/gradient \
279 vcl/source/gdi/graph \
280 vcl/source/gdi/graphictools \
281 vcl/source/gdi/hatch \
282 vcl/source/gdi/impglyphitem \
283 vcl/source/gdi/impgraph \
284 vcl/source/gdi/jobset \
285 vcl/source/gdi/lineinfo \
286 vcl/source/gdi/mapmod \
287 vcl/source/gdi/metaact \
288 vcl/source/gdi/oldprintadaptor \
289 vcl/source/gdi/pdfbuildin_fonts \
290 vcl/source/gdi/pdfextoutdevdata \
291 vcl/source/gdi/pdfwriter \
292 vcl/source/gdi/pdfwriter_impl2 \
293 vcl/source/gdi/pdfwriter_impl \
294 vcl/source/gdi/pdfobjectcopier \
295 vcl/source/gdi/print2 \
296 vcl/source/gdi/print3 \
297 vcl/source/gdi/print \
298 vcl/source/gdi/regband \
299 vcl/source/gdi/region \
300 vcl/source/gdi/regionband \
301 vcl/source/gdi/salgdilayout \
302 vcl/source/gdi/salgdiimpl \
303 vcl/source/gdi/sallayout \
304 vcl/source/gdi/salmisc \
305 vcl/source/gdi/vectorgraphicdata \
306 vcl/source/gdi/virdev \
307 vcl/source/gdi/wall \
308 vcl/source/gdi/scrptrun \
309 vcl/source/gdi/CommonSalLayout \
310 vcl/source/gdi/TypeSerializer \
311 vcl/source/pdf/PdfConfig \
312 vcl/source/pdf/ResourceDict \
313 vcl/source/pdf/Matrix3 \
314 vcl/source/pdf/XmpMetadata \
315 vcl/source/pdf/ExternalPDFStreams \
316 vcl/source/graphic/BinaryDataContainer \
317 vcl/source/graphic/BinaryDataContainerTools \
318 vcl/source/graphic/GraphicID \
319 vcl/source/graphic/GraphicLoader \
320 vcl/source/graphic/GraphicObject \
321 vcl/source/graphic/GraphicObject2 \
322 vcl/source/graphic/GraphicReader \
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/impvect \
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/BitmapShadowFilter \
345 vcl/source/bitmap/BitmapAlphaClampFilter \
346 vcl/source/bitmap/BitmapBasicMorphologyFilter \
347 vcl/source/bitmap/BitmapMaskToAlphaFilter \
348 vcl/source/bitmap/BitmapMonochromeFilter \
349 vcl/source/bitmap/BitmapSmoothenFilter \
350 vcl/source/bitmap/BitmapLightenFilter \
351 vcl/source/bitmap/BitmapDisabledImageFilter \
352 vcl/source/bitmap/BitmapColorizeFilter \
353 vcl/source/bitmap/BitmapGaussianSeparableBlurFilter \
354 vcl/source/bitmap/BitmapSobelGreyFilter \
355 vcl/source/bitmap/BitmapSolarizeFilter \
356 vcl/source/bitmap/BitmapSepiaFilter \
357 vcl/source/bitmap/BitmapMosaicFilter \
358 vcl/source/bitmap/BitmapEmbossGreyFilter \
359 vcl/source/bitmap/BitmapPopArtFilter \
360 vcl/source/bitmap/BitmapDuoToneFilter \
361 vcl/source/bitmap/BitmapConvolutionMatrixFilter \
362 vcl/source/bitmap/BitmapMedianFilter \
363 vcl/source/bitmap/BitmapInterpolateScaleFilter \
364 vcl/source/bitmap/BitmapSeparableUnsharpenFilter \
365 vcl/source/bitmap/BitmapFastScaleFilter \
366 vcl/source/bitmap/BitmapScaleSuperFilter \
367 vcl/source/bitmap/BitmapScaleConvolutionFilter \
368 vcl/source/bitmap/BitmapSymmetryCheck \
369 vcl/source/bitmap/BitmapColorQuantizationFilter \
370 vcl/source/bitmap/BitmapSimpleColorQuantizationFilter \
371 vcl/source/bitmap/BitmapTools \
372 vcl/source/bitmap/Octree \
373 vcl/source/bitmap/salbmp \
374 vcl/source/image/Image \
375 vcl/source/image/ImageTree \
376 vcl/source/image/ImageRepository \
377 vcl/source/image/ImplImage \
378 vcl/source/image/ImplImageTree \
379 vcl/source/bitmap/BitmapFilterStackBlur \
380 vcl/source/helper/canvasbitmap \
381 vcl/source/helper/canvastools \
382 vcl/source/helper/commandinfoprovider \
383 vcl/source/helper/displayconnectiondispatch \
384 vcl/source/helper/driverblocklist \
385 vcl/source/helper/evntpost \
386 vcl/source/helper/idletask \
387 vcl/source/helper/lazydelete \
388 vcl/source/helper/strhelper \
389 vcl/source/helper/svtaccessiblefactory \
390 vcl/source/helper/threadex \
391 vcl/source/app/brand \
392 vcl/source/app/customweld \
393 vcl/source/app/dbggui \
394 vcl/source/app/dndhelp \
395 vcl/source/app/help \
396 vcl/source/app/i18nhelp \
397 vcl/source/app/idle \
398 vcl/source/app/salplug \
399 vcl/source/app/salusereventlist \
400 vcl/source/app/salvtables \
401 vcl/source/app/scheduler \
402 vcl/source/app/session \
403 vcl/source/app/settings \
404 vcl/source/app/IconThemeInfo \
405 vcl/source/app/IconThemeScanner \
406 vcl/source/app/IconThemeSelector \
407 vcl/source/app/ITiledRenderable \
408 vcl/source/app/sound \
409 vcl/source/app/stdtext \
410 vcl/source/app/svapp \
411 vcl/source/app/svdata \
412 vcl/source/app/svmain \
413 vcl/source/app/timer \
414 vcl/source/app/unohelp2 \
415 vcl/source/app/htmltransferable \
416 vcl/source/app/unohelp \
417 vcl/source/app/vclevent \
418 vcl/source/app/watchdog \
419 vcl/source/app/weldutils \
420 vcl/source/app/winscheduler \
421 vcl/source/components/dtranscomp \
422 vcl/source/components/factory \
423 vcl/source/components/fontident \
424 vcl/source/filter/bmp/BmpReader \
425 vcl/source/filter/bmp/BmpWriter \
426 vcl/source/filter/egif/egif \
427 vcl/source/filter/egif/giflzwc \
428 vcl/source/filter/eps/eps \
429 vcl/source/filter/etiff/etiff \
430 vcl/source/filter/FilterConfigCache \
431 vcl/source/filter/FilterConfigItem \
432 vcl/source/filter/graphicfilter \
433 vcl/source/filter/graphicfilter2 \
434 vcl/source/filter/GraphicNativeTransform \
435 vcl/source/filter/GraphicNativeMetadata \
436 vcl/source/filter/GraphicFormatDetector \
437 vcl/source/filter/idxf/dxf2mtf \
438 vcl/source/filter/idxf/dxfblkrd \
439 vcl/source/filter/idxf/dxfentrd \
440 vcl/source/filter/idxf/dxfgrprd \
441 vcl/source/filter/idxf/dxfreprd \
442 vcl/source/filter/idxf/dxftblrd \
443 vcl/source/filter/idxf/dxfvec \
444 vcl/source/filter/idxf/idxf \
445 vcl/source/filter/ieps/ieps \
446 vcl/source/filter/igif/decode \
447 vcl/source/filter/igif/gifread \
448 vcl/source/filter/imet/ios2met \
449 vcl/source/filter/ipbm/ipbm \
450 vcl/source/filter/ipcd/ipcd \
451 vcl/source/filter/ipcx/ipcx \
452 vcl/source/filter/ipict/ipict \
453 vcl/source/filter/ipsd/ipsd \
454 vcl/source/filter/ipict/shape \
455 vcl/source/filter/ipdf/pdfcompat \
456 vcl/source/filter/ipdf/pdfread \
457 vcl/source/filter/ipdf/pdfdocument \
458 vcl/source/filter/iras/iras \
459 vcl/source/filter/itga/itga \
460 vcl/source/filter/itiff/itiff \
461 vcl/source/filter/ixbm/xbmread \
462 vcl/source/filter/ixpm/xpmread \
463 vcl/source/filter/jpeg/Exif \
464 vcl/source/filter/jpeg/jpeg \
465 vcl/source/filter/jpeg/jpegc \
466 vcl/source/filter/jpeg/JpegReader \
467 vcl/source/filter/jpeg/JpegWriter \
468 vcl/source/filter/jpeg/JpegTransform \
469 vcl/source/filter/svm/SvmConverter \
470 vcl/source/filter/svm/SvmReader \
471 vcl/source/filter/svm/SvmWriter \
472 vcl/source/filter/wmf/emfwr \
473 vcl/source/filter/wmf/wmf \
474 vcl/source/filter/wmf/wmfexternal \
475 vcl/source/filter/wmf/wmfwr \
476 vcl/source/filter/png/PngImageReader \
477 vcl/source/filter/png/PngImageWriter \
478 vcl/source/filter/webp/reader \
479 vcl/source/filter/webp/writer \
480 vcl/source/font/DirectFontSubstitution \
481 vcl/source/font/EmphasisMark \
482 vcl/source/font/Feature \
483 vcl/source/font/FeatureCollector \
484 vcl/source/font/FeatureParser \
485 vcl/source/font/FontSelectPattern \
486 vcl/source/font/LogicalFontInstance \
487 vcl/source/font/OpenTypeFeatureDefinitionList \
488 vcl/source/font/PhysicalFontCollection \
489 vcl/source/font/PhysicalFontFace \
490 vcl/source/font/PhysicalFontFamily \
491 vcl/source/font/fontattributes \
492 vcl/source/font/fontcache \
493 vcl/source/font/fontcharmap \
494 vcl/source/font/fontmetric \
495 vcl/source/font/font \
496 vcl/source/fontsubset/cff \
497 vcl/source/fontsubset/fontsubset \
498 vcl/source/fontsubset/sft \
499 vcl/source/fontsubset/ttcr \
500 vcl/source/fontsubset/xlat \
501 vcl/source/pdf/PDFiumTools \
502 vcl/source/uitest/logger \
503 vcl/source/uitest/uiobject \
504 vcl/source/uitest/uitest \
505 vcl/source/uitest/uno/uiobject_uno \
506 vcl/source/uitest/uno/uitest_uno \
507 vcl/backendtest/outputdevice/bitmap \
508 vcl/backendtest/outputdevice/clip \
509 vcl/backendtest/outputdevice/common \
510 vcl/backendtest/outputdevice/gradient \
511 vcl/backendtest/outputdevice/line \
512 vcl/backendtest/outputdevice/outputdevice \
513 vcl/backendtest/outputdevice/pixel \
514 vcl/backendtest/outputdevice/polygon \
515 vcl/backendtest/outputdevice/polypolygon \
516 vcl/backendtest/outputdevice/polypolygon_b2d \
517 vcl/backendtest/outputdevice/polyline \
518 vcl/backendtest/outputdevice/polyline_b2d \
519 vcl/backendtest/outputdevice/text \
520 vcl/backendtest/outputdevice/rectangle \
521 vcl/backendtest/GraphicsRenderTests \
522 vcl/jsdialog/enabled \
523 vcl/jsdialog/jsdialogbuilder \
524 vcl/jsdialog/executor \
527 $(eval $(call gb_Library_add_cobjects,vcl,\
528 vcl/source/filter/jpeg/transupp \
531 vcl_headless_code= \
532 vcl/headless/svpframe \
533 $(if $(filter-out iOS,$(OS)), \
534 vcl/headless/svpbmp \
535 vcl/headless/svpgdi \
536 vcl/headless/SvpGraphicsBackend \
537 vcl/headless/CairoCommon \
538 vcl/headless/BitmapHelper \
540 vcl/headless/svpdummies \
541 vcl/headless/svpinst \
542 vcl/headless/svpvd \
543 vcl/unx/generic/app/gendisp \
544 vcl/unx/generic/app/geninst \
545 vcl/unx/generic/app/gensys \
547 vcl_headless_freetype_code=\
548 vcl/headless/svpprn \
549 vcl/headless/svptext \
550 vcl/unx/generic/app/gendata \
551 vcl/unx/generic/gdi/cairotextrender \
552 vcl/unx/generic/gdi/freetypetextrender \
553 vcl/unx/generic/glyphs/freetype_glyphcache \
554 vcl/unx/generic/glyphs/glyphcache \
555 vcl/unx/generic/fontmanager/fontsubst \
556 vcl/unx/generic/fontmanager/fontconfig \
557 vcl/unx/generic/fontmanager/fontmanager \
558 vcl/unx/generic/fontmanager/helper \
559 vcl/unx/generic/print/genpspgraphics \
560 vcl/unx/generic/print/genprnpsp \
561 vcl/unx/generic/print/prtsetup \
562 vcl/unx/generic/printer/jobdata \
563 vcl/unx/generic/printer/ppdparser \
565 ifeq ($(SYSTEM_LIBFIXMATH),TRUE)
566 $(eval $(call gb_Library_add_libs,vcl,\
567 $(LIBFIXMATH_LIBS) \
569 endif
571 ifeq ($(USING_X11),TRUE)
572 $(eval $(call gb_Library_add_exception_objects,vcl,\
573 vcl/unx/generic/desktopdetect/desktopdetector \
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
589 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
590 $(eval $(call gb_Library_add_libs,vcl,\
591 -lm $(UNIX_DLAPI_LIBS) \
593 endif
595 ifeq ($(DISABLE_GUI),TRUE)
596 $(eval $(call gb_Library_add_exception_objects,vcl,\
597 vcl/headless/headlessinst \
600 else # !DISABLE_GUI
602 $(eval $(call gb_Library_add_exception_objects,vcl,\
603 vcl/source/opengl/OpenGLContext \
604 vcl/source/opengl/OpenGLHelper \
605 $(if $(filter SKIA,$(BUILD_TYPE)), \
606 vcl/skia/salbmp \
607 vcl/skia/zone \
608 vcl/skia/gdiimpl \
612 $(eval $(call gb_Library_use_externals,vcl,\
613 epoxy \
614 $(if $(filter SKIA,$(BUILD_TYPE)),skia) \
616 endif # !DISABLE_GUI
620 # * plugin loader: used on all platforms except iOS and Android
621 # * select headless code and corresponding libraries
623 $(eval $(call gb_Library_add_exception_objects,vcl,\
624 $(if $(USE_HEADLESS_CODE), \
625 $(if $(ENABLE_CUPS), \
626 vcl/unx/generic/printer/cupsmgr \
627 vcl/unx/generic/printer/printerinfomanager \
629 vcl/null/printerinfomanager \
631 $(vcl_headless_code) \
632 $(vcl_headless_freetype_code) \
634 vcl/source/pdf/$(if $(filter PDFIUM,$(BUILD_TYPE)),,Dummy)PDFiumLibrary \
637 # fontconfig depends on expat for static builds
638 $(eval $(call gb_Library_use_externals,vcl,\
639 $(if $(USE_HEADLESS_CODE), \
640 cairo \
641 $(if $(ENABLE_CUPS),cups) \
642 fontconfig \
643 freetype \
645 $(if $(filter PDFIUM,$(BUILD_TYPE)),pdfium) \
648 $(eval $(call gb_Library_add_libs,vcl,\
649 $(if $(filter LINUX %BSD SOLARIS,$(OS)), \
650 -lm \
651 $(if $(DISABLE_DYNLOADING),,$(UNIX_DLAPI_LIBS)) \
657 # OS specific stuff not handled yet
660 ifeq ($(OS),HAIKU)
661 $(eval $(call gb_Library_add_libs,vcl,\
662 -lbe \
664 endif
667 ifeq ($(OS),ANDROID)
668 $(eval $(call gb_Library_add_libs,vcl,\
669 -llog \
670 -landroid \
671 -llo-bootstrap \
673 $(eval $(call gb_Library_add_exception_objects,vcl,\
674 vcl/android/androidinst \
676 endif
679 ifeq ($(OS),iOS)
680 $(eval $(call gb_Library_add_cxxflags,vcl,\
681 $(gb_OBJCXXFLAGS) \
683 $(eval $(call gb_Library_add_objcxxobjects,vcl,\
684 vcl/quartz/cgutils \
686 $(eval $(call gb_Library_add_exception_objects,vcl,\
687 vcl/ios/iosinst \
688 vcl/ios/dummies \
689 vcl/ios/clipboard \
690 vcl/ios/salios \
691 vcl/ios/iOSTransferable \
692 vcl/ios/DataFlavorMapping \
693 vcl/ios/HtmlFmtFlt \
694 vcl/quartz/CoreTextFont \
695 vcl/quartz/CoreTextFontFace \
696 vcl/quartz/SystemFontList \
697 vcl/quartz/salbmp \
698 vcl/quartz/salgdi \
699 vcl/quartz/salgdicommon \
700 vcl/quartz/salvd \
701 vcl/quartz/utils \
702 vcl/quartz/AquaGraphicsBackend \
703 $(vcl_headless_code) \
704 vcl/unx/generic/app/gendata \
706 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
707 UIKit \
708 CoreFoundation \
710 endif
713 ifeq ($(OS),MACOSX)
714 $(eval $(call gb_Library_add_objcxxobjects,vcl,\
715 vcl/quartz/cgutils \
716 $(if $(filter SKIA,$(BUILD_TYPE)), \
717 vcl/skia/quartz/salbmp \
720 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
721 Cocoa \
722 CoreFoundation \
723 Metal \
725 endif
728 ifeq ($(OS),WNT)
729 $(eval $(call gb_Library_add_exception_objects,vcl,\
730 vcl/source/opengl/win/WinDeviceInfo \
731 vcl/win/app/fileregistration \
734 $(eval $(call gb_Library_use_system_win32_libs,vcl,\
735 ole32 \
736 setupapi \
737 version \
740 $(eval $(call gb_Library_add_nativeres,vcl,vcl/salsrc))
742 # HACK: dependency on icon themes so running unit tests don't
743 # prevent delivering these by having open file handles on WNT
744 $(eval $(call gb_Library_use_packages,vcl, \
745 vcl_opengl_denylist \
746 $(if $(filter host,$(gb_Side)),postprocess_images) \
748 endif # WNT
750 # vim: set noet sw=4 ts=4: