Resolves tdf#133265 - Save state indicator must not be hidden
[LibreOffice.git] / vcl / Library_vcl.mk
blob0e861442218f40afe83d28e503055d484f8b5cdc
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))\" \
53 ifeq ($(SYSTEM_GLM),TRUE)
54 $(eval $(call gb_Library_add_defs,vcl,\
55 -DGLM_ENABLE_EXPERIMENTAL \
57 endif
59 $(eval $(call gb_Library_use_sdk_api,vcl))
61 $(eval $(call gb_Library_use_custom_headers,vcl,\
62 officecfg/registry \
65 $(eval $(call gb_Library_use_externals,vcl,\
66 libjpeg \
67 libeot \
68 libpng \
69 $(if $(filter PDFIUM,$(BUILD_TYPE)),pdfium) \
72 $(eval $(call gb_Library_use_libraries,vcl,\
73 $(call gb_Helper_optional,BREAKPAD, \
74 crashreport) \
75 svl \
76 tl \
77 utl \
78 sot \
79 ucbhelper \
80 basegfx \
81 comphelper \
82 cppuhelper \
83 i18nlangtag \
84 i18nutil \
85 $(if $(filter OPENCL,$(BUILD_TYPE)),opencl) \
86 cppu \
87 sal \
88 salhelper \
89 xmlreader \
92 ifeq ($(ENABLE_JAVA),TRUE)
93 $(eval $(call gb_Library_use_libraries,vcl,\
94 jvmaccess \
96 endif
98 $(eval $(call gb_Library_use_externals,vcl,\
99 boost_headers \
100 gio \
101 glm_headers \
102 graphite \
103 harfbuzz \
104 icu_headers \
105 icuuc \
106 lcms2 \
107 mdds_headers \
108 $(if $(filter SKIA,$(BUILD_TYPE)),skia) \
111 ifeq ($(DISABLE_GUI),)
112 $(eval $(call gb_Library_use_externals,vcl,\
113 epoxy \
115 endif
117 $(eval $(call gb_Library_add_exception_objects,vcl,\
118 vcl/source/animate/Animation \
119 vcl/source/animate/AnimationBitmap \
120 vcl/source/window/errinf \
121 vcl/source/window/settings \
122 vcl/source/window/paint \
123 vcl/source/window/abstdlg \
124 vcl/source/window/accel \
125 vcl/source/window/accmgr \
126 vcl/source/window/brdwin \
127 vcl/source/window/bufferdevice \
128 vcl/source/window/accessibility \
129 vcl/source/window/legacyaccessibility \
130 vcl/source/window/clipping \
131 vcl/source/window/stacking \
132 vcl/source/window/debug \
133 vcl/source/window/globalization \
134 vcl/source/window/builder \
135 vcl/source/window/commandevent \
136 vcl/source/window/cursor \
137 vcl/source/window/debugevent \
138 vcl/source/window/decoview \
139 vcl/source/window/dialog \
140 vcl/source/window/dlgctrl \
141 vcl/source/window/dndeventdispatcher \
142 vcl/source/window/dndlistenercontainer \
143 vcl/source/window/dockingarea \
144 vcl/source/window/dockmgr \
145 vcl/source/window/dockwin \
146 vcl/source/window/event \
147 vcl/source/window/floatwin \
148 vcl/source/window/introwin \
149 vcl/source/window/keycod \
150 vcl/source/window/keyevent \
151 vcl/source/window/layout \
152 vcl/source/window/menu \
153 vcl/source/window/menubarwindow \
154 vcl/source/window/menufloatingwindow \
155 vcl/source/window/menuitemlist \
156 vcl/source/window/menuwindow \
157 vcl/source/window/mnemonic \
158 vcl/source/window/mnemonicengine \
159 vcl/source/window/mouse \
160 vcl/source/window/NotebookBarAddonsMerger \
161 vcl/source/window/OptionalBox \
162 vcl/source/window/popupmenuwindow \
163 vcl/source/window/printdlg \
164 vcl/source/window/scrwnd \
165 vcl/source/window/seleng \
166 vcl/source/window/split \
167 vcl/source/window/splitwin \
168 vcl/source/window/status \
169 vcl/source/window/syschild \
170 vcl/source/window/syswin \
171 vcl/source/window/tabdlg \
172 vcl/source/window/tabpage \
173 vcl/source/window/taskpanelist \
174 vcl/source/window/toolbox2 \
175 vcl/source/window/toolbox \
176 vcl/source/window/window2 \
177 vcl/source/window/window3 \
178 vcl/source/window/window \
179 vcl/source/window/winproc \
180 vcl/source/window/wrkwin \
181 vcl/source/window/EnumContext \
182 vcl/source/control/button \
183 vcl/source/control/calendar \
184 vcl/source/control/combobox \
185 vcl/source/control/ctrl \
186 vcl/source/control/edit \
187 vcl/source/control/field2 \
188 vcl/source/control/field \
189 vcl/source/control/fixed \
190 vcl/source/control/fixedhyper \
191 vcl/source/control/hyperlabel \
192 vcl/source/control/fmtfield \
193 vcl/source/control/InterimItemWindow \
194 vcl/source/control/imgctrl \
195 vcl/source/control/imivctl1 \
196 vcl/source/control/imivctl2 \
197 vcl/source/control/ivctrl \
198 vcl/source/control/longcurr \
199 vcl/source/control/imp_listbox \
200 vcl/source/control/listbox \
201 vcl/source/control/menubtn \
202 vcl/source/control/notebookbar \
203 vcl/source/control/quickselectionengine \
204 vcl/source/control/prgsbar \
205 vcl/source/control/roadmap \
206 vcl/source/control/roadmapwizard \
207 vcl/source/control/scrbar \
208 vcl/source/control/slider \
209 vcl/source/control/spinbtn \
210 vcl/source/control/spinfld \
211 vcl/source/control/tabctrl \
212 vcl/source/control/throbber \
213 vcl/source/control/wizardmachine \
214 vcl/source/edit/vclmedit \
215 vcl/source/edit/textdata \
216 vcl/source/edit/textdoc \
217 vcl/source/edit/texteng \
218 vcl/source/edit/textundo \
219 vcl/source/edit/textview \
220 vcl/source/edit/txtattr \
221 vcl/source/edit/xtextedt \
222 vcl/source/toolkit/group \
223 vcl/source/toolkit/morebtn \
224 vcl/source/outdev/outdev \
225 vcl/source/outdev/outdevstate \
226 vcl/source/outdev/clipping \
227 vcl/source/outdev/polygon \
228 vcl/source/outdev/transparent \
229 vcl/source/outdev/mask \
230 vcl/source/outdev/bitmap \
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/treelist/headbar \
246 vcl/source/treelist/iconview \
247 vcl/source/treelist/iconviewimpl \
248 vcl/source/treelist/imap \
249 vcl/source/treelist/imap2 \
250 vcl/source/treelist/imap3 \
251 vcl/source/treelist/inetimg \
252 vcl/source/treelist/svtabbx \
253 vcl/source/treelist/transfer \
254 vcl/source/treelist/transfer2 \
255 vcl/source/treelist/viewdataentry \
256 vcl/source/treelist/treelist \
257 vcl/source/treelist/treelistbox \
258 vcl/source/treelist/treelistentry \
259 vcl/source/treelist/svimpbox \
260 vcl/source/treelist/svlbitm \
261 vcl/source/treelist/uiobject \
262 vcl/source/gdi/alpha \
263 vcl/source/gdi/bitmap3 \
264 vcl/source/gdi/bitmapex \
265 vcl/source/gdi/bmpacc2 \
266 vcl/source/gdi/bmpacc3 \
267 vcl/source/gdi/bmpacc \
268 vcl/source/gdi/bmpfast \
269 vcl/source/gdi/configsettings \
270 vcl/source/gdi/cvtgrf \
271 vcl/source/gdi/svmconverter \
272 vcl/source/gdi/dibtools \
273 vcl/source/gdi/embeddedfontshelper \
274 vcl/source/gdi/FileDefinitionWidgetDraw \
275 vcl/source/gdi/WidgetDefinitionReader \
276 vcl/source/gdi/WidgetDefinition \
277 vcl/source/gdi/extoutdevdata \
278 vcl/source/gdi/gdimtf \
279 vcl/source/gdi/mtfxmldump \
280 vcl/source/gdi/gdimetafiletools \
281 vcl/source/gdi/gfxlink \
282 vcl/source/gdi/gradient \
283 vcl/source/gdi/graph \
284 vcl/source/gdi/graphictools \
285 vcl/source/gdi/hatch \
286 vcl/source/gdi/impanmvw \
287 vcl/source/gdi/impglyphitem \
288 vcl/source/gdi/impgraph \
289 vcl/source/gdi/impvect \
290 vcl/source/gdi/jobset \
291 vcl/source/gdi/lineinfo \
292 vcl/source/gdi/mapmod \
293 vcl/source/gdi/metaact \
294 vcl/source/gdi/oldprintadaptor \
295 vcl/source/gdi/pdfbuildin_fonts \
296 vcl/source/gdi/pdfextoutdevdata \
297 vcl/source/gdi/pdffontcache \
298 vcl/source/gdi/pdfwriter \
299 vcl/source/gdi/pdfwriter_impl2 \
300 vcl/source/gdi/pdfwriter_impl \
301 vcl/source/gdi/print2 \
302 vcl/source/gdi/print3 \
303 vcl/source/gdi/print \
304 vcl/source/gdi/regband \
305 vcl/source/gdi/region \
306 vcl/source/gdi/regionband \
307 vcl/source/gdi/salgdilayout \
308 vcl/source/gdi/salgdiimpl \
309 vcl/source/gdi/sallayout \
310 vcl/source/gdi/salmisc \
311 vcl/source/gdi/vectorgraphicdata \
312 vcl/source/gdi/textlayout \
313 vcl/source/gdi/virdev \
314 vcl/source/gdi/wall \
315 vcl/source/gdi/scrptrun \
316 vcl/source/gdi/CommonSalLayout \
317 vcl/source/gdi/TypeSerializer \
318 vcl/source/pdf/ResourceDict \
319 vcl/source/pdf/Matrix3 \
320 vcl/source/pdf/XmpMetadata \
321 vcl/source/graphic/GraphicID \
322 vcl/source/graphic/GraphicLoader \
323 vcl/source/graphic/GraphicObject \
324 vcl/source/graphic/GraphicObject2 \
325 vcl/source/graphic/GraphicReader \
326 vcl/source/graphic/grfattr \
327 vcl/source/graphic/Manager \
328 vcl/source/graphic/UnoGraphic \
329 vcl/source/graphic/UnoGraphicDescriptor \
330 vcl/source/graphic/UnoGraphicObject \
331 vcl/source/graphic/UnoGraphicProvider \
332 vcl/source/graphic/UnoGraphicTransformer \
333 vcl/source/bitmap/bitmap \
334 vcl/source/bitmap/bitmapfilter \
335 vcl/source/bitmap/BitmapAlphaClampFilter \
336 vcl/source/bitmap/BitmapBasicMorphologyFilter \
337 vcl/source/bitmap/BitmapMonochromeFilter \
338 vcl/source/bitmap/BitmapSmoothenFilter \
339 vcl/source/bitmap/BitmapLightenFilter \
340 vcl/source/bitmap/BitmapDisabledImageFilter \
341 vcl/source/bitmap/BitmapColorizeFilter \
342 vcl/source/bitmap/bitmappaint \
343 vcl/source/bitmap/BitmapGaussianSeparableBlurFilter \
344 vcl/source/bitmap/BitmapSobelGreyFilter \
345 vcl/source/bitmap/BitmapSolarizeFilter \
346 vcl/source/bitmap/BitmapSepiaFilter \
347 vcl/source/bitmap/BitmapMosaicFilter \
348 vcl/source/bitmap/BitmapEmbossGreyFilter \
349 vcl/source/bitmap/BitmapPopArtFilter \
350 vcl/source/bitmap/BitmapDuoToneFilter \
351 vcl/source/bitmap/BitmapConvolutionMatrixFilter \
352 vcl/source/bitmap/BitmapMedianFilter \
353 vcl/source/bitmap/BitmapInterpolateScaleFilter \
354 vcl/source/bitmap/BitmapSeparableUnsharpenFilter \
355 vcl/source/bitmap/BitmapFastScaleFilter \
356 vcl/source/bitmap/BitmapScaleSuperFilter \
357 vcl/source/bitmap/BitmapScaleConvolutionFilter \
358 vcl/source/bitmap/BitmapSymmetryCheck \
359 vcl/source/bitmap/BitmapColorQuantizationFilter \
360 vcl/source/bitmap/BitmapSimpleColorQuantizationFilter \
361 vcl/source/bitmap/BitmapTools \
362 vcl/source/bitmap/checksum \
363 vcl/source/bitmap/Octree \
364 vcl/source/bitmap/salbmp \
365 vcl/source/image/Image \
366 vcl/source/image/ImageTree \
367 vcl/source/image/ImageRepository \
368 vcl/source/image/ImplImage \
369 vcl/source/image/ImplImageTree \
370 vcl/source/bitmap/BitmapFilterStackBlur \
371 vcl/source/helper/canvasbitmap \
372 vcl/source/helper/canvastools \
373 vcl/source/helper/commandinfoprovider \
374 vcl/source/helper/displayconnectiondispatch \
375 vcl/source/helper/driverblocklist \
376 vcl/source/helper/errcode \
377 vcl/source/helper/evntpost \
378 vcl/source/helper/lazydelete \
379 vcl/source/helper/strhelper \
380 vcl/source/helper/svtaccessiblefactory \
381 vcl/source/helper/threadex \
382 vcl/source/app/brand \
383 vcl/source/app/customweld \
384 vcl/source/app/dbggui \
385 vcl/source/app/dndhelp \
386 vcl/source/app/help \
387 vcl/source/app/i18nhelp \
388 vcl/source/app/idle \
389 vcl/source/app/salusereventlist \
390 vcl/source/app/salvtables \
391 vcl/source/app/scheduler \
392 vcl/source/app/session \
393 vcl/source/app/settings \
394 vcl/source/app/IconThemeInfo \
395 vcl/source/app/IconThemeScanner \
396 vcl/source/app/IconThemeSelector \
397 vcl/source/app/ITiledRenderable \
398 vcl/source/app/sound \
399 vcl/source/app/stdtext \
400 vcl/source/app/svapp \
401 vcl/source/app/svdata \
402 vcl/source/app/svmain \
403 vcl/source/app/timer \
404 vcl/source/app/unohelp2 \
405 vcl/source/app/unohelp \
406 vcl/source/app/vclevent \
407 vcl/source/app/watchdog \
408 vcl/source/app/weldutils \
409 vcl/source/app/winscheduler \
410 vcl/source/components/dtranscomp \
411 vcl/source/components/factory \
412 vcl/source/components/fontident \
413 vcl/source/filter/FilterConfigCache \
414 vcl/source/filter/FilterConfigItem \
415 vcl/source/filter/graphicfilter \
416 vcl/source/filter/graphicfilter2 \
417 vcl/source/filter/GraphicNativeTransform \
418 vcl/source/filter/GraphicNativeMetadata \
419 vcl/source/filter/GraphicFormatDetector \
420 vcl/source/filter/igif/decode \
421 vcl/source/filter/igif/gifread \
422 vcl/source/filter/ipdf/pdfread \
423 vcl/source/filter/ipdf/pdfdocument \
424 vcl/source/filter/ixbm/xbmread \
425 vcl/source/filter/ixpm/xpmread \
426 vcl/source/filter/jpeg/Exif \
427 vcl/source/filter/jpeg/jpeg \
428 vcl/source/filter/jpeg/jpegc \
429 vcl/source/filter/jpeg/JpegReader \
430 vcl/source/filter/jpeg/JpegWriter \
431 vcl/source/filter/jpeg/JpegTransform \
432 vcl/source/filter/wmf/emfwr \
433 vcl/source/filter/wmf/wmf \
434 vcl/source/filter/wmf/wmfexternal \
435 vcl/source/filter/wmf/wmfwr \
436 vcl/source/filter/png/PngImageReader \
437 vcl/source/filter/png/pngread \
438 vcl/source/filter/png/pngwrite \
439 vcl/source/font/Feature \
440 vcl/source/font/FeatureCollector \
441 vcl/source/font/FeatureParser \
442 vcl/source/font/OpenTypeFeatureDefinitionList \
443 vcl/source/font/PhysicalFontCollection \
444 vcl/source/font/PhysicalFontFace \
445 vcl/source/font/PhysicalFontFamily \
446 vcl/source/font/fontattributes \
447 vcl/source/font/fontselect \
448 vcl/source/font/fontinstance \
449 vcl/source/font/fontcache \
450 vcl/source/font/fontcharmap \
451 vcl/source/font/fontmetric \
452 vcl/source/font/font \
453 vcl/source/fontsubset/cff \
454 vcl/source/fontsubset/fontsubset \
455 vcl/source/fontsubset/list \
456 vcl/source/fontsubset/sft \
457 vcl/source/fontsubset/ttcr \
458 vcl/source/fontsubset/xlat \
459 vcl/source/uitest/logger \
460 vcl/source/uitest/uiobject \
461 vcl/source/uitest/uitest \
462 vcl/source/uitest/uno/uiobject_uno \
463 vcl/source/uitest/uno/uitest_uno \
464 vcl/backendtest/outputdevice/bitmap \
465 vcl/backendtest/outputdevice/clip \
466 vcl/backendtest/outputdevice/common \
467 vcl/backendtest/outputdevice/gradient \
468 vcl/backendtest/outputdevice/line \
469 vcl/backendtest/outputdevice/outputdevice \
470 vcl/backendtest/outputdevice/pixel \
471 vcl/backendtest/outputdevice/polygon \
472 vcl/backendtest/outputdevice/polypolygon \
473 vcl/backendtest/outputdevice/polypolygon_b2d \
474 vcl/backendtest/outputdevice/polyline \
475 vcl/backendtest/outputdevice/polyline_b2d \
476 vcl/backendtest/outputdevice/rectangle \
477 vcl/jsdialog/jsdialogbuilder \
480 $(eval $(call gb_Library_add_cobjects,vcl,\
481 vcl/source/filter/jpeg/transupp \
484 vcl_quartz_code= \
485 vcl/quartz/salbmp \
486 vcl/quartz/utils \
487 vcl/quartz/salgdicommon \
488 vcl/quartz/salvd \
490 vcl_coretext_code= \
491 vcl/quartz/ctfonts \
492 vcl/quartz/salgdi \
494 vcl_headless_code= \
495 vcl/headless/svpframe \
496 $(if $(filter-out iOS,$(OS)), \
497 vcl/headless/svpbmp \
498 vcl/headless/svpgdi \
499 vcl/headless/svpdata \
500 vcl/headless/CustomWidgetDraw) \
501 vcl/headless/svpdummies \
502 vcl/headless/svpinst \
503 vcl/headless/svpvd \
504 vcl/unx/generic/app/gendisp \
505 vcl/unx/generic/app/geninst \
506 vcl/unx/generic/app/gensys \
508 vcl_headless_freetype_code=\
509 vcl/headless/svpprn \
510 vcl/headless/svptext \
511 vcl/unx/generic/app/gendata \
512 vcl/unx/generic/gdi/cairotextrender \
513 vcl/unx/generic/gdi/freetypetextrender \
514 vcl/unx/generic/glyphs/freetype_glyphcache \
515 vcl/unx/generic/glyphs/glyphcache \
516 vcl/unx/generic/fontmanager/fontsubst \
517 vcl/unx/generic/fontmanager/fontconfig \
518 vcl/unx/generic/fontmanager/fontmanager \
519 vcl/unx/generic/fontmanager/helper \
520 vcl/headless/svpcairotextrender \
521 vcl/unx/generic/print/bitmap_gfx \
522 vcl/unx/generic/print/common_gfx \
523 vcl/unx/generic/print/glyphset \
524 vcl/unx/generic/print/printerjob \
525 vcl/unx/generic/print/psputil \
526 vcl/unx/generic/print/genpspgraphics \
527 vcl/unx/generic/print/genprnpsp \
528 vcl/unx/generic/print/prtsetup \
529 vcl/unx/generic/print/text_gfx \
531 ifeq ($(USING_X11),TRUE)
532 $(eval $(call gb_Library_add_exception_objects,vcl,\
533 vcl/source/app/salplug \
534 vcl/unx/generic/printer/jobdata \
535 vcl/unx/generic/printer/ppdparser \
536 vcl/unx/generic/gdi/nativewindowhandleprovider \
537 vcl/unx/generic/window/screensaverinhibitor \
538 vcl/unx/generic/printer/cpdmgr \
539 $(if $(filter TRUE,$(ENABLE_CUPS)),\
540 vcl/unx/generic/printer/cupsmgr \
541 vcl/unx/generic/printer/printerinfomanager \
543 vcl/null/printerinfomanager \
545 $(vcl_headless_code) \
546 $(vcl_headless_freetype_code) \
549 $(eval $(call gb_Library_use_externals,vcl,\
550 cairo \
551 cups \
552 dbus \
553 fontconfig \
554 freetype \
555 valgrind \
557 endif
559 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
560 $(eval $(call gb_Library_add_libs,vcl,\
561 -lm $(DLOPEN_LIBS) \
563 endif
565 ifeq ($(DISABLE_GUI),TRUE)
566 $(eval $(call gb_Library_add_exception_objects,vcl,\
567 vcl/unx/generic/printer/jobdata \
568 vcl/unx/generic/printer/ppdparser \
569 vcl/null/printerinfomanager \
570 vcl/headless/headlessinst \
571 vcl/skia/SkiaHelper \
572 $(vcl_headless_code) \
573 $(vcl_headless_freetype_code) \
576 $(eval $(call gb_Library_use_externals,vcl,\
577 cairo \
578 freetype \
579 fontconfig \
582 else # ! DISABLE_GUI
584 $(eval $(call gb_Library_add_exception_objects,vcl,\
585 vcl/opengl/DeviceInfo \
586 vcl/opengl/gdiimpl \
587 vcl/opengl/salbmp \
588 vcl/opengl/scale \
589 vcl/opengl/framebuffer \
590 vcl/opengl/program \
591 vcl/opengl/texture \
592 vcl/opengl/FixedTextureAtlas \
593 vcl/opengl/PackedTextureAtlas \
594 vcl/opengl/RenderList \
595 vcl/opengl/LineRenderUtils \
596 vcl/source/opengl/OpenGLContext \
597 vcl/source/opengl/OpenGLHelper \
598 vcl/skia/SkiaHelper \
599 $(if $(filter SKIA,$(BUILD_TYPE)), \
600 vcl/skia/salbmp \
601 vcl/skia/zone \
602 vcl/skia/gdiimpl \
606 # runtime dependency
607 $(eval $(call gb_Library_use_package,vcl,vcl_opengl_shader))
608 ifeq ($(OS),WNT)
609 $(eval $(call gb_Library_use_package,vcl,vcl_opengl_blacklist))
610 endif
612 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
613 $(eval $(call gb_Library_add_libs,vcl,\
614 -lX11 \
615 -lXext \
617 $(eval $(call gb_Library_add_exception_objects,vcl,\
618 vcl/opengl/x11/X11DeviceInfo \
620 endif
621 endif # ! DISABLE_GUI
624 ifeq ($(OS),HAIKU)
625 $(eval $(call gb_Library_add_exception_objects,vcl,\
626 vcl/unx/generic/printer/jobdata \
627 vcl/unx/generic/printer/ppdparser \
628 vcl/null/printerinfomanager \
629 $(vcl_headless_code) \
630 $(vcl_headless_freetype_code) \
633 $(eval $(call gb_Library_add_libs,vcl,\
634 -lbe \
637 $(eval $(call gb_Library_add_exception_objects,vcl, \
638 $(if $(or $(ENABLE_QT5),$(ENABLE_KF5)),vcl/source/app/salplug) \
641 $(eval $(call gb_Library_use_externals,vcl,\
642 cairo \
643 fontconfig \
644 freetype \
645 expat \
647 endif
650 ifeq ($(OS),ANDROID)
651 $(eval $(call gb_Library_add_libs,vcl,\
652 -llog \
653 -landroid \
654 -llo-bootstrap \
656 $(eval $(call gb_Library_add_exception_objects,vcl,\
657 vcl/unx/generic/printer/jobdata \
658 vcl/unx/generic/printer/ppdparser \
659 vcl/null/printerinfomanager \
660 vcl/android/androidinst \
661 $(vcl_headless_code) \
662 $(vcl_headless_freetype_code) \
665 $(eval $(call gb_Library_use_externals,vcl,\
666 cairo \
667 fontconfig \
668 freetype \
669 expat \
671 endif
674 ifeq ($(OS),iOS)
675 $(eval $(call gb_Library_add_cxxflags,vcl,\
676 $(gb_OBJCXXFLAGS) \
678 $(eval $(call gb_Library_add_exception_objects,vcl,\
679 vcl/ios/iosinst \
680 vcl/ios/dummies \
681 vcl/ios/clipboard \
682 vcl/ios/iOSTransferable \
683 vcl/ios/DataFlavorMapping \
684 vcl/ios/HtmlFmtFlt \
685 $(vcl_coretext_code) \
686 $(vcl_quartz_code) \
687 $(vcl_headless_code) \
689 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
690 UIKit \
691 CoreFoundation \
693 endif
696 ifeq ($(OS),MACOSX)
697 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
698 Cocoa \
699 CoreFoundation \
702 $(eval $(call gb_Library_add_exception_objects,vcl,\
703 vcl/source/app/salplug \
705 endif
708 ifeq ($(OS),WNT)
709 $(eval $(call gb_Library_add_exception_objects,vcl,\
710 vcl/opengl/win/WinDeviceInfo \
711 vcl/source/app/salplug \
714 $(eval $(call gb_Library_use_system_win32_libs,vcl,\
715 ole32 \
716 setupapi \
717 version \
720 $(eval $(call gb_Library_add_nativeres,vcl,vcl/salsrc))
722 # HACK: dependency on icon themes so running unit tests don't
723 # prevent delivering these by having open file handles on WNT
724 $(eval $(call gb_Library_use_package,vcl,postprocess_images))
725 endif
727 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
728 ifeq ($(USING_X11),TRUE)
729 $(eval $(call gb_Library_use_static_libraries,vcl,\
730 glxtest \
732 endif
733 endif
735 # vim: set noet sw=4 ts=4: