Bump for 4.0-15
[LibreOffice.git] / vcl / Library_vcl.mk
blob8f12d2c0cd9fa74165cb2c5ff58ca6105195dc9c
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 # Copyright 2000, 2010 Oracle and/or its affiliates.
8 # OpenOffice.org - a multi-platform office productivity suite
10 # This file is part of OpenOffice.org.
12 # OpenOffice.org is free software: you can redistribute it and/or modify
13 # it under the terms of the GNU Lesser General Public License version 3
14 # only, as published by the Free Software Foundation.
16 # OpenOffice.org is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU Lesser General Public License version 3 for more details
20 # (a copy is included in the LICENSE file that accompanied this code).
22 # You should have received a copy of the GNU Lesser General Public License
23 # version 3 along with OpenOffice.org. If not, see
24 # <http://www.openoffice.org/license.html>
25 # for a copy of the LGPLv3 License.
27 #*************************************************************************
29 $(eval $(call gb_Library_Library,vcl))
31 ifeq ($(OS),MACOSX)
32 $(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.macosx))
33 else ifeq ($(OS),WNT)
34 $(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.windows))
35 else ifeq ($(GUIBASE),android)
36 $(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.android))
37 else ifeq ($(OS),IOS)
38 $(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.ios))
39 else ifeq ($(GUIBASE),headless)
40 $(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.headless))
41 else
42 $(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.unx))
43 endif
45 $(eval $(call gb_Library_use_package,vcl,vcl_inc))
47 $(eval $(call gb_Library_use_custom_headers,vcl,vcl/generic/fontmanager))
49 $(eval $(call gb_Library_set_include,vcl,\
50 $$(INCLUDE) \
51 -I$(SRCDIR)/vcl/inc \
52 $(if $(filter WNTGCC,$(OS)$(COM)),-I$(OUTDIR)/inc/external/wine) \
55 $(eval $(call gb_Library_add_defs,vcl,\
56 -DVCL_DLLIMPLEMENTATION \
57 -DCUI_DLL_NAME=\"$(call gb_Library_get_runtime_filename,cui)\" \
58 -DDLLPOSTFIX=$(gb_Library_DLLPOSTFIX) \
61 $(eval $(call gb_Library_use_sdk_api,vcl))
63 $(eval $(call gb_Library_use_externals,vcl,\
64 jpeg \
65 nss3 \
68 $(eval $(call gb_Library_use_libraries,vcl,\
69 svl \
70 tl \
71 utl \
72 sot \
73 ucbhelper \
74 basegfx \
75 comphelper \
76 cppuhelper \
77 i18nisolang1 \
78 i18nutil \
79 cppu \
80 sal \
81 xmlreader \
82 $(gb_UWINAPI) \
85 ifeq ($(OS),MACOSX)
86 $(eval $(call gb_Library_add_libs,vcl,\
87 -lobjc \
89 endif
91 ifneq ($(OS),IOS)
92 $(eval $(call gb_Library_use_libraries,vcl,\
93 jvmaccess \
95 endif
97 $(eval $(call gb_Library_use_externals,vcl,\
98 icule \
99 icuuc \
100 lcms2 \
103 ifneq ($(ENABLE_GIO),)
104 $(eval $(call gb_Library_use_externals,vcl,\
105 gio \
107 endif
109 $(eval $(call gb_Library_add_exception_objects,vcl,\
110 vcl/source/app/brand \
111 vcl/source/app/dbggui \
112 vcl/source/app/dndhelp \
113 vcl/source/app/help \
114 vcl/source/app/i18nhelp \
115 vcl/source/app/idlemgr \
116 vcl/source/app/salvtables \
117 vcl/source/app/session \
118 vcl/source/app/settings \
119 vcl/source/app/solarmutex \
120 vcl/source/app/sound \
121 vcl/source/app/stdtext \
122 vcl/source/app/svapp \
123 vcl/source/app/svdata \
124 vcl/source/app/svmain \
125 vcl/source/app/svmainhook \
126 vcl/source/app/timer \
127 vcl/source/app/unohelp2 \
128 vcl/source/app/unohelp \
129 vcl/source/app/vclevent \
130 vcl/source/components/display \
131 vcl/source/components/dtranscomp \
132 vcl/source/components/factory \
133 vcl/source/components/fontident \
134 vcl/source/components/stringmirror \
135 vcl/source/control/button \
136 vcl/source/control/combobox \
137 vcl/source/control/ctrl \
138 vcl/source/control/edit \
139 vcl/source/control/field2 \
140 vcl/source/control/field \
141 vcl/source/control/fixed \
142 vcl/source/control/fixedhyper \
143 vcl/source/control/group \
144 vcl/source/control/ilstbox \
145 vcl/source/control/imgctrl \
146 vcl/source/control/longcurr \
147 vcl/source/control/lstbox \
148 vcl/source/control/menubtn \
149 vcl/source/control/morebtn \
150 vcl/source/control/quickselectionengine \
151 vcl/source/control/prgsbar \
152 vcl/source/control/scrbar \
153 vcl/source/control/slider \
154 vcl/source/control/spinbtn \
155 vcl/source/control/spinfld \
156 vcl/source/control/tabctrl \
157 vcl/source/control/throbber \
158 vcl/source/edit/vclmedit \
159 vcl/source/edit/textdata \
160 vcl/source/edit/textdoc \
161 vcl/source/edit/texteng \
162 vcl/source/edit/textundo \
163 vcl/source/edit/textview \
164 vcl/source/edit/txtattr \
165 vcl/source/edit/xtextedt \
166 vcl/source/filter/FilterConfigCache \
167 vcl/source/filter/FilterConfigItem \
168 vcl/source/filter/graphicfilter \
169 vcl/source/filter/graphicfilter2 \
170 vcl/source/filter/sgfbram \
171 vcl/source/filter/sgvmain \
172 vcl/source/filter/sgvspln \
173 vcl/source/filter/sgvtext \
174 vcl/source/filter/igif/decode \
175 vcl/source/filter/igif/gifread \
176 vcl/source/filter/ixbm/xbmread \
177 vcl/source/filter/ixpm/xpmread \
178 vcl/source/filter/jpeg/jpeg \
179 vcl/source/filter/wmf/emfwr \
180 vcl/source/filter/wmf/enhwmf \
181 vcl/source/filter/wmf/winmtf \
182 vcl/source/filter/wmf/winwmf \
183 vcl/source/filter/wmf/wmf \
184 vcl/source/filter/wmf/wmfwr \
185 vcl/source/fontsubset/cff \
186 vcl/source/fontsubset/fontsubset \
187 vcl/source/fontsubset/gsub \
188 vcl/source/fontsubset/list \
189 vcl/source/fontsubset/sft \
190 vcl/source/fontsubset/ttcr \
191 vcl/source/fontsubset/xlat \
192 vcl/source/gdi/alpha \
193 vcl/source/gdi/animate \
194 vcl/source/gdi/base14 \
195 vcl/source/gdi/bitmap2 \
196 vcl/source/gdi/bitmap3 \
197 vcl/source/gdi/bitmap4 \
198 vcl/source/gdi/bitmap \
199 vcl/source/gdi/bitmapex \
200 vcl/source/gdi/bmpacc2 \
201 vcl/source/gdi/bmpacc3 \
202 vcl/source/gdi/bmpacc \
203 vcl/source/gdi/bmpconv \
204 vcl/source/gdi/bmpfast \
205 vcl/source/gdi/configsettings \
206 vcl/source/gdi/cvtgrf \
207 vcl/source/gdi/cvtsvm \
208 vcl/source/gdi/extoutdevdata \
209 vcl/source/gdi/font \
210 vcl/source/gdi/gdimtf \
211 vcl/source/gdi/gfxlink \
212 vcl/source/gdi/gradient \
213 vcl/source/gdi/graph \
214 vcl/source/gdi/graphictools \
215 vcl/source/gdi/hatch \
216 vcl/source/gdi/image \
217 vcl/source/gdi/imagerepository \
218 vcl/source/gdi/impanmvw \
219 vcl/source/gdi/impbmp \
220 vcl/source/gdi/impgraph \
221 vcl/source/gdi/impimage \
222 vcl/source/gdi/impimagetree \
223 vcl/source/gdi/impvect \
224 vcl/source/gdi/jobset \
225 vcl/source/gdi/lineinfo \
226 vcl/source/gdi/mapmod \
227 vcl/source/gdi/metaact \
228 vcl/source/gdi/metric \
229 vcl/source/gdi/octree \
230 vcl/source/gdi/oldprintadaptor \
231 vcl/source/gdi/outdev2 \
232 vcl/source/gdi/outdev3 \
233 vcl/source/gdi/outdev4 \
234 vcl/source/gdi/outdev5 \
235 vcl/source/gdi/outdev6 \
236 vcl/source/gdi/outdev \
237 vcl/source/gdi/outdevnative \
238 vcl/source/gdi/outmap \
239 vcl/source/gdi/pdfextoutdevdata \
240 vcl/source/gdi/pdffontcache \
241 vcl/source/gdi/pdfwriter \
242 vcl/source/gdi/pdfwriter_impl2 \
243 vcl/source/gdi/pdfwriter_impl \
244 vcl/source/gdi/pngread \
245 vcl/source/gdi/pngwrite \
246 vcl/source/gdi/print2 \
247 vcl/source/gdi/print3 \
248 vcl/source/gdi/print \
249 vcl/source/gdi/regband \
250 vcl/source/gdi/region \
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/temporaryfonts \
257 vcl/source/gdi/textlayout \
258 vcl/source/gdi/virdev \
259 vcl/source/gdi/wall \
260 vcl/source/helper/canvasbitmap \
261 vcl/source/helper/canvastools \
262 vcl/source/helper/evntpost \
263 vcl/source/helper/lazydelete \
264 vcl/source/helper/strhelper \
265 vcl/source/helper/threadex \
266 vcl/source/helper/xconnection \
267 vcl/source/window/abstdlg \
268 vcl/source/window/accel \
269 vcl/source/window/accmgr \
270 vcl/source/window/brdwin \
271 vcl/source/window/btndlg \
272 vcl/source/window/builder \
273 vcl/source/window/cmdevt \
274 vcl/source/window/cursor \
275 vcl/source/window/decoview \
276 vcl/source/window/dialog \
277 vcl/source/window/dlgctrl \
278 vcl/source/window/dndevdis \
279 vcl/source/window/dndlcon \
280 vcl/source/window/dockingarea \
281 vcl/source/window/dockmgr \
282 vcl/source/window/dockwin \
283 vcl/source/window/floatwin \
284 vcl/source/window/introwin \
285 vcl/source/window/keycod \
286 vcl/source/window/keyevent \
287 vcl/source/window/layout \
288 vcl/source/window/menu \
289 vcl/source/window/mnemonic \
290 vcl/source/window/mnemonicengine \
291 vcl/source/window/mouseevent \
292 vcl/source/window/msgbox \
293 vcl/source/window/popupmenuwindow \
294 vcl/source/window/printdlg \
295 vcl/source/window/scrwnd \
296 vcl/source/window/seleng \
297 vcl/source/window/split \
298 vcl/source/window/splitwin \
299 vcl/source/window/status \
300 vcl/source/window/syschild \
301 vcl/source/window/syswin \
302 vcl/source/window/tabdlg \
303 vcl/source/window/tabpage \
304 vcl/source/window/taskpanelist \
305 vcl/source/window/toolbox2 \
306 vcl/source/window/toolbox \
307 vcl/source/window/window2 \
308 vcl/source/window/window3 \
309 vcl/source/window/window \
310 vcl/source/window/winproc \
311 vcl/source/window/wrkwin \
314 $(eval $(call gb_Library_add_cobjects,vcl,\
315 vcl/source/filter/jpeg/jpegc \
318 # optional parts
320 ## handle Graphite
321 ifeq ($(ENABLE_GRAPHITE),TRUE)
322 # add defines, graphite sources for all platforms
323 $(eval $(call gb_Library_add_defs,vcl,\
324 -DENABLE_GRAPHITE \
326 $(eval $(call gb_Library_add_exception_objects,vcl,\
327 vcl/source/glyphs/graphite_features \
328 vcl/source/glyphs/graphite_layout \
331 # handle X11 platforms, which have additional files and possibly system graphite
332 ifeq ($(GUIBASE),unx)
333 $(eval $(call gb_Library_add_exception_objects,vcl,\
334 vcl/generic/glyphs/graphite_serverfont \
336 endif
337 ifeq ($(GUIBASE),headless)
338 $(eval $(call gb_Library_add_exception_objects,vcl,\
339 vcl/generic/glyphs/graphite_serverfont \
341 endif
343 $(eval $(call gb_Library_use_external,vcl,graphite))
345 endif
347 $(eval $(call gb_Library_use_packages,vcl,\
348 basebmp_inc \
351 # GUIBASE specific stuff
353 ifeq ($(GUIBASE),aqua)
355 $(eval $(call gb_Library_add_cxxflags,vcl,\
356 $(gb_OBJCXXFLAGS) \
359 ifeq ($(ENABLE_CORETEXT),YES)
361 $(eval $(call gb_Library_add_defs,vcl,\
362 -DENABLE_CORETEXT \
365 $(eval $(call gb_Library_add_exception_objects,vcl,\
366 vcl/aqua/source/gdi/coretext/salcoretextfontutils \
367 vcl/aqua/source/gdi/coretext/salcoretextlayout \
368 vcl/aqua/source/gdi/coretext/salcoretextstyle \
369 vcl/aqua/source/gdi/coretext/salgdi \
372 ifeq ($(MACOSX_SDK_VERSION),1070)
373 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
374 ApplicationServices \
376 else
377 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
378 CoreText \
380 endif
382 else # ATSUI
384 $(eval $(call gb_Library_add_exception_objects,vcl,\
385 vcl/aqua/source/gdi/atsui/salatslayout \
386 vcl/aqua/source/gdi/atsui/salatsuifontutils \
387 vcl/aqua/source/gdi/atsui/salgdi \
389 endif
391 $(eval $(call gb_Library_add_objcxxobjects,vcl,\
392 vcl/aqua/source/a11y/aqua11yactionwrapper \
393 vcl/aqua/source/a11y/aqua11ycomponentwrapper \
394 vcl/aqua/source/a11y/aqua11yfactory \
395 vcl/aqua/source/a11y/aqua11yrolehelper \
396 vcl/aqua/source/a11y/aqua11yselectionwrapper \
397 vcl/aqua/source/a11y/aqua11ytablewrapper \
398 vcl/aqua/source/a11y/aqua11ytextattributeswrapper \
399 vcl/aqua/source/a11y/aqua11ytextwrapper \
400 vcl/aqua/source/a11y/aqua11yutil \
401 vcl/aqua/source/a11y/aqua11yvaluewrapper \
402 vcl/aqua/source/a11y/aqua11ywrapper \
403 vcl/aqua/source/a11y/aqua11ywrapperbutton \
404 vcl/aqua/source/a11y/aqua11ywrappercheckbox \
405 vcl/aqua/source/a11y/aqua11ywrappercombobox \
406 vcl/aqua/source/a11y/aqua11ywrappergroup \
407 vcl/aqua/source/a11y/aqua11ywrapperlist \
408 vcl/aqua/source/a11y/aqua11ywrapperradiobutton \
409 vcl/aqua/source/a11y/aqua11ywrapperradiogroup \
410 vcl/aqua/source/a11y/aqua11ywrapperrow \
411 vcl/aqua/source/a11y/aqua11ywrapperscrollarea \
412 vcl/aqua/source/a11y/aqua11ywrapperscrollbar \
413 vcl/aqua/source/a11y/aqua11ywrappersplitter \
414 vcl/aqua/source/a11y/aqua11ywrapperstatictext \
415 vcl/aqua/source/a11y/aqua11ywrappertabgroup \
416 vcl/aqua/source/a11y/aqua11ywrappertextarea \
417 vcl/aqua/source/a11y/aqua11ywrappertoolbar \
418 vcl/aqua/source/app/salnstimer \
419 vcl/aqua/source/app/vclnsapp \
420 vcl/aqua/source/gdi/aquaprintaccessoryview \
421 vcl/aqua/source/gdi/aquaprintview \
422 vcl/aqua/source/window/salframeview \
423 vcl/aqua/source/window/salnsmenu \
425 $(eval $(call gb_Library_add_exception_objects,vcl,\
426 vcl/aqua/source/a11y/aqua11yfocuslistener \
427 vcl/aqua/source/a11y/aqua11yfocustracker \
428 vcl/aqua/source/a11y/aqua11ylistener \
429 vcl/aqua/source/a11y/documentfocuslistener \
430 vcl/aqua/source/app/saldata \
431 vcl/aqua/source/app/salinst \
432 vcl/aqua/source/app/salsys \
433 vcl/aqua/source/app/saltimer \
434 vcl/aqua/source/dtrans/DataFlavorMapping \
435 vcl/aqua/source/dtrans/DragActionConversion \
436 vcl/aqua/source/dtrans/DragSource \
437 vcl/aqua/source/dtrans/DragSourceContext \
438 vcl/aqua/source/dtrans/DropTarget \
439 vcl/aqua/source/dtrans/HtmlFmtFlt \
440 vcl/aqua/source/dtrans/OSXTransferable \
441 vcl/aqua/source/dtrans/PictToBmpFlt \
442 vcl/aqua/source/dtrans/aqua_clipboard \
443 vcl/aqua/source/dtrans/service_entry \
444 vcl/aqua/source/gdi/salbmp \
445 vcl/aqua/source/gdi/salcolorutils \
446 vcl/aqua/source/gdi/salgdicommon \
447 vcl/aqua/source/gdi/salgdiutils \
448 vcl/aqua/source/gdi/salmathutils \
449 vcl/aqua/source/gdi/salnativewidgets \
450 vcl/aqua/source/gdi/salprn \
451 vcl/aqua/source/gdi/salvd \
452 vcl/aqua/source/window/salframe \
453 vcl/aqua/source/window/salmenu \
454 vcl/aqua/source/window/salobj \
456 $(eval $(call gb_Library_use_libraries,vcl,\
457 AppleRemote \
459 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
460 $(if $(filter X86_64,$(CPUNAME)),,QuickTime) \
461 Cocoa \
462 Carbon \
463 CoreFoundation \
466 $(eval $(call gb_Library_use_libraries,vcl,\
467 AppleRemote \
469 endif
471 vcl_generic_code=\
472 vcl/generic/app/gensys \
473 vcl/generic/app/geninst \
474 vcl/generic/app/gendisp \
475 vcl/generic/print/bitmap_gfx \
476 vcl/generic/print/common_gfx \
477 vcl/generic/print/glyphset \
478 vcl/generic/print/printerjob \
479 vcl/generic/print/psputil \
480 vcl/generic/print/genpspgraphics \
481 vcl/generic/print/genprnpsp \
482 vcl/generic/print/text_gfx \
483 vcl/generic/fontmanager/fontsubst \
484 vcl/generic/glyphs/gcach_ftyp \
485 vcl/generic/glyphs/gcach_layout \
486 vcl/generic/glyphs/gcach_rbmp \
487 vcl/generic/glyphs/glyphcache \
488 vcl/generic/fontmanager/fontcache \
489 vcl/generic/fontmanager/fontconfig \
490 vcl/generic/fontmanager/fontmanager \
491 vcl/generic/fontmanager/helper \
492 vcl/generic/fontmanager/parseAFM
494 vcl_headless_code=\
495 vcl/headless/svpbmp \
496 vcl/headless/svpdummies \
497 vcl/headless/svpelement \
498 vcl/headless/svpframe \
499 vcl/headless/svpgdi \
500 vcl/headless/svpinst \
501 vcl/headless/svpdata \
502 vcl/headless/svpprn \
503 vcl/headless/svptext \
504 vcl/headless/svpvd
506 ifeq ($(GUIBASE),unx)
507 $(eval $(call gb_Library_add_defs,vcl,\
508 -DSAL_DLLPREFIX=\"$(gb_Library_SYSPRE)\" \
509 -DSAL_DLLPOSTFIX=\"$(gb_Library_OOOEXT)\" \
510 -D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \
512 $(eval $(call gb_Library_add_exception_objects,vcl,\
513 $(vcl_generic_code) \
514 vcl/unx/generic/plugadapt/salplug \
515 vcl/unx/generic/printer/jobdata \
516 vcl/unx/generic/printer/ppdparser \
517 $(if $(filter TRUE,$(ENABLE_CUPS)),\
518 vcl/unx/generic/printer/cupsmgr \
519 vcl/unx/generic/printer/printerinfomanager \
521 vcl/null/printerinfomanager \
524 $(eval $(call gb_Library_use_externals,vcl,\
525 cups \
526 dbus \
527 fontconfig \
528 freetype \
529 valgrind \
530 x11extensions \
532 endif
534 ifeq ($(GUIBASE),headless)
535 $(eval $(call gb_Library_add_defs,vcl,\
536 -DSAL_DLLPREFIX=\"$(gb_Library_SYSPRE)\" \
537 -DSAL_DLLPOSTFIX=\"$(gb_Library_OOOEXT)\" \
538 -D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \
540 $(eval $(call gb_Library_add_exception_objects,vcl,\
541 $(vcl_generic_code) \
542 vcl/unx/generic/printer/jobdata \
543 vcl/unx/generic/printer/ppdparser \
544 vcl/null/printerinfomanager \
545 vcl/headless/headlessinst \
546 $(vcl_headless_code) \
549 $(eval $(call gb_Library_use_libraries,vcl,\
550 basebmp \
553 $(eval $(call gb_Library_use_externals,vcl,\
554 fontconfig \
555 freetype \
557 endif
559 ifeq ($(GUIBASE),android)
560 $(eval $(call gb_Library_add_libs,vcl,\
561 -llog \
562 -landroid \
563 -llo-bootstrap \
565 $(eval $(call gb_Library_add_defs,vcl,\
566 -DSAL_DLLPREFIX=\"$(gb_Library_SYSPRE)\" \
567 -DSAL_DLLPOSTFIX=\"$(gb_Library_OOOEXT)\" \
568 -D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \
570 $(eval $(call gb_Library_add_exception_objects,vcl,\
571 $(vcl_generic_code) \
572 vcl/unx/generic/printer/jobdata \
573 vcl/unx/generic/printer/ppdparser \
574 vcl/null/printerinfomanager \
575 vcl/android/androidinst \
576 $(vcl_headless_code) \
579 $(eval $(call gb_Library_use_static_libraries,vcl,\
580 basebmp \
583 $(eval $(call gb_Library_use_externals,vcl,\
584 fontconfig \
585 freetype \
586 expat_utf8 \
588 endif
590 ifeq ($(GUIBASE),cocoatouch)
591 $(eval $(call gb_Library_add_cxxflags,vcl,\
592 $(gb_OBJCXXFLAGS) \
594 $(eval $(call gb_Library_add_objcxxobjects,vcl,\
595 vcl/ios/source/app/salnstimer \
596 vcl/ios/source/app/vcluiapp \
597 vcl/ios/source/window/salframeview \
599 $(eval $(call gb_Library_add_exception_objects,vcl,\
600 vcl/ios/source/app/saldata \
601 vcl/ios/source/app/salinst \
602 vcl/ios/source/app/salsys \
603 vcl/ios/source/app/saltimer \
604 vcl/ios/source/dtrans/iOSTransferable \
605 vcl/ios/source/dtrans/ios_clipboard \
606 vcl/ios/source/dtrans/service_entry \
607 vcl/ios/source/gdi/salcoretextfontutils \
608 vcl/ios/source/gdi/salcoretextlayout \
609 vcl/ios/source/gdi/salcoretextstyle \
610 vcl/ios/source/gdi/salbmp \
611 vcl/ios/source/gdi/salgdi \
612 vcl/ios/source/gdi/salgdicommon \
613 vcl/ios/source/gdi/salnativewidgets \
614 vcl/ios/source/gdi/salgdiutils \
615 vcl/ios/source/gdi/salvd \
616 vcl/ios/source/window/salframe \
617 vcl/ios/source/window/salmenu \
618 vcl/ios/source/window/salobj \
620 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
621 UIKit \
622 CoreFoundation \
624 endif
626 # OS-specific stuff
628 ifeq ($(OS),WNT)
629 $(eval $(call gb_Library_add_exception_objects,vcl,\
630 vcl/win/source/app/saldata \
631 vcl/win/source/app/salinfo \
632 vcl/win/source/app/salinst \
633 vcl/win/source/app/salshl \
634 vcl/win/source/app/saltimer \
635 vcl/win/source/gdi/salbmp \
636 vcl/win/source/gdi/salgdi \
637 vcl/win/source/gdi/salgdi2 \
638 vcl/win/source/gdi/salgdi3 \
639 vcl/win/source/gdi/salgdi_gdiplus \
640 vcl/win/source/gdi/salnativewidgets-luna \
641 vcl/win/source/gdi/salprn \
642 vcl/win/source/gdi/salvd \
643 vcl/win/source/gdi/winlayout \
644 vcl/win/source/gdi/wntgdi \
645 vcl/win/source/window/salframe \
646 vcl/win/source/window/keynames \
647 vcl/win/source/window/salmenu \
648 vcl/win/source/window/salobj \
651 $(eval $(call gb_Library_use_system_win32_libs,vcl,\
652 advapi32 \
653 gdi32 \
654 gdiplus \
655 imm32 \
656 mpr \
657 msimg32 \
658 ole32 \
659 shell32 \
660 usp10 \
661 uuid \
662 version \
663 winspool \
666 $(eval $(call gb_Library_add_nativeres,vcl,vcl/src))
667 ifeq ($(COM),MSC)
668 ifeq ($(USE_MINGW),)
669 $(eval $(call gb_Library_add_ldflags,vcl,\
670 /ENTRY:LibMain@12 \
672 endif
673 endif
674 endif
676 ifeq ($(OS),LINUX)
677 $(eval $(call gb_Library_add_libs,vcl,\
678 -lm \
679 -ldl \
680 -lpthread \
682 endif
684 ifeq ($(OS),SOLARIS)
685 ifeq ($(CPUNAME)$(CPU),SPARCU)
686 $(eval $(call gb_Library_add_ldflags,vcl,\
687 -R/usr/sfw/lib/64 \
689 else
690 $(eval $(call gb_Library_add_ldflags,vcl,\
691 -R/usr/sfw/lib \
693 endif
694 endif
696 # Runtime dependency for unit-tests
697 $(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,vcl)) :| \
698 $(call gb_AllLangResTarget_get_target,vcl)
700 # vim: set noet sw=4 ts=4: