Version 3.6.0.2, tag libreoffice-3.6.0.2
[LibreOffice.git] / vcl / Library_vcl.mk
blob53f9d4ae807ff3d6d50382afae3ca21f72b27765
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 ifneq ($(filter X11_EXTENSIONS,$(BUILD_TYPE)),)
48 $(eval $(call gb_Library_use_packages,vclplug_gen,\
49 x11_extensions_inc \
51 endif
53 $(eval $(call gb_Library_use_custom_headers,vcl,vcl/generic/fontmanager))
55 $(eval $(call gb_Library_set_include,vcl,\
56 $$(INCLUDE) \
57 -I$(SRCDIR)/vcl/inc \
58 $(if $(filter WNTGCC,$(OS)$(COM)),-I$(OUTDIR)/inc/external/wine) \
59 $(if $(filter NO,$(SYSTEM_LCMS2)),-I$(OUTDIR)/inc/lcms2) \
62 $(eval $(call gb_Library_add_defs,vcl,\
63 -DVCL_DLLIMPLEMENTATION \
64 -DCUI_DLL_NAME=\"$(call gb_Library_get_runtime_filename,cui)\" \
65 -DDLLPOSTFIX=$(gb_Library_DLLPOSTFIX) \
68 $(eval $(call gb_Library_use_api,vcl,\
69 offapi \
70 udkapi \
73 $(eval $(call gb_Library_use_libraries,vcl,\
74 tl \
75 utl \
76 sot \
77 ucbhelper \
78 basegfx \
79 comphelper \
80 cppuhelper \
81 i18nisolang1 \
82 i18nutil \
83 cppu \
84 sal \
85 $(gb_STDLIBS) \
88 ifneq ($(OS),IOS)
89 $(eval $(call gb_Library_use_libraries,vcl,\
90 jvmaccess \
92 endif
94 $(eval $(call gb_Library_use_externals,vcl,\
95 icule \
96 icuuc \
97 lcms2 \
100 $(eval $(call gb_Library_add_cobjects,vcl,\
101 vcl/source/fontsubset/list \
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/display \
125 vcl/source/components/dtranscomp \
126 vcl/source/components/factory \
127 vcl/source/components/fontident \
128 vcl/source/components/stringmirror \
129 vcl/source/control/button \
130 vcl/source/control/combobox \
131 vcl/source/control/ctrl \
132 vcl/source/control/edit \
133 vcl/source/control/field2 \
134 vcl/source/control/field \
135 vcl/source/control/fixbrd \
136 vcl/source/control/fixed \
137 vcl/source/control/group \
138 vcl/source/control/ilstbox \
139 vcl/source/control/imgctrl \
140 vcl/source/control/longcurr \
141 vcl/source/control/lstbox \
142 vcl/source/control/menubtn \
143 vcl/source/control/morebtn \
144 vcl/source/control/quickselectionengine \
145 vcl/source/control/scrbar \
146 vcl/source/control/slider \
147 vcl/source/control/spinbtn \
148 vcl/source/control/spinfld \
149 vcl/source/control/tabctrl \
150 vcl/source/control/throbber \
151 vcl/source/fontsubset/cff \
152 vcl/source/fontsubset/fontsubset \
153 vcl/source/fontsubset/gsub \
154 vcl/source/fontsubset/sft \
155 vcl/source/fontsubset/ttcr \
156 vcl/source/fontsubset/xlat \
157 vcl/source/gdi/alpha \
158 vcl/source/gdi/animate \
159 vcl/source/gdi/base14 \
160 vcl/source/gdi/bitmap2 \
161 vcl/source/gdi/bitmap3 \
162 vcl/source/gdi/bitmap4 \
163 vcl/source/gdi/bitmap \
164 vcl/source/gdi/bitmapex \
165 vcl/source/gdi/bmpacc2 \
166 vcl/source/gdi/bmpacc3 \
167 vcl/source/gdi/bmpacc \
168 vcl/source/gdi/bmpconv \
169 vcl/source/gdi/bmpfast \
170 vcl/source/gdi/configsettings \
171 vcl/source/gdi/cvtgrf \
172 vcl/source/gdi/cvtsvm \
173 vcl/source/gdi/extoutdevdata \
174 vcl/source/gdi/font \
175 vcl/source/gdi/gdimtf \
176 vcl/source/gdi/gfxlink \
177 vcl/source/gdi/gradient \
178 vcl/source/gdi/graph \
179 vcl/source/gdi/graphictools \
180 vcl/source/gdi/hatch \
181 vcl/source/gdi/image \
182 vcl/source/gdi/imagerepository \
183 vcl/source/gdi/impanmvw \
184 vcl/source/gdi/impbmp \
185 vcl/source/gdi/impgraph \
186 vcl/source/gdi/impimage \
187 vcl/source/gdi/impimagetree \
188 vcl/source/gdi/impvect \
189 vcl/source/gdi/jobset \
190 vcl/source/gdi/lineinfo \
191 vcl/source/gdi/mapmod \
192 vcl/source/gdi/metaact \
193 vcl/source/gdi/metric \
194 vcl/source/gdi/octree \
195 vcl/source/gdi/oldprintadaptor \
196 vcl/source/gdi/outdev2 \
197 vcl/source/gdi/outdev3 \
198 vcl/source/gdi/outdev4 \
199 vcl/source/gdi/outdev5 \
200 vcl/source/gdi/outdev6 \
201 vcl/source/gdi/outdev \
202 vcl/source/gdi/outdevnative \
203 vcl/source/gdi/outmap \
204 vcl/source/gdi/pdfextoutdevdata \
205 vcl/source/gdi/pdffontcache \
206 vcl/source/gdi/pdfwriter \
207 vcl/source/gdi/pdfwriter_impl2 \
208 vcl/source/gdi/pdfwriter_impl \
209 vcl/source/gdi/pngread \
210 vcl/source/gdi/pngwrite \
211 vcl/source/gdi/print2 \
212 vcl/source/gdi/print3 \
213 vcl/source/gdi/print \
214 vcl/source/gdi/regband \
215 vcl/source/gdi/region \
216 vcl/source/gdi/rendergraphic \
217 vcl/source/gdi/rendergraphicrasterizer \
218 vcl/source/gdi/salgdilayout \
219 vcl/source/gdi/sallayout \
220 vcl/source/gdi/salmisc \
221 vcl/source/gdi/salnativewidgets-none \
222 vcl/source/gdi/svgread \
223 vcl/source/gdi/textlayout \
224 vcl/source/gdi/virdev \
225 vcl/source/gdi/wall \
226 vcl/source/helper/canvasbitmap \
227 vcl/source/helper/canvastools \
228 vcl/source/helper/evntpost \
229 vcl/source/helper/lazydelete \
230 vcl/source/helper/strhelper \
231 vcl/source/helper/threadex \
232 vcl/source/helper/xconnection \
233 vcl/source/window/abstdlg \
234 vcl/source/window/accel \
235 vcl/source/window/accmgr \
236 vcl/source/window/arrange \
237 vcl/source/window/brdwin \
238 vcl/source/window/btndlg \
239 vcl/source/window/cmdevt \
240 vcl/source/window/cursor \
241 vcl/source/window/decoview \
242 vcl/source/window/dialog \
243 vcl/source/window/dlgctrl \
244 vcl/source/window/dndevdis \
245 vcl/source/window/dndlcon \
246 vcl/source/window/dockingarea \
247 vcl/source/window/dockmgr \
248 vcl/source/window/dockwin \
249 vcl/source/window/floatwin \
250 vcl/source/window/introwin \
251 vcl/source/window/keycod \
252 vcl/source/window/keyevent \
253 vcl/source/window/menu \
254 vcl/source/window/mnemonic \
255 vcl/source/window/mnemonicengine \
256 vcl/source/window/mouseevent \
257 vcl/source/window/msgbox \
258 vcl/source/window/popupmenuwindow \
259 vcl/source/window/printdlg \
260 vcl/source/window/scrwnd \
261 vcl/source/window/seleng \
262 vcl/source/window/split \
263 vcl/source/window/splitwin \
264 vcl/source/window/status \
265 vcl/source/window/syschild \
266 vcl/source/window/syswin \
267 vcl/source/window/tabdlg \
268 vcl/source/window/tabpage \
269 vcl/source/window/taskpanelist \
270 vcl/source/window/toolbox2 \
271 vcl/source/window/toolbox \
272 vcl/source/window/window2 \
273 vcl/source/window/window3 \
274 vcl/source/window/window4 \
275 vcl/source/window/window \
276 vcl/source/window/winproc \
277 vcl/source/window/wrkwin \
280 # optional parts
282 ## handle Graphite
283 ifneq ($(ENABLE_GRAPHITE),)
284 # add defines, graphite sources for all platforms
285 $(eval $(call gb_Library_add_defs,vcl,\
286 -DENABLE_GRAPHITE \
288 $(eval $(call gb_Library_add_exception_objects,vcl,\
289 vcl/source/glyphs/graphite_features \
290 vcl/source/glyphs/graphite_layout \
293 # handle X11 platforms, which have additional files and possibly system graphite
294 ifeq ($(GUIBASE),unx)
295 $(eval $(call gb_Library_add_exception_objects,vcl,\
296 vcl/generic/glyphs/graphite_serverfont \
298 else
299 $(eval $(call gb_Library_use_libraries,vcl,\
300 version \
302 endif
304 $(eval $(call gb_Library_use_external,vcl,graphite))
306 endif
308 ifneq ($(ENABLE_LIBRSVG),NO)
309 $(eval $(call gb_Library_add_exception_objects,vcl,\
310 vcl/source/components/rasterizer_rsvg \
313 $(eval $(call gb_Library_add_defs,vcl,\
314 -DENABLE_LIBRSVG \
317 $(eval $(call gb_Library_use_external,vcl,cairo))
319 endif
321 # GUIBASE specific stuff
323 ifeq ($(GUIBASE),aqua)
324 # headers from basebmp are included but the library is not used ?
325 $(eval $(call gb_Library_use_packages,vcl,\
326 basebmp_inc \
329 $(eval $(call gb_Library_add_cxxflags,vcl,\
330 $(gb_OBJCXXFLAGS) \
332 $(eval $(call gb_Library_add_objcxxobjects,vcl,\
333 vcl/aqua/source/a11y/aqua11yactionwrapper \
334 vcl/aqua/source/a11y/aqua11ycomponentwrapper \
335 vcl/aqua/source/a11y/aqua11yfactory \
336 vcl/aqua/source/a11y/aqua11yrolehelper \
337 vcl/aqua/source/a11y/aqua11yselectionwrapper \
338 vcl/aqua/source/a11y/aqua11ytablewrapper \
339 vcl/aqua/source/a11y/aqua11ytextattributeswrapper \
340 vcl/aqua/source/a11y/aqua11ytextwrapper \
341 vcl/aqua/source/a11y/aqua11yutil \
342 vcl/aqua/source/a11y/aqua11yvaluewrapper \
343 vcl/aqua/source/a11y/aqua11ywrapper \
344 vcl/aqua/source/a11y/aqua11ywrapperbutton \
345 vcl/aqua/source/a11y/aqua11ywrappercheckbox \
346 vcl/aqua/source/a11y/aqua11ywrappercombobox \
347 vcl/aqua/source/a11y/aqua11ywrappergroup \
348 vcl/aqua/source/a11y/aqua11ywrapperlist \
349 vcl/aqua/source/a11y/aqua11ywrapperradiobutton \
350 vcl/aqua/source/a11y/aqua11ywrapperradiogroup \
351 vcl/aqua/source/a11y/aqua11ywrapperrow \
352 vcl/aqua/source/a11y/aqua11ywrapperscrollarea \
353 vcl/aqua/source/a11y/aqua11ywrapperscrollbar \
354 vcl/aqua/source/a11y/aqua11ywrappersplitter \
355 vcl/aqua/source/a11y/aqua11ywrapperstatictext \
356 vcl/aqua/source/a11y/aqua11ywrappertabgroup \
357 vcl/aqua/source/a11y/aqua11ywrappertextarea \
358 vcl/aqua/source/a11y/aqua11ywrappertoolbar \
359 vcl/aqua/source/app/salnstimer \
360 vcl/aqua/source/app/vclnsapp \
361 vcl/aqua/source/gdi/aquaprintaccessoryview \
362 vcl/aqua/source/gdi/aquaprintview \
363 vcl/aqua/source/window/salframeview \
364 vcl/aqua/source/window/salnsmenu \
366 $(eval $(call gb_Library_add_exception_objects,vcl,\
367 vcl/aqua/source/a11y/aqua11yfocuslistener \
368 vcl/aqua/source/a11y/aqua11yfocustracker \
369 vcl/aqua/source/a11y/aqua11ylistener \
370 vcl/aqua/source/a11y/documentfocuslistener \
371 vcl/aqua/source/app/saldata \
372 vcl/aqua/source/app/salinst \
373 vcl/aqua/source/app/salsys \
374 vcl/aqua/source/app/saltimer \
375 vcl/aqua/source/dtrans/DataFlavorMapping \
376 vcl/aqua/source/dtrans/DragActionConversion \
377 vcl/aqua/source/dtrans/DragSource \
378 vcl/aqua/source/dtrans/DragSourceContext \
379 vcl/aqua/source/dtrans/DropTarget \
380 vcl/aqua/source/dtrans/HtmlFmtFlt \
381 vcl/aqua/source/dtrans/OSXTransferable \
382 vcl/aqua/source/dtrans/PictToBmpFlt \
383 vcl/aqua/source/dtrans/aqua_clipboard \
384 vcl/aqua/source/dtrans/service_entry \
385 vcl/aqua/source/gdi/salatslayout \
386 vcl/aqua/source/gdi/salatsuifontutils \
387 vcl/aqua/source/gdi/salbmp \
388 vcl/aqua/source/gdi/salcolorutils \
389 vcl/aqua/source/gdi/salgdi \
390 vcl/aqua/source/gdi/salgdiutils \
391 vcl/aqua/source/gdi/salmathutils \
392 vcl/aqua/source/gdi/salnativewidgets \
393 vcl/aqua/source/gdi/salprn \
394 vcl/aqua/source/gdi/salvd \
395 vcl/aqua/source/window/salframe \
396 vcl/aqua/source/window/salmenu \
397 vcl/aqua/source/window/salobj \
399 $(eval $(call gb_Library_use_libraries,vcl,\
400 AppleRemote \
402 $(eval $(call gb_Library_use_externals,vcl,\
403 quicktime \
404 cocoa \
405 carbon \
406 corefoundation \
408 endif
410 vcl_generic_code=\
411 vcl/generic/app/gensys \
412 vcl/generic/app/geninst \
413 vcl/generic/app/gendisp \
414 vcl/generic/print/bitmap_gfx \
415 vcl/generic/print/common_gfx \
416 vcl/generic/print/glyphset \
417 vcl/generic/print/printerjob \
418 vcl/generic/print/psputil \
419 vcl/generic/print/genpspgraphics \
420 vcl/generic/print/genprnpsp \
421 vcl/generic/print/text_gfx \
422 vcl/generic/fontmanager/fontsubst \
423 vcl/generic/glyphs/gcach_ftyp \
424 vcl/generic/glyphs/gcach_layout \
425 vcl/generic/glyphs/gcach_rbmp \
426 vcl/generic/glyphs/glyphcache \
427 vcl/generic/fontmanager/fontcache \
428 vcl/generic/fontmanager/fontconfig \
429 vcl/generic/fontmanager/fontmanager \
430 vcl/generic/fontmanager/helper \
431 vcl/generic/fontmanager/parseAFM
433 vcl_headless_code=\
434 vcl/headless/svpbmp \
435 vcl/headless/svpdummies \
436 vcl/headless/svpelement \
437 vcl/headless/svpframe \
438 vcl/headless/svpgdi \
439 vcl/headless/svpinst \
440 vcl/headless/svpdata \
441 vcl/headless/svpprn \
442 vcl/headless/svptext \
443 vcl/headless/svpvd
445 $(eval $(call gb_Library_add_defs,vcl,\
446 $(if $(VALGRIND_CFLAGS), \
447 $(VALGRIND_CFLAGS) \
448 -DHAVE_MEMCHECK_H=1 \
452 ifeq ($(ENABLE_CUPS),YES)
453 $(eval $(call gb_Library_add_defs,vcl,\
454 -DENABLE_CUPS\
456 endif
458 ifeq ($(GUIBASE),unx)
459 $(eval $(call gb_Library_add_defs,vcl,\
460 -DSAL_DLLPREFIX=\"$(gb_Library_SYSPRE)\" \
461 -DSAL_DLLPOSTFIX=\"$(gb_Library_OOOEXT)\" \
462 -D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \
464 $(eval $(call gb_Library_add_exception_objects,vcl,\
465 $(vcl_generic_code) \
466 vcl/unx/generic/plugadapt/salplug \
467 vcl/unx/generic/printer/jobdata \
468 vcl/unx/generic/printer/ppdparser \
469 $(if $(filter YES,$(ENABLE_CUPS)),\
470 vcl/unx/generic/printer/cupsmgr \
471 vcl/unx/generic/printer/printerinfomanager \
473 $(if $(filter NO,$(ENABLE_CUPS)),\
474 vcl/null/printerinfomanager \
477 $(eval $(call gb_Library_use_externals,vcl,\
478 fontconfig \
479 freetype \
481 endif
483 ifeq ($(GUIBASE),headless)
484 $(eval $(call gb_Library_add_defs,vcl,\
485 -DSAL_DLLPREFIX=\"$(gb_Library_SYSPRE)\" \
486 -DSAL_DLLPOSTFIX=\"$(gb_Library_OOOEXT)\" \
487 -D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \
489 $(eval $(call gb_Library_add_exception_objects,vcl,\
490 $(vcl_generic_code) \
491 vcl/unx/generic/printer/jobdata \
492 vcl/unx/generic/printer/ppdparser \
493 vcl/null/printerinfomanager \
494 vcl/headless/headlessinst \
495 $(vcl_headless_code) \
498 $(eval $(call gb_Library_use_libraries,vcl,\
499 basebmp \
502 $(eval $(call gb_Library_use_externals,vcl,\
503 fontconfig \
504 freetype \
506 endif
508 ifeq ($(GUIBASE),android)
509 $(eval $(call gb_Library_add_libs,vcl,\
510 -llog \
511 -landroid \
512 -llo-bootstrap \
514 $(eval $(call gb_Library_add_defs,vcl,\
515 -DSAL_DLLPREFIX=\"$(gb_Library_SYSPRE)\" \
516 -DSAL_DLLPOSTFIX=\"$(gb_Library_OOOEXT)\" \
517 -D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \
519 $(eval $(call gb_Library_add_exception_objects,vcl,\
520 $(vcl_generic_code) \
521 vcl/unx/generic/printer/jobdata \
522 vcl/unx/generic/printer/ppdparser \
523 vcl/null/printerinfomanager \
524 vcl/android/androidinst \
525 $(vcl_headless_code) \
528 $(eval $(call gb_Library_use_libraries,vcl,\
529 basebmp \
532 $(eval $(call gb_Library_use_externals,vcl,\
533 fontconfig \
534 freetype \
535 expat_utf8 \
537 endif
539 ifeq ($(GUIBASE),cocoatouch)
540 $(eval $(call gb_Library_add_cxxflags,vcl,\
541 $(gb_OBJCXXFLAGS) \
543 $(eval $(call gb_Library_add_objcxxobjects,vcl,\
544 vcl/ios/source/app/salnstimer \
545 vcl/ios/source/app/vcluiapp \
546 vcl/ios/source/window/salframeview \
548 $(eval $(call gb_Library_add_exception_objects,vcl,\
549 vcl/ios/source/app/saldata \
550 vcl/ios/source/app/salinst \
551 vcl/ios/source/app/salsys \
552 vcl/ios/source/app/saltimer \
553 vcl/ios/source/dtrans/iOSTransferable \
554 vcl/ios/source/dtrans/ios_clipboard \
555 vcl/ios/source/dtrans/service_entry \
556 vcl/ios/source/gdi/salcoretextfontutils \
557 vcl/ios/source/gdi/salcoretextlayout \
558 vcl/ios/source/gdi/salcoretextstyle \
559 vcl/ios/source/gdi/salbmp \
560 vcl/ios/source/gdi/salgdi \
561 vcl/ios/source/gdi/salgdicommon \
562 vcl/ios/source/gdi/salnativewidgets \
563 vcl/ios/source/gdi/salgdiutils \
564 vcl/ios/source/gdi/salvd \
565 vcl/ios/source/window/salframe \
566 vcl/ios/source/window/salmenu \
567 vcl/ios/source/window/salobj \
569 $(eval $(call gb_Library_use_externals,vcl,\
570 uikit \
571 corefoundation \
573 endif
575 # OS-specific stuff
577 ifeq ($(OS),WNT)
578 $(eval $(call gb_Library_add_exception_objects,vcl,\
579 vcl/win/source/app/saldata \
580 vcl/win/source/app/salinfo \
581 vcl/win/source/app/salinst \
582 vcl/win/source/app/salshl \
583 vcl/win/source/app/saltimer \
584 vcl/win/source/gdi/salbmp \
585 vcl/win/source/gdi/salgdi \
586 vcl/win/source/gdi/salgdi2 \
587 vcl/win/source/gdi/salgdi3 \
588 vcl/win/source/gdi/salgdi_gdiplus \
589 vcl/win/source/gdi/salnativewidgets-luna \
590 vcl/win/source/gdi/salprn \
591 vcl/win/source/gdi/salvd \
592 vcl/win/source/gdi/winlayout \
593 vcl/win/source/gdi/wntgdi \
594 vcl/win/source/window/salframe \
595 vcl/win/source/window/salmenu \
596 vcl/win/source/window/salobj \
599 $(eval $(call gb_Library_use_libraries,vcl,\
600 advapi32 \
601 gdi32 \
602 gdiplus \
603 imm32 \
604 mpr \
605 msimg32 \
606 $(gb_Library_win32_OLDNAMES) \
607 ole32 \
608 shell32 \
609 uuid \
610 usp10 \
611 uwinapi \
612 winspool \
613 version \
616 $(eval $(call gb_Library_add_nativeres,vcl,vcl/src))
617 ifeq ($(COM),MSC)
618 $(eval $(call gb_Library_add_ldflags,vcl,\
619 /ENTRY:LibMain@12 \
621 endif
622 endif
624 ifeq ($(OS),LINUX)
625 $(eval $(call gb_Library_use_libraries,vcl,\
626 dl \
628 pthread \
630 endif
632 ifeq ($(OS),SOLARIS)
633 ifeq ($(CPUNAME)$(CPU),SPARCU)
634 $(eval $(call gb_Library_add_ldflags,vcl,\
635 -R/usr/sfw/lib/64 \
637 else
638 $(eval $(call gb_Library_add_ldflags,vcl,\
639 -R/usr/sfw/lib \
641 endif
642 endif
644 ifneq ($(OS),IOS)
645 $(eval $(call gb_Library_use_static_libraries,vcl,\
646 vclmain \
648 endif
650 # vim: set noet sw=4 ts=4: