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 90*fc9fd3f1SPedro Giffuniifeq ($(GUIBASE),os2) 91*fc9fd3f1SPedro Giffuni# YD FIXME this is not working... needs ldflags hack... 92*fc9fd3f1SPedro Giffuni$(eval $(call gb_Library_add_linked_libs,vcl,\ 93*fc9fd3f1SPedro Giffuni ft2lib \ 94*fc9fd3f1SPedro Giffuni)) 95*fc9fd3f1SPedro Giffuni$(eval $(call gb_Library_set_ldflags,vcl,\ 96*fc9fd3f1SPedro Giffuni $$(LDFLAGS) \ 97*fc9fd3f1SPedro Giffuni -lft2lib \ 98*fc9fd3f1SPedro Giffuni)) 99*fc9fd3f1SPedro Giffuni 100*fc9fd3f1SPedro Giffuniendif 101*fc9fd3f1SPedro Giffuni 102cdf0e10cSrcweirifeq ($(GUIBASE),aqua) 103cdf0e10cSrcweir$(eval $(call gb_Library_set_cxxflags,vcl,\ 104cdf0e10cSrcweir $$(CXXFLAGS) \ 105cdf0e10cSrcweir $$(OBJCXXFLAGS) \ 106cdf0e10cSrcweir)) 107cdf0e10cSrcweirifeq ($(ENABLE_CAIRO),TRUE) 108c2ad3bbcSMichael Stahl$(eval $(call gb_Library_set_defs,vcl,\ 109cdf0e10cSrcweir $$(DEFS) \ 110cdf0e10cSrcweir -DCAIRO \ 111cdf0e10cSrcweir)) 112cdf0e10cSrcweirendif 113cdf0e10cSrcweir$(eval $(call gb_Library_add_objcxxobjects,vcl,\ 114cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11yactionwrapper \ 115cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ycomponentwrapper \ 116cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11yfactory \ 117cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11yrolehelper \ 118cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11yselectionwrapper \ 119cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ytablewrapper \ 120cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ytextattributeswrapper \ 121cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ytextwrapper \ 122cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11yutil \ 123cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11yvaluewrapper \ 124cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrapper \ 125cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrapperbutton \ 126cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrappercheckbox \ 127cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrappercombobox \ 128cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrappergroup \ 129cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrapperlist \ 130cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrapperradiobutton \ 131cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrapperradiogroup \ 132cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrapperrow \ 133cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrapperscrollarea \ 134cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrapperscrollbar \ 135cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrappersplitter \ 136cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrapperstatictext \ 137cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrappertabgroup \ 138cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrappertextarea \ 139cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrappertoolbar \ 140cdf0e10cSrcweir vcl/aqua/source/app/salnstimer \ 141cdf0e10cSrcweir vcl/aqua/source/app/vclnsapp \ 142cdf0e10cSrcweir vcl/aqua/source/gdi/aquaprintaccessoryview \ 143cdf0e10cSrcweir vcl/aqua/source/gdi/aquaprintview \ 144cdf0e10cSrcweir vcl/aqua/source/window/salframeview \ 145cdf0e10cSrcweir vcl/aqua/source/window/salnsmenu \ 146cdf0e10cSrcweir)) 147cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\ 148cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11yfocuslistener \ 149cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11yfocustracker \ 150cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ylistener \ 151cdf0e10cSrcweir vcl/aqua/source/a11y/documentfocuslistener \ 152cdf0e10cSrcweir vcl/aqua/source/app/saldata \ 153cdf0e10cSrcweir vcl/aqua/source/app/salinst \ 154cdf0e10cSrcweir vcl/aqua/source/app/salsys \ 155cdf0e10cSrcweir vcl/aqua/source/app/saltimer \ 156cdf0e10cSrcweir vcl/aqua/source/dtrans/DataFlavorMapping \ 157cdf0e10cSrcweir vcl/aqua/source/dtrans/DragActionConversion \ 158cdf0e10cSrcweir vcl/aqua/source/dtrans/DragSource \ 159cdf0e10cSrcweir vcl/aqua/source/dtrans/DragSourceContext \ 160cdf0e10cSrcweir vcl/aqua/source/dtrans/DropTarget \ 161cdf0e10cSrcweir vcl/aqua/source/dtrans/HtmlFmtFlt \ 162cdf0e10cSrcweir vcl/aqua/source/dtrans/OSXTransferable \ 163cdf0e10cSrcweir vcl/aqua/source/dtrans/PictToBmpFlt \ 164cdf0e10cSrcweir vcl/aqua/source/dtrans/aqua_clipboard \ 165cdf0e10cSrcweir vcl/aqua/source/dtrans/service_entry \ 166cdf0e10cSrcweir vcl/aqua/source/gdi/salatslayout \ 167cdf0e10cSrcweir vcl/aqua/source/gdi/salatsuifontutils \ 168cdf0e10cSrcweir vcl/aqua/source/gdi/salbmp \ 169cdf0e10cSrcweir vcl/aqua/source/gdi/salcolorutils \ 170cdf0e10cSrcweir vcl/aqua/source/gdi/salgdi \ 171cdf0e10cSrcweir vcl/aqua/source/gdi/salgdiutils \ 172cdf0e10cSrcweir vcl/aqua/source/gdi/salmathutils \ 173cdf0e10cSrcweir vcl/aqua/source/gdi/salnativewidgets \ 174cdf0e10cSrcweir vcl/aqua/source/gdi/salprn \ 175cdf0e10cSrcweir vcl/aqua/source/gdi/salvd \ 176cdf0e10cSrcweir vcl/aqua/source/window/salframe \ 177cdf0e10cSrcweir vcl/aqua/source/window/salmenu \ 178cdf0e10cSrcweir vcl/aqua/source/window/salobj \ 179cdf0e10cSrcweir)) 180cdf0e10cSrcweirendif 181cdf0e10cSrcweir 182cdf0e10cSrcweirifeq ($(GUIBASE),unx) 183cdf0e10cSrcweir$(eval $(call gb_Library_set_defs,vcl,\ 184cdf0e10cSrcweir $$(DEFS) \ 185cdf0e10cSrcweir -DSAL_DLLPREFIX=\"$(gb_Library_SYSPRE)\" \ 1861385a70cSHerbert Dürr -DSAL_DLLPOSTFIX=\"\" \ 187cdf0e10cSrcweir -D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \ 188cdf0e10cSrcweir)) 189cdf0e10cSrcweir## handle fontconfig 190cdf0e10cSrcweirifneq ($(ENABLE_FONTCONFIG),) 191cdf0e10cSrcweir$(eval $(call gb_Library_set_defs,vcl,\ 192cdf0e10cSrcweir $$(DEFS) \ 193cdf0e10cSrcweir -DENABLE_FONTCONFIG \ 194cdf0e10cSrcweir)) 195cdf0e10cSrcweir## handle CUPS 196cdf0e10cSrcweirifneq ($(ENABLE_CUPS),) 197cdf0e10cSrcweir$(eval $(call gb_Library_set_defs,vcl,\ 198cdf0e10cSrcweir $$(DEFS) \ 199cdf0e10cSrcweir -DENABLE_CUPS \ 200cdf0e10cSrcweir)) 201cdf0e10cSrcweirendif 202cdf0e10cSrcweirendif 203cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\ 204cdf0e10cSrcweir vcl/source/glyphs/gcach_ftyp \ 205cdf0e10cSrcweir vcl/source/glyphs/gcach_layout \ 206cdf0e10cSrcweir vcl/source/glyphs/gcach_rbmp \ 207cdf0e10cSrcweir vcl/source/glyphs/glyphcache \ 208cdf0e10cSrcweir vcl/unx/generic/fontmanager/fontcache \ 209cdf0e10cSrcweir vcl/unx/generic/fontmanager/fontconfig \ 210cdf0e10cSrcweir vcl/unx/generic/fontmanager/fontmanager \ 211cdf0e10cSrcweir vcl/unx/generic/fontmanager/helper \ 212cdf0e10cSrcweir vcl/unx/generic/fontmanager/parseAFM \ 213cdf0e10cSrcweir vcl/unx/generic/plugadapt/salplug \ 214cdf0e10cSrcweir vcl/unx/generic/printer/cupsmgr \ 215cdf0e10cSrcweir vcl/unx/generic/printer/jobdata \ 216cdf0e10cSrcweir vcl/unx/generic/printer/ppdparser \ 217cdf0e10cSrcweir vcl/unx/generic/printer/printerinfomanager \ 218cdf0e10cSrcweir)) 219cdf0e10cSrcweirendif 220cdf0e10cSrcweir 221cdf0e10cSrcweirifeq ($(OS),WNT) 222cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\ 223cdf0e10cSrcweir vcl/win/source/app/saldata \ 224cdf0e10cSrcweir vcl/win/source/app/salinfo \ 225cdf0e10cSrcweir vcl/win/source/app/salinst \ 226cdf0e10cSrcweir vcl/win/source/app/salshl \ 227cdf0e10cSrcweir vcl/win/source/app/saltimer \ 228cdf0e10cSrcweir vcl/win/source/gdi/salbmp \ 229cdf0e10cSrcweir vcl/win/source/gdi/salgdi \ 230cdf0e10cSrcweir vcl/win/source/gdi/salgdi2 \ 231cdf0e10cSrcweir vcl/win/source/gdi/salgdi3 \ 232cdf0e10cSrcweir vcl/win/source/gdi/salgdi_gdiplus \ 233cdf0e10cSrcweir vcl/win/source/gdi/salnativewidgets-luna \ 234cdf0e10cSrcweir vcl/win/source/gdi/salprn \ 235cdf0e10cSrcweir vcl/win/source/gdi/salvd \ 236cdf0e10cSrcweir vcl/win/source/gdi/winlayout \ 237cdf0e10cSrcweir vcl/win/source/gdi/wntgdi \ 238cdf0e10cSrcweir vcl/win/source/window/salframe \ 239cdf0e10cSrcweir vcl/win/source/window/salmenu \ 240cdf0e10cSrcweir vcl/win/source/window/salobj \ 241cdf0e10cSrcweir)) 242cdf0e10cSrcweir 243cdf0e10cSrcweir$(eval $(call gb_Library_add_nativeres,vcl,src)) 244cdf0e10cSrcweir 245cdf0e10cSrcweirendif 246cdf0e10cSrcweir 247*fc9fd3f1SPedro Giffuniifeq ($(OS),OS2) 248*fc9fd3f1SPedro Giffuni$(eval $(call gb_Library_add_exception_objects,vcl,\ 249*fc9fd3f1SPedro Giffuni vcl/os2/source/app/salinfo \ 250*fc9fd3f1SPedro Giffuni vcl/os2/source/app/salinst \ 251*fc9fd3f1SPedro Giffuni vcl/os2/source/app/sallang \ 252*fc9fd3f1SPedro Giffuni vcl/os2/source/app/salshl \ 253*fc9fd3f1SPedro Giffuni vcl/os2/source/app/saltimer \ 254*fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/salbmp \ 255*fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/salgdi \ 256*fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/salgdi2 \ 257*fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/salgdi3 \ 258*fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/salprn \ 259*fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/salvd \ 260*fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/os2layout \ 261*fc9fd3f1SPedro Giffuni vcl/os2/source/window/salframe \ 262*fc9fd3f1SPedro Giffuni vcl/os2/source/window/salmenu \ 263*fc9fd3f1SPedro Giffuni vcl/os2/source/window/salobj \ 264*fc9fd3f1SPedro Giffuni)) 265*fc9fd3f1SPedro Giffuni 266*fc9fd3f1SPedro Giffuniifeq ($(gb_DEBUGLEVEL),2) 267*fc9fd3f1SPedro Giffuni$(eval $(call gb_Library_add_cobjects,vcl,\ 268*fc9fd3f1SPedro Giffuni vcl/os2/source/app/printf \ 269*fc9fd3f1SPedro Giffuni)) 270*fc9fd3f1SPedro Giffuniendif 271*fc9fd3f1SPedro Giffuni 272*fc9fd3f1SPedro Giffuni$(eval $(call gb_Library_add_nativeres,vcl,src)) 273*fc9fd3f1SPedro Giffuni 274*fc9fd3f1SPedro Giffuniendif 275*fc9fd3f1SPedro Giffuni 276cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\ 277cdf0e10cSrcweir vcl/source/app/dbggui \ 278cdf0e10cSrcweir vcl/source/app/dndhelp \ 279cdf0e10cSrcweir vcl/source/app/help \ 280cdf0e10cSrcweir vcl/source/app/i18nhelp \ 281cdf0e10cSrcweir vcl/source/app/idlemgr \ 282cdf0e10cSrcweir vcl/source/app/salvtables \ 283cdf0e10cSrcweir vcl/source/app/session \ 284cdf0e10cSrcweir vcl/source/app/settings \ 285cdf0e10cSrcweir vcl/source/app/sound \ 286cdf0e10cSrcweir vcl/source/app/stdtext \ 287cdf0e10cSrcweir vcl/source/app/svapp \ 288cdf0e10cSrcweir vcl/source/app/svdata \ 289cdf0e10cSrcweir vcl/source/app/svmain \ 290cdf0e10cSrcweir vcl/source/app/svmainhook \ 291cdf0e10cSrcweir vcl/source/app/timer \ 292cdf0e10cSrcweir vcl/source/app/unohelp2 \ 293cdf0e10cSrcweir vcl/source/app/unohelp \ 294cdf0e10cSrcweir vcl/source/app/vclevent \ 295cdf0e10cSrcweir vcl/source/components/display \ 296cdf0e10cSrcweir vcl/source/components/dtranscomp \ 297cdf0e10cSrcweir vcl/source/components/factory \ 298cdf0e10cSrcweir vcl/source/components/fontident \ 299cdf0e10cSrcweir vcl/source/components/rasterizer_rsvg \ 300cdf0e10cSrcweir vcl/source/components/stringmirror \ 301cdf0e10cSrcweir vcl/source/control/button \ 302cdf0e10cSrcweir vcl/source/control/combobox \ 303cdf0e10cSrcweir vcl/source/control/ctrl \ 304cdf0e10cSrcweir vcl/source/control/edit \ 305cdf0e10cSrcweir vcl/source/control/field2 \ 306cdf0e10cSrcweir vcl/source/control/field \ 307cdf0e10cSrcweir vcl/source/control/fixbrd \ 308cdf0e10cSrcweir vcl/source/control/fixed \ 309cdf0e10cSrcweir vcl/source/control/group \ 310cdf0e10cSrcweir vcl/source/control/ilstbox \ 311cdf0e10cSrcweir vcl/source/control/imgctrl \ 312cdf0e10cSrcweir vcl/source/control/longcurr \ 313cdf0e10cSrcweir vcl/source/control/lstbox \ 314cdf0e10cSrcweir vcl/source/control/menubtn \ 315cdf0e10cSrcweir vcl/source/control/morebtn \ 316cdf0e10cSrcweir vcl/source/control/quickselectionengine \ 317cdf0e10cSrcweir vcl/source/control/scrbar \ 318cdf0e10cSrcweir vcl/source/control/slider \ 319cdf0e10cSrcweir vcl/source/control/spinbtn \ 320cdf0e10cSrcweir vcl/source/control/spinfld \ 321cdf0e10cSrcweir vcl/source/control/tabctrl \ 322cdf0e10cSrcweir vcl/source/control/throbber \ 323cdf0e10cSrcweir vcl/source/fontsubset/cff \ 324cdf0e10cSrcweir vcl/source/fontsubset/fontsubset \ 325cdf0e10cSrcweir vcl/source/fontsubset/gsub \ 326c754d7fcSMichael Stahl vcl/source/fontsubset/list \ 327cdf0e10cSrcweir vcl/source/fontsubset/sft \ 328cdf0e10cSrcweir vcl/source/fontsubset/ttcr \ 329cdf0e10cSrcweir vcl/source/fontsubset/xlat \ 330cdf0e10cSrcweir vcl/source/gdi/alpha \ 331cdf0e10cSrcweir vcl/source/gdi/animate \ 332cdf0e10cSrcweir vcl/source/gdi/base14 \ 333cdf0e10cSrcweir vcl/source/gdi/bitmap2 \ 334cdf0e10cSrcweir vcl/source/gdi/bitmap3 \ 335cdf0e10cSrcweir vcl/source/gdi/bitmap4 \ 336cdf0e10cSrcweir vcl/source/gdi/bitmap \ 337cdf0e10cSrcweir vcl/source/gdi/bitmapex \ 338cdf0e10cSrcweir vcl/source/gdi/bmpacc2 \ 339cdf0e10cSrcweir vcl/source/gdi/bmpacc3 \ 340cdf0e10cSrcweir vcl/source/gdi/bmpacc \ 341cdf0e10cSrcweir vcl/source/gdi/bmpconv \ 342cdf0e10cSrcweir vcl/source/gdi/bmpfast \ 343cdf0e10cSrcweir vcl/source/gdi/configsettings \ 344cdf0e10cSrcweir vcl/source/gdi/cvtgrf \ 345cdf0e10cSrcweir vcl/source/gdi/cvtsvm \ 346cdf0e10cSrcweir vcl/source/gdi/extoutdevdata \ 347cdf0e10cSrcweir vcl/source/gdi/font \ 348cdf0e10cSrcweir vcl/source/gdi/gdimtf \ 349cdf0e10cSrcweir vcl/source/gdi/gfxlink \ 350cdf0e10cSrcweir vcl/source/gdi/gradient \ 351cdf0e10cSrcweir vcl/source/gdi/graph \ 352cdf0e10cSrcweir vcl/source/gdi/graphictools \ 353cdf0e10cSrcweir vcl/source/gdi/hatch \ 354cdf0e10cSrcweir vcl/source/gdi/image \ 355cdf0e10cSrcweir vcl/source/gdi/imagerepository \ 356cdf0e10cSrcweir vcl/source/gdi/impanmvw \ 357cdf0e10cSrcweir vcl/source/gdi/impbmp \ 358cdf0e10cSrcweir vcl/source/gdi/impgraph \ 359cdf0e10cSrcweir vcl/source/gdi/impimage \ 360cdf0e10cSrcweir vcl/source/gdi/impimagetree \ 361cdf0e10cSrcweir vcl/source/gdi/impvect \ 362cdf0e10cSrcweir vcl/source/gdi/jobset \ 363cdf0e10cSrcweir vcl/source/gdi/lineinfo \ 364cdf0e10cSrcweir vcl/source/gdi/mapmod \ 365cdf0e10cSrcweir vcl/source/gdi/metaact \ 366cdf0e10cSrcweir vcl/source/gdi/metric \ 367cdf0e10cSrcweir vcl/source/gdi/octree \ 368cdf0e10cSrcweir vcl/source/gdi/oldprintadaptor \ 369cdf0e10cSrcweir vcl/source/gdi/outdev2 \ 370cdf0e10cSrcweir vcl/source/gdi/outdev3 \ 371cdf0e10cSrcweir vcl/source/gdi/outdev4 \ 372cdf0e10cSrcweir vcl/source/gdi/outdev5 \ 373cdf0e10cSrcweir vcl/source/gdi/outdev6 \ 374cdf0e10cSrcweir vcl/source/gdi/outdev \ 375cdf0e10cSrcweir vcl/source/gdi/outdevnative \ 376cdf0e10cSrcweir vcl/source/gdi/outmap \ 377cdf0e10cSrcweir vcl/source/gdi/pdfextoutdevdata \ 378cdf0e10cSrcweir vcl/source/gdi/pdffontcache \ 379cdf0e10cSrcweir vcl/source/gdi/pdfwriter \ 380cdf0e10cSrcweir vcl/source/gdi/pdfwriter_impl2 \ 381cdf0e10cSrcweir vcl/source/gdi/pdfwriter_impl \ 382cdf0e10cSrcweir vcl/source/gdi/pngread \ 383cdf0e10cSrcweir vcl/source/gdi/pngwrite \ 384cdf0e10cSrcweir vcl/source/gdi/print2 \ 385cdf0e10cSrcweir vcl/source/gdi/print3 \ 386cdf0e10cSrcweir vcl/source/gdi/print \ 387cdf0e10cSrcweir vcl/source/gdi/regband \ 388cdf0e10cSrcweir vcl/source/gdi/region \ 389cdf0e10cSrcweir vcl/source/gdi/rendergraphic \ 390cdf0e10cSrcweir vcl/source/gdi/rendergraphicrasterizer \ 391cdf0e10cSrcweir vcl/source/gdi/salgdilayout \ 392cdf0e10cSrcweir vcl/source/gdi/sallayout \ 393cdf0e10cSrcweir vcl/source/gdi/salmisc \ 394cdf0e10cSrcweir vcl/source/gdi/salnativewidgets-none \ 395cdf0e10cSrcweir vcl/source/gdi/svgread \ 396cdf0e10cSrcweir vcl/source/gdi/textlayout \ 397cdf0e10cSrcweir vcl/source/gdi/virdev \ 398cdf0e10cSrcweir vcl/source/gdi/wall \ 399cdf0e10cSrcweir vcl/source/helper/canvasbitmap \ 400cdf0e10cSrcweir vcl/source/helper/canvastools \ 401cdf0e10cSrcweir vcl/source/helper/evntpost \ 402cdf0e10cSrcweir vcl/source/helper/lazydelete \ 403cdf0e10cSrcweir vcl/source/helper/strhelper \ 404cdf0e10cSrcweir vcl/source/helper/threadex \ 405cdf0e10cSrcweir vcl/source/helper/xconnection \ 406cdf0e10cSrcweir vcl/source/salmain/salmain \ 407cdf0e10cSrcweir vcl/source/window/abstdlg \ 408cdf0e10cSrcweir vcl/source/window/accel \ 409cdf0e10cSrcweir vcl/source/window/accmgr \ 410cdf0e10cSrcweir vcl/source/window/arrange \ 411cdf0e10cSrcweir vcl/source/window/brdwin \ 412cdf0e10cSrcweir vcl/source/window/btndlg \ 413cdf0e10cSrcweir vcl/source/window/cmdevt \ 414cdf0e10cSrcweir vcl/source/window/cursor \ 415cdf0e10cSrcweir vcl/source/window/decoview \ 416cdf0e10cSrcweir vcl/source/window/dialog \ 417cdf0e10cSrcweir vcl/source/window/dlgctrl \ 418cdf0e10cSrcweir vcl/source/window/dndevdis \ 419cdf0e10cSrcweir vcl/source/window/dndlcon \ 420cdf0e10cSrcweir vcl/source/window/dockingarea \ 421cdf0e10cSrcweir vcl/source/window/dockmgr \ 422cdf0e10cSrcweir vcl/source/window/dockwin \ 423cdf0e10cSrcweir vcl/source/window/floatwin \ 424cdf0e10cSrcweir vcl/source/window/introwin \ 425cdf0e10cSrcweir vcl/source/window/javachild \ 426cdf0e10cSrcweir vcl/source/window/keycod \ 427cdf0e10cSrcweir vcl/source/window/keyevent \ 428cdf0e10cSrcweir vcl/source/window/menu \ 429cdf0e10cSrcweir vcl/source/window/mnemonic \ 430cdf0e10cSrcweir vcl/source/window/mnemonicengine \ 431cdf0e10cSrcweir vcl/source/window/mouseevent \ 432cdf0e10cSrcweir vcl/source/window/msgbox \ 433cdf0e10cSrcweir vcl/source/window/popupmenuwindow \ 434cdf0e10cSrcweir vcl/source/window/printdlg \ 435cdf0e10cSrcweir vcl/source/window/scrwnd \ 436cdf0e10cSrcweir vcl/source/window/seleng \ 437cdf0e10cSrcweir vcl/source/window/split \ 438cdf0e10cSrcweir vcl/source/window/splitwin \ 439cdf0e10cSrcweir vcl/source/window/status \ 440cdf0e10cSrcweir vcl/source/window/syschild \ 441cdf0e10cSrcweir vcl/source/window/syswin \ 442cdf0e10cSrcweir vcl/source/window/tabdlg \ 443cdf0e10cSrcweir vcl/source/window/tabpage \ 444cdf0e10cSrcweir vcl/source/window/taskpanelist \ 445cdf0e10cSrcweir vcl/source/window/toolbox2 \ 446cdf0e10cSrcweir vcl/source/window/toolbox \ 447cdf0e10cSrcweir vcl/source/window/window2 \ 448cdf0e10cSrcweir vcl/source/window/window3 \ 449cdf0e10cSrcweir vcl/source/window/window4 \ 450cdf0e10cSrcweir vcl/source/window/window \ 451cdf0e10cSrcweir vcl/source/window/winproc \ 452cdf0e10cSrcweir vcl/source/window/wpropset \ 453cdf0e10cSrcweir vcl/source/window/wrkwin \ 454cdf0e10cSrcweir)) 455cdf0e10cSrcweir 456cdf0e10cSrcweir## handle Graphite 457cdf0e10cSrcweirifneq ($(ENABLE_GRAPHITE),) 4580b220f58SEike Rathke# add defines, graphite sources for all platforms 459cdf0e10cSrcweir$(eval $(call gb_Library_set_defs,vcl,\ 460cdf0e10cSrcweir $$(DEFS) \ 461cdf0e10cSrcweir -DENABLE_GRAPHITE \ 462cdf0e10cSrcweir)) 463cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\ 464cdf0e10cSrcweir vcl/source/glyphs/graphite_cache \ 465cdf0e10cSrcweir vcl/source/glyphs/graphite_features \ 466cdf0e10cSrcweir vcl/source/glyphs/graphite_layout \ 467cdf0e10cSrcweir vcl/source/glyphs/graphite_textsrc \ 468cdf0e10cSrcweir)) 469d7ad131fSEike Rathke 470d7ad131fSEike Rathke#building with stlport, but graphite was not built with stlport 471d7ad131fSEike Rathkeifneq ($(USE_SYSTEM_STL),YES) 4721377d2b7SEike Rathkeifeq ($(SYSTEM_GRAPHITE),YES) 473d7ad131fSEike Rathke$(eval $(call gb_Library_set_defs,vcl,\ 474d7ad131fSEike Rathke $$(DEFS) \ 475d7ad131fSEike Rathke -DADAPT_EXT_STL \ 476d7ad131fSEike Rathke)) 477d7ad131fSEike Rathkeendif 478d7ad131fSEike Rathkeendif 479d7ad131fSEike Rathke 4800b220f58SEike Rathke# handle X11 platforms, which have additional files and possibly system graphite 481cdf0e10cSrcweirifeq ($(GUIBASE),unx) 482cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\ 483cdf0e10cSrcweir vcl/source/glyphs/graphite_adaptors \ 484cdf0e10cSrcweir vcl/source/glyphs/graphite_serverfont \ 485cdf0e10cSrcweir)) 486cdf0e10cSrcweirifeq ($(SYSTEM_GRAPHITE),YES) 487cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,vcl,\ 488cdf0e10cSrcweir $$(LDFLAGS) \ 4895326120aSEike Rathke $(GRAPHITE_LIBS) \ 490cdf0e10cSrcweir)) 491cdf0e10cSrcweirelse 492cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_static_libs,vcl,\ 493cdf0e10cSrcweir graphite \ 494cdf0e10cSrcweir)) 495cdf0e10cSrcweirendif 496cdf0e10cSrcweirendif 4970b220f58SEike Rathke# on windows link static graphite library 4980b220f58SEike Rathkeifeq ($(OS),WNT) 4990b220f58SEike Rathke$(eval $(call gb_Library_add_linked_static_libs,vcl,\ 5000b220f58SEike Rathke graphite \ 5010b220f58SEike Rathke)) 5020b220f58SEike Rathkeendif 503cdf0e10cSrcweirendif 504cdf0e10cSrcweir 505cdf0e10cSrcweirifeq ($(OS),LINUX) 506cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\ 507cdf0e10cSrcweir dl \ 508cdf0e10cSrcweir m \ 509cdf0e10cSrcweir pthread \ 510cdf0e10cSrcweir)) 511cdf0e10cSrcweirendif 512cdf0e10cSrcweir 513cdf0e10cSrcweirifeq ($(OS),SOLARIS) 514cdf0e10cSrcweirifeq ($(CPUNAME)$(CPU),SPARCU) 515cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,vcl,\ 516cdf0e10cSrcweir $$(LDFLAGS) \ 517cdf0e10cSrcweir -R/usr/sfw/lib/64 \ 518cdf0e10cSrcweir)) 519cdf0e10cSrcweirelse 520cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,vcl,\ 521cdf0e10cSrcweir $$(LDFLAGS) \ 522cdf0e10cSrcweir -R/usr/sfw/lib \ 523cdf0e10cSrcweir)) 524cdf0e10cSrcweirendif 525cdf0e10cSrcweirendif 526cdf0e10cSrcweir 527cdf0e10cSrcweirifeq ($(GUIBASE),aqua) 528cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\ 529cdf0e10cSrcweir AppleRemote \ 530cdf0e10cSrcweir)) 531cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,vcl,\ 532cdf0e10cSrcweir $$(LDFLAGS) \ 533cdf0e10cSrcweir -framework QuickTime \ 534cdf0e10cSrcweir -framework Cocoa \ 535cdf0e10cSrcweir -framework Carbon \ 536cdf0e10cSrcweir -framework CoreFoundation \ 537cdf0e10cSrcweir)) 538cdf0e10cSrcweirendif 539cdf0e10cSrcweir 540cdf0e10cSrcweirifeq ($(OS),WNT) 5417d9c290fSMichael Stahlifeq ($(USE_MINGW),) 542cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,vcl,\ 543cdf0e10cSrcweir $$(LDFLAGS) \ 544cdf0e10cSrcweir /ENTRY:LibMain@12 \ 545cdf0e10cSrcweir)) 5467d9c290fSMichael Stahlendif 547cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\ 548cdf0e10cSrcweir advapi32 \ 549cdf0e10cSrcweir gdi32 \ 550cdf0e10cSrcweir gdiplus \ 551cdf0e10cSrcweir imm32 \ 552cdf0e10cSrcweir mpr \ 553cdf0e10cSrcweir msimg32 \ 554cdf0e10cSrcweir ole32 \ 555cdf0e10cSrcweir shell32 \ 556cdf0e10cSrcweir user32 \ 557cdf0e10cSrcweir uuid \ 558cdf0e10cSrcweir winspool \ 5597d9c290fSMichael Stahl $(gb_STDLIBS) \ 560cdf0e10cSrcweir)) 561cdf0e10cSrcweirendif 562cdf0e10cSrcweir# vim: set noet sw=4 ts=4: 563