nss: upgrade to release 3.73
[LibreOffice.git] / vcl / Library_vcl.mk
blobc661063e964189c709a861e6b3e52e313c452249
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/cnttype/mcnttfactory \
121 vcl/source/cnttype/mcnttype \
122 vcl/source/printer/QueueInfo \
123 vcl/source/window/errinf \
124 vcl/source/window/settings \
125 vcl/source/window/paint \
126 vcl/source/window/abstdlg \
127 vcl/source/window/accel \
128 vcl/source/window/accmgr \
129 vcl/source/window/brdwin \
130 vcl/source/window/bufferdevice \
131 vcl/source/window/accessibility \
132 vcl/source/window/legacyaccessibility \
133 vcl/source/window/clipping \
134 vcl/source/window/stacking \
135 vcl/source/window/debug \
136 vcl/source/window/globalization \
137 vcl/source/window/builder \
138 vcl/source/window/commandevent \
139 vcl/source/window/cursor \
140 vcl/source/window/debugevent \
141 vcl/source/window/decoview \
142 vcl/source/window/dialog \
143 vcl/source/window/dlgctrl \
144 vcl/source/window/dndeventdispatcher \
145 vcl/source/window/dndlistenercontainer \
146 vcl/source/window/dockingarea \
147 vcl/source/window/dockmgr \
148 vcl/source/window/dockwin \
149 vcl/source/window/event \
150 vcl/source/window/floatwin \
151 vcl/source/window/introwin \
152 vcl/source/window/keycod \
153 vcl/source/window/keyevent \
154 vcl/source/window/layout \
155 vcl/source/window/menu \
156 vcl/source/window/menubarwindow \
157 vcl/source/window/menufloatingwindow \
158 vcl/source/window/menuitemlist \
159 vcl/source/window/menuwindow \
160 vcl/source/window/mnemonic \
161 vcl/source/window/mouse \
162 vcl/source/window/NotebookBarAddonsMerger \
163 vcl/source/window/OptionalBox \
164 vcl/source/window/printdlg \
165 vcl/source/window/scrwnd \
166 vcl/source/window/seleng \
167 vcl/source/window/split \
168 vcl/source/window/splitwin \
169 vcl/source/window/status \
170 vcl/source/window/syschild \
171 vcl/source/window/syswin \
172 vcl/source/window/tabdlg \
173 vcl/source/window/tabpage \
174 vcl/source/window/taskpanelist \
175 vcl/source/window/toolbox2 \
176 vcl/source/window/toolbox \
177 vcl/source/window/window2 \
178 vcl/source/window/window3 \
179 vcl/source/window/window \
180 vcl/source/window/winproc \
181 vcl/source/window/wrkwin \
182 vcl/source/window/EnumContext \
183 vcl/source/control/button \
184 vcl/source/control/calendar \
185 vcl/source/control/combobox \
186 vcl/source/control/ctrl \
187 vcl/source/control/edit \
188 vcl/source/control/field2 \
189 vcl/source/control/field \
190 vcl/source/control/fixed \
191 vcl/source/control/fixedhyper \
192 vcl/source/control/hyperlabel \
193 vcl/source/control/fmtfield \
194 vcl/source/control/InterimItemWindow \
195 vcl/source/control/imgctrl \
196 vcl/source/control/imivctl1 \
197 vcl/source/control/imivctl2 \
198 vcl/source/control/ivctrl \
199 vcl/source/control/longcurr \
200 vcl/source/control/imp_listbox \
201 vcl/source/control/listbox \
202 vcl/source/control/menubtn \
203 vcl/source/control/notebookbar \
204 vcl/source/control/WeldedTabbedNotebookbar \
205 vcl/source/control/quickselectionengine \
206 vcl/source/control/prgsbar \
207 vcl/source/control/roadmap \
208 vcl/source/control/roadmapwizard \
209 vcl/source/control/scrbar \
210 vcl/source/control/slider \
211 vcl/source/control/spinbtn \
212 vcl/source/control/spinfld \
213 vcl/source/control/tabctrl \
214 vcl/source/control/throbber \
215 vcl/source/control/wizardmachine \
216 vcl/source/edit/vclmedit \
217 vcl/source/edit/textdata \
218 vcl/source/edit/textdoc \
219 vcl/source/edit/texteng \
220 vcl/source/edit/textundo \
221 vcl/source/edit/textview \
222 vcl/source/edit/txtattr \
223 vcl/source/edit/xtextedt \
224 vcl/source/toolkit/group \
225 vcl/source/toolkit/morebtn \
226 vcl/source/outdev/outdev \
227 vcl/source/outdev/outdevstate \
228 vcl/source/outdev/clipping \
229 vcl/source/outdev/polygon \
230 vcl/source/outdev/transparent \
231 vcl/source/outdev/mask \
232 vcl/source/outdev/bitmap \
233 vcl/source/outdev/font \
234 vcl/source/outdev/text \
235 vcl/source/outdev/textline \
236 vcl/source/outdev/pixel \
237 vcl/source/outdev/rect \
238 vcl/source/outdev/line \
239 vcl/source/outdev/polyline \
240 vcl/source/outdev/hatch \
241 vcl/source/outdev/gradient \
242 vcl/source/outdev/curvedshapes \
243 vcl/source/outdev/wallpaper \
244 vcl/source/outdev/vclreferencebase \
245 vcl/source/outdev/nativecontrols \
246 vcl/source/outdev/map \
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/gdi/alpha \
265 vcl/source/gdi/bitmap3 \
266 vcl/source/gdi/bitmapex \
267 vcl/source/gdi/bmpacc2 \
268 vcl/source/gdi/bmpacc3 \
269 vcl/source/gdi/bmpacc \
270 vcl/source/gdi/bmpfast \
271 vcl/source/gdi/configsettings \
272 vcl/source/gdi/cvtgrf \
273 vcl/source/gdi/svmconverter \
274 vcl/source/gdi/dibtools \
275 vcl/source/gdi/embeddedfontshelper \
276 vcl/source/gdi/FileDefinitionWidgetDraw \
277 vcl/source/gdi/WidgetDefinitionReader \
278 vcl/source/gdi/WidgetDefinition \
279 vcl/source/gdi/extoutdevdata \
280 vcl/source/gdi/gdimtf \
281 vcl/source/gdi/mtfxmldump \
282 vcl/source/gdi/gdimetafiletools \
283 vcl/source/gdi/gfxlink \
284 vcl/source/gdi/gradient \
285 vcl/source/gdi/graph \
286 vcl/source/gdi/graphictools \
287 vcl/source/gdi/hatch \
288 vcl/source/gdi/impanmvw \
289 vcl/source/gdi/impglyphitem \
290 vcl/source/gdi/impgraph \
291 vcl/source/gdi/impvect \
292 vcl/source/gdi/jobset \
293 vcl/source/gdi/lineinfo \
294 vcl/source/gdi/mapmod \
295 vcl/source/gdi/metaact \
296 vcl/source/gdi/oldprintadaptor \
297 vcl/source/gdi/pdfbuildin_fonts \
298 vcl/source/gdi/pdfextoutdevdata \
299 vcl/source/gdi/pdffontcache \
300 vcl/source/gdi/pdfwriter \
301 vcl/source/gdi/pdfwriter_impl2 \
302 vcl/source/gdi/pdfwriter_impl \
303 vcl/source/gdi/pdfobjectcopier \
304 vcl/source/gdi/print2 \
305 vcl/source/gdi/print3 \
306 vcl/source/gdi/print \
307 vcl/source/gdi/regband \
308 vcl/source/gdi/region \
309 vcl/source/gdi/regionband \
310 vcl/source/gdi/salgdilayout \
311 vcl/source/gdi/salgdiimpl \
312 vcl/source/gdi/sallayout \
313 vcl/source/gdi/salmisc \
314 vcl/source/gdi/vectorgraphicdata \
315 vcl/source/gdi/textlayout \
316 vcl/source/gdi/virdev \
317 vcl/source/gdi/wall \
318 vcl/source/gdi/scrptrun \
319 vcl/source/gdi/CommonSalLayout \
320 vcl/source/gdi/TypeSerializer \
321 vcl/source/pdf/ResourceDict \
322 vcl/source/pdf/Matrix3 \
323 vcl/source/pdf/XmpMetadata \
324 vcl/source/pdf/PDFiumLibrary \
325 vcl/source/pdf/ExternalPDFStreams \
326 vcl/source/graphic/GraphicID \
327 vcl/source/graphic/GraphicLoader \
328 vcl/source/graphic/GraphicObject \
329 vcl/source/graphic/GraphicObject2 \
330 vcl/source/graphic/GraphicReader \
331 vcl/source/graphic/grfattr \
332 vcl/source/graphic/Manager \
333 vcl/source/graphic/UnoGraphic \
334 vcl/source/graphic/UnoGraphicMapper \
335 vcl/source/graphic/UnoGraphicDescriptor \
336 vcl/source/graphic/UnoGraphicObject \
337 vcl/source/graphic/UnoGraphicProvider \
338 vcl/source/graphic/UnoGraphicTransformer \
339 vcl/source/graphic/VectorGraphicSearch \
340 vcl/source/bitmap/bitmap \
341 vcl/source/bitmap/bitmapfilter \
342 vcl/source/bitmap/BitmapAlphaClampFilter \
343 vcl/source/bitmap/BitmapBasicMorphologyFilter \
344 vcl/source/bitmap/BitmapMonochromeFilter \
345 vcl/source/bitmap/BitmapSmoothenFilter \
346 vcl/source/bitmap/BitmapLightenFilter \
347 vcl/source/bitmap/BitmapDisabledImageFilter \
348 vcl/source/bitmap/BitmapColorizeFilter \
349 vcl/source/bitmap/bitmappaint \
350 vcl/source/bitmap/BitmapGaussianSeparableBlurFilter \
351 vcl/source/bitmap/BitmapSobelGreyFilter \
352 vcl/source/bitmap/BitmapSolarizeFilter \
353 vcl/source/bitmap/BitmapSepiaFilter \
354 vcl/source/bitmap/BitmapMosaicFilter \
355 vcl/source/bitmap/BitmapEmbossGreyFilter \
356 vcl/source/bitmap/BitmapPopArtFilter \
357 vcl/source/bitmap/BitmapDuoToneFilter \
358 vcl/source/bitmap/BitmapConvolutionMatrixFilter \
359 vcl/source/bitmap/BitmapMedianFilter \
360 vcl/source/bitmap/BitmapInterpolateScaleFilter \
361 vcl/source/bitmap/BitmapSeparableUnsharpenFilter \
362 vcl/source/bitmap/BitmapFastScaleFilter \
363 vcl/source/bitmap/BitmapScaleSuperFilter \
364 vcl/source/bitmap/BitmapScaleConvolutionFilter \
365 vcl/source/bitmap/BitmapSymmetryCheck \
366 vcl/source/bitmap/BitmapColorQuantizationFilter \
367 vcl/source/bitmap/BitmapSimpleColorQuantizationFilter \
368 vcl/source/bitmap/BitmapTools \
369 vcl/source/bitmap/checksum \
370 vcl/source/bitmap/Octree \
371 vcl/source/bitmap/salbmp \
372 vcl/source/image/Image \
373 vcl/source/image/ImageTree \
374 vcl/source/image/ImageRepository \
375 vcl/source/image/ImplImage \
376 vcl/source/image/ImplImageTree \
377 vcl/source/bitmap/BitmapFilterStackBlur \
378 vcl/source/helper/canvasbitmap \
379 vcl/source/helper/canvastools \
380 vcl/source/helper/commandinfoprovider \
381 vcl/source/helper/displayconnectiondispatch \
382 vcl/source/helper/driverblocklist \
383 vcl/source/helper/errcode \
384 vcl/source/helper/evntpost \
385 vcl/source/helper/lazydelete \
386 vcl/source/helper/strhelper \
387 vcl/source/helper/svtaccessiblefactory \
388 vcl/source/helper/threadex \
389 vcl/source/app/brand \
390 vcl/source/app/customweld \
391 vcl/source/app/dbggui \
392 vcl/source/app/dndhelp \
393 vcl/source/app/help \
394 vcl/source/app/i18nhelp \
395 vcl/source/app/idle \
396 vcl/source/app/salusereventlist \
397 vcl/source/app/salvtables \
398 vcl/source/app/scheduler \
399 vcl/source/app/session \
400 vcl/source/app/settings \
401 vcl/source/app/IconThemeInfo \
402 vcl/source/app/IconThemeScanner \
403 vcl/source/app/IconThemeSelector \
404 vcl/source/app/ITiledRenderable \
405 vcl/source/app/sound \
406 vcl/source/app/stdtext \
407 vcl/source/app/svapp \
408 vcl/source/app/svdata \
409 vcl/source/app/svmain \
410 vcl/source/app/timer \
411 vcl/source/app/unohelp2 \
412 vcl/source/app/unohelp \
413 vcl/source/app/vclevent \
414 vcl/source/app/watchdog \
415 vcl/source/app/weldutils \
416 vcl/source/app/winscheduler \
417 vcl/source/components/dtranscomp \
418 vcl/source/components/factory \
419 vcl/source/components/fontident \
420 vcl/source/filter/FilterConfigCache \
421 vcl/source/filter/FilterConfigItem \
422 vcl/source/filter/graphicfilter \
423 vcl/source/filter/graphicfilter2 \
424 vcl/source/filter/GraphicNativeTransform \
425 vcl/source/filter/GraphicNativeMetadata \
426 vcl/source/filter/GraphicFormatDetector \
427 vcl/source/filter/igif/decode \
428 vcl/source/filter/igif/gifread \
429 vcl/source/filter/ipdf/pdfread \
430 vcl/source/filter/ipdf/pdfdocument \
431 vcl/source/filter/ixbm/xbmread \
432 vcl/source/filter/ixpm/xpmread \
433 vcl/source/filter/jpeg/Exif \
434 vcl/source/filter/jpeg/jpeg \
435 vcl/source/filter/jpeg/jpegc \
436 vcl/source/filter/jpeg/JpegReader \
437 vcl/source/filter/jpeg/JpegWriter \
438 vcl/source/filter/jpeg/JpegTransform \
439 vcl/source/filter/wmf/emfwr \
440 vcl/source/filter/wmf/wmf \
441 vcl/source/filter/wmf/wmfexternal \
442 vcl/source/filter/wmf/wmfwr \
443 vcl/source/filter/png/PngImageReader \
444 vcl/source/filter/png/pngread \
445 vcl/source/filter/png/pngwrite \
446 vcl/source/font/Feature \
447 vcl/source/font/FeatureCollector \
448 vcl/source/font/FeatureParser \
449 vcl/source/font/OpenTypeFeatureDefinitionList \
450 vcl/source/font/PhysicalFontCollection \
451 vcl/source/font/PhysicalFontFace \
452 vcl/source/font/PhysicalFontFamily \
453 vcl/source/font/fontattributes \
454 vcl/source/font/fontselect \
455 vcl/source/font/fontinstance \
456 vcl/source/font/fontcache \
457 vcl/source/font/fontcharmap \
458 vcl/source/font/fontmetric \
459 vcl/source/font/font \
460 vcl/source/fontsubset/cff \
461 vcl/source/fontsubset/fontsubset \
462 vcl/source/fontsubset/list \
463 vcl/source/fontsubset/sft \
464 vcl/source/fontsubset/ttcr \
465 vcl/source/fontsubset/xlat \
466 vcl/source/uitest/logger \
467 vcl/source/uitest/uiobject \
468 vcl/source/uitest/uitest \
469 vcl/source/uitest/uno/uiobject_uno \
470 vcl/source/uitest/uno/uitest_uno \
471 vcl/backendtest/outputdevice/bitmap \
472 vcl/backendtest/outputdevice/clip \
473 vcl/backendtest/outputdevice/common \
474 vcl/backendtest/outputdevice/gradient \
475 vcl/backendtest/outputdevice/line \
476 vcl/backendtest/outputdevice/outputdevice \
477 vcl/backendtest/outputdevice/pixel \
478 vcl/backendtest/outputdevice/polygon \
479 vcl/backendtest/outputdevice/polypolygon \
480 vcl/backendtest/outputdevice/polypolygon_b2d \
481 vcl/backendtest/outputdevice/polyline \
482 vcl/backendtest/outputdevice/polyline_b2d \
483 vcl/backendtest/outputdevice/rectangle \
484 vcl/jsdialog/jsdialogbuilder \
485 vcl/jsdialog/executor \
488 $(eval $(call gb_Library_add_cobjects,vcl,\
489 vcl/source/filter/jpeg/transupp \
492 vcl_quartz_code= \
493 vcl/quartz/salbmp \
494 vcl/quartz/utils \
495 vcl/quartz/salgdicommon \
496 vcl/quartz/salvd \
498 vcl_coretext_code= \
499 vcl/quartz/ctfonts \
500 vcl/quartz/salgdi \
502 vcl_headless_code= \
503 vcl/headless/svpframe \
504 $(if $(filter-out iOS,$(OS)), \
505 vcl/headless/svpbmp \
506 vcl/headless/svpgdi \
507 vcl/headless/svpdata \
508 vcl/headless/CustomWidgetDraw) \
509 vcl/headless/svpdummies \
510 vcl/headless/svpinst \
511 vcl/headless/svpvd \
512 vcl/unx/generic/app/gendisp \
513 vcl/unx/generic/app/geninst \
514 vcl/unx/generic/app/gensys \
516 vcl_headless_freetype_code=\
517 vcl/headless/svpprn \
518 vcl/headless/svptext \
519 vcl/unx/generic/app/gendata \
520 vcl/unx/generic/gdi/cairotextrender \
521 vcl/unx/generic/gdi/freetypetextrender \
522 vcl/unx/generic/glyphs/freetype_glyphcache \
523 vcl/unx/generic/glyphs/glyphcache \
524 vcl/unx/generic/fontmanager/fontsubst \
525 vcl/unx/generic/fontmanager/fontconfig \
526 vcl/unx/generic/fontmanager/fontmanager \
527 vcl/unx/generic/fontmanager/helper \
528 vcl/headless/svpcairotextrender \
529 vcl/unx/generic/print/bitmap_gfx \
530 vcl/unx/generic/print/common_gfx \
531 vcl/unx/generic/print/glyphset \
532 vcl/unx/generic/print/printerjob \
533 vcl/unx/generic/print/psputil \
534 vcl/unx/generic/print/genpspgraphics \
535 vcl/unx/generic/print/genprnpsp \
536 vcl/unx/generic/print/prtsetup \
537 vcl/unx/generic/print/text_gfx \
539 ifeq ($(USING_X11),TRUE)
540 $(eval $(call gb_Library_add_exception_objects,vcl,\
541 vcl/source/app/salplug \
542 vcl/unx/generic/printer/jobdata \
543 vcl/unx/generic/printer/ppdparser \
544 vcl/unx/generic/gdi/nativewindowhandleprovider \
545 vcl/unx/generic/window/screensaverinhibitor \
546 vcl/unx/generic/printer/cpdmgr \
547 $(if $(filter TRUE,$(ENABLE_CUPS)),\
548 vcl/unx/generic/printer/cupsmgr \
549 vcl/unx/generic/printer/printerinfomanager \
551 vcl/null/printerinfomanager \
553 $(vcl_headless_code) \
554 $(vcl_headless_freetype_code) \
557 $(eval $(call gb_Library_use_externals,vcl,\
558 cairo \
559 cups \
560 dbus \
561 fontconfig \
562 freetype \
563 valgrind \
565 endif
567 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
568 $(eval $(call gb_Library_add_libs,vcl,\
569 -lm $(DLOPEN_LIBS) \
571 endif
573 ifeq ($(DISABLE_GUI),TRUE)
574 $(eval $(call gb_Library_add_exception_objects,vcl,\
575 vcl/unx/generic/printer/jobdata \
576 vcl/unx/generic/printer/ppdparser \
577 vcl/null/printerinfomanager \
578 vcl/headless/headlessinst \
579 vcl/skia/SkiaHelper \
580 $(vcl_headless_code) \
581 $(vcl_headless_freetype_code) \
584 $(eval $(call gb_Library_use_externals,vcl,\
585 cairo \
586 freetype \
587 fontconfig \
590 else # ! DISABLE_GUI
592 $(eval $(call gb_Library_add_exception_objects,vcl,\
593 vcl/opengl/DeviceInfo \
594 vcl/opengl/gdiimpl \
595 vcl/opengl/salbmp \
596 vcl/opengl/scale \
597 vcl/opengl/framebuffer \
598 vcl/opengl/program \
599 vcl/opengl/texture \
600 vcl/opengl/FixedTextureAtlas \
601 vcl/opengl/PackedTextureAtlas \
602 vcl/opengl/RenderList \
603 vcl/opengl/LineRenderUtils \
604 vcl/source/opengl/OpenGLContext \
605 vcl/source/opengl/OpenGLHelper \
606 vcl/skia/SkiaHelper \
607 $(if $(filter SKIA,$(BUILD_TYPE)), \
608 vcl/skia/salbmp \
609 vcl/skia/zone \
610 vcl/skia/gdiimpl \
614 # runtime dependency
615 $(eval $(call gb_Library_use_package,vcl,vcl_opengl_shader))
616 ifeq ($(OS),WNT)
617 $(eval $(call gb_Library_use_package,vcl,vcl_opengl_denylist))
618 endif
620 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
621 $(eval $(call gb_Library_add_libs,vcl,\
622 -lX11 \
623 -lXext \
625 $(eval $(call gb_Library_add_exception_objects,vcl,\
626 vcl/opengl/x11/X11DeviceInfo \
628 endif
629 endif # ! DISABLE_GUI
632 ifeq ($(OS),HAIKU)
633 $(eval $(call gb_Library_add_exception_objects,vcl,\
634 vcl/unx/generic/printer/jobdata \
635 vcl/unx/generic/printer/ppdparser \
636 vcl/null/printerinfomanager \
637 $(vcl_headless_code) \
638 $(vcl_headless_freetype_code) \
641 $(eval $(call gb_Library_add_libs,vcl,\
642 -lbe \
645 $(eval $(call gb_Library_add_exception_objects,vcl, \
646 $(if $(or $(ENABLE_QT5),$(ENABLE_KF5)),vcl/source/app/salplug) \
649 $(eval $(call gb_Library_use_externals,vcl,\
650 cairo \
651 fontconfig \
652 freetype \
653 expat \
655 endif
658 ifeq ($(OS),ANDROID)
659 $(eval $(call gb_Library_add_libs,vcl,\
660 -llog \
661 -landroid \
662 -llo-bootstrap \
664 $(eval $(call gb_Library_add_exception_objects,vcl,\
665 vcl/unx/generic/printer/jobdata \
666 vcl/unx/generic/printer/ppdparser \
667 vcl/null/printerinfomanager \
668 vcl/android/androidinst \
669 $(vcl_headless_code) \
670 $(vcl_headless_freetype_code) \
673 $(eval $(call gb_Library_use_externals,vcl,\
674 cairo \
675 fontconfig \
676 freetype \
677 expat \
679 endif
682 ifeq ($(OS),iOS)
683 $(eval $(call gb_Library_add_cxxflags,vcl,\
684 $(gb_OBJCXXFLAGS) \
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_coretext_code) \
695 $(vcl_quartz_code) \
696 $(vcl_headless_code) \
698 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
699 UIKit \
700 CoreFoundation \
702 endif
705 ifeq ($(OS),MACOSX)
706 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
707 Cocoa \
708 CoreFoundation \
711 $(eval $(call gb_Library_add_exception_objects,vcl,\
712 vcl/source/app/salplug \
714 endif
717 ifeq ($(OS),WNT)
718 $(eval $(call gb_Library_add_exception_objects,vcl,\
719 vcl/opengl/win/WinDeviceInfo \
720 vcl/source/app/salplug \
723 $(eval $(call gb_Library_use_system_win32_libs,vcl,\
724 ole32 \
725 setupapi \
726 version \
729 $(eval $(call gb_Library_add_nativeres,vcl,vcl/salsrc))
731 # HACK: dependency on icon themes so running unit tests don't
732 # prevent delivering these by having open file handles on WNT
733 ifeq ($(gb_Side),host)
734 $(eval $(call gb_Library_use_package,vcl,postprocess_images))
735 endif
736 endif # $(OS) == WNT
739 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
740 ifeq ($(USING_X11),TRUE)
741 $(eval $(call gb_Library_use_static_libraries,vcl,\
742 glxtest \
744 endif
745 endif
747 # vim: set noet sw=4 ts=4: