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