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