workaround segfault in compiler on macos-clang-intel
[LibreOffice.git] / vcl / Library_vcl.mk
bloba92d6281e0b0351b1e013e7ccaec383a61ba03af
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/ImplLayoutRuns \
246 vcl/source/text/mnemonic \
247 vcl/source/text/TextLayoutCache \
248 vcl/source/text/textlayout \
249 vcl/source/treelist/headbar \
250 vcl/source/treelist/iconview \
251 vcl/source/treelist/iconviewimpl \
252 vcl/source/treelist/imap \
253 vcl/source/treelist/imap2 \
254 vcl/source/treelist/imap3 \
255 vcl/source/treelist/inetimg \
256 vcl/source/treelist/svtabbx \
257 vcl/source/treelist/transfer \
258 vcl/source/treelist/transfer2 \
259 vcl/source/treelist/viewdataentry \
260 vcl/source/treelist/treelist \
261 vcl/source/treelist/treelistbox \
262 vcl/source/treelist/treelistentry \
263 vcl/source/treelist/svimpbox \
264 vcl/source/treelist/svlbitm \
265 vcl/source/treelist/uiobject \
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/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/lazydelete \
394 vcl/source/helper/strhelper \
395 vcl/source/helper/svtaccessiblefactory \
396 vcl/source/helper/threadex \
397 vcl/source/app/brand \
398 vcl/source/app/customweld \
399 vcl/source/app/dbggui \
400 vcl/source/app/dndhelp \
401 vcl/source/app/help \
402 vcl/source/app/i18nhelp \
403 vcl/source/app/idle \
404 vcl/source/app/salplug \
405 vcl/source/app/salusereventlist \
406 vcl/source/app/salvtables \
407 vcl/source/app/scheduler \
408 vcl/source/app/session \
409 vcl/source/app/settings \
410 vcl/source/app/IconThemeInfo \
411 vcl/source/app/IconThemeScanner \
412 vcl/source/app/IconThemeSelector \
413 vcl/source/app/ITiledRenderable \
414 vcl/source/app/sound \
415 vcl/source/app/stdtext \
416 vcl/source/app/svapp \
417 vcl/source/app/svdata \
418 vcl/source/app/svmain \
419 vcl/source/app/timer \
420 vcl/source/app/unohelp2 \
421 vcl/source/app/htmltransferable \
422 vcl/source/app/unohelp \
423 vcl/source/app/vclevent \
424 vcl/source/app/watchdog \
425 vcl/source/app/weldutils \
426 vcl/source/app/winscheduler \
427 vcl/source/components/dtranscomp \
428 vcl/source/components/factory \
429 vcl/source/components/fontident \
430 vcl/source/filter/bmp/BmpReader \
431 vcl/source/filter/bmp/BmpWriter \
432 vcl/source/filter/egif/egif \
433 vcl/source/filter/egif/giflzwc \
434 vcl/source/filter/eps/eps \
435 vcl/source/filter/etiff/etiff \
436 vcl/source/filter/FilterConfigCache \
437 vcl/source/filter/FilterConfigItem \
438 vcl/source/filter/graphicfilter \
439 vcl/source/filter/graphicfilter2 \
440 vcl/source/filter/GraphicNativeTransform \
441 vcl/source/filter/GraphicNativeMetadata \
442 vcl/source/filter/GraphicFormatDetector \
443 vcl/source/filter/idxf/dxf2mtf \
444 vcl/source/filter/idxf/dxfblkrd \
445 vcl/source/filter/idxf/dxfentrd \
446 vcl/source/filter/idxf/dxfgrprd \
447 vcl/source/filter/idxf/dxfreprd \
448 vcl/source/filter/idxf/dxftblrd \
449 vcl/source/filter/idxf/dxfvec \
450 vcl/source/filter/idxf/idxf \
451 vcl/source/filter/ieps/ieps \
452 vcl/source/filter/igif/decode \
453 vcl/source/filter/igif/gifread \
454 vcl/source/filter/imet/ios2met \
455 vcl/source/filter/ipbm/ipbm \
456 vcl/source/filter/ipcd/ipcd \
457 vcl/source/filter/ipcx/ipcx \
458 vcl/source/filter/ipict/ipict \
459 vcl/source/filter/ipsd/ipsd \
460 vcl/source/filter/ipict/shape \
461 vcl/source/filter/ipdf/pdfcompat \
462 vcl/source/filter/ipdf/pdfread \
463 vcl/source/filter/ipdf/pdfdocument \
464 vcl/source/filter/iras/iras \
465 vcl/source/filter/itga/itga \
466 vcl/source/filter/itiff/itiff \
467 vcl/source/filter/ixbm/xbmread \
468 vcl/source/filter/ixpm/xpmread \
469 vcl/source/filter/jpeg/Exif \
470 vcl/source/filter/jpeg/jpeg \
471 vcl/source/filter/jpeg/jpegc \
472 vcl/source/filter/jpeg/JpegReader \
473 vcl/source/filter/jpeg/JpegWriter \
474 vcl/source/filter/jpeg/JpegTransform \
475 vcl/source/filter/svm/SvmConverter \
476 vcl/source/filter/svm/SvmReader \
477 vcl/source/filter/svm/SvmWriter \
478 vcl/source/filter/wmf/emfwr \
479 vcl/source/filter/wmf/wmf \
480 vcl/source/filter/wmf/wmfexternal \
481 vcl/source/filter/wmf/wmfwr \
482 vcl/source/filter/png/PngImageReader \
483 vcl/source/filter/png/PngImageWriter \
484 vcl/source/filter/webp/reader \
485 vcl/source/filter/webp/writer \
486 vcl/source/font/DirectFontSubstitution \
487 vcl/source/font/EmphasisMark \
488 vcl/source/font/Feature \
489 vcl/source/font/FeatureCollector \
490 vcl/source/font/FeatureParser \
491 vcl/source/font/FontSelectPattern \
492 vcl/source/font/LogicalFontInstance \
493 vcl/source/font/OpenTypeFeatureDefinitionList \
494 vcl/source/font/PhysicalFontCollection \
495 vcl/source/font/PhysicalFontFace \
496 vcl/source/font/PhysicalFontFamily \
497 vcl/source/font/fontattributes \
498 vcl/source/font/fontcache \
499 vcl/source/font/fontcharmap \
500 vcl/source/font/fontmetric \
501 vcl/source/font/font \
502 vcl/source/fontsubset/cff \
503 vcl/source/fontsubset/fontsubset \
504 vcl/source/fontsubset/sft \
505 vcl/source/fontsubset/ttcr \
506 vcl/source/fontsubset/xlat \
507 vcl/source/pdf/PDFiumTools \
508 vcl/source/uitest/logger \
509 vcl/source/uitest/uiobject \
510 vcl/source/uitest/uitest \
511 vcl/source/uitest/uno/uiobject_uno \
512 vcl/source/uitest/uno/uitest_uno \
513 vcl/backendtest/outputdevice/bitmap \
514 vcl/backendtest/outputdevice/clip \
515 vcl/backendtest/outputdevice/common \
516 vcl/backendtest/outputdevice/gradient \
517 vcl/backendtest/outputdevice/line \
518 vcl/backendtest/outputdevice/outputdevice \
519 vcl/backendtest/outputdevice/pixel \
520 vcl/backendtest/outputdevice/polygon \
521 vcl/backendtest/outputdevice/polypolygon \
522 vcl/backendtest/outputdevice/polypolygon_b2d \
523 vcl/backendtest/outputdevice/polyline \
524 vcl/backendtest/outputdevice/polyline_b2d \
525 vcl/backendtest/outputdevice/text \
526 vcl/backendtest/outputdevice/rectangle \
527 vcl/backendtest/GraphicsRenderTests \
528 vcl/jsdialog/enabled \
529 vcl/jsdialog/jsdialogbuilder \
530 vcl/jsdialog/executor \
533 $(eval $(call gb_Library_add_cobjects,vcl,\
534 vcl/source/filter/jpeg/transupp \
537 vcl_headless_code= \
538 vcl/headless/svpframe \
539 $(if $(filter-out iOS,$(OS)), \
540 vcl/headless/svpbmp \
541 vcl/headless/svpgdi \
542 vcl/headless/SvpGraphicsBackend \
543 vcl/headless/CairoCommon \
544 vcl/headless/BitmapHelper \
546 vcl/headless/svpdummies \
547 vcl/headless/svpinst \
548 vcl/headless/svpvd \
549 vcl/unx/generic/app/gendisp \
550 vcl/unx/generic/app/geninst \
551 vcl/unx/generic/app/gensys \
553 vcl_headless_freetype_code=\
554 vcl/headless/svpprn \
555 vcl/headless/svptext \
556 vcl/unx/generic/app/gendata \
557 vcl/unx/generic/gdi/cairotextrender \
558 vcl/unx/generic/gdi/freetypetextrender \
559 vcl/unx/generic/glyphs/freetype_glyphcache \
560 vcl/unx/generic/glyphs/glyphcache \
561 vcl/unx/generic/fontmanager/fontsubst \
562 vcl/unx/generic/fontmanager/fontconfig \
563 vcl/unx/generic/fontmanager/fontmanager \
564 vcl/unx/generic/fontmanager/helper \
565 vcl/unx/generic/print/genpspgraphics \
566 vcl/unx/generic/print/genprnpsp \
567 vcl/unx/generic/print/prtsetup \
568 vcl/unx/generic/printer/jobdata \
569 vcl/unx/generic/printer/ppdparser \
571 ifeq ($(SYSTEM_LIBFIXMATH),TRUE)
572 $(eval $(call gb_Library_add_libs,vcl,\
573 $(LIBFIXMATH_LIBS) \
575 endif
577 ifeq ($(USING_X11),TRUE)
578 $(eval $(call gb_Library_add_exception_objects,vcl,\
579 vcl/unx/generic/desktopdetect/desktopdetector \
580 vcl/unx/generic/window/sessioninhibitor \
581 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 \
618 $(eval $(call gb_Library_use_externals,vcl,\
619 epoxy \
620 $(if $(filter SKIA,$(BUILD_TYPE)),skia) \
622 endif # !DISABLE_GUI
626 # * plugin loader: used on all platforms except iOS and Android
627 # * select headless code and corresponding libraries
629 $(eval $(call gb_Library_add_exception_objects,vcl,\
630 $(if $(USE_HEADLESS_CODE), \
631 $(if $(ENABLE_CUPS), \
632 vcl/unx/generic/printer/cupsmgr \
633 vcl/unx/generic/printer/printerinfomanager \
635 vcl/null/printerinfomanager \
637 $(vcl_headless_code) \
638 $(vcl_headless_freetype_code) \
640 vcl/source/pdf/$(if $(filter PDFIUM,$(BUILD_TYPE)),,Dummy)PDFiumLibrary \
643 # fontconfig depends on expat for static builds
644 $(eval $(call gb_Library_use_externals,vcl,\
645 $(if $(USE_HEADLESS_CODE), \
646 cairo \
647 $(if $(ENABLE_CUPS),cups) \
648 fontconfig \
649 freetype \
651 $(if $(filter PDFIUM,$(BUILD_TYPE)),pdfium) \
654 $(eval $(call gb_Library_add_libs,vcl,\
655 $(if $(filter LINUX %BSD SOLARIS,$(OS)), \
656 -lm \
657 $(if $(DISABLE_DYNLOADING),,$(UNIX_DLAPI_LIBS)) \
663 # OS specific stuff not handled yet
666 ifeq ($(OS),HAIKU)
667 $(eval $(call gb_Library_add_libs,vcl,\
668 -lbe \
670 endif
673 ifeq ($(OS),ANDROID)
674 $(eval $(call gb_Library_add_libs,vcl,\
675 -llog \
676 -landroid \
677 -llo-bootstrap \
679 $(eval $(call gb_Library_add_exception_objects,vcl,\
680 vcl/android/androidinst \
682 endif
685 ifeq ($(OS),iOS)
686 $(eval $(call gb_Library_add_cxxflags,vcl,\
687 $(gb_OBJCXXFLAGS) \
689 $(eval $(call gb_Library_add_objcxxobjects,vcl,\
690 vcl/quartz/cgutils \
692 $(eval $(call gb_Library_add_exception_objects,vcl,\
693 vcl/ios/iosinst \
694 vcl/ios/dummies \
695 vcl/ios/clipboard \
696 vcl/ios/salios \
697 vcl/ios/iOSTransferable \
698 vcl/ios/DataFlavorMapping \
699 vcl/ios/HtmlFmtFlt \
700 vcl/quartz/CoreTextFont \
701 vcl/quartz/CoreTextFontFace \
702 vcl/quartz/SystemFontList \
703 vcl/quartz/salbmp \
704 vcl/quartz/salgdi \
705 vcl/quartz/salgdicommon \
706 vcl/quartz/salvd \
707 vcl/quartz/utils \
708 vcl/quartz/AquaGraphicsBackend \
709 $(vcl_headless_code) \
710 vcl/unx/generic/app/gendata \
712 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
713 UIKit \
714 CoreFoundation \
716 endif
719 ifeq ($(OS),MACOSX)
720 $(eval $(call gb_Library_add_objcxxobjects,vcl,\
721 vcl/quartz/cgutils \
722 $(if $(filter SKIA,$(BUILD_TYPE)), \
723 vcl/skia/quartz/salbmp \
726 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
727 Cocoa \
728 CoreFoundation \
729 Metal \
731 endif
734 ifeq ($(OS),WNT)
735 $(eval $(call gb_Library_add_exception_objects,vcl,\
736 vcl/source/opengl/win/WinDeviceInfo \
737 vcl/win/app/fileregistration \
740 $(eval $(call gb_Library_use_system_win32_libs,vcl,\
741 ole32 \
742 setupapi \
743 version \
746 $(eval $(call gb_Library_add_nativeres,vcl,vcl/salsrc))
748 # HACK: dependency on icon themes so running unit tests don't
749 # prevent delivering these by having open file handles on WNT
750 $(eval $(call gb_Library_use_packages,vcl, \
751 vcl_opengl_denylist \
752 $(if $(filter host,$(gb_Side)),postprocess_images) \
754 endif # WNT
756 # vim: set noet sw=4 ts=4: