bump product version to 4.1.6.2
[LibreOffice.git] / vcl / Library_vcl.mk
blobad59af922be17aaa5924f8c5e243229ad2bd0707
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 ($(GUIBASE),headless)
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,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$(SRCDIR)/external/wine/include) \
46 $(eval $(call gb_Library_add_defs,vcl,\
47 -DVCL_DLLIMPLEMENTATION \
48 -DCUI_DLL_NAME=\"$(call gb_Library_get_runtime_filename,cui)\" \
49 -DDLLPOSTFIX=$(gb_Library_DLLPOSTFIX) \
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 jpeg \
60 nss3 \
63 $(eval $(call gb_Library_use_libraries,vcl,\
64 svl \
65 tl \
66 utl \
67 sot \
68 ucbhelper \
69 basegfx \
70 comphelper \
71 cppuhelper \
72 i18nlangtag \
73 i18nutil \
74 cppu \
75 sal \
76 xmlreader \
77 $(gb_UWINAPI) \
80 ifeq ($(OS),MACOSX)
81 $(eval $(call gb_Library_add_libs,vcl,\
82 -lobjc \
84 endif
86 ifeq ($(SOLAR_JAVA),TRUE)
87 $(eval $(call gb_Library_use_libraries,vcl,\
88 jvmaccess \
90 endif
92 $(eval $(call gb_Library_use_externals,vcl,\
93 boost_headers \
94 gio \
95 harfbuzz \
96 icule \
97 icuuc \
98 icu_headers \
99 lcms2 \
102 $(eval $(call gb_Library_add_exception_objects,vcl,\
103 vcl/source/app/brand \
104 vcl/source/app/dbggui \
105 vcl/source/app/dndhelp \
106 vcl/source/app/help \
107 vcl/source/app/i18nhelp \
108 vcl/source/app/idlemgr \
109 vcl/source/app/salvtables \
110 vcl/source/app/session \
111 vcl/source/app/settings \
112 vcl/source/app/solarmutex \
113 vcl/source/app/sound \
114 vcl/source/app/stdtext \
115 vcl/source/app/svapp \
116 vcl/source/app/svdata \
117 vcl/source/app/svmain \
118 vcl/source/app/svmainhook \
119 vcl/source/app/timer \
120 vcl/source/app/unohelp2 \
121 vcl/source/app/unohelp \
122 vcl/source/app/vclevent \
123 vcl/source/components/dtranscomp \
124 vcl/source/components/factory \
125 vcl/source/components/fontident \
126 vcl/source/control/button \
127 vcl/source/control/combobox \
128 vcl/source/control/ctrl \
129 vcl/source/control/edit \
130 vcl/source/control/field2 \
131 vcl/source/control/field \
132 vcl/source/control/fixed \
133 vcl/source/control/fixedhyper \
134 vcl/source/control/group \
135 vcl/source/control/ilstbox \
136 vcl/source/control/imgctrl \
137 vcl/source/control/longcurr \
138 vcl/source/control/lstbox \
139 vcl/source/control/menubtn \
140 vcl/source/control/morebtn \
141 vcl/source/control/quickselectionengine \
142 vcl/source/control/prgsbar \
143 vcl/source/control/scrbar \
144 vcl/source/control/slider \
145 vcl/source/control/spinbtn \
146 vcl/source/control/spinfld \
147 vcl/source/control/tabctrl \
148 vcl/source/control/throbber \
149 vcl/source/edit/vclmedit \
150 vcl/source/edit/textdata \
151 vcl/source/edit/textdoc \
152 vcl/source/edit/texteng \
153 vcl/source/edit/textundo \
154 vcl/source/edit/textview \
155 vcl/source/edit/txtattr \
156 vcl/source/edit/xtextedt \
157 vcl/source/filter/FilterConfigCache \
158 vcl/source/filter/FilterConfigItem \
159 vcl/source/filter/graphicfilter \
160 vcl/source/filter/graphicfilter2 \
161 vcl/source/filter/GraphicNativeTransform \
162 vcl/source/filter/GraphicNativeMetadata \
163 vcl/source/filter/sgfbram \
164 vcl/source/filter/sgvmain \
165 vcl/source/filter/sgvspln \
166 vcl/source/filter/sgvtext \
167 vcl/source/filter/igif/decode \
168 vcl/source/filter/igif/gifread \
169 vcl/source/filter/ixbm/xbmread \
170 vcl/source/filter/ixpm/xpmread \
171 vcl/source/filter/jpeg/Exif \
172 vcl/source/filter/jpeg/jpeg \
173 vcl/source/filter/jpeg/JpegReader \
174 vcl/source/filter/jpeg/JpegWriter \
175 vcl/source/filter/jpeg/JpegTransform \
176 vcl/source/filter/wmf/emfwr \
177 vcl/source/filter/wmf/enhwmf \
178 vcl/source/filter/wmf/winmtf \
179 vcl/source/filter/wmf/winwmf \
180 vcl/source/filter/wmf/wmf \
181 vcl/source/filter/wmf/wmfwr \
182 vcl/source/fontsubset/cff \
183 vcl/source/fontsubset/fontsubset \
184 vcl/source/fontsubset/gsub \
185 vcl/source/fontsubset/list \
186 vcl/source/fontsubset/sft \
187 vcl/source/fontsubset/ttcr \
188 vcl/source/fontsubset/xlat \
189 vcl/source/gdi/alpha \
190 vcl/source/gdi/animate \
191 vcl/source/gdi/base14 \
192 vcl/source/gdi/bitmap2 \
193 vcl/source/gdi/bitmap3 \
194 vcl/source/gdi/bitmap4 \
195 vcl/source/gdi/bitmap \
196 vcl/source/gdi/bitmapex \
197 vcl/source/gdi/bmpacc2 \
198 vcl/source/gdi/bmpacc3 \
199 vcl/source/gdi/bmpacc \
200 vcl/source/gdi/bmpconv \
201 vcl/source/gdi/bmpfast \
202 vcl/source/gdi/configsettings \
203 vcl/source/gdi/cvtgrf \
204 vcl/source/gdi/cvtsvm \
205 vcl/source/gdi/embeddedfontshelper \
206 vcl/source/gdi/extoutdevdata \
207 vcl/source/gdi/font \
208 vcl/source/gdi/gdimtf \
209 vcl/source/gdi/gfxlink \
210 vcl/source/gdi/gradient \
211 vcl/source/gdi/graph \
212 vcl/source/gdi/graphictools \
213 vcl/source/gdi/hatch \
214 vcl/source/gdi/image \
215 vcl/source/gdi/imagerepository \
216 vcl/source/gdi/impanmvw \
217 vcl/source/gdi/impbmp \
218 vcl/source/gdi/impgraph \
219 vcl/source/gdi/impimage \
220 vcl/source/gdi/impimagetree \
221 vcl/source/gdi/impvect \
222 vcl/source/gdi/jobset \
223 vcl/source/gdi/lineinfo \
224 vcl/source/gdi/mapmod \
225 vcl/source/gdi/metaact \
226 vcl/source/gdi/metric \
227 vcl/source/gdi/octree \
228 vcl/source/gdi/oldprintadaptor \
229 vcl/source/gdi/outdev2 \
230 vcl/source/gdi/outdev3 \
231 vcl/source/gdi/outdev4 \
232 vcl/source/gdi/outdev5 \
233 vcl/source/gdi/outdev6 \
234 vcl/source/gdi/outdev \
235 vcl/source/gdi/outdevnative \
236 vcl/source/gdi/outmap \
237 vcl/source/gdi/pdfextoutdevdata \
238 vcl/source/gdi/pdffontcache \
239 vcl/source/gdi/pdfwriter \
240 vcl/source/gdi/pdfwriter_impl2 \
241 vcl/source/gdi/pdfwriter_impl \
242 vcl/source/gdi/pngread \
243 vcl/source/gdi/pngwrite \
244 vcl/source/gdi/print2 \
245 vcl/source/gdi/print3 \
246 vcl/source/gdi/print \
247 vcl/source/gdi/regband \
248 vcl/source/gdi/region \
249 vcl/source/gdi/salgdilayout \
250 vcl/source/gdi/sallayout \
251 vcl/source/gdi/salmisc \
252 vcl/source/gdi/salnativewidgets-none \
253 vcl/source/gdi/svgdata \
254 vcl/source/gdi/textlayout \
255 vcl/source/gdi/virdev \
256 vcl/source/gdi/wall \
257 vcl/source/helper/canvasbitmap \
258 vcl/source/helper/canvastools \
259 vcl/source/helper/evntpost \
260 vcl/source/helper/lazydelete \
261 vcl/source/helper/strhelper \
262 vcl/source/helper/threadex \
263 vcl/source/helper/xconnection \
264 vcl/source/window/abstdlg \
265 vcl/source/window/accel \
266 vcl/source/window/accmgr \
267 vcl/source/window/brdwin \
268 vcl/source/window/btndlg \
269 vcl/source/window/builder \
270 vcl/source/window/cmdevt \
271 vcl/source/window/cursor \
272 vcl/source/window/decoview \
273 vcl/source/window/dialog \
274 vcl/source/window/dlgctrl \
275 vcl/source/window/dndevdis \
276 vcl/source/window/dndlcon \
277 vcl/source/window/dockingarea \
278 vcl/source/window/dockmgr \
279 vcl/source/window/dockwin \
280 vcl/source/window/floatwin \
281 vcl/source/window/introwin \
282 vcl/source/window/keycod \
283 vcl/source/window/keyevent \
284 vcl/source/window/layout \
285 vcl/source/window/menu \
286 vcl/source/window/mnemonic \
287 vcl/source/window/mnemonicengine \
288 vcl/source/window/mouseevent \
289 vcl/source/window/msgbox \
290 vcl/source/window/popupmenuwindow \
291 vcl/source/window/printdlg \
292 vcl/source/window/scrwnd \
293 vcl/source/window/seleng \
294 vcl/source/window/split \
295 vcl/source/window/splitwin \
296 vcl/source/window/status \
297 vcl/source/window/syschild \
298 vcl/source/window/syswin \
299 vcl/source/window/tabdlg \
300 vcl/source/window/tabpage \
301 vcl/source/window/taskpanelist \
302 vcl/source/window/toolbox2 \
303 vcl/source/window/toolbox \
304 vcl/source/window/window2 \
305 vcl/source/window/window3 \
306 vcl/source/window/window \
307 vcl/source/window/winproc \
308 vcl/source/window/wrkwin \
311 $(eval $(call gb_Library_add_cobjects,vcl,\
312 vcl/source/filter/jpeg/jpegc \
313 vcl/source/filter/jpeg/transupp \
316 # optional parts
318 ## handle Graphite
319 ifeq ($(ENABLE_GRAPHITE),TRUE)
320 # add graphite sources for all platforms
321 $(eval $(call gb_Library_add_exception_objects,vcl,\
322 vcl/source/glyphs/graphite_features \
323 vcl/source/glyphs/graphite_layout \
326 # handle X11 platforms, which have additional files and possibly system graphite
327 ifeq ($(GUIBASE),unx)
328 $(eval $(call gb_Library_add_exception_objects,vcl,\
329 vcl/generic/glyphs/graphite_serverfont \
331 endif
332 ifeq ($(GUIBASE),headless)
333 $(eval $(call gb_Library_add_exception_objects,vcl,\
334 vcl/generic/glyphs/graphite_serverfont \
336 endif
338 $(eval $(call gb_Library_use_external,vcl,graphite))
340 endif
342 vcl_quartz_code= \
343 vcl/quartz/salbmp \
344 vcl/quartz/utils \
346 vcl_coretext_code= \
347 vcl/coretext/ctfonts \
348 vcl/coretext/ctlayout \
349 vcl/coretext/salgdi2 \
351 # GUIBASE specific stuff
353 ifeq ($(OS),MACOSX)
355 $(eval $(call gb_Library_add_cxxflags,vcl,\
356 $(gb_OBJCXXFLAGS) \
359 $(eval $(call gb_Library_add_defs,vcl,\
360 -DMACOSX_BUNDLE_IDENTIFIER=\"$(MACOSX_BUNDLE_IDENTIFIER)\" \
363 ifeq ($(ENABLE_CORETEXT),YES)
365 $(eval $(call gb_Library_add_defs,vcl,\
366 -DENABLE_CORETEXT \
369 $(eval $(call gb_Library_add_exception_objects,vcl,\
370 $(vcl_coretext_code) \
373 ifeq ($(MACOSX_SDK_VERSION),1080)
374 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
375 ApplicationServices \
377 else
378 ifeq ($(MACOSX_SDK_VERSION),1070)
379 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
380 ApplicationServices \
382 else
383 ifeq ($(MACOSX_SDK_VERSION),1060)
384 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
385 ApplicationServices \
387 else
388 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
389 CoreText \
391 endif
392 endif
393 endif
395 else # ATSUI
397 $(eval $(call gb_Library_add_exception_objects,vcl,\
398 vcl/aqua/source/gdi/atsui/salatslayout \
399 vcl/aqua/source/gdi/atsui/salatsuifontutils \
400 vcl/aqua/source/gdi/atsui/salgdi \
402 endif
404 $(eval $(call gb_Library_add_objcxxobjects,vcl,\
405 vcl/aqua/source/a11y/aqua11yactionwrapper \
406 vcl/aqua/source/a11y/aqua11ycomponentwrapper \
407 vcl/aqua/source/a11y/aqua11yfactory \
408 vcl/aqua/source/a11y/aqua11yrolehelper \
409 vcl/aqua/source/a11y/aqua11yselectionwrapper \
410 vcl/aqua/source/a11y/aqua11ytablewrapper \
411 vcl/aqua/source/a11y/aqua11ytextattributeswrapper \
412 vcl/aqua/source/a11y/aqua11ytextwrapper \
413 vcl/aqua/source/a11y/aqua11yutil \
414 vcl/aqua/source/a11y/aqua11yvaluewrapper \
415 vcl/aqua/source/a11y/aqua11ywrapper \
416 vcl/aqua/source/a11y/aqua11ywrapperbutton \
417 vcl/aqua/source/a11y/aqua11ywrappercheckbox \
418 vcl/aqua/source/a11y/aqua11ywrappercombobox \
419 vcl/aqua/source/a11y/aqua11ywrappergroup \
420 vcl/aqua/source/a11y/aqua11ywrapperlist \
421 vcl/aqua/source/a11y/aqua11ywrapperradiobutton \
422 vcl/aqua/source/a11y/aqua11ywrapperradiogroup \
423 vcl/aqua/source/a11y/aqua11ywrapperrow \
424 vcl/aqua/source/a11y/aqua11ywrapperscrollarea \
425 vcl/aqua/source/a11y/aqua11ywrapperscrollbar \
426 vcl/aqua/source/a11y/aqua11ywrappersplitter \
427 vcl/aqua/source/a11y/aqua11ywrapperstatictext \
428 vcl/aqua/source/a11y/aqua11ywrappertabgroup \
429 vcl/aqua/source/a11y/aqua11ywrappertextarea \
430 vcl/aqua/source/a11y/aqua11ywrappertoolbar \
431 vcl/aqua/source/app/salnstimer \
432 vcl/aqua/source/app/vclnsapp \
433 vcl/aqua/source/gdi/aquaprintaccessoryview \
434 vcl/aqua/source/gdi/aquaprintview \
435 vcl/aqua/source/window/salframeview \
436 vcl/aqua/source/window/salnsmenu \
438 $(eval $(call gb_Library_add_exception_objects,vcl,\
439 vcl/aqua/source/a11y/aqua11yfocuslistener \
440 vcl/aqua/source/a11y/aqua11yfocustracker \
441 vcl/aqua/source/a11y/aqua11ylistener \
442 vcl/aqua/source/a11y/documentfocuslistener \
443 vcl/aqua/source/app/saldata \
444 vcl/aqua/source/app/salinst \
445 vcl/aqua/source/app/salsys \
446 vcl/aqua/source/app/saltimer \
447 vcl/aqua/source/dtrans/DataFlavorMapping \
448 vcl/aqua/source/dtrans/DragActionConversion \
449 vcl/aqua/source/dtrans/DragSource \
450 vcl/aqua/source/dtrans/DragSourceContext \
451 vcl/aqua/source/dtrans/DropTarget \
452 vcl/aqua/source/dtrans/HtmlFmtFlt \
453 vcl/aqua/source/dtrans/OSXTransferable \
454 vcl/aqua/source/dtrans/PictToBmpFlt \
455 vcl/aqua/source/dtrans/aqua_clipboard \
456 vcl/aqua/source/dtrans/service_entry \
457 $(vcl_quartz_code) \
458 vcl/aqua/source/gdi/salgdicommon \
459 vcl/aqua/source/gdi/salgdiutils \
460 vcl/aqua/source/gdi/salmathutils \
461 vcl/aqua/source/gdi/salnativewidgets \
462 vcl/aqua/source/gdi/salprn \
463 vcl/aqua/source/gdi/salvd \
464 vcl/aqua/source/window/salframe \
465 vcl/aqua/source/window/salmenu \
466 vcl/aqua/source/window/salobj \
468 $(eval $(call gb_Library_use_libraries,vcl,\
469 AppleRemote \
471 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
472 $(if $(filter X86_64,$(CPUNAME)),,QuickTime) \
473 Cocoa \
474 Carbon \
475 CoreFoundation \
478 $(eval $(call gb_Library_use_libraries,vcl,\
479 AppleRemote \
481 endif
483 vcl_really_generic_code= \
484 vcl/generic/app/gensys \
485 vcl/generic/app/geninst \
487 vcl_generic_code= \
488 $(vcl_really_generic_code) \
489 vcl/generic/app/gendisp \
490 vcl/generic/print/bitmap_gfx \
491 vcl/generic/print/common_gfx \
492 vcl/generic/print/glyphset \
493 vcl/generic/print/printerjob \
494 vcl/generic/print/psputil \
495 vcl/generic/print/genpspgraphics \
496 vcl/generic/print/genprnpsp \
497 vcl/generic/print/text_gfx \
498 vcl/generic/fontmanager/fontsubst \
499 vcl/generic/glyphs/gcach_ftyp \
500 vcl/generic/glyphs/gcach_layout \
501 vcl/generic/glyphs/gcach_rbmp \
502 vcl/generic/glyphs/glyphcache \
503 vcl/generic/fontmanager/fontcache \
504 vcl/generic/fontmanager/fontconfig \
505 vcl/generic/fontmanager/fontmanager \
506 vcl/generic/fontmanager/helper \
507 vcl/generic/fontmanager/parseAFM \
509 vcl_headless_code= \
510 vcl/headless/svpbmp \
511 vcl/headless/svpdummies \
512 vcl/headless/svpelement \
513 vcl/headless/svpframe \
514 vcl/headless/svpgdi \
515 vcl/headless/svpinst \
516 vcl/headless/svpdata \
517 vcl/headless/svpvd \
519 vcl_headless_freetype_code=\
520 vcl/headless/svpprn \
521 vcl/headless/svptext \
523 ifeq ($(GUIBASE),unx)
524 $(eval $(call gb_Library_add_defs,vcl,\
525 -DSAL_DLLPREFIX=\"$(gb_Library_SYSPRE)\" \
526 -DSAL_DLLPOSTFIX=\"$(gb_Library_OOOEXT)\" \
527 -D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \
529 $(eval $(call gb_Library_add_exception_objects,vcl,\
530 $(vcl_generic_code) \
531 vcl/unx/generic/plugadapt/salplug \
532 vcl/unx/generic/printer/jobdata \
533 vcl/unx/generic/printer/ppdparser \
534 $(if $(filter TRUE,$(ENABLE_CUPS)),\
535 vcl/unx/generic/printer/cupsmgr \
536 vcl/unx/generic/printer/printerinfomanager \
538 vcl/null/printerinfomanager \
541 $(eval $(call gb_Library_use_externals,vcl,\
542 cups \
543 dbus \
544 fontconfig \
545 freetype \
546 valgrind \
547 x11extensions \
549 endif
551 ifeq ($(GUIBASE),headless)
552 $(eval $(call gb_Library_add_defs,vcl,\
553 -DSAL_DLLPREFIX=\"$(gb_Library_SYSPRE)\" \
554 -DSAL_DLLPOSTFIX=\"$(gb_Library_OOOEXT)\" \
555 -D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \
557 $(eval $(call gb_Library_add_exception_objects,vcl,\
558 $(vcl_generic_code) \
559 vcl/unx/generic/printer/jobdata \
560 vcl/unx/generic/printer/ppdparser \
561 vcl/null/printerinfomanager \
562 vcl/headless/headlessinst \
563 $(vcl_headless_code) \
564 $(vcl_headless_freetype_code) \
567 $(eval $(call gb_Library_use_libraries,vcl,\
568 basebmp \
571 $(eval $(call gb_Library_use_externals,vcl,\
572 fontconfig \
573 freetype \
575 endif
577 ifeq ($(OS),ANDROID)
578 $(eval $(call gb_Library_add_libs,vcl,\
579 -llog \
580 -landroid \
581 -llo-bootstrap \
583 $(eval $(call gb_Library_add_defs,vcl,\
584 -DSAL_DLLPREFIX=\"$(gb_Library_SYSPRE)\" \
585 -DSAL_DLLPOSTFIX=\"$(gb_Library_OOOEXT)\" \
586 -D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \
588 $(eval $(call gb_Library_add_exception_objects,vcl,\
589 $(vcl_generic_code) \
590 vcl/unx/generic/printer/jobdata \
591 vcl/unx/generic/printer/ppdparser \
592 vcl/null/printerinfomanager \
593 vcl/android/androidinst \
594 $(vcl_headless_code) \
595 $(vcl_headless_freetype_code) \
598 $(eval $(call gb_Library_use_static_libraries,vcl,\
599 basebmp \
602 $(eval $(call gb_Library_use_externals,vcl,\
603 fontconfig \
604 freetype \
605 expat \
607 endif
609 ifeq ($(OS),IOS)
610 $(eval $(call gb_Library_add_cxxflags,vcl,\
611 $(gb_OBJCXXFLAGS) \
613 $(eval $(call gb_Library_add_exception_objects,vcl,\
614 vcl/ios/iosinst \
615 vcl/ios/dummies \
616 $(vcl_really_generic_code) \
617 $(vcl_coretext_code) \
618 $(vcl_quartz_code) \
619 $(vcl_headless_code) \
621 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
622 UIKit \
623 CoreFoundation \
625 endif
627 # OS-specific stuff
629 ifeq ($(OS),WNT)
630 $(eval $(call gb_Library_add_exception_objects,vcl,\
631 vcl/win/source/app/saldata \
632 vcl/win/source/app/salinfo \
633 vcl/win/source/app/salinst \
634 vcl/win/source/app/salshl \
635 vcl/win/source/app/saltimer \
636 vcl/win/source/gdi/salbmp \
637 vcl/win/source/gdi/salgdi \
638 vcl/win/source/gdi/salgdi2 \
639 vcl/win/source/gdi/salgdi3 \
640 vcl/win/source/gdi/salgdi_gdiplus \
641 vcl/win/source/gdi/salnativewidgets-luna \
642 vcl/win/source/gdi/salprn \
643 vcl/win/source/gdi/salvd \
644 vcl/win/source/gdi/winlayout \
645 vcl/win/source/gdi/wntgdi \
646 vcl/win/source/window/salframe \
647 vcl/win/source/window/keynames \
648 vcl/win/source/window/salmenu \
649 vcl/win/source/window/salobj \
652 $(eval $(call gb_Library_use_system_win32_libs,vcl,\
653 advapi32 \
654 gdi32 \
655 gdiplus \
656 imm32 \
657 mpr \
658 msimg32 \
659 ole32 \
660 shell32 \
661 usp10 \
662 uuid \
663 version \
664 winspool \
665 shlwapi \
668 $(eval $(call gb_Library_add_nativeres,vcl,vcl/salsrc))
670 ifeq ($(COM),MSC)
671 ifeq ($(USE_MINGW),)
672 $(eval $(call gb_Library_add_ldflags,vcl,\
673 /ENTRY:LibMain@12 \
675 endif
676 endif
677 endif
679 ifeq ($(OS),LINUX)
680 $(eval $(call gb_Library_add_libs,vcl,\
681 -lm \
682 -ldl \
683 -lpthread \
685 endif
687 ifeq ($(OS),SOLARIS)
688 ifeq ($(CPUNAME)$(CPU),SPARCU)
689 $(eval $(call gb_Library_add_ldflags,vcl,\
690 -R/usr/sfw/lib/64 \
692 else
693 $(eval $(call gb_Library_add_ldflags,vcl,\
694 -R/usr/sfw/lib \
696 endif
697 endif
699 # Runtime dependency for unit-tests
700 $(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,vcl)) :| \
701 $(call gb_AllLangResTarget_get_target,vcl)
703 # vim: set noet sw=4 ts=4: