xref: /trunk/main/vcl/Library_vcl.mk (revision 7d9c290f13d8a3b24c4333e6cf92efb233adcdb6)
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)
96c2ad3bbcSMichael Stahl$(eval $(call gb_Library_set_defs,vcl,\
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_exception_objects,vcl,\
236cdf0e10cSrcweir    vcl/source/app/dbggui \
237cdf0e10cSrcweir    vcl/source/app/dndhelp \
238cdf0e10cSrcweir    vcl/source/app/help \
239cdf0e10cSrcweir    vcl/source/app/i18nhelp \
240cdf0e10cSrcweir    vcl/source/app/idlemgr \
241cdf0e10cSrcweir    vcl/source/app/salvtables \
242cdf0e10cSrcweir    vcl/source/app/session \
243cdf0e10cSrcweir    vcl/source/app/settings \
244cdf0e10cSrcweir    vcl/source/app/sound \
245cdf0e10cSrcweir    vcl/source/app/stdtext \
246cdf0e10cSrcweir    vcl/source/app/svapp \
247cdf0e10cSrcweir    vcl/source/app/svdata \
248cdf0e10cSrcweir    vcl/source/app/svmain \
249cdf0e10cSrcweir    vcl/source/app/svmainhook \
250cdf0e10cSrcweir    vcl/source/app/timer \
251cdf0e10cSrcweir    vcl/source/app/unohelp2 \
252cdf0e10cSrcweir    vcl/source/app/unohelp \
253cdf0e10cSrcweir    vcl/source/app/vclevent \
254cdf0e10cSrcweir    vcl/source/components/display \
255cdf0e10cSrcweir    vcl/source/components/dtranscomp \
256cdf0e10cSrcweir    vcl/source/components/factory \
257cdf0e10cSrcweir    vcl/source/components/fontident \
258cdf0e10cSrcweir    vcl/source/components/rasterizer_rsvg \
259cdf0e10cSrcweir    vcl/source/components/stringmirror \
260cdf0e10cSrcweir    vcl/source/control/button \
261cdf0e10cSrcweir    vcl/source/control/combobox \
262cdf0e10cSrcweir    vcl/source/control/ctrl \
263cdf0e10cSrcweir    vcl/source/control/edit \
264cdf0e10cSrcweir    vcl/source/control/field2 \
265cdf0e10cSrcweir    vcl/source/control/field \
266cdf0e10cSrcweir    vcl/source/control/fixbrd \
267cdf0e10cSrcweir    vcl/source/control/fixed \
268cdf0e10cSrcweir    vcl/source/control/group \
269cdf0e10cSrcweir    vcl/source/control/ilstbox \
270cdf0e10cSrcweir    vcl/source/control/imgctrl \
271cdf0e10cSrcweir    vcl/source/control/longcurr \
272cdf0e10cSrcweir    vcl/source/control/lstbox \
273cdf0e10cSrcweir    vcl/source/control/menubtn \
274cdf0e10cSrcweir    vcl/source/control/morebtn \
275cdf0e10cSrcweir    vcl/source/control/quickselectionengine \
276cdf0e10cSrcweir    vcl/source/control/scrbar \
277cdf0e10cSrcweir    vcl/source/control/slider \
278cdf0e10cSrcweir    vcl/source/control/spinbtn \
279cdf0e10cSrcweir    vcl/source/control/spinfld \
280cdf0e10cSrcweir    vcl/source/control/tabctrl \
281cdf0e10cSrcweir    vcl/source/control/throbber \
282cdf0e10cSrcweir    vcl/source/fontsubset/cff \
283cdf0e10cSrcweir    vcl/source/fontsubset/fontsubset \
284cdf0e10cSrcweir    vcl/source/fontsubset/gsub \
285c754d7fcSMichael Stahl    vcl/source/fontsubset/list \
286cdf0e10cSrcweir    vcl/source/fontsubset/sft \
287cdf0e10cSrcweir    vcl/source/fontsubset/ttcr \
288cdf0e10cSrcweir    vcl/source/fontsubset/xlat \
289cdf0e10cSrcweir    vcl/source/gdi/alpha \
290cdf0e10cSrcweir    vcl/source/gdi/animate \
291cdf0e10cSrcweir    vcl/source/gdi/base14 \
292cdf0e10cSrcweir    vcl/source/gdi/bitmap2 \
293cdf0e10cSrcweir    vcl/source/gdi/bitmap3 \
294cdf0e10cSrcweir    vcl/source/gdi/bitmap4 \
295cdf0e10cSrcweir    vcl/source/gdi/bitmap \
296cdf0e10cSrcweir    vcl/source/gdi/bitmapex \
297cdf0e10cSrcweir    vcl/source/gdi/bmpacc2 \
298cdf0e10cSrcweir    vcl/source/gdi/bmpacc3 \
299cdf0e10cSrcweir    vcl/source/gdi/bmpacc \
300cdf0e10cSrcweir    vcl/source/gdi/bmpconv \
301cdf0e10cSrcweir    vcl/source/gdi/bmpfast \
302cdf0e10cSrcweir    vcl/source/gdi/configsettings \
303cdf0e10cSrcweir    vcl/source/gdi/cvtgrf \
304cdf0e10cSrcweir    vcl/source/gdi/cvtsvm \
305cdf0e10cSrcweir    vcl/source/gdi/extoutdevdata \
306cdf0e10cSrcweir    vcl/source/gdi/font \
307cdf0e10cSrcweir    vcl/source/gdi/gdimtf \
308cdf0e10cSrcweir    vcl/source/gdi/gfxlink \
309cdf0e10cSrcweir    vcl/source/gdi/gradient \
310cdf0e10cSrcweir    vcl/source/gdi/graph \
311cdf0e10cSrcweir    vcl/source/gdi/graphictools \
312cdf0e10cSrcweir    vcl/source/gdi/hatch \
313cdf0e10cSrcweir    vcl/source/gdi/image \
314cdf0e10cSrcweir    vcl/source/gdi/imagerepository \
315cdf0e10cSrcweir    vcl/source/gdi/impanmvw \
316cdf0e10cSrcweir    vcl/source/gdi/impbmp \
317cdf0e10cSrcweir    vcl/source/gdi/impgraph \
318cdf0e10cSrcweir    vcl/source/gdi/impimage \
319cdf0e10cSrcweir    vcl/source/gdi/impimagetree \
320cdf0e10cSrcweir    vcl/source/gdi/impvect \
321cdf0e10cSrcweir    vcl/source/gdi/jobset \
322cdf0e10cSrcweir    vcl/source/gdi/lineinfo \
323cdf0e10cSrcweir    vcl/source/gdi/mapmod \
324cdf0e10cSrcweir    vcl/source/gdi/metaact \
325cdf0e10cSrcweir    vcl/source/gdi/metric \
326cdf0e10cSrcweir    vcl/source/gdi/octree \
327cdf0e10cSrcweir    vcl/source/gdi/oldprintadaptor \
328cdf0e10cSrcweir    vcl/source/gdi/outdev2 \
329cdf0e10cSrcweir    vcl/source/gdi/outdev3 \
330cdf0e10cSrcweir    vcl/source/gdi/outdev4 \
331cdf0e10cSrcweir    vcl/source/gdi/outdev5 \
332cdf0e10cSrcweir    vcl/source/gdi/outdev6 \
333cdf0e10cSrcweir    vcl/source/gdi/outdev \
334cdf0e10cSrcweir    vcl/source/gdi/outdevnative \
335cdf0e10cSrcweir    vcl/source/gdi/outmap \
336cdf0e10cSrcweir    vcl/source/gdi/pdfextoutdevdata \
337cdf0e10cSrcweir    vcl/source/gdi/pdffontcache \
338cdf0e10cSrcweir    vcl/source/gdi/pdfwriter \
339cdf0e10cSrcweir    vcl/source/gdi/pdfwriter_impl2 \
340cdf0e10cSrcweir    vcl/source/gdi/pdfwriter_impl \
341cdf0e10cSrcweir    vcl/source/gdi/pngread \
342cdf0e10cSrcweir    vcl/source/gdi/pngwrite \
343cdf0e10cSrcweir    vcl/source/gdi/print2 \
344cdf0e10cSrcweir    vcl/source/gdi/print3 \
345cdf0e10cSrcweir    vcl/source/gdi/print \
346cdf0e10cSrcweir    vcl/source/gdi/regband \
347cdf0e10cSrcweir    vcl/source/gdi/region \
348cdf0e10cSrcweir    vcl/source/gdi/rendergraphic \
349cdf0e10cSrcweir    vcl/source/gdi/rendergraphicrasterizer \
350cdf0e10cSrcweir    vcl/source/gdi/salgdilayout \
351cdf0e10cSrcweir    vcl/source/gdi/sallayout \
352cdf0e10cSrcweir    vcl/source/gdi/salmisc \
353cdf0e10cSrcweir    vcl/source/gdi/salnativewidgets-none \
354cdf0e10cSrcweir    vcl/source/gdi/svgread \
355cdf0e10cSrcweir    vcl/source/gdi/textlayout \
356cdf0e10cSrcweir    vcl/source/gdi/virdev \
357cdf0e10cSrcweir    vcl/source/gdi/wall \
358cdf0e10cSrcweir    vcl/source/helper/canvasbitmap \
359cdf0e10cSrcweir    vcl/source/helper/canvastools \
360cdf0e10cSrcweir    vcl/source/helper/evntpost \
361cdf0e10cSrcweir    vcl/source/helper/lazydelete \
362cdf0e10cSrcweir    vcl/source/helper/strhelper \
363cdf0e10cSrcweir    vcl/source/helper/threadex \
364cdf0e10cSrcweir    vcl/source/helper/xconnection \
365cdf0e10cSrcweir    vcl/source/salmain/salmain \
366cdf0e10cSrcweir    vcl/source/window/abstdlg \
367cdf0e10cSrcweir    vcl/source/window/accel \
368cdf0e10cSrcweir    vcl/source/window/accmgr \
369cdf0e10cSrcweir    vcl/source/window/arrange \
370cdf0e10cSrcweir    vcl/source/window/brdwin \
371cdf0e10cSrcweir    vcl/source/window/btndlg \
372cdf0e10cSrcweir    vcl/source/window/cmdevt \
373cdf0e10cSrcweir    vcl/source/window/cursor \
374cdf0e10cSrcweir    vcl/source/window/decoview \
375cdf0e10cSrcweir    vcl/source/window/dialog \
376cdf0e10cSrcweir    vcl/source/window/dlgctrl \
377cdf0e10cSrcweir    vcl/source/window/dndevdis \
378cdf0e10cSrcweir    vcl/source/window/dndlcon \
379cdf0e10cSrcweir    vcl/source/window/dockingarea \
380cdf0e10cSrcweir    vcl/source/window/dockmgr \
381cdf0e10cSrcweir    vcl/source/window/dockwin \
382cdf0e10cSrcweir    vcl/source/window/floatwin \
383cdf0e10cSrcweir    vcl/source/window/introwin \
384cdf0e10cSrcweir    vcl/source/window/javachild \
385cdf0e10cSrcweir    vcl/source/window/keycod \
386cdf0e10cSrcweir    vcl/source/window/keyevent \
387cdf0e10cSrcweir    vcl/source/window/menu \
388cdf0e10cSrcweir    vcl/source/window/mnemonic \
389cdf0e10cSrcweir    vcl/source/window/mnemonicengine \
390cdf0e10cSrcweir    vcl/source/window/mouseevent \
391cdf0e10cSrcweir    vcl/source/window/msgbox \
392cdf0e10cSrcweir    vcl/source/window/popupmenuwindow \
393cdf0e10cSrcweir    vcl/source/window/printdlg \
394cdf0e10cSrcweir    vcl/source/window/scrwnd \
395cdf0e10cSrcweir    vcl/source/window/seleng \
396cdf0e10cSrcweir    vcl/source/window/split \
397cdf0e10cSrcweir    vcl/source/window/splitwin \
398cdf0e10cSrcweir    vcl/source/window/status \
399cdf0e10cSrcweir    vcl/source/window/syschild \
400cdf0e10cSrcweir    vcl/source/window/syswin \
401cdf0e10cSrcweir    vcl/source/window/tabdlg \
402cdf0e10cSrcweir    vcl/source/window/tabpage \
403cdf0e10cSrcweir    vcl/source/window/taskpanelist \
404cdf0e10cSrcweir    vcl/source/window/toolbox2 \
405cdf0e10cSrcweir    vcl/source/window/toolbox \
406cdf0e10cSrcweir    vcl/source/window/window2 \
407cdf0e10cSrcweir    vcl/source/window/window3 \
408cdf0e10cSrcweir    vcl/source/window/window4 \
409cdf0e10cSrcweir    vcl/source/window/window \
410cdf0e10cSrcweir    vcl/source/window/winproc \
411cdf0e10cSrcweir    vcl/source/window/wpropset \
412cdf0e10cSrcweir    vcl/source/window/wrkwin \
413cdf0e10cSrcweir))
414cdf0e10cSrcweir
415cdf0e10cSrcweir## handle Graphite
416cdf0e10cSrcweirifneq ($(ENABLE_GRAPHITE),)
4170b220f58SEike Rathke# add defines, graphite sources for all platforms
418cdf0e10cSrcweir$(eval $(call gb_Library_set_defs,vcl,\
419cdf0e10cSrcweir    $$(DEFS) \
420cdf0e10cSrcweir    -DENABLE_GRAPHITE \
421cdf0e10cSrcweir))
422cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\
423cdf0e10cSrcweir    vcl/source/glyphs/graphite_cache \
424cdf0e10cSrcweir    vcl/source/glyphs/graphite_features \
425cdf0e10cSrcweir    vcl/source/glyphs/graphite_layout \
426cdf0e10cSrcweir    vcl/source/glyphs/graphite_textsrc \
427cdf0e10cSrcweir))
428d7ad131fSEike Rathke
429d7ad131fSEike Rathke#building with stlport, but graphite was not built with stlport
430d7ad131fSEike Rathkeifneq ($(USE_SYSTEM_STL),YES)
4311377d2b7SEike Rathkeifeq ($(SYSTEM_GRAPHITE),YES)
432d7ad131fSEike Rathke$(eval $(call gb_Library_set_defs,vcl,\
433d7ad131fSEike Rathke    $$(DEFS) \
434d7ad131fSEike Rathke    -DADAPT_EXT_STL \
435d7ad131fSEike Rathke))
436d7ad131fSEike Rathkeendif
437d7ad131fSEike Rathkeendif
438d7ad131fSEike Rathke
4390b220f58SEike Rathke# handle X11 platforms, which have additional files and possibly system graphite
440cdf0e10cSrcweirifeq ($(GUIBASE),unx)
441cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\
442cdf0e10cSrcweir    vcl/source/glyphs/graphite_adaptors \
443cdf0e10cSrcweir    vcl/source/glyphs/graphite_serverfont \
444cdf0e10cSrcweir))
445cdf0e10cSrcweirifeq ($(SYSTEM_GRAPHITE),YES)
446cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,vcl,\
447cdf0e10cSrcweir    $$(LDFLAGS) \
4485326120aSEike Rathke    $(GRAPHITE_LIBS) \
449cdf0e10cSrcweir))
450cdf0e10cSrcweirelse
451cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_static_libs,vcl,\
452cdf0e10cSrcweir    graphite \
453cdf0e10cSrcweir))
454cdf0e10cSrcweirendif
455cdf0e10cSrcweirendif
4560b220f58SEike Rathke# on windows link static graphite library
4570b220f58SEike Rathkeifeq ($(OS),WNT)
4580b220f58SEike Rathke$(eval $(call gb_Library_add_linked_static_libs,vcl,\
4590b220f58SEike Rathke    graphite \
4600b220f58SEike Rathke))
4610b220f58SEike Rathkeendif
462cdf0e10cSrcweirendif
463cdf0e10cSrcweir
464cdf0e10cSrcweirifeq ($(OS),LINUX)
465cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\
466cdf0e10cSrcweir    dl \
467cdf0e10cSrcweir    m \
468cdf0e10cSrcweir    pthread \
469cdf0e10cSrcweir))
470cdf0e10cSrcweirendif
471cdf0e10cSrcweir
472cdf0e10cSrcweirifeq ($(OS),SOLARIS)
473cdf0e10cSrcweirifeq ($(CPUNAME)$(CPU),SPARCU)
474cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,vcl,\
475cdf0e10cSrcweir    $$(LDFLAGS) \
476cdf0e10cSrcweir    -R/usr/sfw/lib/64 \
477cdf0e10cSrcweir))
478cdf0e10cSrcweirelse
479cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,vcl,\
480cdf0e10cSrcweir    $$(LDFLAGS) \
481cdf0e10cSrcweir    -R/usr/sfw/lib \
482cdf0e10cSrcweir))
483cdf0e10cSrcweirendif
484cdf0e10cSrcweirendif
485cdf0e10cSrcweir
486cdf0e10cSrcweirifeq ($(GUIBASE),aqua)
487cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\
488cdf0e10cSrcweir    AppleRemote \
489cdf0e10cSrcweir))
490cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,vcl,\
491cdf0e10cSrcweir    $$(LDFLAGS) \
492cdf0e10cSrcweir    -framework QuickTime \
493cdf0e10cSrcweir    -framework Cocoa \
494cdf0e10cSrcweir    -framework Carbon \
495cdf0e10cSrcweir    -framework CoreFoundation \
496cdf0e10cSrcweir))
497cdf0e10cSrcweirendif
498cdf0e10cSrcweir
499cdf0e10cSrcweirifeq ($(OS),WNT)
500*7d9c290fSMichael Stahlifeq ($(USE_MINGW),)
501cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,vcl,\
502cdf0e10cSrcweir    $$(LDFLAGS) \
503cdf0e10cSrcweir    /ENTRY:LibMain@12 \
504cdf0e10cSrcweir))
505*7d9c290fSMichael Stahlendif
506cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\
507cdf0e10cSrcweir    advapi32 \
508cdf0e10cSrcweir    gdi32 \
509cdf0e10cSrcweir    gdiplus \
510cdf0e10cSrcweir    imm32 \
511cdf0e10cSrcweir    mpr \
512cdf0e10cSrcweir    msimg32 \
513cdf0e10cSrcweir    ole32 \
514cdf0e10cSrcweir    shell32 \
515cdf0e10cSrcweir    user32 \
516cdf0e10cSrcweir    uuid \
517cdf0e10cSrcweir    winspool \
518*7d9c290fSMichael Stahl    $(gb_STDLIBS) \
519cdf0e10cSrcweir))
520cdf0e10cSrcweirendif
521cdf0e10cSrcweir# vim: set noet sw=4 ts=4:
522