xref: /AOO41X/main/vcl/Library_vcl.mk (revision 0b220f58b4c2d90ddca799fa7e2975d10dfcd78f)
1cdf0e10cSrcweir#*************************************************************************
2cdf0e10cSrcweir#
3cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4cdf0e10cSrcweir#
5cdf0e10cSrcweir# Copyright 2000, 2010 Oracle and/or its affiliates.
6cdf0e10cSrcweir#
7cdf0e10cSrcweir# OpenOffice.org - a multi-platform office productivity suite
8cdf0e10cSrcweir#
9cdf0e10cSrcweir# This file is part of OpenOffice.org.
10cdf0e10cSrcweir#
11cdf0e10cSrcweir# OpenOffice.org is free software: you can redistribute it and/or modify
12cdf0e10cSrcweir# it under the terms of the GNU Lesser General Public License version 3
13cdf0e10cSrcweir# only, as published by the Free Software Foundation.
14cdf0e10cSrcweir#
15cdf0e10cSrcweir# OpenOffice.org is distributed in the hope that it will be useful,
16cdf0e10cSrcweir# but WITHOUT ANY WARRANTY; without even the implied warranty of
17cdf0e10cSrcweir# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
18cdf0e10cSrcweir# GNU Lesser General Public License version 3 for more details
19cdf0e10cSrcweir# (a copy is included in the LICENSE file that accompanied this code).
20cdf0e10cSrcweir#
21cdf0e10cSrcweir# You should have received a copy of the GNU Lesser General Public License
22cdf0e10cSrcweir# version 3 along with OpenOffice.org.	If not, see
23cdf0e10cSrcweir# <http://www.openoffice.org/license.html>
24cdf0e10cSrcweir# for a copy of the LGPLv3 License.
25cdf0e10cSrcweir#
26cdf0e10cSrcweir#*************************************************************************
27cdf0e10cSrcweir
28cdf0e10cSrcweir$(eval $(call gb_Library_Library,vcl))
29cdf0e10cSrcweir
30cdf0e10cSrcweirifeq ($(OS),MACOSX)
31cdf0e10cSrcweir$(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.macosx))
32cdf0e10cSrcweirelse ifeq ($(OS),WNT)
33cdf0e10cSrcweir$(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.windows))
34cdf0e10cSrcweirelse
35cdf0e10cSrcweir$(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.unx))
36cdf0e10cSrcweirendif
37cdf0e10cSrcweir
38cdf0e10cSrcweir$(eval $(call gb_Library_add_package_headers,vcl,vcl_inc))
39cdf0e10cSrcweir
40cdf0e10cSrcweir$(eval $(call gb_Library_set_include,vcl,\
41cdf0e10cSrcweir	$$(INCLUDE) \
42cdf0e10cSrcweir	-I$(SRCDIR)/vcl/inc \
43cdf0e10cSrcweir	-I$(SRCDIR)/vcl/inc/pch \
44cdf0e10cSrcweir	-I$(SRCDIR)/solenv/inc \
45cdf0e10cSrcweir	-I$(OUTDIR)/inc/offuh \
46cdf0e10cSrcweir	-I$(OUTDIR)/inc/stl \
47cdf0e10cSrcweir	-I$(OUTDIR)/inc \
48cdf0e10cSrcweir))
49cdf0e10cSrcweirifeq ($(GUIBASE),unx)
50cdf0e10cSrcweir$(eval $(call gb_Library_set_cxxflags,vcl,\
51cdf0e10cSrcweir    $$(CXXFLAGS) \
52cdf0e10cSrcweir    $$(FREETYPE_CFLAGS) \
53cdf0e10cSrcweir))
54cdf0e10cSrcweirendif
55cdf0e10cSrcweir
56cdf0e10cSrcweir$(eval $(call gb_Library_set_defs,vcl,\
57cdf0e10cSrcweir	$$(DEFS) \
58cdf0e10cSrcweir	-DVCL_DLLIMPLEMENTATION \
59cdf0e10cSrcweir    -DCUI_DLL_NAME=\"$(call gb_Library_get_runtime_filename,cui)\" \
60cdf0e10cSrcweir    -DDLLPOSTFIX=$(subst $(or $(gb_Library_DLLEXT),$(gb_Library_PLAINEXT)),,$(gb_Library_OOOEXT)) \
61cdf0e10cSrcweir))
62cdf0e10cSrcweir
63cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\
64cdf0e10cSrcweir    tl \
65cdf0e10cSrcweir    utl \
66cdf0e10cSrcweir    sot \
67cdf0e10cSrcweir    ucbhelper \
68cdf0e10cSrcweir	basegfx \
69cdf0e10cSrcweir	comphelper \
70cdf0e10cSrcweir    cppuhelper \
71cdf0e10cSrcweir    icuuc \
72cdf0e10cSrcweir    icule \
73cdf0e10cSrcweir	i18nisolang1 \
74cdf0e10cSrcweir	i18npaper \
75cdf0e10cSrcweir    i18nutil \
76cdf0e10cSrcweir    jvmaccess \
77cdf0e10cSrcweir	stl \
78cdf0e10cSrcweir	cppu \
79cdf0e10cSrcweir	sal \
80cdf0e10cSrcweir	vos3 \
81cdf0e10cSrcweir	$(gb_STDLIBS) \
82cdf0e10cSrcweir))
83cdf0e10cSrcweir
84cdf0e10cSrcweirifeq ($(GUIBASE),unx)
85cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\
86cdf0e10cSrcweir    freetype \
87cdf0e10cSrcweir))
88cdf0e10cSrcweirendif
89cdf0e10cSrcweir
90cdf0e10cSrcweirifeq ($(GUIBASE),aqua)
91cdf0e10cSrcweir$(eval $(call gb_Library_set_cxxflags,vcl,\
92cdf0e10cSrcweir    $$(CXXFLAGS) \
93cdf0e10cSrcweir    $$(OBJCXXFLAGS) \
94cdf0e10cSrcweir))
95cdf0e10cSrcweirifeq ($(ENABLE_CAIRO),TRUE)
96cdf0e10cSrcweir$(eval $(call gb_Library_set_defs,vclplug_gen,\
97cdf0e10cSrcweir	$$(DEFS) \
98cdf0e10cSrcweir	-DCAIRO \
99cdf0e10cSrcweir))
100cdf0e10cSrcweirendif
101cdf0e10cSrcweir$(eval $(call gb_Library_add_objcxxobjects,vcl,\
102cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11yactionwrapper \
103cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ycomponentwrapper \
104cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11yfactory \
105cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11yrolehelper \
106cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11yselectionwrapper \
107cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ytablewrapper \
108cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ytextattributeswrapper \
109cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ytextwrapper \
110cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11yutil \
111cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11yvaluewrapper \
112cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ywrapper \
113cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ywrapperbutton \
114cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ywrappercheckbox \
115cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ywrappercombobox \
116cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ywrappergroup \
117cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ywrapperlist \
118cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ywrapperradiobutton \
119cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ywrapperradiogroup \
120cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ywrapperrow \
121cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ywrapperscrollarea \
122cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ywrapperscrollbar \
123cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ywrappersplitter \
124cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ywrapperstatictext \
125cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ywrappertabgroup \
126cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ywrappertextarea \
127cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ywrappertoolbar \
128cdf0e10cSrcweir    vcl/aqua/source/app/salnstimer \
129cdf0e10cSrcweir    vcl/aqua/source/app/vclnsapp \
130cdf0e10cSrcweir    vcl/aqua/source/gdi/aquaprintaccessoryview \
131cdf0e10cSrcweir    vcl/aqua/source/gdi/aquaprintview \
132cdf0e10cSrcweir    vcl/aqua/source/window/salframeview \
133cdf0e10cSrcweir    vcl/aqua/source/window/salnsmenu \
134cdf0e10cSrcweir))
135cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\
136cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11yfocuslistener \
137cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11yfocustracker \
138cdf0e10cSrcweir    vcl/aqua/source/a11y/aqua11ylistener \
139cdf0e10cSrcweir    vcl/aqua/source/a11y/documentfocuslistener \
140cdf0e10cSrcweir    vcl/aqua/source/app/saldata \
141cdf0e10cSrcweir    vcl/aqua/source/app/salinst \
142cdf0e10cSrcweir    vcl/aqua/source/app/salsys \
143cdf0e10cSrcweir    vcl/aqua/source/app/saltimer \
144cdf0e10cSrcweir    vcl/aqua/source/dtrans/DataFlavorMapping \
145cdf0e10cSrcweir    vcl/aqua/source/dtrans/DragActionConversion \
146cdf0e10cSrcweir    vcl/aqua/source/dtrans/DragSource \
147cdf0e10cSrcweir    vcl/aqua/source/dtrans/DragSourceContext \
148cdf0e10cSrcweir    vcl/aqua/source/dtrans/DropTarget \
149cdf0e10cSrcweir    vcl/aqua/source/dtrans/HtmlFmtFlt \
150cdf0e10cSrcweir    vcl/aqua/source/dtrans/OSXTransferable \
151cdf0e10cSrcweir    vcl/aqua/source/dtrans/PictToBmpFlt \
152cdf0e10cSrcweir    vcl/aqua/source/dtrans/aqua_clipboard \
153cdf0e10cSrcweir    vcl/aqua/source/dtrans/service_entry \
154cdf0e10cSrcweir    vcl/aqua/source/gdi/salatslayout \
155cdf0e10cSrcweir    vcl/aqua/source/gdi/salatsuifontutils \
156cdf0e10cSrcweir    vcl/aqua/source/gdi/salbmp \
157cdf0e10cSrcweir    vcl/aqua/source/gdi/salcolorutils \
158cdf0e10cSrcweir    vcl/aqua/source/gdi/salgdi \
159cdf0e10cSrcweir    vcl/aqua/source/gdi/salgdiutils \
160cdf0e10cSrcweir    vcl/aqua/source/gdi/salmathutils \
161cdf0e10cSrcweir    vcl/aqua/source/gdi/salnativewidgets \
162cdf0e10cSrcweir    vcl/aqua/source/gdi/salprn \
163cdf0e10cSrcweir    vcl/aqua/source/gdi/salvd \
164cdf0e10cSrcweir    vcl/aqua/source/window/salframe \
165cdf0e10cSrcweir    vcl/aqua/source/window/salmenu \
166cdf0e10cSrcweir    vcl/aqua/source/window/salobj \
167cdf0e10cSrcweir))
168cdf0e10cSrcweirendif
169cdf0e10cSrcweir
170cdf0e10cSrcweirifeq ($(GUIBASE),unx)
171cdf0e10cSrcweir$(eval $(call gb_Library_set_defs,vcl,\
172cdf0e10cSrcweir	$$(DEFS) \
173cdf0e10cSrcweir    -DSAL_DLLPREFIX=\"$(gb_Library_SYSPRE)\" \
174cdf0e10cSrcweir    -DSAL_DLLPOSTFIX=\"$(gb_Library_OOOEXT)\" \
175cdf0e10cSrcweir    -D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \
176cdf0e10cSrcweir))
177cdf0e10cSrcweir## handle fontconfig
178cdf0e10cSrcweirifneq ($(ENABLE_FONTCONFIG),)
179cdf0e10cSrcweir$(eval $(call gb_Library_set_defs,vcl,\
180cdf0e10cSrcweir	$$(DEFS) \
181cdf0e10cSrcweir    -DENABLE_FONTCONFIG \
182cdf0e10cSrcweir))
183cdf0e10cSrcweir## handle CUPS
184cdf0e10cSrcweirifneq ($(ENABLE_CUPS),)
185cdf0e10cSrcweir$(eval $(call gb_Library_set_defs,vcl,\
186cdf0e10cSrcweir	$$(DEFS) \
187cdf0e10cSrcweir    -DENABLE_CUPS \
188cdf0e10cSrcweir))
189cdf0e10cSrcweirendif
190cdf0e10cSrcweirendif
191cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\
192cdf0e10cSrcweir    vcl/source/glyphs/gcach_ftyp \
193cdf0e10cSrcweir    vcl/source/glyphs/gcach_layout \
194cdf0e10cSrcweir    vcl/source/glyphs/gcach_rbmp \
195cdf0e10cSrcweir    vcl/source/glyphs/glyphcache \
196cdf0e10cSrcweir    vcl/unx/generic/fontmanager/fontcache \
197cdf0e10cSrcweir    vcl/unx/generic/fontmanager/fontconfig \
198cdf0e10cSrcweir    vcl/unx/generic/fontmanager/fontmanager \
199cdf0e10cSrcweir    vcl/unx/generic/fontmanager/helper \
200cdf0e10cSrcweir    vcl/unx/generic/fontmanager/parseAFM \
201cdf0e10cSrcweir	vcl/unx/generic/plugadapt/salplug \
202cdf0e10cSrcweir    vcl/unx/generic/printer/cupsmgr \
203cdf0e10cSrcweir    vcl/unx/generic/printer/jobdata \
204cdf0e10cSrcweir    vcl/unx/generic/printer/ppdparser \
205cdf0e10cSrcweir    vcl/unx/generic/printer/printerinfomanager \
206cdf0e10cSrcweir))
207cdf0e10cSrcweirendif
208cdf0e10cSrcweir
209cdf0e10cSrcweirifeq ($(OS),WNT)
210cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\
211cdf0e10cSrcweir    vcl/win/source/app/saldata \
212cdf0e10cSrcweir    vcl/win/source/app/salinfo \
213cdf0e10cSrcweir    vcl/win/source/app/salinst \
214cdf0e10cSrcweir    vcl/win/source/app/salshl \
215cdf0e10cSrcweir    vcl/win/source/app/saltimer \
216cdf0e10cSrcweir    vcl/win/source/gdi/salbmp \
217cdf0e10cSrcweir    vcl/win/source/gdi/salgdi \
218cdf0e10cSrcweir    vcl/win/source/gdi/salgdi2 \
219cdf0e10cSrcweir    vcl/win/source/gdi/salgdi3 \
220cdf0e10cSrcweir    vcl/win/source/gdi/salgdi_gdiplus \
221cdf0e10cSrcweir    vcl/win/source/gdi/salnativewidgets-luna \
222cdf0e10cSrcweir    vcl/win/source/gdi/salprn \
223cdf0e10cSrcweir    vcl/win/source/gdi/salvd \
224cdf0e10cSrcweir    vcl/win/source/gdi/winlayout \
225cdf0e10cSrcweir    vcl/win/source/gdi/wntgdi \
226cdf0e10cSrcweir    vcl/win/source/window/salframe \
227cdf0e10cSrcweir    vcl/win/source/window/salmenu \
228cdf0e10cSrcweir    vcl/win/source/window/salobj \
229cdf0e10cSrcweir))
230cdf0e10cSrcweir
231cdf0e10cSrcweir$(eval $(call gb_Library_add_nativeres,vcl,src))
232cdf0e10cSrcweir
233cdf0e10cSrcweirendif
234cdf0e10cSrcweir
235cdf0e10cSrcweir$(eval $(call gb_Library_add_cobjects,vcl,\
236cdf0e10cSrcweir    vcl/source/fontsubset/list \
237cdf0e10cSrcweir))
238cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\
239cdf0e10cSrcweir    vcl/source/app/dbggui \
240cdf0e10cSrcweir    vcl/source/app/dndhelp \
241cdf0e10cSrcweir    vcl/source/app/help \
242cdf0e10cSrcweir    vcl/source/app/i18nhelp \
243cdf0e10cSrcweir    vcl/source/app/idlemgr \
244cdf0e10cSrcweir    vcl/source/app/salvtables \
245cdf0e10cSrcweir    vcl/source/app/session \
246cdf0e10cSrcweir    vcl/source/app/settings \
247cdf0e10cSrcweir    vcl/source/app/sound \
248cdf0e10cSrcweir    vcl/source/app/stdtext \
249cdf0e10cSrcweir    vcl/source/app/svapp \
250cdf0e10cSrcweir    vcl/source/app/svdata \
251cdf0e10cSrcweir    vcl/source/app/svmain \
252cdf0e10cSrcweir    vcl/source/app/svmainhook \
253cdf0e10cSrcweir    vcl/source/app/timer \
254cdf0e10cSrcweir    vcl/source/app/unohelp2 \
255cdf0e10cSrcweir    vcl/source/app/unohelp \
256cdf0e10cSrcweir    vcl/source/app/vclevent \
257cdf0e10cSrcweir    vcl/source/components/display \
258cdf0e10cSrcweir    vcl/source/components/dtranscomp \
259cdf0e10cSrcweir    vcl/source/components/factory \
260cdf0e10cSrcweir    vcl/source/components/fontident \
261cdf0e10cSrcweir    vcl/source/components/rasterizer_rsvg \
262cdf0e10cSrcweir    vcl/source/components/stringmirror \
263cdf0e10cSrcweir    vcl/source/control/button \
264cdf0e10cSrcweir    vcl/source/control/combobox \
265cdf0e10cSrcweir    vcl/source/control/ctrl \
266cdf0e10cSrcweir    vcl/source/control/edit \
267cdf0e10cSrcweir    vcl/source/control/field2 \
268cdf0e10cSrcweir    vcl/source/control/field \
269cdf0e10cSrcweir    vcl/source/control/fixbrd \
270cdf0e10cSrcweir    vcl/source/control/fixed \
271cdf0e10cSrcweir    vcl/source/control/group \
272cdf0e10cSrcweir    vcl/source/control/ilstbox \
273cdf0e10cSrcweir    vcl/source/control/imgctrl \
274cdf0e10cSrcweir    vcl/source/control/longcurr \
275cdf0e10cSrcweir    vcl/source/control/lstbox \
276cdf0e10cSrcweir    vcl/source/control/menubtn \
277cdf0e10cSrcweir    vcl/source/control/morebtn \
278cdf0e10cSrcweir    vcl/source/control/quickselectionengine \
279cdf0e10cSrcweir    vcl/source/control/scrbar \
280cdf0e10cSrcweir    vcl/source/control/slider \
281cdf0e10cSrcweir    vcl/source/control/spinbtn \
282cdf0e10cSrcweir    vcl/source/control/spinfld \
283cdf0e10cSrcweir    vcl/source/control/tabctrl \
284cdf0e10cSrcweir    vcl/source/control/throbber \
285cdf0e10cSrcweir    vcl/source/fontsubset/cff \
286cdf0e10cSrcweir    vcl/source/fontsubset/fontsubset \
287cdf0e10cSrcweir    vcl/source/fontsubset/gsub \
288cdf0e10cSrcweir    vcl/source/fontsubset/sft \
289cdf0e10cSrcweir    vcl/source/fontsubset/ttcr \
290cdf0e10cSrcweir    vcl/source/fontsubset/xlat \
291cdf0e10cSrcweir    vcl/source/gdi/alpha \
292cdf0e10cSrcweir    vcl/source/gdi/animate \
293cdf0e10cSrcweir    vcl/source/gdi/base14 \
294cdf0e10cSrcweir    vcl/source/gdi/bitmap2 \
295cdf0e10cSrcweir    vcl/source/gdi/bitmap3 \
296cdf0e10cSrcweir    vcl/source/gdi/bitmap4 \
297cdf0e10cSrcweir    vcl/source/gdi/bitmap \
298cdf0e10cSrcweir    vcl/source/gdi/bitmapex \
299cdf0e10cSrcweir    vcl/source/gdi/bmpacc2 \
300cdf0e10cSrcweir    vcl/source/gdi/bmpacc3 \
301cdf0e10cSrcweir    vcl/source/gdi/bmpacc \
302cdf0e10cSrcweir    vcl/source/gdi/bmpconv \
303cdf0e10cSrcweir    vcl/source/gdi/bmpfast \
304cdf0e10cSrcweir    vcl/source/gdi/configsettings \
305cdf0e10cSrcweir    vcl/source/gdi/cvtgrf \
306cdf0e10cSrcweir    vcl/source/gdi/cvtsvm \
307cdf0e10cSrcweir    vcl/source/gdi/extoutdevdata \
308cdf0e10cSrcweir    vcl/source/gdi/font \
309cdf0e10cSrcweir    vcl/source/gdi/gdimtf \
310cdf0e10cSrcweir    vcl/source/gdi/gfxlink \
311cdf0e10cSrcweir    vcl/source/gdi/gradient \
312cdf0e10cSrcweir    vcl/source/gdi/graph \
313cdf0e10cSrcweir    vcl/source/gdi/graphictools \
314cdf0e10cSrcweir    vcl/source/gdi/hatch \
315cdf0e10cSrcweir    vcl/source/gdi/image \
316cdf0e10cSrcweir    vcl/source/gdi/imagerepository \
317cdf0e10cSrcweir    vcl/source/gdi/impanmvw \
318cdf0e10cSrcweir    vcl/source/gdi/impbmp \
319cdf0e10cSrcweir    vcl/source/gdi/impgraph \
320cdf0e10cSrcweir    vcl/source/gdi/impimage \
321cdf0e10cSrcweir    vcl/source/gdi/impimagetree \
322cdf0e10cSrcweir    vcl/source/gdi/impvect \
323cdf0e10cSrcweir    vcl/source/gdi/jobset \
324cdf0e10cSrcweir    vcl/source/gdi/lineinfo \
325cdf0e10cSrcweir    vcl/source/gdi/mapmod \
326cdf0e10cSrcweir    vcl/source/gdi/metaact \
327cdf0e10cSrcweir    vcl/source/gdi/metric \
328cdf0e10cSrcweir    vcl/source/gdi/octree \
329cdf0e10cSrcweir    vcl/source/gdi/oldprintadaptor \
330cdf0e10cSrcweir    vcl/source/gdi/outdev2 \
331cdf0e10cSrcweir    vcl/source/gdi/outdev3 \
332cdf0e10cSrcweir    vcl/source/gdi/outdev4 \
333cdf0e10cSrcweir    vcl/source/gdi/outdev5 \
334cdf0e10cSrcweir    vcl/source/gdi/outdev6 \
335cdf0e10cSrcweir    vcl/source/gdi/outdev \
336cdf0e10cSrcweir    vcl/source/gdi/outdevnative \
337cdf0e10cSrcweir    vcl/source/gdi/outmap \
338cdf0e10cSrcweir    vcl/source/gdi/pdfextoutdevdata \
339cdf0e10cSrcweir    vcl/source/gdi/pdffontcache \
340cdf0e10cSrcweir    vcl/source/gdi/pdfwriter \
341cdf0e10cSrcweir    vcl/source/gdi/pdfwriter_impl2 \
342cdf0e10cSrcweir    vcl/source/gdi/pdfwriter_impl \
343cdf0e10cSrcweir    vcl/source/gdi/pngread \
344cdf0e10cSrcweir    vcl/source/gdi/pngwrite \
345cdf0e10cSrcweir    vcl/source/gdi/print2 \
346cdf0e10cSrcweir    vcl/source/gdi/print3 \
347cdf0e10cSrcweir    vcl/source/gdi/print \
348cdf0e10cSrcweir    vcl/source/gdi/regband \
349cdf0e10cSrcweir    vcl/source/gdi/region \
350cdf0e10cSrcweir    vcl/source/gdi/rendergraphic \
351cdf0e10cSrcweir    vcl/source/gdi/rendergraphicrasterizer \
352cdf0e10cSrcweir    vcl/source/gdi/salgdilayout \
353cdf0e10cSrcweir    vcl/source/gdi/sallayout \
354cdf0e10cSrcweir    vcl/source/gdi/salmisc \
355cdf0e10cSrcweir    vcl/source/gdi/salnativewidgets-none \
356cdf0e10cSrcweir    vcl/source/gdi/svgread \
357cdf0e10cSrcweir	vcl/source/gdi/textlayout \
358cdf0e10cSrcweir    vcl/source/gdi/virdev \
359cdf0e10cSrcweir    vcl/source/gdi/wall \
360cdf0e10cSrcweir    vcl/source/helper/canvasbitmap \
361cdf0e10cSrcweir    vcl/source/helper/canvastools \
362cdf0e10cSrcweir    vcl/source/helper/evntpost \
363cdf0e10cSrcweir    vcl/source/helper/lazydelete \
364cdf0e10cSrcweir    vcl/source/helper/strhelper \
365cdf0e10cSrcweir    vcl/source/helper/threadex \
366cdf0e10cSrcweir    vcl/source/helper/xconnection \
367cdf0e10cSrcweir    vcl/source/salmain/salmain \
368cdf0e10cSrcweir    vcl/source/window/abstdlg \
369cdf0e10cSrcweir    vcl/source/window/accel \
370cdf0e10cSrcweir    vcl/source/window/accmgr \
371cdf0e10cSrcweir    vcl/source/window/arrange \
372cdf0e10cSrcweir    vcl/source/window/brdwin \
373cdf0e10cSrcweir    vcl/source/window/btndlg \
374cdf0e10cSrcweir    vcl/source/window/cmdevt \
375cdf0e10cSrcweir    vcl/source/window/cursor \
376cdf0e10cSrcweir    vcl/source/window/decoview \
377cdf0e10cSrcweir    vcl/source/window/dialog \
378cdf0e10cSrcweir    vcl/source/window/dlgctrl \
379cdf0e10cSrcweir    vcl/source/window/dndevdis \
380cdf0e10cSrcweir    vcl/source/window/dndlcon \
381cdf0e10cSrcweir    vcl/source/window/dockingarea \
382cdf0e10cSrcweir    vcl/source/window/dockmgr \
383cdf0e10cSrcweir    vcl/source/window/dockwin \
384cdf0e10cSrcweir    vcl/source/window/floatwin \
385cdf0e10cSrcweir    vcl/source/window/introwin \
386cdf0e10cSrcweir    vcl/source/window/javachild \
387cdf0e10cSrcweir    vcl/source/window/keycod \
388cdf0e10cSrcweir    vcl/source/window/keyevent \
389cdf0e10cSrcweir    vcl/source/window/menu \
390cdf0e10cSrcweir    vcl/source/window/mnemonic \
391cdf0e10cSrcweir    vcl/source/window/mnemonicengine \
392cdf0e10cSrcweir    vcl/source/window/mouseevent \
393cdf0e10cSrcweir    vcl/source/window/msgbox \
394cdf0e10cSrcweir    vcl/source/window/popupmenuwindow \
395cdf0e10cSrcweir    vcl/source/window/printdlg \
396cdf0e10cSrcweir    vcl/source/window/scrwnd \
397cdf0e10cSrcweir    vcl/source/window/seleng \
398cdf0e10cSrcweir    vcl/source/window/split \
399cdf0e10cSrcweir    vcl/source/window/splitwin \
400cdf0e10cSrcweir    vcl/source/window/status \
401cdf0e10cSrcweir    vcl/source/window/syschild \
402cdf0e10cSrcweir    vcl/source/window/syswin \
403cdf0e10cSrcweir    vcl/source/window/tabdlg \
404cdf0e10cSrcweir    vcl/source/window/tabpage \
405cdf0e10cSrcweir    vcl/source/window/taskpanelist \
406cdf0e10cSrcweir    vcl/source/window/toolbox2 \
407cdf0e10cSrcweir    vcl/source/window/toolbox \
408cdf0e10cSrcweir    vcl/source/window/window2 \
409cdf0e10cSrcweir    vcl/source/window/window3 \
410cdf0e10cSrcweir    vcl/source/window/window4 \
411cdf0e10cSrcweir    vcl/source/window/window \
412cdf0e10cSrcweir    vcl/source/window/winproc \
413cdf0e10cSrcweir    vcl/source/window/wpropset \
414cdf0e10cSrcweir    vcl/source/window/wrkwin \
415cdf0e10cSrcweir))
416cdf0e10cSrcweir
417cdf0e10cSrcweir## handle Graphite
418cdf0e10cSrcweirifneq ($(ENABLE_GRAPHITE),)
419*0b220f58SEike Rathke# add defines, graphite sources for all platforms
420cdf0e10cSrcweir$(eval $(call gb_Library_set_defs,vcl,\
421cdf0e10cSrcweir	$$(DEFS) \
422cdf0e10cSrcweir	-DENABLE_GRAPHITE \
423cdf0e10cSrcweir))
424cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\
425cdf0e10cSrcweir    vcl/source/glyphs/graphite_cache \
426cdf0e10cSrcweir    vcl/source/glyphs/graphite_features \
427cdf0e10cSrcweir    vcl/source/glyphs/graphite_layout \
428cdf0e10cSrcweir    vcl/source/glyphs/graphite_textsrc \
429cdf0e10cSrcweir))
430*0b220f58SEike Rathke# handle X11 platforms, which have additional files and possibly system graphite
431cdf0e10cSrcweirifeq ($(GUIBASE),unx)
432cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\
433cdf0e10cSrcweir    vcl/source/glyphs/graphite_adaptors \
434cdf0e10cSrcweir    vcl/source/glyphs/graphite_serverfont \
435cdf0e10cSrcweir))
436cdf0e10cSrcweirifeq ($(SYSTEM_GRAPHITE),YES)
437cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,vcl,\
438cdf0e10cSrcweir    $$(LDFLAGS) \
439cdf0e10cSrcweir    $(GRAPHITE_LIBS)
440cdf0e10cSrcweir))
441cdf0e10cSrcweirelse
442cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_static_libs,vcl,\
443cdf0e10cSrcweir    graphite \
444cdf0e10cSrcweir))
445cdf0e10cSrcweirendif
446cdf0e10cSrcweirendif
447*0b220f58SEike Rathke# on windows link static graphite library
448*0b220f58SEike Rathkeifeq ($(OS),WNT)
449*0b220f58SEike Rathke$(eval $(call gb_Library_add_linked_static_libs,vcl,\
450*0b220f58SEike Rathke    graphite \
451*0b220f58SEike Rathke))
452*0b220f58SEike Rathkeendif
453cdf0e10cSrcweirendif
454cdf0e10cSrcweir
455cdf0e10cSrcweirifeq ($(OS),LINUX)
456cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\
457cdf0e10cSrcweir	dl \
458cdf0e10cSrcweir	m \
459cdf0e10cSrcweir	pthread \
460cdf0e10cSrcweir))
461cdf0e10cSrcweirendif
462cdf0e10cSrcweir
463cdf0e10cSrcweirifeq ($(OS),SOLARIS)
464cdf0e10cSrcweirifeq ($(CPUNAME)$(CPU),SPARCU)
465cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,vcl,\
466cdf0e10cSrcweir    $$(LDFLAGS) \
467cdf0e10cSrcweir    -R/usr/sfw/lib/64 \
468cdf0e10cSrcweir))
469cdf0e10cSrcweirelse
470cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,vcl,\
471cdf0e10cSrcweir    $$(LDFLAGS) \
472cdf0e10cSrcweir    -R/usr/sfw/lib \
473cdf0e10cSrcweir))
474cdf0e10cSrcweirendif
475cdf0e10cSrcweirendif
476cdf0e10cSrcweir
477cdf0e10cSrcweirifeq ($(GUIBASE),aqua)
478cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\
479cdf0e10cSrcweir	AppleRemote \
480cdf0e10cSrcweir))
481cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,vcl,\
482cdf0e10cSrcweir    $$(LDFLAGS) \
483cdf0e10cSrcweir    -framework QuickTime \
484cdf0e10cSrcweir    -framework Cocoa \
485cdf0e10cSrcweir    -framework Carbon \
486cdf0e10cSrcweir    -framework CoreFoundation \
487cdf0e10cSrcweir))
488cdf0e10cSrcweirendif
489cdf0e10cSrcweir
490cdf0e10cSrcweirifeq ($(OS),WNT)
491cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,vcl,\
492cdf0e10cSrcweir    $$(LDFLAGS) \
493cdf0e10cSrcweir    /ENTRY:LibMain@12 \
494cdf0e10cSrcweir))
495cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\
496cdf0e10cSrcweir	advapi32 \
497cdf0e10cSrcweir	gdi32 \
498cdf0e10cSrcweir	gdiplus \
499cdf0e10cSrcweir	imm32 \
500cdf0e10cSrcweir	kernel32 \
501cdf0e10cSrcweir	mpr \
502cdf0e10cSrcweir	msimg32 \
503cdf0e10cSrcweir	msvcrt \
504cdf0e10cSrcweir	oldnames \
505cdf0e10cSrcweir	ole32 \
506cdf0e10cSrcweir	shell32 \
507cdf0e10cSrcweir	user32 \
508cdf0e10cSrcweir	uuid \
509cdf0e10cSrcweir	uwinapi \
510cdf0e10cSrcweir	winspool \
511cdf0e10cSrcweir))
512cdf0e10cSrcweirendif
513cdf0e10cSrcweir# vim: set noet sw=4 ts=4:
514