Impress Remote 1.0.5, tag sdremote-1.0.5
[LibreOffice.git] / vcl / Library_vcl.mk
bloba05e39bf0b4290ff4a11a67f1dab11108d8720e0
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/stdtext \
121 vcl/source/app/svapp \
122 vcl/source/app/svdata \
123 vcl/source/app/svmain \
124 vcl/source/app/svmainhook \
125 vcl/source/app/timer \
126 vcl/source/app/unohelp2 \
127 vcl/source/app/unohelp \
128 vcl/source/app/vclevent \
129 vcl/source/components/display \
130 vcl/source/components/dtranscomp \
131 vcl/source/components/factory \
132 vcl/source/components/fontident \
133 vcl/source/components/stringmirror \
134 vcl/source/control/button \
135 vcl/source/control/combobox \
136 vcl/source/control/ctrl \
137 vcl/source/control/edit \
138 vcl/source/control/field2 \
139 vcl/source/control/field \
140 vcl/source/control/fixed \
141 vcl/source/control/fixedhyper \
142 vcl/source/control/group \
143 vcl/source/control/ilstbox \
144 vcl/source/control/imgctrl \
145 vcl/source/control/longcurr \
146 vcl/source/control/lstbox \
147 vcl/source/control/menubtn \
148 vcl/source/control/morebtn \
149 vcl/source/control/quickselectionengine \
150 vcl/source/control/prgsbar \
151 vcl/source/control/scrbar \
152 vcl/source/control/slider \
153 vcl/source/control/spinbtn \
154 vcl/source/control/spinfld \
155 vcl/source/control/tabctrl \
156 vcl/source/control/throbber \
157 vcl/source/edit/vclmedit \
158 vcl/source/edit/textdata \
159 vcl/source/edit/textdoc \
160 vcl/source/edit/texteng \
161 vcl/source/edit/textundo \
162 vcl/source/edit/textview \
163 vcl/source/edit/txtattr \
164 vcl/source/edit/xtextedt \
165 vcl/source/filter/FilterConfigCache \
166 vcl/source/filter/FilterConfigItem \
167 vcl/source/filter/graphicfilter \
168 vcl/source/filter/graphicfilter2 \
169 vcl/source/filter/sgfbram \
170 vcl/source/filter/sgvmain \
171 vcl/source/filter/sgvspln \
172 vcl/source/filter/sgvtext \
173 vcl/source/filter/igif/decode \
174 vcl/source/filter/igif/gifread \
175 vcl/source/filter/ixbm/xbmread \
176 vcl/source/filter/ixpm/xpmread \
177 vcl/source/filter/jpeg/jpeg \
178 vcl/source/filter/wmf/emfwr \
179 vcl/source/filter/wmf/enhwmf \
180 vcl/source/filter/wmf/winmtf \
181 vcl/source/filter/wmf/winwmf \
182 vcl/source/filter/wmf/wmf \
183 vcl/source/filter/wmf/wmfwr \
184 vcl/source/fontsubset/cff \
185 vcl/source/fontsubset/fontsubset \
186 vcl/source/fontsubset/gsub \
187 vcl/source/fontsubset/list \
188 vcl/source/fontsubset/sft \
189 vcl/source/fontsubset/ttcr \
190 vcl/source/fontsubset/xlat \
191 vcl/source/gdi/alpha \
192 vcl/source/gdi/animate \
193 vcl/source/gdi/base14 \
194 vcl/source/gdi/bitmap2 \
195 vcl/source/gdi/bitmap3 \
196 vcl/source/gdi/bitmap4 \
197 vcl/source/gdi/bitmap \
198 vcl/source/gdi/bitmapex \
199 vcl/source/gdi/bmpacc2 \
200 vcl/source/gdi/bmpacc3 \
201 vcl/source/gdi/bmpacc \
202 vcl/source/gdi/bmpconv \
203 vcl/source/gdi/bmpfast \
204 vcl/source/gdi/configsettings \
205 vcl/source/gdi/cvtgrf \
206 vcl/source/gdi/cvtsvm \
207 vcl/source/gdi/extoutdevdata \
208 vcl/source/gdi/font \
209 vcl/source/gdi/gdimtf \
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/salgdilayout \
251 vcl/source/gdi/sallayout \
252 vcl/source/gdi/salmisc \
253 vcl/source/gdi/salnativewidgets-none \
254 vcl/source/gdi/svgdata \
255 vcl/source/gdi/temporaryfonts \
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 \
317 # optional parts
319 ## handle Graphite
320 ifeq ($(ENABLE_GRAPHITE),TRUE)
321 # add defines, graphite sources for all platforms
322 $(eval $(call gb_Library_add_defs,vcl,\
323 -DENABLE_GRAPHITE \
325 $(eval $(call gb_Library_add_exception_objects,vcl,\
326 vcl/source/glyphs/graphite_features \
327 vcl/source/glyphs/graphite_layout \
330 # handle X11 platforms, which have additional files and possibly system graphite
331 ifeq ($(GUIBASE),unx)
332 $(eval $(call gb_Library_add_exception_objects,vcl,\
333 vcl/generic/glyphs/graphite_serverfont \
335 endif
336 ifeq ($(GUIBASE),headless)
337 $(eval $(call gb_Library_add_exception_objects,vcl,\
338 vcl/generic/glyphs/graphite_serverfont \
340 endif
342 $(eval $(call gb_Library_use_external,vcl,graphite))
344 endif
346 $(eval $(call gb_Library_use_packages,vcl,\
347 basebmp_inc \
350 # GUIBASE specific stuff
352 ifeq ($(GUIBASE),aqua)
354 $(eval $(call gb_Library_add_cxxflags,vcl,\
355 $(gb_OBJCXXFLAGS) \
358 ifeq ($(ENABLE_CORETEXT),YES)
360 $(eval $(call gb_Library_add_defs,vcl,\
361 -DENABLE_CORETEXT \
364 $(eval $(call gb_Library_add_exception_objects,vcl,\
365 vcl/aqua/source/gdi/coretext/salcoretextfontutils \
366 vcl/aqua/source/gdi/coretext/salcoretextlayout \
367 vcl/aqua/source/gdi/coretext/salcoretextstyle \
368 vcl/aqua/source/gdi/coretext/salgdi \
371 ifeq ($(MACOSX_SDK_VERSION),1070)
372 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
373 ApplicationServices \
375 else
376 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
377 CoreText \
379 endif
381 else # ATSUI
383 $(eval $(call gb_Library_add_exception_objects,vcl,\
384 vcl/aqua/source/gdi/atsui/salatslayout \
385 vcl/aqua/source/gdi/atsui/salatsuifontutils \
386 vcl/aqua/source/gdi/atsui/salgdi \
388 endif
390 $(eval $(call gb_Library_add_objcxxobjects,vcl,\
391 vcl/aqua/source/a11y/aqua11yactionwrapper \
392 vcl/aqua/source/a11y/aqua11ycomponentwrapper \
393 vcl/aqua/source/a11y/aqua11yfactory \
394 vcl/aqua/source/a11y/aqua11yrolehelper \
395 vcl/aqua/source/a11y/aqua11yselectionwrapper \
396 vcl/aqua/source/a11y/aqua11ytablewrapper \
397 vcl/aqua/source/a11y/aqua11ytextattributeswrapper \
398 vcl/aqua/source/a11y/aqua11ytextwrapper \
399 vcl/aqua/source/a11y/aqua11yutil \
400 vcl/aqua/source/a11y/aqua11yvaluewrapper \
401 vcl/aqua/source/a11y/aqua11ywrapper \
402 vcl/aqua/source/a11y/aqua11ywrapperbutton \
403 vcl/aqua/source/a11y/aqua11ywrappercheckbox \
404 vcl/aqua/source/a11y/aqua11ywrappercombobox \
405 vcl/aqua/source/a11y/aqua11ywrappergroup \
406 vcl/aqua/source/a11y/aqua11ywrapperlist \
407 vcl/aqua/source/a11y/aqua11ywrapperradiobutton \
408 vcl/aqua/source/a11y/aqua11ywrapperradiogroup \
409 vcl/aqua/source/a11y/aqua11ywrapperrow \
410 vcl/aqua/source/a11y/aqua11ywrapperscrollarea \
411 vcl/aqua/source/a11y/aqua11ywrapperscrollbar \
412 vcl/aqua/source/a11y/aqua11ywrappersplitter \
413 vcl/aqua/source/a11y/aqua11ywrapperstatictext \
414 vcl/aqua/source/a11y/aqua11ywrappertabgroup \
415 vcl/aqua/source/a11y/aqua11ywrappertextarea \
416 vcl/aqua/source/a11y/aqua11ywrappertoolbar \
417 vcl/aqua/source/app/salnstimer \
418 vcl/aqua/source/app/vclnsapp \
419 vcl/aqua/source/gdi/aquaprintaccessoryview \
420 vcl/aqua/source/gdi/aquaprintview \
421 vcl/aqua/source/window/salframeview \
422 vcl/aqua/source/window/salnsmenu \
424 $(eval $(call gb_Library_add_exception_objects,vcl,\
425 vcl/aqua/source/a11y/aqua11yfocuslistener \
426 vcl/aqua/source/a11y/aqua11yfocustracker \
427 vcl/aqua/source/a11y/aqua11ylistener \
428 vcl/aqua/source/a11y/documentfocuslistener \
429 vcl/aqua/source/app/saldata \
430 vcl/aqua/source/app/salinst \
431 vcl/aqua/source/app/salsys \
432 vcl/aqua/source/app/saltimer \
433 vcl/aqua/source/dtrans/DataFlavorMapping \
434 vcl/aqua/source/dtrans/DragActionConversion \
435 vcl/aqua/source/dtrans/DragSource \
436 vcl/aqua/source/dtrans/DragSourceContext \
437 vcl/aqua/source/dtrans/DropTarget \
438 vcl/aqua/source/dtrans/HtmlFmtFlt \
439 vcl/aqua/source/dtrans/OSXTransferable \
440 vcl/aqua/source/dtrans/PictToBmpFlt \
441 vcl/aqua/source/dtrans/aqua_clipboard \
442 vcl/aqua/source/dtrans/service_entry \
443 vcl/aqua/source/gdi/salbmp \
444 vcl/aqua/source/gdi/salcolorutils \
445 vcl/aqua/source/gdi/salgdicommon \
446 vcl/aqua/source/gdi/salgdiutils \
447 vcl/aqua/source/gdi/salmathutils \
448 vcl/aqua/source/gdi/salnativewidgets \
449 vcl/aqua/source/gdi/salprn \
450 vcl/aqua/source/gdi/salvd \
451 vcl/aqua/source/window/salframe \
452 vcl/aqua/source/window/salmenu \
453 vcl/aqua/source/window/salobj \
455 $(eval $(call gb_Library_use_libraries,vcl,\
456 AppleRemote \
458 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
459 $(if $(filter X86_64,$(CPUNAME)),,QuickTime) \
460 Cocoa \
461 Carbon \
462 CoreFoundation \
465 $(eval $(call gb_Library_use_libraries,vcl,\
466 AppleRemote \
468 endif
470 vcl_generic_code=\
471 vcl/generic/app/gensys \
472 vcl/generic/app/geninst \
473 vcl/generic/app/gendisp \
474 vcl/generic/print/bitmap_gfx \
475 vcl/generic/print/common_gfx \
476 vcl/generic/print/glyphset \
477 vcl/generic/print/printerjob \
478 vcl/generic/print/psputil \
479 vcl/generic/print/genpspgraphics \
480 vcl/generic/print/genprnpsp \
481 vcl/generic/print/text_gfx \
482 vcl/generic/fontmanager/fontsubst \
483 vcl/generic/glyphs/gcach_ftyp \
484 vcl/generic/glyphs/gcach_layout \
485 vcl/generic/glyphs/gcach_rbmp \
486 vcl/generic/glyphs/glyphcache \
487 vcl/generic/fontmanager/fontcache \
488 vcl/generic/fontmanager/fontconfig \
489 vcl/generic/fontmanager/fontmanager \
490 vcl/generic/fontmanager/helper \
491 vcl/generic/fontmanager/parseAFM
493 vcl_headless_code=\
494 vcl/headless/svpbmp \
495 vcl/headless/svpdummies \
496 vcl/headless/svpelement \
497 vcl/headless/svpframe \
498 vcl/headless/svpgdi \
499 vcl/headless/svpinst \
500 vcl/headless/svpdata \
501 vcl/headless/svpprn \
502 vcl/headless/svptext \
503 vcl/headless/svpvd
505 ifeq ($(GUIBASE),unx)
506 $(eval $(call gb_Library_add_defs,vcl,\
507 -DSAL_DLLPREFIX=\"$(gb_Library_SYSPRE)\" \
508 -DSAL_DLLPOSTFIX=\"$(gb_Library_OOOEXT)\" \
509 -D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \
511 $(eval $(call gb_Library_add_exception_objects,vcl,\
512 $(vcl_generic_code) \
513 vcl/unx/generic/plugadapt/salplug \
514 vcl/unx/generic/printer/jobdata \
515 vcl/unx/generic/printer/ppdparser \
516 $(if $(filter TRUE,$(ENABLE_CUPS)),\
517 vcl/unx/generic/printer/cupsmgr \
518 vcl/unx/generic/printer/printerinfomanager \
520 vcl/null/printerinfomanager \
523 $(eval $(call gb_Library_use_externals,vcl,\
524 cups \
525 dbus \
526 fontconfig \
527 freetype \
528 valgrind \
529 x11extensions \
531 endif
533 ifeq ($(GUIBASE),headless)
534 $(eval $(call gb_Library_add_defs,vcl,\
535 -DSAL_DLLPREFIX=\"$(gb_Library_SYSPRE)\" \
536 -DSAL_DLLPOSTFIX=\"$(gb_Library_OOOEXT)\" \
537 -D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \
539 $(eval $(call gb_Library_add_exception_objects,vcl,\
540 $(vcl_generic_code) \
541 vcl/unx/generic/printer/jobdata \
542 vcl/unx/generic/printer/ppdparser \
543 vcl/null/printerinfomanager \
544 vcl/headless/headlessinst \
545 $(vcl_headless_code) \
548 $(eval $(call gb_Library_use_libraries,vcl,\
549 basebmp \
552 $(eval $(call gb_Library_use_externals,vcl,\
553 fontconfig \
554 freetype \
556 endif
558 ifeq ($(GUIBASE),android)
559 $(eval $(call gb_Library_add_libs,vcl,\
560 -llog \
561 -landroid \
562 -llo-bootstrap \
564 $(eval $(call gb_Library_add_defs,vcl,\
565 -DSAL_DLLPREFIX=\"$(gb_Library_SYSPRE)\" \
566 -DSAL_DLLPOSTFIX=\"$(gb_Library_OOOEXT)\" \
567 -D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \
569 $(eval $(call gb_Library_add_exception_objects,vcl,\
570 $(vcl_generic_code) \
571 vcl/unx/generic/printer/jobdata \
572 vcl/unx/generic/printer/ppdparser \
573 vcl/null/printerinfomanager \
574 vcl/android/androidinst \
575 $(vcl_headless_code) \
578 $(eval $(call gb_Library_use_static_libraries,vcl,\
579 basebmp \
582 $(eval $(call gb_Library_use_externals,vcl,\
583 fontconfig \
584 freetype \
585 expat_utf8 \
587 endif
589 ifeq ($(GUIBASE),cocoatouch)
590 $(eval $(call gb_Library_add_cxxflags,vcl,\
591 $(gb_OBJCXXFLAGS) \
593 $(eval $(call gb_Library_add_objcxxobjects,vcl,\
594 vcl/ios/source/app/salnstimer \
595 vcl/ios/source/app/vcluiapp \
596 vcl/ios/source/window/salframeview \
598 $(eval $(call gb_Library_add_exception_objects,vcl,\
599 vcl/ios/source/app/saldata \
600 vcl/ios/source/app/salinst \
601 vcl/ios/source/app/salsys \
602 vcl/ios/source/app/saltimer \
603 vcl/ios/source/dtrans/iOSTransferable \
604 vcl/ios/source/dtrans/ios_clipboard \
605 vcl/ios/source/dtrans/service_entry \
606 vcl/ios/source/gdi/salcoretextfontutils \
607 vcl/ios/source/gdi/salcoretextlayout \
608 vcl/ios/source/gdi/salcoretextstyle \
609 vcl/ios/source/gdi/salbmp \
610 vcl/ios/source/gdi/salgdi \
611 vcl/ios/source/gdi/salgdicommon \
612 vcl/ios/source/gdi/salnativewidgets \
613 vcl/ios/source/gdi/salgdiutils \
614 vcl/ios/source/gdi/salvd \
615 vcl/ios/source/window/salframe \
616 vcl/ios/source/window/salmenu \
617 vcl/ios/source/window/salobj \
619 $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
620 UIKit \
621 CoreFoundation \
623 endif
625 # OS-specific stuff
627 ifeq ($(OS),WNT)
628 $(eval $(call gb_Library_add_exception_objects,vcl,\
629 vcl/win/source/app/saldata \
630 vcl/win/source/app/salinfo \
631 vcl/win/source/app/salinst \
632 vcl/win/source/app/salshl \
633 vcl/win/source/app/saltimer \
634 vcl/win/source/gdi/salbmp \
635 vcl/win/source/gdi/salgdi \
636 vcl/win/source/gdi/salgdi2 \
637 vcl/win/source/gdi/salgdi3 \
638 vcl/win/source/gdi/salgdi_gdiplus \
639 vcl/win/source/gdi/salnativewidgets-luna \
640 vcl/win/source/gdi/salprn \
641 vcl/win/source/gdi/salvd \
642 vcl/win/source/gdi/winlayout \
643 vcl/win/source/gdi/wntgdi \
644 vcl/win/source/window/salframe \
645 vcl/win/source/window/keynames \
646 vcl/win/source/window/salmenu \
647 vcl/win/source/window/salobj \
650 $(eval $(call gb_Library_use_system_win32_libs,vcl,\
651 advapi32 \
652 gdi32 \
653 gdiplus \
654 imm32 \
655 mpr \
656 msimg32 \
657 ole32 \
658 shell32 \
659 usp10 \
660 uuid \
661 version \
662 winspool \
665 $(eval $(call gb_Library_add_nativeres,vcl,vcl/src))
666 ifeq ($(COM),MSC)
667 ifeq ($(USE_MINGW),)
668 $(eval $(call gb_Library_add_ldflags,vcl,\
669 /ENTRY:LibMain@12 \
671 endif
672 endif
673 endif
675 ifeq ($(OS),LINUX)
676 $(eval $(call gb_Library_add_libs,vcl,\
677 -lm \
678 -ldl \
679 -lpthread \
681 endif
683 ifeq ($(OS),SOLARIS)
684 ifeq ($(CPUNAME)$(CPU),SPARCU)
685 $(eval $(call gb_Library_add_ldflags,vcl,\
686 -R/usr/sfw/lib/64 \
688 else
689 $(eval $(call gb_Library_add_ldflags,vcl,\
690 -R/usr/sfw/lib \
692 endif
693 endif
695 # Runtime dependency for unit-tests
696 $(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,vcl)) :| \
697 $(call gb_AllLangResTarget_get_target,vcl)
699 # vim: set noet sw=4 ts=4: