Branch libreoffice-5-0-4
[LibreOffice.git] / vcl / Library_vcl.mk
blobc6b33e64272de5f0cf12e3794abb3086685a4f2e
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_use_custom_headers,vcl,officecfg/registry vcl/generic/fontmanager))
40 $(eval $(call gb_Library_set_include,vcl,\
41 $$(INCLUDE) \
42 -I$(SRCDIR)/vcl/inc \
43 $(if $(filter WNTGCC,$(OS)$(COM)),-I$(MINGW_SYSROOT)/include/gdiplus) \
46 $(eval $(call gb_Library_add_defs,vcl,\
47 -DVCL_DLLIMPLEMENTATION \
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 $(eval $(call gb_Library_use_sdk_api,vcl))
56 $(eval $(call gb_Library_use_custom_headers,vcl,\
57 officecfg/registry \
60 $(eval $(call gb_Library_use_externals,vcl,\
61 $(if $(filter LINUX MACOSX,$(OS)), \
62 curl) \
63 jpeg \
64 $(if $(filter-out WNT,$(OS)), \
65 nss3 \
66 plc4) \
67 libeot \
70 $(eval $(call gb_Library_use_libraries,vcl,\
71 svl \
72 tl \
73 utl \
74 sot \
75 ucbhelper \
76 basegfx \
77 comphelper \
78 cppuhelper \
79 i18nlangtag \
80 i18nutil \
81 cppu \
82 sal \
83 salhelper \
84 xmlreader \
85 $(gb_UWINAPI) \
88 ifeq ($(OS),MACOSX)
89 $(eval $(call gb_Library_add_libs,vcl,\
90 -framework IOKit \
91 -F/System/Library/PrivateFrameworks \
92 -framework CoreUI \
93 -lobjc \
95 endif
96 ifeq ($(OS),MACOSX)
98 $(eval $(call gb_Library_add_cxxflags,vcl,\
99 $(gb_OBJCXXFLAGS) \
102 $(eval $(call gb_Library_add_exception_objects,vcl,\
103 vcl/osx/OpenGLWrapper \
106 endif
108 ifeq ($(ENABLE_JAVA),TRUE)
109 $(eval $(call gb_Library_use_libraries,vcl,\
110 jvmaccess \
112 endif
114 $(eval $(call gb_Library_use_externals,vcl,\
115 boost_headers \
116 gio \
117 glew \
118 glm_headers \
119 harfbuzz \
120 icu_headers \
121 icuuc \
122 lcms2 \
123 mdds_headers \
124 mesa_headers \
127 $(eval $(call gb_Library_add_exception_objects,vcl,\
128 vcl/opengl/DeviceInfo \
129 vcl/opengl/gdiimpl \
130 vcl/opengl/salbmp \
131 vcl/opengl/scale \
132 vcl/opengl/framebuffer \
133 vcl/opengl/program \
134 vcl/opengl/texture \
135 vcl/opengl/FixedTextureAtlas \
136 vcl/source/opengl/OpenGLContext \
137 vcl/source/opengl/OpenGLHelper \
138 vcl/source/window/cairo_cairo \
139 vcl/source/window/openglwin \
140 vcl/source/window/settings \
141 vcl/source/window/paint \
142 vcl/source/window/resource \
143 vcl/source/window/abstdlg \
144 vcl/source/window/accel \
145 vcl/source/window/accmgr \
146 vcl/source/window/brdwin \
147 vcl/source/window/accessibility \
148 vcl/source/window/legacyaccessibility \
149 vcl/source/window/clipping \
150 vcl/source/window/stacking \
151 vcl/source/window/debug \
152 vcl/source/window/globalization \
153 vcl/source/window/btndlg \
154 vcl/source/window/builder \
155 vcl/source/window/cmdevt \
156 vcl/source/window/cursor \
157 vcl/source/window/debugevent \
158 vcl/source/window/decoview \
159 vcl/source/window/dialog \
160 vcl/source/window/dlgctrl \
161 vcl/source/window/dndevdis \
162 vcl/source/window/dndlcon \
163 vcl/source/window/dockingarea \
164 vcl/source/window/dockmgr \
165 vcl/source/window/dockwin \
166 vcl/source/window/event \
167 vcl/source/window/floatwin \
168 vcl/source/window/introwin \
169 vcl/source/window/keycod \
170 vcl/source/window/keyevent \
171 vcl/source/window/layout \
172 vcl/source/window/menu \
173 vcl/source/window/menubarwindow \
174 vcl/source/window/menufloatingwindow \
175 vcl/source/window/menuitemlist \
176 vcl/source/window/menuwindow \
177 vcl/source/window/mnemonic \
178 vcl/source/window/mnemonicengine \
179 vcl/source/window/mouse \
180 vcl/source/window/mouseevent \
181 vcl/source/window/msgbox \
182 vcl/source/window/popupmenuwindow \
183 vcl/source/window/printdlg \
184 vcl/source/window/scrwnd \
185 vcl/source/window/seleng \
186 vcl/source/window/split \
187 vcl/source/window/splitwin \
188 vcl/source/window/status \
189 vcl/source/window/syschild \
190 vcl/source/window/syswin \
191 vcl/source/window/tabdlg \
192 vcl/source/window/tabpage \
193 vcl/source/window/taskpanelist \
194 vcl/source/window/toolbox2 \
195 vcl/source/window/toolbox \
196 vcl/source/window/window2 \
197 vcl/source/window/window3 \
198 vcl/source/window/window \
199 vcl/source/window/winproc \
200 vcl/source/window/wrkwin \
201 vcl/source/control/button \
202 vcl/source/control/combobox \
203 vcl/source/control/ctrl \
204 vcl/source/control/edit \
205 vcl/source/control/field2 \
206 vcl/source/control/field \
207 vcl/source/control/fixed \
208 vcl/source/control/fixedhyper \
209 vcl/source/control/group \
210 vcl/source/control/ilstbox \
211 vcl/source/control/imgctrl \
212 vcl/source/control/longcurr \
213 vcl/source/control/lstbox \
214 vcl/source/control/menubtn \
215 vcl/source/control/morebtn \
216 vcl/source/control/quickselectionengine \
217 vcl/source/control/prgsbar \
218 vcl/source/control/scrbar \
219 vcl/source/control/slider \
220 vcl/source/control/spinbtn \
221 vcl/source/control/spinfld \
222 vcl/source/control/tabctrl \
223 vcl/source/control/throbber \
224 vcl/source/edit/vclmedit \
225 vcl/source/edit/textdata \
226 vcl/source/edit/textdoc \
227 vcl/source/edit/texteng \
228 vcl/source/edit/textundo \
229 vcl/source/edit/textview \
230 vcl/source/edit/txtattr \
231 vcl/source/edit/xtextedt \
232 vcl/source/outdev/outdev \
233 vcl/source/outdev/outdevstate \
234 vcl/source/outdev/outdevstatestack \
235 vcl/source/outdev/clipping \
236 vcl/source/outdev/polygon \
237 vcl/source/outdev/transparent \
238 vcl/source/outdev/mask \
239 vcl/source/outdev/bitmap \
240 vcl/source/outdev/font \
241 vcl/source/outdev/text \
242 vcl/source/outdev/textline \
243 vcl/source/outdev/pixel \
244 vcl/source/outdev/rect \
245 vcl/source/outdev/rendersettings \
246 vcl/source/outdev/line \
247 vcl/source/outdev/polyline \
248 vcl/source/outdev/hatch \
249 vcl/source/outdev/gradient \
250 vcl/source/outdev/curvedshapes \
251 vcl/source/outdev/wallpaper \
252 vcl/source/outdev/nativecontrols \
253 vcl/source/outdev/map \
254 vcl/source/gdi/alpha \
255 vcl/source/gdi/animate \
256 vcl/source/gdi/base14 \
257 vcl/source/gdi/bitmap3 \
258 vcl/source/gdi/bitmap4 \
259 vcl/source/gdi/bitmap \
260 vcl/source/gdi/bitmapex \
261 vcl/source/gdi/bmpacc2 \
262 vcl/source/gdi/bmpacc3 \
263 vcl/source/gdi/bmpacc \
264 vcl/source/gdi/bmpfast \
265 vcl/source/gdi/configsettings \
266 vcl/source/gdi/cvtgrf \
267 vcl/source/gdi/cvtsvm \
268 vcl/source/gdi/dibtools \
269 vcl/source/gdi/embeddedfontshelper \
270 vcl/source/gdi/extoutdevdata \
271 vcl/source/gdi/font \
272 vcl/source/gdi/gdimtf \
273 vcl/source/gdi/gdimetafiletools \
274 vcl/source/gdi/gfxlink \
275 vcl/source/gdi/gradient \
276 vcl/source/gdi/graph \
277 vcl/source/gdi/graphictools \
278 vcl/source/gdi/hatch \
279 vcl/source/gdi/image \
280 vcl/source/gdi/imagerepository \
281 vcl/source/gdi/impanmvw \
282 vcl/source/gdi/impbmp \
283 vcl/source/gdi/impfont \
284 vcl/source/gdi/impgraph \
285 vcl/source/gdi/impimage \
286 vcl/source/gdi/impimagetree \
287 vcl/source/gdi/impvect \
288 vcl/source/gdi/jobset \
289 vcl/source/gdi/lineinfo \
290 vcl/source/gdi/mapmod \
291 vcl/source/gdi/metaact \
292 vcl/source/gdi/metric \
293 vcl/source/gdi/octree \
294 vcl/source/gdi/oldprintadaptor \
295 vcl/source/gdi/pdfextoutdevdata \
296 vcl/source/gdi/pdffontcache \
297 vcl/source/gdi/pdfwriter \
298 vcl/source/gdi/pdfwriter_impl2 \
299 vcl/source/gdi/pdfwriter_impl \
300 vcl/source/gdi/pngread \
301 vcl/source/gdi/pngwrite \
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/salnativewidgets-none \
313 vcl/source/gdi/svgdata \
314 vcl/source/gdi/textlayout \
315 vcl/source/gdi/virdev \
316 vcl/source/gdi/wall \
317 vcl/source/bitmap/bitmapfilter \
318 vcl/source/bitmap/bitmapscalesuper \
319 vcl/source/bitmap/BitmapSymmetryCheck \
320 vcl/source/bitmap/BitmapFilterStackBlur \
321 vcl/source/bitmap/checksum \
322 vcl/source/helper/canvasbitmap \
323 vcl/source/helper/canvastools \
324 vcl/source/helper/evntpost \
325 vcl/source/helper/lazydelete \
326 vcl/source/helper/strhelper \
327 vcl/source/helper/threadex \
328 vcl/source/helper/xconnection \
329 vcl/source/app/brand \
330 vcl/source/app/dbggui \
331 vcl/source/app/dndhelp \
332 vcl/source/app/help \
333 vcl/source/app/i18nhelp \
334 vcl/source/app/idle \
335 vcl/source/app/idlemgr \
336 vcl/source/app/salvtables \
337 vcl/source/app/scheduler \
338 vcl/source/app/session \
339 vcl/source/app/settings \
340 vcl/source/app/IconThemeInfo \
341 vcl/source/app/IconThemeScanner \
342 vcl/source/app/IconThemeSelector \
343 vcl/source/app/sound \
344 vcl/source/app/stdtext \
345 vcl/source/app/svapp \
346 vcl/source/app/svdata \
347 vcl/source/app/svmain \
348 vcl/source/app/svmainhook \
349 vcl/source/app/timer \
350 vcl/source/app/unohelp2 \
351 vcl/source/app/unohelp \
352 vcl/source/app/vclevent \
353 vcl/source/components/dtranscomp \
354 vcl/source/components/factory \
355 vcl/source/components/fontident \
356 vcl/source/filter/FilterConfigCache \
357 vcl/source/filter/FilterConfigItem \
358 vcl/source/filter/graphicfilter \
359 vcl/source/filter/graphicfilter2 \
360 vcl/source/filter/GraphicNativeTransform \
361 vcl/source/filter/GraphicNativeMetadata \
362 vcl/source/filter/sgfbram \
363 vcl/source/filter/sgvmain \
364 vcl/source/filter/sgvspln \
365 vcl/source/filter/sgvtext \
366 vcl/source/filter/igif/decode \
367 vcl/source/filter/igif/gifread \
368 vcl/source/filter/ixbm/xbmread \
369 vcl/source/filter/ixpm/xpmread \
370 vcl/source/filter/jpeg/Exif \
371 vcl/source/filter/jpeg/jpeg \
372 vcl/source/filter/jpeg/jpegc \
373 vcl/source/filter/jpeg/JpegReader \
374 vcl/source/filter/jpeg/JpegWriter \
375 vcl/source/filter/jpeg/JpegTransform \
376 vcl/source/filter/wmf/emfwr \
377 vcl/source/filter/wmf/enhwmf \
378 vcl/source/filter/wmf/winmtf \
379 vcl/source/filter/wmf/winwmf \
380 vcl/source/filter/wmf/wmf \
381 vcl/source/filter/wmf/wmfwr \
382 vcl/source/font/PhysicalFontCollection \
383 vcl/source/font/PhysicalFontFace \
384 vcl/source/font/PhysicalFontFamily \
385 vcl/source/fontsubset/cff \
386 vcl/source/fontsubset/fontsubset \
387 vcl/source/fontsubset/gsub \
388 vcl/source/fontsubset/list \
389 vcl/source/fontsubset/sft \
390 vcl/source/fontsubset/ttcr \
391 vcl/source/fontsubset/xlat \
394 $(eval $(call gb_Library_add_cobjects,vcl,\
395 vcl/source/filter/jpeg/transupp \
398 # optional parts
400 ## handle Graphite
401 ifeq ($(ENABLE_GRAPHITE),TRUE)
402 # add graphite sources for all platforms
403 $(eval $(call gb_Library_add_exception_objects,vcl,\
404 vcl/source/glyphs/graphite_features \
405 vcl/source/glyphs/graphite_layout \
408 # handle X11 platforms, which have additional files and possibly system graphite
409 ifneq (,$(or $(filter unx,$(GUIBASE)),$(ENABLE_HEADLESS)))
410 $(eval $(call gb_Library_add_exception_objects,vcl,\
411 vcl/generic/glyphs/graphite_serverfont \
413 endif
415 $(eval $(call gb_Library_use_external,vcl,graphite))
417 endif
419 vcl_quartz_code= \
420 vcl/quartz/salbmp \
421 vcl/quartz/utils \
422 vcl/quartz/salgdicommon \
423 vcl/quartz/salvd \
425 vcl_coretext_code= \
426 vcl/quartz/CTRunData \
427 vcl/quartz/ctfonts \
428 vcl/quartz/ctlayout \
429 vcl/quartz/salgdi \
431 # GUIBASE specific stuff
433 ifeq ($(OS),MACOSX)
435 $(eval $(call gb_Library_add_cxxflags,vcl,\
436 $(gb_OBJCXXFLAGS) \
439 $(eval $(call gb_Library_add_defs,vcl,\
440 -DMACOSX_BUNDLE_IDENTIFIER=\"$(MACOSX_BUNDLE_IDENTIFIER)\" \
443 $(eval $(call gb_Library_add_exception_objects,vcl,\
444 $(vcl_coretext_code) \
447 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
448 ApplicationServices \
451 $(eval $(call gb_Library_add_objcxxobjects,vcl,\
452 vcl/osx/a11yactionwrapper \
453 vcl/osx/a11ycomponentwrapper \
454 vcl/osx/a11yfactory \
455 vcl/osx/a11yrolehelper \
456 vcl/osx/a11yselectionwrapper \
457 vcl/osx/a11ytablewrapper \
458 vcl/osx/a11ytextattributeswrapper \
459 vcl/osx/a11ytextwrapper \
460 vcl/osx/a11yutil \
461 vcl/osx/a11yvaluewrapper \
462 vcl/osx/a11ywrapper \
463 vcl/osx/a11ywrapperbutton \
464 vcl/osx/a11ywrappercheckbox \
465 vcl/osx/a11ywrappercombobox \
466 vcl/osx/a11ywrappergroup \
467 vcl/osx/a11ywrapperlist \
468 vcl/osx/a11ywrapperradiobutton \
469 vcl/osx/a11ywrapperradiogroup \
470 vcl/osx/a11ywrapperrow \
471 vcl/osx/a11ywrapperscrollarea \
472 vcl/osx/a11ywrapperscrollbar \
473 vcl/osx/a11ywrappersplitter \
474 vcl/osx/a11ywrapperstatictext \
475 vcl/osx/a11ywrappertabgroup \
476 vcl/osx/a11ywrappertextarea \
477 vcl/osx/a11ywrappertoolbar \
478 vcl/osx/salnstimer \
479 vcl/osx/vclnsapp \
480 vcl/osx/printaccessoryview \
481 vcl/osx/printview \
482 vcl/osx/salframeview \
483 vcl/osx/salnsmenu \
485 $(eval $(call gb_Library_add_exception_objects,vcl,\
486 vcl/osx/a11yfocuslistener \
487 vcl/osx/a11yfocustracker \
488 vcl/osx/a11ylistener \
489 vcl/osx/documentfocuslistener \
490 vcl/osx/saldata \
491 vcl/osx/salinst \
492 vcl/osx/salsys \
493 vcl/osx/saltimer \
494 vcl/osx/DataFlavorMapping \
495 vcl/osx/DragActionConversion \
496 vcl/osx/DragSource \
497 vcl/osx/DragSourceContext \
498 vcl/osx/DropTarget \
499 vcl/osx/HtmlFmtFlt \
500 vcl/osx/OSXTransferable \
501 vcl/osx/PictToBmpFlt \
502 vcl/osx/clipboard \
503 vcl/osx/service_entry \
504 vcl/quartz/cairo_quartz_cairo \
505 $(vcl_quartz_code) \
506 vcl/quartz/salgdiutils \
507 vcl/osx/salnativewidgets \
508 vcl/osx/salprn \
509 vcl/osx/salframe \
510 vcl/osx/salmenu \
511 vcl/osx/salobj \
513 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
514 $(if $(filter X86_64,$(CPUNAME)),,QuickTime) \
515 Cocoa \
516 Carbon \
517 CoreFoundation \
518 OpenGL \
521 ifneq ($(ENABLE_MACOSX_SANDBOX),TRUE)
522 $(eval $(call gb_Library_use_libraries,vcl,\
523 AppleRemote \
525 endif
527 endif
529 vcl_really_generic_code= \
530 vcl/generic/app/gensys \
531 vcl/generic/app/geninst \
533 vcl_generic_code= \
534 $(vcl_really_generic_code) \
535 vcl/generic/app/gendisp \
536 vcl/generic/print/bitmap_gfx \
537 vcl/generic/print/common_gfx \
538 vcl/generic/print/glyphset \
539 vcl/generic/print/printerjob \
540 vcl/generic/print/psputil \
541 vcl/generic/print/genpspgraphics \
542 vcl/generic/print/genprnpsp \
543 vcl/generic/print/prtsetup \
544 vcl/generic/print/text_gfx \
545 vcl/generic/fontmanager/fontsubst \
546 vcl/generic/glyphs/gcach_ftyp \
547 vcl/generic/glyphs/gcach_layout \
548 vcl/generic/glyphs/gcach_rbmp \
549 vcl/generic/glyphs/glyphcache \
550 vcl/generic/glyphs/scrptrun \
551 vcl/generic/fontmanager/fontcache \
552 vcl/generic/fontmanager/fontconfig \
553 vcl/generic/fontmanager/fontmanager \
554 vcl/generic/fontmanager/helper \
555 vcl/generic/fontmanager/parseAFM \
557 vcl_headless_code= \
558 vcl/headless/svpbmp \
559 vcl/headless/svpdummies \
560 vcl/headless/svpframe \
561 vcl/headless/svpgdi \
562 vcl/headless/svpinst \
563 vcl/headless/svpdata \
564 vcl/headless/svpvd \
566 vcl_headless_freetype_code=\
567 vcl/headless/svpprn \
568 vcl/headless/svptext \
569 vcl/headless/svptextrender \
571 ifeq ($(GUIBASE),unx)
572 $(eval $(call gb_Library_add_exception_objects,vcl,\
573 $(vcl_generic_code) \
574 vcl/unx/generic/plugadapt/salplug \
575 vcl/unx/generic/printer/jobdata \
576 vcl/unx/generic/printer/ppdparser \
577 vcl/unx/generic/gdi/cairotextrender \
578 vcl/unx/generic/gdi/x11windowprovider \
579 $(if $(filter TRUE,$(ENABLE_CUPS)),\
580 vcl/unx/generic/printer/cupsmgr \
581 vcl/unx/generic/printer/printerinfomanager \
583 vcl/null/printerinfomanager \
585 $(vcl_headless_code) \
586 $(vcl_headless_freetype_code) \
589 $(eval $(call gb_Library_use_libraries,vcl,\
590 basebmp \
593 $(eval $(call gb_Library_use_externals,vcl,\
594 cairo \
595 cups \
596 dbus \
597 fontconfig \
598 freetype \
599 valgrind \
601 endif
603 ifeq ($(ENABLE_HEADLESS),TRUE)
604 $(eval $(call gb_Library_add_exception_objects,vcl,\
605 $(vcl_generic_code) \
606 vcl/unx/generic/printer/jobdata \
607 vcl/unx/generic/printer/ppdparser \
608 vcl/null/printerinfomanager \
609 vcl/headless/headlessinst \
610 $(vcl_headless_code) \
611 $(vcl_headless_freetype_code) \
614 $(eval $(call gb_Library_use_libraries,vcl,\
615 basebmp \
618 $(eval $(call gb_Library_use_externals,vcl,\
619 fontconfig \
620 freetype \
622 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_generic_code) \
632 vcl/unx/generic/printer/jobdata \
633 vcl/unx/generic/printer/ppdparser \
634 vcl/null/printerinfomanager \
635 vcl/android/androidinst \
636 $(vcl_headless_code) \
637 $(vcl_headless_freetype_code) \
640 $(eval $(call gb_Library_use_static_libraries,vcl,\
641 basebmp \
644 $(eval $(call gb_Library_use_externals,vcl,\
645 fontconfig \
646 freetype \
647 expat \
649 endif
651 ifeq ($(OS),IOS)
652 $(eval $(call gb_Library_add_cxxflags,vcl,\
653 $(gb_OBJCXXFLAGS) \
655 $(eval $(call gb_Library_add_exception_objects,vcl,\
656 vcl/ios/iosinst \
657 vcl/ios/dummies \
658 $(vcl_really_generic_code) \
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
669 # OS-specific stuff
671 ifeq ($(OS),WNT)
672 $(eval $(call gb_Library_add_exception_objects,vcl,\
673 vcl/opengl/win/gdiimpl \
674 vcl/opengl/win/WinDeviceInfo \
675 vcl/win/source/app/saldata \
676 vcl/win/source/app/salinfo \
677 vcl/win/source/app/salinst \
678 vcl/win/source/app/salshl \
679 vcl/win/source/app/saltimer \
680 vcl/win/source/gdi/cairo_win32_cairo \
681 vcl/win/source/gdi/gdiimpl \
682 vcl/win/source/gdi/salbmp \
683 vcl/win/source/gdi/salgdi \
684 vcl/win/source/gdi/salgdi2 \
685 vcl/win/source/gdi/salgdi3 \
686 vcl/win/source/gdi/salgdi_gdiplus \
687 vcl/win/source/gdi/salnativewidgets-luna \
688 vcl/win/source/gdi/salprn \
689 vcl/win/source/gdi/salvd \
690 vcl/win/source/gdi/winlayout \
691 vcl/win/source/gdi/wntgdi \
692 vcl/win/source/window/salframe \
693 vcl/win/source/window/keynames \
694 vcl/win/source/window/salmenu \
695 vcl/win/source/window/salobj \
698 $(eval $(call gb_Library_use_system_win32_libs,vcl,\
699 advapi32 \
700 crypt32 \
701 gdi32 \
702 gdiplus \
703 glu32 \
704 imm32 \
705 mpr \
706 msimg32 \
707 opengl32 \
708 ole32 \
709 shell32 \
710 usp10 \
711 uuid \
712 version \
713 winspool \
714 setupapi \
715 shlwapi \
718 $(eval $(call gb_Library_add_nativeres,vcl,vcl/salsrc))
719 endif
721 ifeq ($(OS),LINUX)
722 $(eval $(call gb_Library_add_libs,vcl,\
723 -lm \
724 -ldl \
725 -lpthread \
726 -lGL \
727 -lX11 \
730 $(eval $(call gb_Library_add_exception_objects,vcl,\
731 vcl/opengl/x11/X11DeviceInfo \
733 endif
735 # Runtime dependency for unit-tests
736 $(eval $(call gb_Library_use_restarget,vcl,vcl))
738 ifeq ($(OS),WNT)
739 # HACK: dependency on icon themes so running unit tests don't
740 # prevent delivering these by having open file handles on WNT
741 $(eval $(call gb_Library_use_package,vcl,postprocess_images))
742 endif
744 # vim: set noet sw=4 ts=4: