calc: on editing invalidation of view with different zoom is wrong
[LibreOffice.git] / vcl / Library_vcl.mk
blobd430c649366f357ba16f54d0d0110ccf062b878f
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Library_Library,vcl))
22 $(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.common,services))
24 ifeq ($(OS),MACOSX)
25 $(eval $(call gb_Library_add_componentimpl,vcl,macosx))
26 else ifeq ($(OS),WNT)
27 $(eval $(call gb_Library_add_componentimpl,vcl,windows))
28 else ifeq ($(OS),ANDROID)
29 $(eval $(call gb_Library_add_componentimpl,vcl,android))
30 else ifeq ($(OS),iOS)
31 $(eval $(call gb_Library_add_componentimpl,vcl,ios))
32 else ifeq ($(DISABLE_GUI),TRUE)
33 $(eval $(call gb_Library_add_componentimpl,vcl,headless))
34 else
35 $(eval $(call gb_Library_add_componentimpl,vcl,unx))
36 endif
38 $(eval $(call gb_Library_set_precompiled_header,vcl,vcl/inc/pch/precompiled_vcl))
40 $(eval $(call gb_Library_set_include,vcl,\
41 $$(INCLUDE) \
42 -I$(SRCDIR)/vcl/inc \
45 $(eval $(call gb_Library_add_defs,vcl,\
46 -DVCL_DLLIMPLEMENTATION \
47 -DDLLIMPLEMENTATION_UITEST \
48 -DCUI_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,cui))\" \
49 -DDESKTOP_DETECTOR_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,desktop_detector))\" \
50 -DTK_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,tk))\" \
51 $(if $(SYSTEM_GLM),-DGLM_ENABLE_EXPERIMENTAL) \
52 $(if $(SYSTEM_LIBFIXMATH),-DSYSTEM_LIBFIXMATH) \
55 $(eval $(call gb_Library_use_sdk_api,vcl))
57 $(eval $(call gb_Library_use_custom_headers,vcl,\
58 officecfg/registry \
61 $(eval $(call gb_Library_use_libraries,vcl,\
62 basegfx \
63 comphelper \
64 cppu \
65 cppuhelper \
66 $(call gb_Helper_optional,BREAKPAD,crashreport) \
67 drawinglayercore \
68 i18nlangtag \
69 i18nutil \
70 $(if $(ENABLE_JAVA),jvmaccess) \
71 $(if $(filter OPENCL,$(BUILD_TYPE)),opencl) \
72 sal \
73 salhelper \
74 sot \
75 svl \
76 tl \
77 ucbhelper \
78 utl \
79 xmlreader \
82 $(eval $(call gb_Library_use_externals,vcl,\
83 boost_headers \
84 expat \
85 gio \
86 glm_headers \
87 graphite \
88 harfbuzz \
89 icu_headers \
90 icuuc \
91 lcms2 \
92 libeot \
93 libjpeg \
94 libpng \
95 libtiff \
96 libwebp \
97 mdds_headers \
100 $(eval $(call gb_Library_add_exception_objects,vcl,\
101 vcl/source/rendercontext/drawmode \
102 vcl/skia/SkiaHelper \
103 vcl/source/animate/Animation \
104 vcl/source/animate/AnimationFrame \
105 vcl/source/animate/AnimationRenderer \
106 vcl/source/cnttype/mcnttfactory \
107 vcl/source/cnttype/mcnttype \
108 vcl/source/printer/Options \
109 vcl/source/printer/QueueInfo \
110 vcl/source/window/bubblewindow \
111 vcl/source/window/errinf \
112 vcl/source/window/settings \
113 vcl/source/window/paint \
114 vcl/source/window/abstdlg \
115 vcl/source/window/accel \
116 vcl/source/window/accmgr \
117 vcl/source/window/brdwin \
118 vcl/source/window/bufferdevice \
119 vcl/source/window/accessibility \
120 vcl/source/window/legacyaccessibility \
121 vcl/source/window/clipping \
122 vcl/source/window/stacking \
123 vcl/source/window/debug \
124 vcl/source/window/globalization \
125 vcl/source/window/builder \
126 vcl/source/window/commandevent \
127 vcl/source/window/cursor \
128 vcl/source/window/debugevent \
129 vcl/source/window/decoview \
130 vcl/source/window/dialog \
131 vcl/source/window/dlgctrl \
132 vcl/source/window/dndeventdispatcher \
133 vcl/source/window/dndlistenercontainer \
134 vcl/source/window/dockingarea \
135 vcl/source/window/dockmgr \
136 vcl/source/window/dockwin \
137 vcl/source/window/DocWindow \
138 vcl/source/window/event \
139 vcl/source/window/floatwin \
140 $(if $(ENABLE_WASM_STRIP_SPLASH),,vcl/source/window/introwin) \
141 vcl/source/window/keycod \
142 vcl/source/window/keyevent \
143 vcl/source/window/layout \
144 vcl/source/window/menu \
145 vcl/source/window/menubarwindow \
146 vcl/source/window/menufloatingwindow \
147 vcl/source/window/menuitemlist \
148 vcl/source/window/menuwindow \
149 vcl/source/window/mnemonic \
150 vcl/source/window/mouse \
151 vcl/source/window/NotebookBarAddonsMerger \
152 vcl/source/window/OptionalBox \
153 vcl/source/window/printdlg \
154 vcl/source/window/scrwnd \
155 vcl/source/window/seleng \
156 vcl/source/window/split \
157 vcl/source/window/splitwin \
158 vcl/source/window/status \
159 vcl/source/window/syschild \
160 vcl/source/window/syswin \
161 vcl/source/window/tabdlg \
162 vcl/source/window/tabpage \
163 vcl/source/window/taskpanelist \
164 vcl/source/window/toolbox2 \
165 vcl/source/window/toolbox \
166 vcl/source/window/window2 \
167 vcl/source/window/window3 \
168 vcl/source/window/window \
169 vcl/source/window/winproc \
170 vcl/source/window/wrkwin \
171 vcl/source/window/EnumContext \
172 vcl/source/control/button \
173 vcl/source/control/calendar \
174 vcl/source/control/combobox \
175 vcl/source/control/ctrl \
176 vcl/source/control/ContextVBox \
177 vcl/source/control/DropdownBox \
178 vcl/source/control/edit \
179 vcl/source/control/field2 \
180 vcl/source/control/field \
181 vcl/source/control/fixed \
182 vcl/source/control/fixedhyper \
183 vcl/source/control/hyperlabel \
184 vcl/source/control/fmtfield \
185 vcl/source/control/InterimItemWindow \
186 vcl/source/control/imgctrl \
187 vcl/source/control/imivctl1 \
188 vcl/source/control/imivctl2 \
189 vcl/source/control/ivctrl \
190 vcl/source/control/longcurr \
191 vcl/source/control/imp_listbox \
192 vcl/source/control/listbox \
193 vcl/source/control/managedmenubutton \
194 vcl/source/control/menubtn \
195 vcl/source/control/NotebookbarPopup \
196 vcl/source/control/PriorityHBox \
197 vcl/source/control/PriorityMergedHBox \
198 vcl/source/control/notebookbar \
199 vcl/source/control/WeldedTabbedNotebookbar \
200 vcl/source/control/quickselectionengine \
201 vcl/source/control/prgsbar \
202 vcl/source/control/roadmap \
203 vcl/source/control/roadmapwizard \
204 vcl/source/control/scrbar \
205 vcl/source/control/slider \
206 vcl/source/control/spinbtn \
207 vcl/source/control/spinfld \
208 vcl/source/control/tabctrl \
209 vcl/source/control/throbber \
210 vcl/source/control/wizardmachine \
211 vcl/source/edit/vclmedit \
212 vcl/source/edit/textdata \
213 vcl/source/edit/textdoc \
214 vcl/source/edit/texteng \
215 vcl/source/edit/textundo \
216 vcl/source/edit/textview \
217 vcl/source/edit/txtattr \
218 vcl/source/edit/xtextedt \
219 vcl/source/toolkit/group \
220 vcl/source/toolkit/morebtn \
221 vcl/source/outdev/background \
222 vcl/source/outdev/eps \
223 vcl/source/outdev/outdev \
224 vcl/source/outdev/stack \
225 vcl/source/outdev/clipping \
226 vcl/source/outdev/fill \
227 vcl/source/outdev/polygon \
228 vcl/source/outdev/transparent \
229 vcl/source/outdev/mask \
230 vcl/source/outdev/bitmap \
231 vcl/source/outdev/bitmapex \
232 vcl/source/outdev/font \
233 vcl/source/outdev/text \
234 vcl/source/outdev/textline \
235 vcl/source/outdev/pixel \
236 vcl/source/outdev/rect \
237 vcl/source/outdev/line \
238 vcl/source/outdev/polyline \
239 vcl/source/outdev/hatch \
240 vcl/source/outdev/gradient \
241 vcl/source/outdev/curvedshapes \
242 vcl/source/outdev/wallpaper \
243 vcl/source/outdev/vclreferencebase \
244 vcl/source/outdev/nativecontrols \
245 vcl/source/outdev/map \
246 vcl/source/text/ImplLayoutArgs \
247 vcl/source/text/TextLayoutCache \
248 vcl/source/treelist/headbar \
249 vcl/source/treelist/iconview \
250 vcl/source/treelist/iconviewimpl \
251 vcl/source/treelist/imap \
252 vcl/source/treelist/imap2 \
253 vcl/source/treelist/imap3 \
254 vcl/source/treelist/inetimg \
255 vcl/source/treelist/svtabbx \
256 vcl/source/treelist/transfer \
257 vcl/source/treelist/transfer2 \
258 vcl/source/treelist/viewdataentry \
259 vcl/source/treelist/treelist \
260 vcl/source/treelist/treelistbox \
261 vcl/source/treelist/treelistentry \
262 vcl/source/treelist/svimpbox \
263 vcl/source/treelist/svlbitm \
264 vcl/source/treelist/uiobject \
265 vcl/source/text/ImplLayoutRuns \
266 vcl/source/text/mnemonic \
267 vcl/source/gdi/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/textlayout \
307 vcl/source/gdi/virdev \
308 vcl/source/gdi/wall \
309 vcl/source/gdi/scrptrun \
310 vcl/source/gdi/CommonSalLayout \
311 vcl/source/gdi/TypeSerializer \
312 vcl/source/pdf/PdfConfig \
313 vcl/source/pdf/ResourceDict \
314 vcl/source/pdf/Matrix3 \
315 vcl/source/pdf/XmpMetadata \
316 vcl/source/pdf/ExternalPDFStreams \
317 vcl/source/graphic/BinaryDataContainer \
318 vcl/source/graphic/BinaryDataContainerTools \
319 vcl/source/graphic/GraphicID \
320 vcl/source/graphic/GraphicLoader \
321 vcl/source/graphic/GraphicObject \
322 vcl/source/graphic/GraphicObject2 \
323 vcl/source/graphic/GraphicReader \
324 vcl/source/graphic/Manager \
325 vcl/source/graphic/UnoBinaryDataContainer \
326 vcl/source/graphic/UnoGraphic \
327 vcl/source/graphic/UnoGraphicMapper \
328 vcl/source/graphic/UnoGraphicDescriptor \
329 vcl/source/graphic/UnoGraphicObject \
330 vcl/source/graphic/UnoGraphicProvider \
331 vcl/source/graphic/VectorGraphicSearch \
332 vcl/source/graphic/VectorGraphicLoader \
333 vcl/source/bitmap/impvect \
334 vcl/source/bitmap/bitmap \
335 vcl/source/bitmap/bitmappalette \
336 vcl/source/bitmap/BitmapEx \
337 vcl/source/bitmap/BitmapInfoAccess \
338 vcl/source/bitmap/BitmapReadAccess \
339 vcl/source/bitmap/BitmapWriteAccess \
340 vcl/source/bitmap/alpha \
341 vcl/source/bitmap/dibtools \
342 vcl/source/bitmap/bmpfast \
343 vcl/source/bitmap/bitmapfilter \
344 vcl/source/bitmap/bitmappaint \
345 vcl/source/bitmap/BitmapShadowFilter \
346 vcl/source/bitmap/BitmapAlphaClampFilter \
347 vcl/source/bitmap/BitmapBasicMorphologyFilter \
348 vcl/source/bitmap/BitmapMaskToAlphaFilter \
349 vcl/source/bitmap/BitmapMonochromeFilter \
350 vcl/source/bitmap/BitmapSmoothenFilter \
351 vcl/source/bitmap/BitmapLightenFilter \
352 vcl/source/bitmap/BitmapDisabledImageFilter \
353 vcl/source/bitmap/BitmapColorizeFilter \
354 vcl/source/bitmap/BitmapGaussianSeparableBlurFilter \
355 vcl/source/bitmap/BitmapSobelGreyFilter \
356 vcl/source/bitmap/BitmapSolarizeFilter \
357 vcl/source/bitmap/BitmapSepiaFilter \
358 vcl/source/bitmap/BitmapMosaicFilter \
359 vcl/source/bitmap/BitmapEmbossGreyFilter \
360 vcl/source/bitmap/BitmapPopArtFilter \
361 vcl/source/bitmap/BitmapDuoToneFilter \
362 vcl/source/bitmap/BitmapConvolutionMatrixFilter \
363 vcl/source/bitmap/BitmapMedianFilter \
364 vcl/source/bitmap/BitmapInterpolateScaleFilter \
365 vcl/source/bitmap/BitmapSeparableUnsharpenFilter \
366 vcl/source/bitmap/BitmapFastScaleFilter \
367 vcl/source/bitmap/BitmapScaleSuperFilter \
368 vcl/source/bitmap/BitmapScaleConvolutionFilter \
369 vcl/source/bitmap/BitmapSymmetryCheck \
370 vcl/source/bitmap/BitmapColorQuantizationFilter \
371 vcl/source/bitmap/BitmapSimpleColorQuantizationFilter \
372 vcl/source/bitmap/BitmapTools \
373 vcl/source/bitmap/Octree \
374 vcl/source/bitmap/salbmp \
375 vcl/source/image/Image \
376 vcl/source/image/ImageTree \
377 vcl/source/image/ImageRepository \
378 vcl/source/image/ImplImage \
379 vcl/source/image/ImplImageTree \
380 vcl/source/bitmap/BitmapFilterStackBlur \
381 vcl/source/helper/canvasbitmap \
382 vcl/source/helper/canvastools \
383 vcl/source/helper/commandinfoprovider \
384 vcl/source/helper/displayconnectiondispatch \
385 vcl/source/helper/driverblocklist \
386 vcl/source/helper/evntpost \
387 vcl/source/helper/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/headless/svpcairotextrender \
560 vcl/unx/generic/print/bitmap_gfx \
561 vcl/unx/generic/print/common_gfx \
562 vcl/unx/generic/print/glyphset \
563 vcl/unx/generic/print/printerjob \
564 vcl/unx/generic/print/psputil \
565 vcl/unx/generic/print/GenPspGfxBackend \
566 vcl/unx/generic/print/genpspgraphics \
567 vcl/unx/generic/print/genprnpsp \
568 vcl/unx/generic/print/prtsetup \
569 vcl/unx/generic/print/text_gfx \
570 vcl/unx/generic/printer/jobdata \
571 vcl/unx/generic/printer/ppdparser \
573 ifeq ($(SYSTEM_LIBFIXMATH),TRUE)
574 $(eval $(call gb_Library_add_libs,vcl,\
575 -llibfixmath \
577 endif
579 ifeq ($(USING_X11),TRUE)
580 $(eval $(call gb_Library_add_exception_objects,vcl,\
581 vcl/unx/generic/window/screensaverinhibitor \
582 vcl/unx/generic/printer/cpdmgr \
585 $(eval $(call gb_Library_use_externals,vcl,\
586 dbus \
587 valgrind \
590 $(eval $(call gb_Library_add_libs,vcl,\
591 -lX11 \
592 -lXext \
594 endif # USING_X11
597 ifeq ($(DISABLE_GUI),TRUE)
598 $(eval $(call gb_Library_add_exception_objects,vcl,\
599 vcl/headless/headlessinst \
602 else # !DISABLE_GUI
604 $(eval $(call gb_Library_add_exception_objects,vcl,\
605 vcl/source/opengl/OpenGLContext \
606 vcl/source/opengl/OpenGLHelper \
607 $(if $(filter SKIA,$(BUILD_TYPE)), \
608 vcl/skia/salbmp \
609 vcl/skia/zone \
610 vcl/skia/gdiimpl \
614 $(eval $(call gb_Library_use_externals,vcl,\
615 epoxy \
616 $(if $(filter SKIA,$(BUILD_TYPE)),skia) \
618 endif # !DISABLE_GUI
622 # * plugin loader: used on all platforms except iOS and Android
623 # * select headless code and corresponding libraries
625 $(eval $(call gb_Library_add_exception_objects,vcl,\
626 $(if $(USE_HEADLESS_CODE), \
627 $(if $(ENABLE_CUPS), \
628 vcl/unx/generic/printer/cupsmgr \
629 vcl/unx/generic/printer/printerinfomanager \
631 vcl/null/printerinfomanager \
633 $(vcl_headless_code) \
634 $(vcl_headless_freetype_code) \
636 vcl/source/pdf/$(if $(filter PDFIUM,$(BUILD_TYPE)),,Dummy)PDFiumLibrary \
639 # fontconfig depends on expat for static builds
640 $(eval $(call gb_Library_use_externals,vcl,\
641 $(if $(USE_HEADLESS_CODE), \
642 cairo \
643 $(if $(ENABLE_CUPS),cups) \
644 fontconfig \
645 freetype \
647 $(if $(filter PDFIUM,$(BUILD_TYPE)),pdfium) \
650 $(eval $(call gb_Library_add_libs,vcl,\
651 $(if $(filter LINUX %BSD SOLARIS,$(OS)), \
652 -lm \
653 $(if $(DISABLE_DYNLOADING),,$(UNIX_DLAPI_LIBS)) \
659 # OS specific stuff not handled yet
662 ifeq ($(OS),HAIKU)
663 $(eval $(call gb_Library_add_libs,vcl,\
664 -lbe \
666 endif
669 ifeq ($(OS),ANDROID)
670 $(eval $(call gb_Library_add_libs,vcl,\
671 -llog \
672 -landroid \
673 -llo-bootstrap \
675 $(eval $(call gb_Library_add_exception_objects,vcl,\
676 vcl/android/androidinst \
678 endif
681 ifeq ($(OS),iOS)
682 $(eval $(call gb_Library_add_cxxflags,vcl,\
683 $(gb_OBJCXXFLAGS) \
685 $(eval $(call gb_Library_add_objcxxobjects,vcl,\
686 vcl/quartz/cgutils \
688 $(eval $(call gb_Library_add_exception_objects,vcl,\
689 vcl/ios/iosinst \
690 vcl/ios/dummies \
691 vcl/ios/clipboard \
692 vcl/ios/salios \
693 vcl/ios/iOSTransferable \
694 vcl/ios/DataFlavorMapping \
695 vcl/ios/HtmlFmtFlt \
696 vcl/quartz/ctfonts \
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 \
724 endif
727 ifeq ($(OS),WNT)
728 $(eval $(call gb_Library_add_exception_objects,vcl,\
729 vcl/source/opengl/win/WinDeviceInfo \
730 vcl/win/app/fileregistration \
733 $(eval $(call gb_Library_use_system_win32_libs,vcl,\
734 ole32 \
735 setupapi \
736 version \
739 $(eval $(call gb_Library_add_nativeres,vcl,vcl/salsrc))
741 # HACK: dependency on icon themes so running unit tests don't
742 # prevent delivering these by having open file handles on WNT
743 $(eval $(call gb_Library_use_packages,vcl, \
744 vcl_opengl_denylist \
745 $(if $(filter host,$(gb_Side)),postprocess_images) \
747 endif # WNT
749 # vim: set noet sw=4 ts=4: