Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / vcl / Library_vcl.mk
bloba0113a2e85d4460d0fdeae323b08d71a9a026ffa
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 ifeq ($(OS),MACOSX)
23 $(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.macosx))
24 else ifeq ($(OS),WNT)
25 $(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.windows))
26 else ifeq ($(OS),ANDROID)
27 $(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.android))
28 else ifeq ($(OS),IOS)
29 $(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.ios))
30 else ifeq ($(ENABLE_HEADLESS),TRUE)
31 $(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.headless))
32 else
33 $(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.unx))
34 endif
36 $(eval $(call gb_Library_set_precompiled_header,vcl,$(SRCDIR)/vcl/inc/pch/precompiled_vcl))
38 $(eval $(call gb_Library_set_include,vcl,\
39 $$(INCLUDE) \
40 -I$(SRCDIR)/vcl/inc \
43 $(eval $(call gb_Library_add_defs,vcl,\
44 -DVCL_DLLIMPLEMENTATION \
45 -DDLLIMPLEMENTATION_UITEST \
46 -DCUI_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,cui))\" \
47 -DDESKTOP_DETECTOR_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,desktop_detector))\" \
48 -DTK_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,tk))\" \
49 -DENABLE_MERGELIBS=$(if $(MERGELIBS),1,0) \
52 $(eval $(call gb_Library_use_sdk_api,vcl))
54 $(eval $(call gb_Library_use_custom_headers,vcl,\
55 officecfg/registry \
58 $(eval $(call gb_Library_use_externals,vcl,\
59 $(if $(filter LINUX MACOSX %BSD SOLARIS,$(OS)), \
60 curl) \
61 jpeg \
62 libeot \
63 $(if $(filter PDFIUM,$(BUILD_TYPE)),pdfium) \
66 ifeq ($(TLS),NSS)
67 $(eval $(call gb_Library_use_externals,vcl,\
68 $(if $(filter-out IOS WNT,$(OS)), \
69 nss3 \
70 plc4) \
72 endif
74 $(eval $(call gb_Library_use_libraries,vcl,\
75 $(call gb_Helper_optional,BREAKPAD, \
76 crashreport) \
77 svl \
78 tl \
79 utl \
80 sot \
81 ucbhelper \
82 basegfx \
83 comphelper \
84 cppuhelper \
85 i18nlangtag \
86 i18nutil \
87 $(if $(filter OPENCL,$(BUILD_TYPE)),opencl) \
88 cppu \
89 sal \
90 salhelper \
91 xmlreader \
94 ifeq ($(OS),MACOSX)
95 $(eval $(call gb_Library_add_libs,vcl,\
96 -framework IOKit \
97 -F/System/Library/PrivateFrameworks \
98 -framework CoreUI \
99 -lobjc \
101 endif
102 ifeq ($(OS),MACOSX)
104 $(eval $(call gb_Library_add_cxxflags,vcl,\
105 $(gb_OBJCXXFLAGS) \
108 endif
110 ifeq ($(ENABLE_JAVA),TRUE)
111 $(eval $(call gb_Library_use_libraries,vcl,\
112 jvmaccess \
114 endif
116 $(eval $(call gb_Library_use_externals,vcl,\
117 boost_headers \
118 gio \
119 glm_headers \
120 graphite \
121 harfbuzz \
122 icu_headers \
123 icuuc \
124 lcms2 \
125 mdds_headers \
127 ifeq ($(ENABLE_HEADLESS),)
128 $(eval $(call gb_Library_use_externals,vcl,\
129 epoxy \
131 endif
133 $(eval $(call gb_Library_add_exception_objects,vcl,\
134 vcl/source/window/errinf \
135 vcl/source/window/settings \
136 vcl/source/window/paint \
137 vcl/source/window/abstdlg \
138 vcl/source/window/accel \
139 vcl/source/window/accmgr \
140 vcl/source/window/brdwin \
141 vcl/source/window/accessibility \
142 vcl/source/window/legacyaccessibility \
143 vcl/source/window/clipping \
144 vcl/source/window/stacking \
145 vcl/source/window/debug \
146 vcl/source/window/globalization \
147 vcl/source/window/btndlg \
148 vcl/source/window/builder \
149 vcl/source/window/commandevent \
150 vcl/source/window/cursor \
151 vcl/source/window/debugevent \
152 vcl/source/window/decoview \
153 vcl/source/window/dialog \
154 vcl/source/window/dlgctrl \
155 vcl/source/window/dndeventdispatcher \
156 vcl/source/window/dndlistenercontainer \
157 vcl/source/window/dockingarea \
158 vcl/source/window/dockmgr \
159 vcl/source/window/dockwin \
160 vcl/source/window/event \
161 vcl/source/window/floatwin \
162 vcl/source/window/introwin \
163 vcl/source/window/keycod \
164 vcl/source/window/keyevent \
165 vcl/source/window/layout \
166 vcl/source/window/menu \
167 vcl/source/window/menubarwindow \
168 vcl/source/window/menufloatingwindow \
169 vcl/source/window/menuitemlist \
170 vcl/source/window/menuwindow \
171 vcl/source/window/mnemonic \
172 vcl/source/window/mnemonicengine \
173 vcl/source/window/mouse \
174 vcl/source/window/msgbox \
175 vcl/source/window/popupmenuwindow \
176 vcl/source/window/printdlg \
177 vcl/source/window/scrwnd \
178 vcl/source/window/seleng \
179 vcl/source/window/split \
180 vcl/source/window/splitwin \
181 vcl/source/window/status \
182 vcl/source/window/syschild \
183 vcl/source/window/syswin \
184 vcl/source/window/tabdlg \
185 vcl/source/window/tabpage \
186 vcl/source/window/taskpanelist \
187 vcl/source/window/toolbox2 \
188 vcl/source/window/toolbox \
189 vcl/source/window/window2 \
190 vcl/source/window/window3 \
191 vcl/source/window/window \
192 vcl/source/window/winproc \
193 vcl/source/window/wrkwin \
194 vcl/source/window/EnumContext \
195 vcl/source/control/button \
196 vcl/source/control/combobox \
197 vcl/source/control/ctrl \
198 vcl/source/control/edit \
199 vcl/source/control/field2 \
200 vcl/source/control/field \
201 vcl/source/control/fixed \
202 vcl/source/control/fixedhyper \
203 vcl/source/control/group \
204 vcl/source/control/imgctrl \
205 vcl/source/control/longcurr \
206 vcl/source/control/imp_listbox \
207 vcl/source/control/listbox \
208 vcl/source/control/menubtn \
209 vcl/source/control/morebtn \
210 vcl/source/control/notebookbar \
211 vcl/source/control/quickselectionengine \
212 vcl/source/control/prgsbar \
213 vcl/source/control/scrbar \
214 vcl/source/control/slider \
215 vcl/source/control/spinbtn \
216 vcl/source/control/spinfld \
217 vcl/source/control/tabctrl \
218 vcl/source/control/throbber \
219 vcl/source/edit/vclmedit \
220 vcl/source/edit/textdata \
221 vcl/source/edit/textdoc \
222 vcl/source/edit/texteng \
223 vcl/source/edit/textundo \
224 vcl/source/edit/textview \
225 vcl/source/edit/txtattr \
226 vcl/source/edit/xtextedt \
227 vcl/source/outdev/outdev \
228 vcl/source/outdev/outdevstate \
229 vcl/source/outdev/outdevstatestack \
230 vcl/source/outdev/clipping \
231 vcl/source/outdev/polygon \
232 vcl/source/outdev/transparent \
233 vcl/source/outdev/mask \
234 vcl/source/outdev/bitmap \
235 vcl/source/outdev/font \
236 vcl/source/outdev/text \
237 vcl/source/outdev/textline \
238 vcl/source/outdev/pixel \
239 vcl/source/outdev/rect \
240 vcl/source/outdev/line \
241 vcl/source/outdev/polyline \
242 vcl/source/outdev/hatch \
243 vcl/source/outdev/gradient \
244 vcl/source/outdev/curvedshapes \
245 vcl/source/outdev/wallpaper \
246 vcl/source/outdev/vclreferencebase \
247 vcl/source/outdev/nativecontrols \
248 vcl/source/outdev/map \
249 vcl/source/gdi/alpha \
250 vcl/source/gdi/animate \
251 vcl/source/gdi/base14 \
252 vcl/source/gdi/bitmap3 \
253 vcl/source/gdi/bitmap4 \
254 vcl/source/gdi/bitmap \
255 vcl/source/gdi/bitmapex \
256 vcl/source/gdi/bmpacc2 \
257 vcl/source/gdi/bmpacc3 \
258 vcl/source/gdi/bmpacc \
259 vcl/source/gdi/bmpfast \
260 vcl/source/gdi/configsettings \
261 vcl/source/gdi/cvtgrf \
262 vcl/source/gdi/svmconverter \
263 vcl/source/gdi/dibtools \
264 vcl/source/gdi/embeddedfontshelper \
265 vcl/source/gdi/extoutdevdata \
266 vcl/source/gdi/gdimtf \
267 vcl/source/gdi/gdimetafiletools \
268 vcl/source/gdi/gfxlink \
269 vcl/source/gdi/gradient \
270 vcl/source/gdi/graph \
271 vcl/source/gdi/graphictools \
272 vcl/source/gdi/hatch \
273 vcl/source/gdi/impanmvw \
274 vcl/source/gdi/impbmp \
275 vcl/source/gdi/impgraph \
276 vcl/source/gdi/impvect \
277 vcl/source/gdi/jobset \
278 vcl/source/gdi/lineinfo \
279 vcl/source/gdi/mapmod \
280 vcl/source/gdi/metaact \
281 vcl/source/gdi/octree \
282 vcl/source/gdi/oldprintadaptor \
283 vcl/source/gdi/pdfextoutdevdata \
284 vcl/source/gdi/pdffontcache \
285 vcl/source/gdi/pdfwriter \
286 vcl/source/gdi/pdfwriter_impl2 \
287 vcl/source/gdi/pdfwriter_impl \
288 vcl/source/gdi/pngread \
289 vcl/source/gdi/pngwrite \
290 vcl/source/gdi/print2 \
291 vcl/source/gdi/print3 \
292 vcl/source/gdi/print \
293 vcl/source/gdi/regband \
294 vcl/source/gdi/region \
295 vcl/source/gdi/regionband \
296 vcl/source/gdi/salgdilayout \
297 vcl/source/gdi/salgdiimpl \
298 vcl/source/gdi/sallayout \
299 vcl/source/gdi/salmisc \
300 vcl/source/gdi/salnativewidgets-none \
301 vcl/source/gdi/svgdata \
302 vcl/source/gdi/textlayout \
303 vcl/source/gdi/virdev \
304 vcl/source/gdi/wall \
305 vcl/source/gdi/scrptrun \
306 vcl/source/gdi/CommonSalLayout \
307 vcl/source/bitmap/bitmapfilter \
308 vcl/source/bitmap/bitmapscalesuper \
309 vcl/source/bitmap/BitmapScaleConvolution \
310 vcl/source/bitmap/BitmapSymmetryCheck \
311 vcl/source/bitmap/BitmapProcessor \
312 vcl/source/bitmap/BitmapTools \
313 vcl/source/bitmap/checksum \
314 vcl/source/image/Image \
315 vcl/source/image/ImageTree \
316 vcl/source/image/ImageRepository \
317 vcl/source/image/ImplImage \
318 vcl/source/image/ImplImageTree \
319 vcl/source/helper/canvasbitmap \
320 vcl/source/helper/canvastools \
321 vcl/source/helper/commandinfoprovider \
322 vcl/source/helper/displayconnectiondispatch \
323 vcl/source/helper/evntpost \
324 vcl/source/helper/lazydelete \
325 vcl/source/helper/strhelper \
326 vcl/source/helper/threadex \
327 vcl/source/app/brand \
328 vcl/source/app/dbggui \
329 vcl/source/app/dndhelp \
330 vcl/source/app/help \
331 vcl/source/app/i18nhelp \
332 vcl/source/app/idle \
333 vcl/source/app/salvtables \
334 vcl/source/app/scheduler \
335 vcl/source/app/session \
336 vcl/source/app/settings \
337 vcl/source/app/IconThemeInfo \
338 vcl/source/app/IconThemeScanner \
339 vcl/source/app/IconThemeSelector \
340 vcl/source/app/sound \
341 vcl/source/app/stdtext \
342 vcl/source/app/svapp \
343 vcl/source/app/svdata \
344 vcl/source/app/svmain \
345 vcl/source/app/svmainhook \
346 vcl/source/app/timer \
347 vcl/source/app/unohelp2 \
348 vcl/source/app/unohelp \
349 vcl/source/app/vclevent \
350 vcl/source/components/dtranscomp \
351 vcl/source/components/factory \
352 vcl/source/components/fontident \
353 vcl/source/filter/FilterConfigCache \
354 vcl/source/filter/FilterConfigItem \
355 vcl/source/filter/graphicfilter \
356 vcl/source/filter/graphicfilter2 \
357 vcl/source/filter/GraphicNativeTransform \
358 vcl/source/filter/GraphicNativeMetadata \
359 vcl/source/filter/sgfbram \
360 vcl/source/filter/sgvmain \
361 vcl/source/filter/sgvspln \
362 vcl/source/filter/sgvtext \
363 vcl/source/filter/igif/decode \
364 vcl/source/filter/igif/gifread \
365 vcl/source/filter/ipdf/pdfread \
366 vcl/source/filter/ipdf/pdfdocument \
367 vcl/source/filter/ixbm/xbmread \
368 vcl/source/filter/ixpm/xpmread \
369 vcl/source/filter/jpeg/Exif \
370 vcl/source/filter/jpeg/jpeg \
371 vcl/source/filter/jpeg/jpegc \
372 vcl/source/filter/jpeg/JpegReader \
373 vcl/source/filter/jpeg/JpegWriter \
374 vcl/source/filter/jpeg/JpegTransform \
375 vcl/source/filter/wmf/emfwr \
376 vcl/source/filter/wmf/enhwmf \
377 vcl/source/filter/wmf/winmtf \
378 vcl/source/filter/wmf/winwmf \
379 vcl/source/filter/wmf/wmf \
380 vcl/source/filter/wmf/wmfwr \
381 vcl/source/font/PhysicalFontCollection \
382 vcl/source/font/PhysicalFontFace \
383 vcl/source/font/PhysicalFontFamily \
384 vcl/source/font/fontattributes \
385 vcl/source/font/fontselect \
386 vcl/source/font/fontinstance \
387 vcl/source/font/fontcache \
388 vcl/source/font/fontcharmap \
389 vcl/source/font/fontmetric \
390 vcl/source/font/font \
391 vcl/source/fontsubset/cff \
392 vcl/source/fontsubset/fontsubset \
393 vcl/source/fontsubset/list \
394 vcl/source/fontsubset/sft \
395 vcl/source/fontsubset/ttcr \
396 vcl/source/fontsubset/xlat \
397 vcl/source/uitest/logger \
398 vcl/source/uitest/uiobject \
399 vcl/source/uitest/uitest \
400 vcl/source/uitest/uno/uiobject_uno \
401 vcl/source/uitest/uno/uitest_uno \
402 vcl/backendtest/outputdevice/bitmap \
403 vcl/backendtest/outputdevice/common \
404 vcl/backendtest/outputdevice/gradient \
405 vcl/backendtest/outputdevice/line \
406 vcl/backendtest/outputdevice/outputdevice \
407 vcl/backendtest/outputdevice/pixel \
408 vcl/backendtest/outputdevice/polygon \
409 vcl/backendtest/outputdevice/polypolygon \
410 vcl/backendtest/outputdevice/polyline \
411 vcl/backendtest/outputdevice/rectangle \
414 $(eval $(call gb_Library_add_cobjects,vcl,\
415 vcl/source/filter/jpeg/transupp \
418 # optional parts
420 vcl_quartz_code= \
421 vcl/quartz/salbmp \
422 vcl/quartz/utils \
423 vcl/quartz/salgdicommon \
424 vcl/quartz/salvd \
426 vcl_coretext_code= \
427 vcl/quartz/ctfonts \
428 vcl/quartz/salgdi \
430 ifeq ($(OS),MACOSX)
432 $(eval $(call gb_Library_add_cxxflags,vcl,\
433 $(gb_OBJCXXFLAGS) \
436 $(eval $(call gb_Library_add_defs,vcl,\
437 -DMACOSX_BUNDLE_IDENTIFIER=\"$(MACOSX_BUNDLE_IDENTIFIER)\" \
440 $(eval $(call gb_Library_add_exception_objects,vcl,\
441 $(vcl_coretext_code) \
444 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
445 ApplicationServices \
448 $(eval $(call gb_Library_add_objcxxobjects,vcl,\
449 vcl/osx/a11yactionwrapper \
450 vcl/osx/a11ycomponentwrapper \
451 vcl/osx/a11yfactory \
452 vcl/osx/a11yrolehelper \
453 vcl/osx/a11yselectionwrapper \
454 vcl/osx/a11ytablewrapper \
455 vcl/osx/a11ytextattributeswrapper \
456 vcl/osx/a11ytextwrapper \
457 vcl/osx/a11yutil \
458 vcl/osx/a11yvaluewrapper \
459 vcl/osx/a11ywrapper \
460 vcl/osx/a11ywrapperbutton \
461 vcl/osx/a11ywrappercheckbox \
462 vcl/osx/a11ywrappercombobox \
463 vcl/osx/a11ywrappergroup \
464 vcl/osx/a11ywrapperlist \
465 vcl/osx/a11ywrapperradiobutton \
466 vcl/osx/a11ywrapperradiogroup \
467 vcl/osx/a11ywrapperrow \
468 vcl/osx/a11ywrapperscrollarea \
469 vcl/osx/a11ywrapperscrollbar \
470 vcl/osx/a11ywrappersplitter \
471 vcl/osx/a11ywrapperstatictext \
472 vcl/osx/a11ywrappertabgroup \
473 vcl/osx/a11ywrappertextarea \
474 vcl/osx/a11ywrappertoolbar \
475 vcl/osx/salnstimer \
476 vcl/osx/vclnsapp \
477 vcl/osx/printaccessoryview \
478 vcl/osx/printview \
479 vcl/osx/salframeview \
480 vcl/osx/salnsmenu \
482 $(eval $(call gb_Library_add_exception_objects,vcl,\
483 vcl/osx/a11yfocuslistener \
484 vcl/osx/a11yfocustracker \
485 vcl/osx/a11ylistener \
486 vcl/osx/documentfocuslistener \
487 vcl/osx/saldata \
488 vcl/osx/salinst \
489 vcl/osx/salsys \
490 vcl/osx/saltimer \
491 vcl/osx/DataFlavorMapping \
492 vcl/osx/DragActionConversion \
493 vcl/osx/DragSource \
494 vcl/osx/DragSourceContext \
495 vcl/osx/DropTarget \
496 vcl/osx/HtmlFmtFlt \
497 vcl/osx/OSXTransferable \
498 vcl/osx/PictToBmpFlt \
499 vcl/osx/clipboard \
500 vcl/osx/service_entry \
501 $(vcl_quartz_code) \
502 vcl/quartz/salgdiutils \
503 vcl/osx/salnativewidgets \
504 vcl/osx/salprn \
505 vcl/osx/salframe \
506 vcl/osx/salmenu \
507 vcl/osx/salobj \
509 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
510 $(if $(filter X86_64,$(CPUNAME)),,QuickTime) \
511 Cocoa \
512 Carbon \
513 CoreFoundation \
516 ifneq ($(ENABLE_MACOSX_SANDBOX),TRUE)
517 $(eval $(call gb_Library_use_libraries,vcl,\
518 AppleRemote \
520 endif
522 endif
524 vcl_headless_code= \
525 vcl/headless/svpframe \
526 $(if $(filter-out IOS,$(OS)), \
527 vcl/headless/svpbmp \
528 vcl/headless/svpgdi \
529 vcl/headless/svpdata) \
530 vcl/headless/svpdummies \
531 vcl/headless/svpinst \
532 vcl/headless/svpvd \
533 vcl/unx/generic/app/gendisp \
534 vcl/unx/generic/app/geninst \
535 vcl/unx/generic/app/gensys \
537 vcl_headless_freetype_code=\
538 vcl/headless/svpprn \
539 vcl/headless/svptext \
540 vcl/headless/svpglyphcache \
541 vcl/unx/generic/gdi/cairotextrender \
542 vcl/unx/generic/glyphs/freetype_glyphcache \
543 vcl/unx/generic/glyphs/glyphcache \
544 vcl/unx/generic/fontmanager/fontsubst \
545 vcl/unx/generic/fontmanager/fontconfig \
546 vcl/unx/generic/fontmanager/fontmanager \
547 vcl/unx/generic/fontmanager/helper \
548 vcl/headless/svpcairotextrender \
549 vcl/unx/generic/print/bitmap_gfx \
550 vcl/unx/generic/print/common_gfx \
551 vcl/unx/generic/print/glyphset \
552 vcl/unx/generic/print/printerjob \
553 vcl/unx/generic/print/psputil \
554 vcl/unx/generic/print/genpspgraphics \
555 vcl/unx/generic/print/genprnpsp \
556 vcl/unx/generic/print/prtsetup \
557 vcl/unx/generic/print/text_gfx \
559 ifeq ($(USING_X11),TRUE)
560 $(eval $(call gb_Library_add_exception_objects,vcl,\
561 vcl/unx/generic/plugadapt/salplug \
562 vcl/unx/generic/printer/jobdata \
563 vcl/unx/generic/printer/ppdparser \
564 vcl/unx/generic/gdi/nativewindowhandleprovider \
565 vcl/unx/generic/window/screensaverinhibitor \
566 $(if $(filter TRUE,$(ENABLE_CUPS)),\
567 vcl/unx/generic/printer/cupsmgr \
568 vcl/unx/generic/printer/printerinfomanager \
570 vcl/null/printerinfomanager \
572 $(vcl_headless_code) \
573 $(vcl_headless_freetype_code) \
576 $(eval $(call gb_Library_use_externals,vcl,\
577 cairo \
578 cups \
579 dbus \
580 fontconfig \
581 freetype \
582 valgrind \
584 endif
586 ifeq ($(ENABLE_HEADLESS),TRUE)
587 $(eval $(call gb_Library_add_exception_objects,vcl,\
588 vcl/unx/generic/printer/jobdata \
589 vcl/unx/generic/printer/ppdparser \
590 vcl/null/printerinfomanager \
591 vcl/headless/headlessinst \
592 $(vcl_headless_code) \
593 $(vcl_headless_freetype_code) \
596 $(eval $(call gb_Library_use_externals,vcl,\
597 cairo \
598 freetype \
599 fontconfig \
601 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
602 $(eval $(call gb_Library_add_libs,vcl,\
603 -lpthread \
605 endif
606 else
607 $(eval $(call gb_Library_add_exception_objects,vcl,\
608 vcl/opengl/DeviceInfo \
609 vcl/opengl/gdiimpl \
610 vcl/opengl/salbmp \
611 vcl/opengl/scale \
612 vcl/opengl/framebuffer \
613 vcl/opengl/program \
614 vcl/opengl/texture \
615 vcl/opengl/FixedTextureAtlas \
616 vcl/opengl/PackedTextureAtlas \
617 vcl/opengl/RenderList \
618 vcl/opengl/LineRenderUtils \
619 vcl/source/opengl/OpenGLContext \
620 vcl/source/opengl/OpenGLHelper \
621 vcl/source/window/openglwin \
623 ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
624 $(eval $(call gb_Library_add_libs,vcl,\
625 -lm $(DLOPEN_LIBS) \
626 -lpthread \
627 -lX11 \
628 -lXext \
630 $(eval $(call gb_Library_add_exception_objects,vcl,\
631 vcl/opengl/x11/X11DeviceInfo \
633 endif
634 endif
636 ifeq ($(OS),ANDROID)
637 $(eval $(call gb_Library_add_libs,vcl,\
638 -llog \
639 -landroid \
640 -llo-bootstrap \
642 $(eval $(call gb_Library_add_exception_objects,vcl,\
643 vcl/unx/generic/printer/jobdata \
644 vcl/unx/generic/printer/ppdparser \
645 vcl/null/printerinfomanager \
646 vcl/android/androidinst \
647 $(vcl_headless_code) \
648 $(vcl_headless_freetype_code) \
651 $(eval $(call gb_Library_use_externals,vcl,\
652 cairo \
653 fontconfig \
654 freetype \
655 expat \
657 endif
659 ifeq ($(OS),IOS)
660 $(eval $(call gb_Library_add_cxxflags,vcl,\
661 $(gb_OBJCXXFLAGS) \
663 $(eval $(call gb_Library_add_exception_objects,vcl,\
664 vcl/ios/iosinst \
665 vcl/ios/dummies \
666 $(vcl_really_generic_code) \
667 $(vcl_coretext_code) \
668 $(vcl_quartz_code) \
669 $(vcl_headless_code) \
671 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
672 UIKit \
673 CoreFoundation \
675 endif
677 # OS-specific stuff
679 ifeq ($(OS),WNT)
680 $(eval $(call gb_Library_add_exception_objects,vcl,\
681 vcl/opengl/win/gdiimpl \
682 vcl/opengl/win/WinDeviceInfo \
683 vcl/opengl/win/blocklist_parser \
684 vcl/win/app/saldata \
685 vcl/win/app/salinfo \
686 vcl/win/app/salinst \
687 vcl/win/app/salshl \
688 vcl/win/app/saltimer \
689 vcl/win/gdi/gdiimpl \
690 vcl/win/gdi/salbmp \
691 vcl/win/gdi/salgdi \
692 vcl/win/gdi/salgdi2 \
693 vcl/win/gdi/salfont \
694 vcl/win/gdi/salgdi_gdiplus \
695 vcl/win/gdi/salnativewidgets-luna \
696 vcl/win/gdi/salprn \
697 vcl/win/gdi/salvd \
698 vcl/win/gdi/winlayout \
699 vcl/win/window/salframe \
700 vcl/win/window/keynames \
701 vcl/win/window/salmenu \
702 vcl/win/window/salobj \
705 $(eval $(call gb_Library_use_system_win32_libs,vcl,\
706 advapi32 \
707 crypt32 \
708 gdi32 \
709 gdiplus \
710 imm32 \
711 mpr \
712 ole32 \
713 shell32 \
714 usp10 \
715 uuid \
716 version \
717 winspool \
718 setupapi \
719 shlwapi \
722 $(eval $(call gb_Library_add_nativeres,vcl,vcl/salsrc))
723 endif
725 # Runtime dependency for unit-tests
726 $(eval $(call gb_Library_use_restarget,vcl,vcl))
728 ifeq ($(OS),WNT)
729 # HACK: dependency on icon themes so running unit tests don't
730 # prevent delivering these by having open file handles on WNT
731 $(eval $(call gb_Library_use_package,vcl,postprocess_images))
732 endif
734 # vim: set noet sw=4 ts=4: