17871dc3eSAndrew Rist#************************************************************** 2cdf0e10cSrcweir# 37871dc3eSAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 47871dc3eSAndrew Rist# or more contributor license agreements. See the NOTICE file 57871dc3eSAndrew Rist# distributed with this work for additional information 67871dc3eSAndrew Rist# regarding copyright ownership. The ASF licenses this file 77871dc3eSAndrew Rist# to you under the Apache License, Version 2.0 (the 87871dc3eSAndrew Rist# "License"); you may not use this file except in compliance 97871dc3eSAndrew Rist# with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir# 117871dc3eSAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir# 137871dc3eSAndrew Rist# Unless required by applicable law or agreed to in writing, 147871dc3eSAndrew Rist# software distributed under the License is distributed on an 157871dc3eSAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 167871dc3eSAndrew Rist# KIND, either express or implied. See the License for the 177871dc3eSAndrew Rist# specific language governing permissions and limitations 187871dc3eSAndrew Rist# under the License. 19cdf0e10cSrcweir# 207871dc3eSAndrew Rist#************************************************************** 217871dc3eSAndrew Rist 227871dc3eSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir$(eval $(call gb_Library_Library,vcl)) 25cdf0e10cSrcweir 26cdf0e10cSrcweirifeq ($(OS),MACOSX) 27cdf0e10cSrcweir$(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.macosx)) 28cdf0e10cSrcweirelse ifeq ($(OS),WNT) 29cdf0e10cSrcweir$(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.windows)) 30168c4287SYuri Darioelse ifeq ($(OS),OS2) 31168c4287SYuri Dario$(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.windows)) 32cdf0e10cSrcweirelse 33cdf0e10cSrcweir$(eval $(call gb_Library_set_componentfile,vcl,vcl/vcl.unx)) 34cdf0e10cSrcweirendif 35cdf0e10cSrcweir 36cdf0e10cSrcweir$(eval $(call gb_Library_add_package_headers,vcl,vcl_inc)) 37cdf0e10cSrcweir 38cdf0e10cSrcweir$(eval $(call gb_Library_set_include,vcl,\ 39cdf0e10cSrcweir $$(INCLUDE) \ 40cdf0e10cSrcweir -I$(SRCDIR)/vcl/inc \ 41cdf0e10cSrcweir -I$(SRCDIR)/vcl/inc/pch \ 42cdf0e10cSrcweir -I$(SRCDIR)/solenv/inc \ 43cdf0e10cSrcweir -I$(OUTDIR)/inc/offuh \ 44cdf0e10cSrcweir -I$(OUTDIR)/inc/stl \ 45cdf0e10cSrcweir -I$(OUTDIR)/inc \ 467ec8d7e0SPedro Giffuni $$(FREETYPE_CFLAGS) \ 47cdf0e10cSrcweir)) 48*a37d1728SYuri Darioifeq ($(GUIBASE),os2) 49*a37d1728SYuri Dario$(eval $(call gb_Library_set_include,vcl,\ 50*a37d1728SYuri Dario $$(INCLUDE) \ 51*a37d1728SYuri Dario -idirafter /@unixroot/usr/dev/toolkit452/h \ 52*a37d1728SYuri Dario)) 53*a37d1728SYuri Darioendif 54cdf0e10cSrcweirifeq ($(GUIBASE),unx) 55cdf0e10cSrcweir$(eval $(call gb_Library_set_cxxflags,vcl,\ 56cdf0e10cSrcweir $$(CXXFLAGS) \ 57cdf0e10cSrcweir)) 58cdf0e10cSrcweirendif 59cdf0e10cSrcweir 60cdf0e10cSrcweir$(eval $(call gb_Library_set_defs,vcl,\ 61cdf0e10cSrcweir $$(DEFS) \ 62cdf0e10cSrcweir -DVCL_DLLIMPLEMENTATION \ 63cdf0e10cSrcweir -DCUI_DLL_NAME=\"$(call gb_Library_get_runtime_filename,cui)\" \ 64cdf0e10cSrcweir -DDLLPOSTFIX=$(subst $(or $(gb_Library_DLLEXT),$(gb_Library_PLAINEXT)),,$(gb_Library_OOOEXT)) \ 65cdf0e10cSrcweir)) 66cdf0e10cSrcweir 67cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\ 68cdf0e10cSrcweir tl \ 69cdf0e10cSrcweir utl \ 70cdf0e10cSrcweir sot \ 71cdf0e10cSrcweir ucbhelper \ 72cdf0e10cSrcweir basegfx \ 73cdf0e10cSrcweir comphelper \ 74cdf0e10cSrcweir cppuhelper \ 75cdf0e10cSrcweir icuuc \ 76cdf0e10cSrcweir icule \ 77cdf0e10cSrcweir i18nisolang1 \ 78cdf0e10cSrcweir i18npaper \ 79cdf0e10cSrcweir i18nutil \ 80cdf0e10cSrcweir jvmaccess \ 81cdf0e10cSrcweir stl \ 82cdf0e10cSrcweir cppu \ 83cdf0e10cSrcweir sal \ 84cdf0e10cSrcweir vos3 \ 85cdf0e10cSrcweir $(gb_STDLIBS) \ 86cdf0e10cSrcweir)) 87cdf0e10cSrcweir 88cdf0e10cSrcweirifeq ($(GUIBASE),unx) 89cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\ 90cdf0e10cSrcweir freetype \ 91cdf0e10cSrcweir)) 92cdf0e10cSrcweirendif 93cdf0e10cSrcweir 94fc9fd3f1SPedro Giffuniifeq ($(GUIBASE),os2) 95fc9fd3f1SPedro Giffuni# YD FIXME this is not working... needs ldflags hack... 96fc9fd3f1SPedro Giffuni$(eval $(call gb_Library_add_linked_libs,vcl,\ 97fc9fd3f1SPedro Giffuni ft2lib \ 98fc9fd3f1SPedro Giffuni)) 99fc9fd3f1SPedro Giffuni$(eval $(call gb_Library_set_ldflags,vcl,\ 100fc9fd3f1SPedro Giffuni $$(LDFLAGS) \ 101fc9fd3f1SPedro Giffuni -lft2lib \ 102fc9fd3f1SPedro Giffuni)) 103fc9fd3f1SPedro Giffuni 104fc9fd3f1SPedro Giffuniendif 105fc9fd3f1SPedro Giffuni 106cdf0e10cSrcweirifeq ($(GUIBASE),aqua) 107cdf0e10cSrcweir$(eval $(call gb_Library_set_cxxflags,vcl,\ 108cdf0e10cSrcweir $$(CXXFLAGS) \ 109cdf0e10cSrcweir $$(OBJCXXFLAGS) \ 110cdf0e10cSrcweir)) 111cdf0e10cSrcweirifeq ($(ENABLE_CAIRO),TRUE) 112c2ad3bbcSMichael Stahl$(eval $(call gb_Library_set_defs,vcl,\ 113cdf0e10cSrcweir $$(DEFS) \ 114cdf0e10cSrcweir -DCAIRO \ 115cdf0e10cSrcweir)) 116cdf0e10cSrcweirendif 117cdf0e10cSrcweir$(eval $(call gb_Library_add_objcxxobjects,vcl,\ 118cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11yactionwrapper \ 119cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ycomponentwrapper \ 120cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11yfactory \ 121cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11yrolehelper \ 122cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11yselectionwrapper \ 123cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ytablewrapper \ 124cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ytextattributeswrapper \ 125cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ytextwrapper \ 126cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11yutil \ 127cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11yvaluewrapper \ 128cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrapper \ 129cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrapperbutton \ 130cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrappercheckbox \ 131cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrappercombobox \ 132cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrappergroup \ 133cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrapperlist \ 134cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrapperradiobutton \ 135cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrapperradiogroup \ 136cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrapperrow \ 137cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrapperscrollarea \ 138cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrapperscrollbar \ 139cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrappersplitter \ 140cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrapperstatictext \ 141cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrappertabgroup \ 142cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrappertextarea \ 143cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ywrappertoolbar \ 144cdf0e10cSrcweir vcl/aqua/source/app/salnstimer \ 145cdf0e10cSrcweir vcl/aqua/source/app/vclnsapp \ 146cdf0e10cSrcweir vcl/aqua/source/gdi/aquaprintaccessoryview \ 147cdf0e10cSrcweir vcl/aqua/source/gdi/aquaprintview \ 148cdf0e10cSrcweir vcl/aqua/source/window/salframeview \ 149cdf0e10cSrcweir vcl/aqua/source/window/salnsmenu \ 150cdf0e10cSrcweir)) 151cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\ 152cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11yfocuslistener \ 153cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11yfocustracker \ 154cdf0e10cSrcweir vcl/aqua/source/a11y/aqua11ylistener \ 155cdf0e10cSrcweir vcl/aqua/source/a11y/documentfocuslistener \ 156cdf0e10cSrcweir vcl/aqua/source/app/saldata \ 157cdf0e10cSrcweir vcl/aqua/source/app/salinst \ 158cdf0e10cSrcweir vcl/aqua/source/app/salsys \ 159cdf0e10cSrcweir vcl/aqua/source/app/saltimer \ 160cdf0e10cSrcweir vcl/aqua/source/dtrans/DataFlavorMapping \ 161cdf0e10cSrcweir vcl/aqua/source/dtrans/DragActionConversion \ 162cdf0e10cSrcweir vcl/aqua/source/dtrans/DragSource \ 163cdf0e10cSrcweir vcl/aqua/source/dtrans/DragSourceContext \ 164cdf0e10cSrcweir vcl/aqua/source/dtrans/DropTarget \ 165cdf0e10cSrcweir vcl/aqua/source/dtrans/HtmlFmtFlt \ 166cdf0e10cSrcweir vcl/aqua/source/dtrans/OSXTransferable \ 167cdf0e10cSrcweir vcl/aqua/source/dtrans/PictToBmpFlt \ 168cdf0e10cSrcweir vcl/aqua/source/dtrans/aqua_clipboard \ 169cdf0e10cSrcweir vcl/aqua/source/dtrans/service_entry \ 170e26449d3SHerbert Dürr vcl/aqua/source/gdi/ctfonts \ 171e26449d3SHerbert Dürr vcl/aqua/source/gdi/ctlayout \ 172cdf0e10cSrcweir vcl/aqua/source/gdi/salbmp \ 173cdf0e10cSrcweir vcl/aqua/source/gdi/salcolorutils \ 174cdf0e10cSrcweir vcl/aqua/source/gdi/salgdi \ 175cdf0e10cSrcweir vcl/aqua/source/gdi/salgdiutils \ 176cdf0e10cSrcweir vcl/aqua/source/gdi/salmathutils \ 177cdf0e10cSrcweir vcl/aqua/source/gdi/salnativewidgets \ 178cdf0e10cSrcweir vcl/aqua/source/gdi/salprn \ 179cdf0e10cSrcweir vcl/aqua/source/gdi/salvd \ 180cdf0e10cSrcweir vcl/aqua/source/window/salframe \ 181cdf0e10cSrcweir vcl/aqua/source/window/salmenu \ 182cdf0e10cSrcweir vcl/aqua/source/window/salobj \ 183cdf0e10cSrcweir)) 184cdf0e10cSrcweirendif 185cdf0e10cSrcweir 186cdf0e10cSrcweirifeq ($(GUIBASE),unx) 187cdf0e10cSrcweir$(eval $(call gb_Library_set_defs,vcl,\ 188cdf0e10cSrcweir $$(DEFS) \ 189cdf0e10cSrcweir -DSAL_DLLPREFIX=\"$(gb_Library_SYSPRE)\" \ 1901385a70cSHerbert Dürr -DSAL_DLLPOSTFIX=\"\" \ 191cdf0e10cSrcweir -D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \ 192cdf0e10cSrcweir)) 193cdf0e10cSrcweir## handle fontconfig 194cdf0e10cSrcweirifneq ($(ENABLE_FONTCONFIG),) 195cdf0e10cSrcweir$(eval $(call gb_Library_set_defs,vcl,\ 196cdf0e10cSrcweir $$(DEFS) \ 197cdf0e10cSrcweir -DENABLE_FONTCONFIG \ 198cdf0e10cSrcweir)) 199cdf0e10cSrcweir## handle CUPS 200cdf0e10cSrcweirifneq ($(ENABLE_CUPS),) 201cdf0e10cSrcweir$(eval $(call gb_Library_set_defs,vcl,\ 202cdf0e10cSrcweir $$(DEFS) \ 203cdf0e10cSrcweir -DENABLE_CUPS \ 204cdf0e10cSrcweir)) 205cdf0e10cSrcweirendif 206cdf0e10cSrcweirendif 207cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\ 208cdf0e10cSrcweir vcl/source/glyphs/gcach_ftyp \ 209cdf0e10cSrcweir vcl/source/glyphs/gcach_layout \ 210cdf0e10cSrcweir vcl/source/glyphs/gcach_rbmp \ 211cdf0e10cSrcweir vcl/source/glyphs/glyphcache \ 212cdf0e10cSrcweir vcl/unx/generic/fontmanager/fontcache \ 213cdf0e10cSrcweir vcl/unx/generic/fontmanager/fontconfig \ 214cdf0e10cSrcweir vcl/unx/generic/fontmanager/fontmanager \ 215cdf0e10cSrcweir vcl/unx/generic/fontmanager/helper \ 216cdf0e10cSrcweir vcl/unx/generic/fontmanager/parseAFM \ 217cdf0e10cSrcweir vcl/unx/generic/plugadapt/salplug \ 218cdf0e10cSrcweir vcl/unx/generic/printer/cupsmgr \ 219cdf0e10cSrcweir vcl/unx/generic/printer/jobdata \ 220cdf0e10cSrcweir vcl/unx/generic/printer/ppdparser \ 221cdf0e10cSrcweir vcl/unx/generic/printer/printerinfomanager \ 222cdf0e10cSrcweir)) 223cdf0e10cSrcweirendif 224cdf0e10cSrcweir 225cdf0e10cSrcweirifeq ($(OS),WNT) 226cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\ 227cdf0e10cSrcweir vcl/win/source/app/saldata \ 228cdf0e10cSrcweir vcl/win/source/app/salinfo \ 229cdf0e10cSrcweir vcl/win/source/app/salinst \ 230cdf0e10cSrcweir vcl/win/source/app/salshl \ 231cdf0e10cSrcweir vcl/win/source/app/saltimer \ 232cdf0e10cSrcweir vcl/win/source/gdi/salbmp \ 233cdf0e10cSrcweir vcl/win/source/gdi/salgdi \ 234cdf0e10cSrcweir vcl/win/source/gdi/salgdi2 \ 235cdf0e10cSrcweir vcl/win/source/gdi/salgdi3 \ 236cdf0e10cSrcweir vcl/win/source/gdi/salgdi_gdiplus \ 237cdf0e10cSrcweir vcl/win/source/gdi/salnativewidgets-luna \ 238cdf0e10cSrcweir vcl/win/source/gdi/salprn \ 239cdf0e10cSrcweir vcl/win/source/gdi/salvd \ 240cdf0e10cSrcweir vcl/win/source/gdi/winlayout \ 241cdf0e10cSrcweir vcl/win/source/gdi/wntgdi \ 242cdf0e10cSrcweir vcl/win/source/window/salframe \ 243cdf0e10cSrcweir vcl/win/source/window/salmenu \ 244cdf0e10cSrcweir vcl/win/source/window/salobj \ 245cdf0e10cSrcweir)) 246cdf0e10cSrcweir 247cdf0e10cSrcweir$(eval $(call gb_Library_add_nativeres,vcl,src)) 248cdf0e10cSrcweir 249cdf0e10cSrcweirendif 250cdf0e10cSrcweir 251fc9fd3f1SPedro Giffuniifeq ($(OS),OS2) 252fc9fd3f1SPedro Giffuni$(eval $(call gb_Library_add_exception_objects,vcl,\ 253fc9fd3f1SPedro Giffuni vcl/os2/source/app/salinfo \ 254fc9fd3f1SPedro Giffuni vcl/os2/source/app/salinst \ 255fc9fd3f1SPedro Giffuni vcl/os2/source/app/sallang \ 256fc9fd3f1SPedro Giffuni vcl/os2/source/app/salshl \ 257fc9fd3f1SPedro Giffuni vcl/os2/source/app/saltimer \ 258fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/salbmp \ 259fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/salgdi \ 260fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/salgdi2 \ 261fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/salgdi3 \ 262fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/salprn \ 263fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/salvd \ 264fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/os2layout \ 265fc9fd3f1SPedro Giffuni vcl/os2/source/window/salframe \ 266fc9fd3f1SPedro Giffuni vcl/os2/source/window/salmenu \ 267fc9fd3f1SPedro Giffuni vcl/os2/source/window/salobj \ 268fc9fd3f1SPedro Giffuni)) 269fc9fd3f1SPedro Giffuni 270fc9fd3f1SPedro Giffuni$(eval $(call gb_Library_add_nativeres,vcl,src)) 271fc9fd3f1SPedro Giffuni 272fc9fd3f1SPedro Giffuniendif 273fc9fd3f1SPedro Giffuni 274cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\ 275cdf0e10cSrcweir vcl/source/app/dbggui \ 276cdf0e10cSrcweir vcl/source/app/dndhelp \ 277cdf0e10cSrcweir vcl/source/app/help \ 278cdf0e10cSrcweir vcl/source/app/i18nhelp \ 279cdf0e10cSrcweir vcl/source/app/idlemgr \ 280cdf0e10cSrcweir vcl/source/app/salvtables \ 281cdf0e10cSrcweir vcl/source/app/session \ 282cdf0e10cSrcweir vcl/source/app/settings \ 283cdf0e10cSrcweir vcl/source/app/sound \ 284cdf0e10cSrcweir vcl/source/app/stdtext \ 285cdf0e10cSrcweir vcl/source/app/svapp \ 286cdf0e10cSrcweir vcl/source/app/svdata \ 287cdf0e10cSrcweir vcl/source/app/svmain \ 288cdf0e10cSrcweir vcl/source/app/svmainhook \ 289cdf0e10cSrcweir vcl/source/app/timer \ 290cdf0e10cSrcweir vcl/source/app/unohelp2 \ 291cdf0e10cSrcweir vcl/source/app/unohelp \ 292cdf0e10cSrcweir vcl/source/app/vclevent \ 293cdf0e10cSrcweir vcl/source/components/display \ 294cdf0e10cSrcweir vcl/source/components/dtranscomp \ 295cdf0e10cSrcweir vcl/source/components/factory \ 296cdf0e10cSrcweir vcl/source/components/fontident \ 297cdf0e10cSrcweir vcl/source/components/stringmirror \ 298cdf0e10cSrcweir vcl/source/control/button \ 299cdf0e10cSrcweir vcl/source/control/combobox \ 300cdf0e10cSrcweir vcl/source/control/ctrl \ 301cdf0e10cSrcweir vcl/source/control/edit \ 302cdf0e10cSrcweir vcl/source/control/field2 \ 303cdf0e10cSrcweir vcl/source/control/field \ 304cdf0e10cSrcweir vcl/source/control/fixbrd \ 305cdf0e10cSrcweir vcl/source/control/fixed \ 306cdf0e10cSrcweir vcl/source/control/group \ 307cdf0e10cSrcweir vcl/source/control/ilstbox \ 308cdf0e10cSrcweir vcl/source/control/imgctrl \ 309cdf0e10cSrcweir vcl/source/control/longcurr \ 310cdf0e10cSrcweir vcl/source/control/lstbox \ 311cdf0e10cSrcweir vcl/source/control/menubtn \ 312cdf0e10cSrcweir vcl/source/control/morebtn \ 313cdf0e10cSrcweir vcl/source/control/quickselectionengine \ 314cdf0e10cSrcweir vcl/source/control/scrbar \ 315cdf0e10cSrcweir vcl/source/control/slider \ 316cdf0e10cSrcweir vcl/source/control/spinbtn \ 317cdf0e10cSrcweir vcl/source/control/spinfld \ 318cdf0e10cSrcweir vcl/source/control/tabctrl \ 319cdf0e10cSrcweir vcl/source/control/throbber \ 320cdf0e10cSrcweir vcl/source/fontsubset/cff \ 321cdf0e10cSrcweir vcl/source/fontsubset/fontsubset \ 322cdf0e10cSrcweir vcl/source/fontsubset/gsub \ 323c754d7fcSMichael Stahl vcl/source/fontsubset/list \ 324cdf0e10cSrcweir vcl/source/fontsubset/sft \ 325cdf0e10cSrcweir vcl/source/fontsubset/ttcr \ 326cdf0e10cSrcweir vcl/source/fontsubset/xlat \ 327cdf0e10cSrcweir vcl/source/gdi/alpha \ 328cdf0e10cSrcweir vcl/source/gdi/animate \ 329cdf0e10cSrcweir vcl/source/gdi/base14 \ 330cdf0e10cSrcweir vcl/source/gdi/bitmap3 \ 331cdf0e10cSrcweir vcl/source/gdi/bitmap4 \ 332cdf0e10cSrcweir vcl/source/gdi/bitmap \ 333cdf0e10cSrcweir vcl/source/gdi/bitmapex \ 334cdf0e10cSrcweir vcl/source/gdi/bmpacc2 \ 335cdf0e10cSrcweir vcl/source/gdi/bmpacc3 \ 336cdf0e10cSrcweir vcl/source/gdi/bmpacc \ 337cdf0e10cSrcweir vcl/source/gdi/bmpconv \ 338cdf0e10cSrcweir vcl/source/gdi/bmpfast \ 339cdf0e10cSrcweir vcl/source/gdi/configsettings \ 340cdf0e10cSrcweir vcl/source/gdi/cvtgrf \ 341cdf0e10cSrcweir vcl/source/gdi/cvtsvm \ 34245fd3b9aSArmin Le Grand vcl/source/gdi/dibtools \ 343cdf0e10cSrcweir vcl/source/gdi/extoutdevdata \ 344cdf0e10cSrcweir vcl/source/gdi/font \ 345cdf0e10cSrcweir vcl/source/gdi/gdimtf \ 3464665f8d3SArmin Le Grand vcl/source/gdi/gdimetafiletools \ 347cdf0e10cSrcweir vcl/source/gdi/gfxlink \ 348cdf0e10cSrcweir vcl/source/gdi/gradient \ 349cdf0e10cSrcweir vcl/source/gdi/graph \ 350cdf0e10cSrcweir vcl/source/gdi/graphictools \ 351cdf0e10cSrcweir vcl/source/gdi/hatch \ 352cdf0e10cSrcweir vcl/source/gdi/image \ 353cdf0e10cSrcweir vcl/source/gdi/imagerepository \ 354cdf0e10cSrcweir vcl/source/gdi/impanmvw \ 355cdf0e10cSrcweir vcl/source/gdi/impbmp \ 35643ad51ffSHerbert Dürr vcl/source/gdi/impfont \ 357cdf0e10cSrcweir vcl/source/gdi/impgraph \ 358cdf0e10cSrcweir vcl/source/gdi/impimage \ 359cdf0e10cSrcweir vcl/source/gdi/impimagetree \ 360cdf0e10cSrcweir vcl/source/gdi/impvect \ 361cdf0e10cSrcweir vcl/source/gdi/jobset \ 362cdf0e10cSrcweir vcl/source/gdi/lineinfo \ 363cdf0e10cSrcweir vcl/source/gdi/mapmod \ 364cdf0e10cSrcweir vcl/source/gdi/metaact \ 365cdf0e10cSrcweir vcl/source/gdi/metric \ 366cdf0e10cSrcweir vcl/source/gdi/octree \ 367cdf0e10cSrcweir vcl/source/gdi/oldprintadaptor \ 368cdf0e10cSrcweir vcl/source/gdi/outdev2 \ 369cdf0e10cSrcweir vcl/source/gdi/outdev3 \ 370cdf0e10cSrcweir vcl/source/gdi/outdev4 \ 371cdf0e10cSrcweir vcl/source/gdi/outdev5 \ 372cdf0e10cSrcweir vcl/source/gdi/outdev6 \ 373cdf0e10cSrcweir vcl/source/gdi/outdev \ 374cdf0e10cSrcweir vcl/source/gdi/outdevnative \ 375cdf0e10cSrcweir vcl/source/gdi/outmap \ 376cdf0e10cSrcweir vcl/source/gdi/pdfextoutdevdata \ 377cdf0e10cSrcweir vcl/source/gdi/pdffontcache \ 378cdf0e10cSrcweir vcl/source/gdi/pdfwriter \ 379cdf0e10cSrcweir vcl/source/gdi/pdfwriter_impl2 \ 380cdf0e10cSrcweir vcl/source/gdi/pdfwriter_impl \ 381cdf0e10cSrcweir vcl/source/gdi/pngread \ 382cdf0e10cSrcweir vcl/source/gdi/pngwrite \ 383cdf0e10cSrcweir vcl/source/gdi/print2 \ 384cdf0e10cSrcweir vcl/source/gdi/print3 \ 385cdf0e10cSrcweir vcl/source/gdi/print \ 386cdf0e10cSrcweir vcl/source/gdi/regband \ 387cdf0e10cSrcweir vcl/source/gdi/region \ 388e6f63103SArmin Le Grand vcl/source/gdi/regionband \ 389cdf0e10cSrcweir vcl/source/gdi/salgdilayout \ 390cdf0e10cSrcweir vcl/source/gdi/sallayout \ 391cdf0e10cSrcweir vcl/source/gdi/salmisc \ 392cdf0e10cSrcweir vcl/source/gdi/salnativewidgets-none \ 393ddde725dSArmin Le Grand vcl/source/gdi/svgdata \ 394cdf0e10cSrcweir vcl/source/gdi/textlayout \ 395cdf0e10cSrcweir vcl/source/gdi/virdev \ 396cdf0e10cSrcweir vcl/source/gdi/wall \ 397cdf0e10cSrcweir vcl/source/helper/canvasbitmap \ 398cdf0e10cSrcweir vcl/source/helper/canvastools \ 399cdf0e10cSrcweir vcl/source/helper/evntpost \ 400cdf0e10cSrcweir vcl/source/helper/lazydelete \ 401cdf0e10cSrcweir vcl/source/helper/strhelper \ 402cdf0e10cSrcweir vcl/source/helper/threadex \ 403cdf0e10cSrcweir vcl/source/helper/xconnection \ 404cdf0e10cSrcweir vcl/source/salmain/salmain \ 405cdf0e10cSrcweir vcl/source/window/abstdlg \ 406cdf0e10cSrcweir vcl/source/window/accel \ 407cdf0e10cSrcweir vcl/source/window/accmgr \ 408cdf0e10cSrcweir vcl/source/window/arrange \ 409cdf0e10cSrcweir vcl/source/window/brdwin \ 410cdf0e10cSrcweir vcl/source/window/btndlg \ 411cdf0e10cSrcweir vcl/source/window/cmdevt \ 412cdf0e10cSrcweir vcl/source/window/cursor \ 413cdf0e10cSrcweir vcl/source/window/decoview \ 414cdf0e10cSrcweir vcl/source/window/dialog \ 415cdf0e10cSrcweir vcl/source/window/dlgctrl \ 416cdf0e10cSrcweir vcl/source/window/dndevdis \ 417cdf0e10cSrcweir vcl/source/window/dndlcon \ 418cdf0e10cSrcweir vcl/source/window/dockingarea \ 419cdf0e10cSrcweir vcl/source/window/dockmgr \ 420cdf0e10cSrcweir vcl/source/window/dockwin \ 421cdf0e10cSrcweir vcl/source/window/floatwin \ 422cdf0e10cSrcweir vcl/source/window/introwin \ 423cdf0e10cSrcweir vcl/source/window/javachild \ 424cdf0e10cSrcweir vcl/source/window/keycod \ 425cdf0e10cSrcweir vcl/source/window/keyevent \ 426cdf0e10cSrcweir vcl/source/window/menu \ 427cdf0e10cSrcweir vcl/source/window/mnemonic \ 428cdf0e10cSrcweir vcl/source/window/mnemonicengine \ 429cdf0e10cSrcweir vcl/source/window/mouseevent \ 430cdf0e10cSrcweir vcl/source/window/msgbox \ 431cdf0e10cSrcweir vcl/source/window/popupmenuwindow \ 432cdf0e10cSrcweir vcl/source/window/printdlg \ 433cdf0e10cSrcweir vcl/source/window/scrwnd \ 434cdf0e10cSrcweir vcl/source/window/seleng \ 435cdf0e10cSrcweir vcl/source/window/split \ 436cdf0e10cSrcweir vcl/source/window/splitwin \ 437cdf0e10cSrcweir vcl/source/window/status \ 438cdf0e10cSrcweir vcl/source/window/syschild \ 439cdf0e10cSrcweir vcl/source/window/syswin \ 440cdf0e10cSrcweir vcl/source/window/tabdlg \ 441cdf0e10cSrcweir vcl/source/window/tabpage \ 442cdf0e10cSrcweir vcl/source/window/taskpanelist \ 443cdf0e10cSrcweir vcl/source/window/toolbox2 \ 444cdf0e10cSrcweir vcl/source/window/toolbox \ 445cdf0e10cSrcweir vcl/source/window/window2 \ 446cdf0e10cSrcweir vcl/source/window/window3 \ 447cdf0e10cSrcweir vcl/source/window/window4 \ 448cdf0e10cSrcweir vcl/source/window/window \ 449cdf0e10cSrcweir vcl/source/window/winproc \ 450cdf0e10cSrcweir vcl/source/window/wpropset \ 451cdf0e10cSrcweir vcl/source/window/wrkwin \ 452cdf0e10cSrcweir)) 453cdf0e10cSrcweir 454cdf0e10cSrcweir## handle Graphite 4559ef65f0eSAndre Fischerifeq ($(ENABLE_GRAPHITE),TRUE) 4560b220f58SEike Rathke# add defines, graphite sources for all platforms 457cdf0e10cSrcweir$(eval $(call gb_Library_set_defs,vcl,\ 458cdf0e10cSrcweir $$(DEFS) \ 459cdf0e10cSrcweir -DENABLE_GRAPHITE \ 460cdf0e10cSrcweir)) 461cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\ 462cdf0e10cSrcweir vcl/source/glyphs/graphite_cache \ 463cdf0e10cSrcweir vcl/source/glyphs/graphite_features \ 464cdf0e10cSrcweir vcl/source/glyphs/graphite_layout \ 465cdf0e10cSrcweir vcl/source/glyphs/graphite_textsrc \ 466cdf0e10cSrcweir)) 467d7ad131fSEike Rathke 4680b220f58SEike Rathke# handle X11 platforms, which have additional files and possibly system graphite 469cdf0e10cSrcweirifeq ($(GUIBASE),unx) 470cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\ 471cdf0e10cSrcweir vcl/source/glyphs/graphite_adaptors \ 472cdf0e10cSrcweir vcl/source/glyphs/graphite_serverfont \ 473cdf0e10cSrcweir)) 474cdf0e10cSrcweirifeq ($(SYSTEM_GRAPHITE),YES) 475cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,vcl,\ 476cdf0e10cSrcweir $$(LDFLAGS) \ 4775326120aSEike Rathke $(GRAPHITE_LIBS) \ 478cdf0e10cSrcweir)) 479cdf0e10cSrcweirelse 480cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_static_libs,vcl,\ 481cdf0e10cSrcweir graphite \ 482cdf0e10cSrcweir)) 483cdf0e10cSrcweirendif 484cdf0e10cSrcweirendif 4850b220f58SEike Rathke# on windows link static graphite library 4860b220f58SEike Rathkeifeq ($(OS),WNT) 4870b220f58SEike Rathke$(eval $(call gb_Library_add_linked_static_libs,vcl,\ 4880b220f58SEike Rathke graphite \ 4890b220f58SEike Rathke)) 4900b220f58SEike Rathkeendif 491cdf0e10cSrcweirendif 492cdf0e10cSrcweir 493cdf0e10cSrcweirifeq ($(OS),LINUX) 494cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\ 495cdf0e10cSrcweir dl \ 496cdf0e10cSrcweir m \ 497cdf0e10cSrcweir pthread \ 498cdf0e10cSrcweir)) 499cdf0e10cSrcweirendif 500cdf0e10cSrcweir 501cdf0e10cSrcweirifeq ($(OS),SOLARIS) 502cdf0e10cSrcweirifeq ($(CPUNAME)$(CPU),SPARCU) 503cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,vcl,\ 504cdf0e10cSrcweir $$(LDFLAGS) \ 505cdf0e10cSrcweir -R/usr/sfw/lib/64 \ 506cdf0e10cSrcweir)) 507cdf0e10cSrcweirelse 508cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,vcl,\ 509cdf0e10cSrcweir $$(LDFLAGS) \ 510cdf0e10cSrcweir -R/usr/sfw/lib \ 511cdf0e10cSrcweir)) 512cdf0e10cSrcweirendif 513cdf0e10cSrcweirendif 514cdf0e10cSrcweir 515cdf0e10cSrcweirifeq ($(GUIBASE),aqua) 516cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\ 517cdf0e10cSrcweir AppleRemote \ 518cdf0e10cSrcweir)) 5192f465f9dSHerbert Dürr$(eval $(call gb_Library_set_ldflags,vcl,\ 5202f465f9dSHerbert Dürr $$(LDFLAGS) \ 521cdf0e10cSrcweir -framework Cocoa \ 522cdf0e10cSrcweir -framework Carbon \ 523cdf0e10cSrcweir -framework CoreFoundation \ 524cdf0e10cSrcweir)) 525cdf0e10cSrcweirendif 526cdf0e10cSrcweir 527cdf0e10cSrcweirifeq ($(OS),WNT) 5287d9c290fSMichael Stahlifeq ($(USE_MINGW),) 529cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,vcl,\ 530cdf0e10cSrcweir $$(LDFLAGS) \ 531cdf0e10cSrcweir /ENTRY:LibMain@12 \ 532cdf0e10cSrcweir)) 5337d9c290fSMichael Stahlendif 534cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\ 535cdf0e10cSrcweir advapi32 \ 536cdf0e10cSrcweir gdi32 \ 537cdf0e10cSrcweir gdiplus \ 538cdf0e10cSrcweir imm32 \ 539cdf0e10cSrcweir mpr \ 540cdf0e10cSrcweir msimg32 \ 541cdf0e10cSrcweir ole32 \ 542cdf0e10cSrcweir shell32 \ 543cdf0e10cSrcweir user32 \ 544cdf0e10cSrcweir uuid \ 545cdf0e10cSrcweir winspool \ 5467d9c290fSMichael Stahl $(gb_STDLIBS) \ 547cdf0e10cSrcweir)) 548cdf0e10cSrcweirendif 549cdf0e10cSrcweir# vim: set noet sw=4 ts=4: 550