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 38*b63233d8Sdamjan$(eval $(call gb_Library_add_api,vcl,\ 39*b63233d8Sdamjan udkapi \ 40*b63233d8Sdamjan offapi \ 41*b63233d8Sdamjan)) 42*b63233d8Sdamjan 43cdf0e10cSrcweir$(eval $(call gb_Library_set_include,vcl,\ 44cdf0e10cSrcweir $$(INCLUDE) \ 45cdf0e10cSrcweir -I$(SRCDIR)/vcl/inc \ 46cdf0e10cSrcweir -I$(SRCDIR)/vcl/inc/pch \ 47cdf0e10cSrcweir -I$(SRCDIR)/solenv/inc \ 48cdf0e10cSrcweir -I$(OUTDIR)/inc/stl \ 49cdf0e10cSrcweir -I$(OUTDIR)/inc \ 50cdf0e10cSrcweir)) 51af1486d9SYuri Darioifeq ($(GUIBASE),os2) 52af1486d9SYuri Dario$(eval $(call gb_Library_set_include,vcl,\ 53af1486d9SYuri Dario $$(INCLUDE) \ 54af1486d9SYuri Dario -idirafter /@unixroot/usr/dev/toolkit452/h \ 55af1486d9SYuri Dario)) 56af1486d9SYuri Darioendif 57cdf0e10cSrcweirifeq ($(GUIBASE),unx) 58*b63233d8Sdamjan$(eval $(call gb_Library_set_include,vcl,\ 59*b63233d8Sdamjan $$(INCLUDE) \ 60*b63233d8Sdamjan $$(FREETYPE_CFLAGS) \ 61cdf0e10cSrcweir)) 62cdf0e10cSrcweirendif 63cdf0e10cSrcweir 64*b63233d8Sdamjan$(eval $(call gb_Library_add_defs,vcl,\ 65cdf0e10cSrcweir -DVCL_DLLIMPLEMENTATION \ 66cdf0e10cSrcweir -DCUI_DLL_NAME=\"$(call gb_Library_get_runtime_filename,cui)\" \ 67cdf0e10cSrcweir -DDLLPOSTFIX=$(subst $(or $(gb_Library_DLLEXT),$(gb_Library_PLAINEXT)),,$(gb_Library_OOOEXT)) \ 68cdf0e10cSrcweir)) 69cdf0e10cSrcweir 70cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\ 71cdf0e10cSrcweir tl \ 72cdf0e10cSrcweir utl \ 73cdf0e10cSrcweir sot \ 74cdf0e10cSrcweir ucbhelper \ 75cdf0e10cSrcweir basegfx \ 76cdf0e10cSrcweir comphelper \ 77cdf0e10cSrcweir cppuhelper \ 78cdf0e10cSrcweir i18nisolang1 \ 79cdf0e10cSrcweir i18npaper \ 80cdf0e10cSrcweir i18nutil \ 81cdf0e10cSrcweir jvmaccess \ 82cdf0e10cSrcweir stl \ 83cdf0e10cSrcweir cppu \ 84cdf0e10cSrcweir sal \ 85cdf0e10cSrcweir vos3 \ 86cdf0e10cSrcweir $(gb_STDLIBS) \ 87cdf0e10cSrcweir)) 88cdf0e10cSrcweir 89*b63233d8Sdamjan$(call gb_Library_use_externals,vcl,\ 90*b63233d8Sdamjan icule \ 91*b63233d8Sdamjan icuuc \ 92*b63233d8Sdamjan) 93*b63233d8Sdamjan 94cdf0e10cSrcweirifeq ($(GUIBASE),unx) 95cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\ 96cdf0e10cSrcweir freetype \ 97cdf0e10cSrcweir)) 98cdf0e10cSrcweirendif 99cdf0e10cSrcweir 100fc9fd3f1SPedro Giffuniifeq ($(GUIBASE),os2) 101fc9fd3f1SPedro Giffuni# YD FIXME this is not working... needs ldflags hack... 102*b63233d8Sdamjan$(eval $(call gb_Library_add_libs,vcl,\ 103fc9fd3f1SPedro Giffuni -lft2lib \ 104fc9fd3f1SPedro Giffuni)) 105fc9fd3f1SPedro Giffuni 106fc9fd3f1SPedro Giffuniendif 107fc9fd3f1SPedro Giffuni 108cdf0e10cSrcweirifeq ($(GUIBASE),aqua) 109*b63233d8Sdamjan$(eval $(call gb_Library_add_cxxflags,vcl,\ 110*b63233d8Sdamjan $(gb_OBJCXXFLAGS) \ 111cdf0e10cSrcweir)) 112cdf0e10cSrcweirifeq ($(ENABLE_CAIRO),TRUE) 113*b63233d8Sdamjan$(eval $(call gb_Library_add_defs,vcl,\ 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) 187*b63233d8Sdamjan$(eval $(call gb_Library_add_defs,vcl,\ 188cdf0e10cSrcweir -DSAL_DLLPREFIX=\"$(gb_Library_SYSPRE)\" \ 1891385a70cSHerbert Dürr -DSAL_DLLPOSTFIX=\"\" \ 190cdf0e10cSrcweir -D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \ 191cdf0e10cSrcweir)) 192cdf0e10cSrcweir## handle fontconfig 19329adf7ffSKay Schenkifeq ($(ENABLE_FONTCONFIG),TRUE) 194*b63233d8Sdamjan$(eval $(call gb_Library_add_defs,vcl,\ 195cdf0e10cSrcweir -DENABLE_FONTCONFIG \ 196cdf0e10cSrcweir)) 197cdf0e10cSrcweir## handle CUPS 19829adf7ffSKay Schenkifeq ($(ENABLE_CUPS),TRUE) 199*b63233d8Sdamjan$(eval $(call gb_Library_add_defs,vcl,\ 200cdf0e10cSrcweir -DENABLE_CUPS \ 201cdf0e10cSrcweir)) 202cdf0e10cSrcweirendif 203cdf0e10cSrcweirendif 204cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\ 205cdf0e10cSrcweir vcl/source/glyphs/gcach_ftyp \ 206cdf0e10cSrcweir vcl/source/glyphs/gcach_layout \ 207cdf0e10cSrcweir vcl/source/glyphs/gcach_rbmp \ 208cdf0e10cSrcweir vcl/source/glyphs/glyphcache \ 209cdf0e10cSrcweir vcl/unx/generic/fontmanager/fontcache \ 210cdf0e10cSrcweir vcl/unx/generic/fontmanager/fontconfig \ 211cdf0e10cSrcweir vcl/unx/generic/fontmanager/fontmanager \ 212cdf0e10cSrcweir vcl/unx/generic/fontmanager/helper \ 213cdf0e10cSrcweir vcl/unx/generic/fontmanager/parseAFM \ 214cdf0e10cSrcweir vcl/unx/generic/plugadapt/salplug \ 215cdf0e10cSrcweir vcl/unx/generic/printer/cupsmgr \ 216cdf0e10cSrcweir vcl/unx/generic/printer/jobdata \ 217cdf0e10cSrcweir vcl/unx/generic/printer/ppdparser \ 218cdf0e10cSrcweir vcl/unx/generic/printer/printerinfomanager \ 219cdf0e10cSrcweir)) 220cdf0e10cSrcweirendif 221cdf0e10cSrcweir 222cdf0e10cSrcweirifeq ($(OS),WNT) 223cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\ 224cdf0e10cSrcweir vcl/win/source/app/saldata \ 225cdf0e10cSrcweir vcl/win/source/app/salinfo \ 226cdf0e10cSrcweir vcl/win/source/app/salinst \ 227cdf0e10cSrcweir vcl/win/source/app/salshl \ 228cdf0e10cSrcweir vcl/win/source/app/saltimer \ 229cdf0e10cSrcweir vcl/win/source/gdi/salbmp \ 230cdf0e10cSrcweir vcl/win/source/gdi/salgdi \ 231cdf0e10cSrcweir vcl/win/source/gdi/salgdi2 \ 232cdf0e10cSrcweir vcl/win/source/gdi/salgdi3 \ 233cdf0e10cSrcweir vcl/win/source/gdi/salgdi_gdiplus \ 234cdf0e10cSrcweir vcl/win/source/gdi/salnativewidgets-luna \ 235cdf0e10cSrcweir vcl/win/source/gdi/salprn \ 236cdf0e10cSrcweir vcl/win/source/gdi/salvd \ 237cdf0e10cSrcweir vcl/win/source/gdi/winlayout \ 238cdf0e10cSrcweir vcl/win/source/gdi/wntgdi \ 239cdf0e10cSrcweir vcl/win/source/window/salframe \ 240cdf0e10cSrcweir vcl/win/source/window/salmenu \ 241cdf0e10cSrcweir vcl/win/source/window/salobj \ 242cdf0e10cSrcweir)) 243cdf0e10cSrcweir 244cdf0e10cSrcweir$(eval $(call gb_Library_add_nativeres,vcl,src)) 245cdf0e10cSrcweir 246cdf0e10cSrcweirendif 247cdf0e10cSrcweir 248fc9fd3f1SPedro Giffuniifeq ($(OS),OS2) 249fc9fd3f1SPedro Giffuni$(eval $(call gb_Library_add_exception_objects,vcl,\ 250fc9fd3f1SPedro Giffuni vcl/os2/source/app/salinfo \ 251fc9fd3f1SPedro Giffuni vcl/os2/source/app/salinst \ 252fc9fd3f1SPedro Giffuni vcl/os2/source/app/sallang \ 253fc9fd3f1SPedro Giffuni vcl/os2/source/app/salshl \ 254fc9fd3f1SPedro Giffuni vcl/os2/source/app/saltimer \ 255fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/salbmp \ 256fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/salgdi \ 257fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/salgdi2 \ 258fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/salgdi3 \ 259fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/salprn \ 260fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/salvd \ 261fc9fd3f1SPedro Giffuni vcl/os2/source/gdi/os2layout \ 262fc9fd3f1SPedro Giffuni vcl/os2/source/window/salframe \ 263fc9fd3f1SPedro Giffuni vcl/os2/source/window/salmenu \ 264fc9fd3f1SPedro Giffuni vcl/os2/source/window/salobj \ 265fc9fd3f1SPedro Giffuni)) 266fc9fd3f1SPedro Giffuni 267fc9fd3f1SPedro Giffuni$(eval $(call gb_Library_add_nativeres,vcl,src)) 268fc9fd3f1SPedro Giffuni 269fc9fd3f1SPedro Giffuniendif 270fc9fd3f1SPedro Giffuni 271cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\ 272cdf0e10cSrcweir vcl/source/app/dbggui \ 273cdf0e10cSrcweir vcl/source/app/dndhelp \ 274cdf0e10cSrcweir vcl/source/app/help \ 275cdf0e10cSrcweir vcl/source/app/i18nhelp \ 276cdf0e10cSrcweir vcl/source/app/idlemgr \ 277cdf0e10cSrcweir vcl/source/app/salvtables \ 278cdf0e10cSrcweir vcl/source/app/session \ 279cdf0e10cSrcweir vcl/source/app/settings \ 280cdf0e10cSrcweir vcl/source/app/sound \ 281cdf0e10cSrcweir vcl/source/app/stdtext \ 282cdf0e10cSrcweir vcl/source/app/svapp \ 283cdf0e10cSrcweir vcl/source/app/svdata \ 284cdf0e10cSrcweir vcl/source/app/svmain \ 285cdf0e10cSrcweir vcl/source/app/svmainhook \ 286cdf0e10cSrcweir vcl/source/app/timer \ 287cdf0e10cSrcweir vcl/source/app/unohelp2 \ 288cdf0e10cSrcweir vcl/source/app/unohelp \ 289cdf0e10cSrcweir vcl/source/app/vclevent \ 290cdf0e10cSrcweir vcl/source/components/display \ 291cdf0e10cSrcweir vcl/source/components/dtranscomp \ 292cdf0e10cSrcweir vcl/source/components/factory \ 293cdf0e10cSrcweir vcl/source/components/fontident \ 294cdf0e10cSrcweir vcl/source/components/stringmirror \ 295cdf0e10cSrcweir vcl/source/control/button \ 296cdf0e10cSrcweir vcl/source/control/combobox \ 297cdf0e10cSrcweir vcl/source/control/ctrl \ 298cdf0e10cSrcweir vcl/source/control/edit \ 299cdf0e10cSrcweir vcl/source/control/field2 \ 300cdf0e10cSrcweir vcl/source/control/field \ 301cdf0e10cSrcweir vcl/source/control/fixbrd \ 302cdf0e10cSrcweir vcl/source/control/fixed \ 303cdf0e10cSrcweir vcl/source/control/group \ 304cdf0e10cSrcweir vcl/source/control/ilstbox \ 305cdf0e10cSrcweir vcl/source/control/imgctrl \ 306cdf0e10cSrcweir vcl/source/control/longcurr \ 307cdf0e10cSrcweir vcl/source/control/lstbox \ 308cdf0e10cSrcweir vcl/source/control/menubtn \ 309cdf0e10cSrcweir vcl/source/control/morebtn \ 310cdf0e10cSrcweir vcl/source/control/quickselectionengine \ 311cdf0e10cSrcweir vcl/source/control/scrbar \ 312cdf0e10cSrcweir vcl/source/control/slider \ 313cdf0e10cSrcweir vcl/source/control/spinbtn \ 314cdf0e10cSrcweir vcl/source/control/spinfld \ 315cdf0e10cSrcweir vcl/source/control/tabctrl \ 316cdf0e10cSrcweir vcl/source/control/throbber \ 317cdf0e10cSrcweir vcl/source/fontsubset/cff \ 318cdf0e10cSrcweir vcl/source/fontsubset/fontsubset \ 319cdf0e10cSrcweir vcl/source/fontsubset/gsub \ 320c754d7fcSMichael Stahl vcl/source/fontsubset/list \ 321cdf0e10cSrcweir vcl/source/fontsubset/sft \ 322cdf0e10cSrcweir vcl/source/fontsubset/ttcr \ 323cdf0e10cSrcweir vcl/source/fontsubset/xlat \ 324cdf0e10cSrcweir vcl/source/gdi/alpha \ 325cdf0e10cSrcweir vcl/source/gdi/animate \ 326cdf0e10cSrcweir vcl/source/gdi/base14 \ 327cdf0e10cSrcweir vcl/source/gdi/bitmap3 \ 328cdf0e10cSrcweir vcl/source/gdi/bitmap4 \ 329cdf0e10cSrcweir vcl/source/gdi/bitmap \ 330cdf0e10cSrcweir vcl/source/gdi/bitmapex \ 331cdf0e10cSrcweir vcl/source/gdi/bmpacc2 \ 332cdf0e10cSrcweir vcl/source/gdi/bmpacc3 \ 333cdf0e10cSrcweir vcl/source/gdi/bmpacc \ 334cdf0e10cSrcweir vcl/source/gdi/bmpconv \ 335cdf0e10cSrcweir vcl/source/gdi/bmpfast \ 336cdf0e10cSrcweir vcl/source/gdi/configsettings \ 337cdf0e10cSrcweir vcl/source/gdi/cvtgrf \ 338cdf0e10cSrcweir vcl/source/gdi/cvtsvm \ 33945fd3b9aSArmin Le Grand vcl/source/gdi/dibtools \ 340cdf0e10cSrcweir vcl/source/gdi/extoutdevdata \ 341cdf0e10cSrcweir vcl/source/gdi/font \ 342cdf0e10cSrcweir vcl/source/gdi/gdimtf \ 3434665f8d3SArmin Le Grand vcl/source/gdi/gdimetafiletools \ 344cdf0e10cSrcweir vcl/source/gdi/gfxlink \ 345cdf0e10cSrcweir vcl/source/gdi/gradient \ 346cdf0e10cSrcweir vcl/source/gdi/graph \ 347cdf0e10cSrcweir vcl/source/gdi/graphictools \ 348cdf0e10cSrcweir vcl/source/gdi/hatch \ 349cdf0e10cSrcweir vcl/source/gdi/image \ 350cdf0e10cSrcweir vcl/source/gdi/imagerepository \ 351cdf0e10cSrcweir vcl/source/gdi/impanmvw \ 352cdf0e10cSrcweir vcl/source/gdi/impbmp \ 35343ad51ffSHerbert Dürr vcl/source/gdi/impfont \ 354cdf0e10cSrcweir vcl/source/gdi/impgraph \ 355cdf0e10cSrcweir vcl/source/gdi/impimage \ 356cdf0e10cSrcweir vcl/source/gdi/impimagetree \ 357cdf0e10cSrcweir vcl/source/gdi/impvect \ 358cdf0e10cSrcweir vcl/source/gdi/jobset \ 359cdf0e10cSrcweir vcl/source/gdi/lineinfo \ 360cdf0e10cSrcweir vcl/source/gdi/mapmod \ 361cdf0e10cSrcweir vcl/source/gdi/metaact \ 362cdf0e10cSrcweir vcl/source/gdi/metric \ 363cdf0e10cSrcweir vcl/source/gdi/octree \ 364cdf0e10cSrcweir vcl/source/gdi/oldprintadaptor \ 365cdf0e10cSrcweir vcl/source/gdi/outdev2 \ 366cdf0e10cSrcweir vcl/source/gdi/outdev3 \ 367cdf0e10cSrcweir vcl/source/gdi/outdev4 \ 368cdf0e10cSrcweir vcl/source/gdi/outdev5 \ 369cdf0e10cSrcweir vcl/source/gdi/outdev6 \ 370cdf0e10cSrcweir vcl/source/gdi/outdev \ 371cdf0e10cSrcweir vcl/source/gdi/outdevnative \ 372cdf0e10cSrcweir vcl/source/gdi/outmap \ 373cdf0e10cSrcweir vcl/source/gdi/pdfextoutdevdata \ 374cdf0e10cSrcweir vcl/source/gdi/pdffontcache \ 375cdf0e10cSrcweir vcl/source/gdi/pdfwriter \ 376cdf0e10cSrcweir vcl/source/gdi/pdfwriter_impl2 \ 377cdf0e10cSrcweir vcl/source/gdi/pdfwriter_impl \ 378cdf0e10cSrcweir vcl/source/gdi/pngread \ 379cdf0e10cSrcweir vcl/source/gdi/pngwrite \ 380cdf0e10cSrcweir vcl/source/gdi/print2 \ 381cdf0e10cSrcweir vcl/source/gdi/print3 \ 382cdf0e10cSrcweir vcl/source/gdi/print \ 383cdf0e10cSrcweir vcl/source/gdi/regband \ 384cdf0e10cSrcweir vcl/source/gdi/region \ 385e6f63103SArmin Le Grand vcl/source/gdi/regionband \ 386cdf0e10cSrcweir vcl/source/gdi/salgdilayout \ 387cdf0e10cSrcweir vcl/source/gdi/sallayout \ 388cdf0e10cSrcweir vcl/source/gdi/salmisc \ 389cdf0e10cSrcweir vcl/source/gdi/salnativewidgets-none \ 390ddde725dSArmin Le Grand vcl/source/gdi/svgdata \ 391cdf0e10cSrcweir vcl/source/gdi/textlayout \ 392cdf0e10cSrcweir vcl/source/gdi/virdev \ 393cdf0e10cSrcweir vcl/source/gdi/wall \ 394cdf0e10cSrcweir vcl/source/helper/canvasbitmap \ 395cdf0e10cSrcweir vcl/source/helper/canvastools \ 396cdf0e10cSrcweir vcl/source/helper/evntpost \ 397cdf0e10cSrcweir vcl/source/helper/lazydelete \ 398cdf0e10cSrcweir vcl/source/helper/strhelper \ 399cdf0e10cSrcweir vcl/source/helper/threadex \ 400cdf0e10cSrcweir vcl/source/helper/xconnection \ 401cdf0e10cSrcweir vcl/source/salmain/salmain \ 402cdf0e10cSrcweir vcl/source/window/abstdlg \ 403cdf0e10cSrcweir vcl/source/window/accel \ 404cdf0e10cSrcweir vcl/source/window/accmgr \ 405cdf0e10cSrcweir vcl/source/window/arrange \ 406cdf0e10cSrcweir vcl/source/window/brdwin \ 407cdf0e10cSrcweir vcl/source/window/btndlg \ 408cdf0e10cSrcweir vcl/source/window/cmdevt \ 409cdf0e10cSrcweir vcl/source/window/cursor \ 410cdf0e10cSrcweir vcl/source/window/decoview \ 411cdf0e10cSrcweir vcl/source/window/dialog \ 412cdf0e10cSrcweir vcl/source/window/dlgctrl \ 413cdf0e10cSrcweir vcl/source/window/dndevdis \ 414cdf0e10cSrcweir vcl/source/window/dndlcon \ 415cdf0e10cSrcweir vcl/source/window/dockingarea \ 416cdf0e10cSrcweir vcl/source/window/dockmgr \ 417cdf0e10cSrcweir vcl/source/window/dockwin \ 418cdf0e10cSrcweir vcl/source/window/floatwin \ 419cdf0e10cSrcweir vcl/source/window/introwin \ 420cdf0e10cSrcweir vcl/source/window/javachild \ 421cdf0e10cSrcweir vcl/source/window/keycod \ 422cdf0e10cSrcweir vcl/source/window/keyevent \ 423cdf0e10cSrcweir vcl/source/window/menu \ 424cdf0e10cSrcweir vcl/source/window/mnemonic \ 425cdf0e10cSrcweir vcl/source/window/mnemonicengine \ 426cdf0e10cSrcweir vcl/source/window/mouseevent \ 427cdf0e10cSrcweir vcl/source/window/msgbox \ 428cdf0e10cSrcweir vcl/source/window/popupmenuwindow \ 429cdf0e10cSrcweir vcl/source/window/printdlg \ 430cdf0e10cSrcweir vcl/source/window/scrwnd \ 431cdf0e10cSrcweir vcl/source/window/seleng \ 432cdf0e10cSrcweir vcl/source/window/split \ 433cdf0e10cSrcweir vcl/source/window/splitwin \ 434cdf0e10cSrcweir vcl/source/window/status \ 435cdf0e10cSrcweir vcl/source/window/syschild \ 436cdf0e10cSrcweir vcl/source/window/syswin \ 437cdf0e10cSrcweir vcl/source/window/tabdlg \ 438cdf0e10cSrcweir vcl/source/window/tabpage \ 439cdf0e10cSrcweir vcl/source/window/taskpanelist \ 440cdf0e10cSrcweir vcl/source/window/toolbox2 \ 441cdf0e10cSrcweir vcl/source/window/toolbox \ 442cdf0e10cSrcweir vcl/source/window/window2 \ 443cdf0e10cSrcweir vcl/source/window/window3 \ 444cdf0e10cSrcweir vcl/source/window/window4 \ 445cdf0e10cSrcweir vcl/source/window/window \ 446cdf0e10cSrcweir vcl/source/window/winproc \ 447cdf0e10cSrcweir vcl/source/window/wpropset \ 448cdf0e10cSrcweir vcl/source/window/wrkwin \ 449cdf0e10cSrcweir)) 450cdf0e10cSrcweir 451cdf0e10cSrcweir## handle Graphite 4529ef65f0eSAndre Fischerifeq ($(ENABLE_GRAPHITE),TRUE) 4530b220f58SEike Rathke# add defines, graphite sources for all platforms 454*b63233d8Sdamjan$(eval $(call gb_Library_add_defs,vcl,\ 455cdf0e10cSrcweir -DENABLE_GRAPHITE \ 456cdf0e10cSrcweir)) 457cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\ 458cdf0e10cSrcweir vcl/source/glyphs/graphite_cache \ 459cdf0e10cSrcweir vcl/source/glyphs/graphite_features \ 460cdf0e10cSrcweir vcl/source/glyphs/graphite_layout \ 461cdf0e10cSrcweir vcl/source/glyphs/graphite_textsrc \ 462cdf0e10cSrcweir)) 463d7ad131fSEike Rathke 4640b220f58SEike Rathke# handle X11 platforms, which have additional files and possibly system graphite 465cdf0e10cSrcweirifeq ($(GUIBASE),unx) 466cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,vcl,\ 467cdf0e10cSrcweir vcl/source/glyphs/graphite_adaptors \ 468cdf0e10cSrcweir vcl/source/glyphs/graphite_serverfont \ 469cdf0e10cSrcweir)) 470cdf0e10cSrcweirendif 471*b63233d8Sdamjan 472*b63233d8Sdamjan$(call gb_Library_use_external,vcl,graphite) 473cdf0e10cSrcweirendif 474cdf0e10cSrcweir 475cdf0e10cSrcweirifeq ($(OS),LINUX) 476cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\ 477cdf0e10cSrcweir dl \ 478cdf0e10cSrcweir m \ 479cdf0e10cSrcweir pthread \ 480cdf0e10cSrcweir)) 481cdf0e10cSrcweirendif 482cdf0e10cSrcweir 483cdf0e10cSrcweirifeq ($(OS),SOLARIS) 484cdf0e10cSrcweirifeq ($(CPUNAME)$(CPU),SPARCU) 485*b63233d8Sdamjan$(eval $(call gb_Library_add_ldflags,vcl,\ 486cdf0e10cSrcweir -R/usr/sfw/lib/64 \ 487cdf0e10cSrcweir)) 488cdf0e10cSrcweirelse 489*b63233d8Sdamjan$(eval $(call gb_Library_add_ldflags,vcl,\ 490cdf0e10cSrcweir -R/usr/sfw/lib \ 491cdf0e10cSrcweir)) 492cdf0e10cSrcweirendif 493cdf0e10cSrcweirendif 494cdf0e10cSrcweir 495cdf0e10cSrcweirifeq ($(GUIBASE),aqua) 496cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\ 497cdf0e10cSrcweir AppleRemote \ 498cdf0e10cSrcweir)) 499*b63233d8Sdamjan$(eval $(call gb_Library_add_libs,vcl,\ 500cdf0e10cSrcweir -framework Cocoa \ 501cdf0e10cSrcweir -framework Carbon \ 502cdf0e10cSrcweir -framework CoreFoundation \ 503cdf0e10cSrcweir)) 50429adf7ffSKay Schenk# ??? what about this 5055a7504daSHerbert Dürrifneq ($(MACOSX_DEPLOYMENT_TARGET),10.7) 5062f465f9dSHerbert Dürr$(eval $(call gb_Library_set_ldflags,vcl, $$(LDFLAGS) -framework QuickTime )) 5075a7504daSHerbert Dürrendif 508cdf0e10cSrcweirendif 509cdf0e10cSrcweir 510cdf0e10cSrcweirifeq ($(OS),WNT) 5117d9c290fSMichael Stahlifeq ($(USE_MINGW),) 512*b63233d8Sdamjan$(eval $(call gb_Library_add_ldflags,vcl,\ 513cdf0e10cSrcweir /ENTRY:LibMain@12 \ 514cdf0e10cSrcweir)) 5157d9c290fSMichael Stahlendif 516cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,vcl,\ 517cdf0e10cSrcweir advapi32 \ 518cdf0e10cSrcweir gdi32 \ 519cdf0e10cSrcweir gdiplus \ 520cdf0e10cSrcweir imm32 \ 521cdf0e10cSrcweir mpr \ 522cdf0e10cSrcweir msimg32 \ 523cdf0e10cSrcweir ole32 \ 524cdf0e10cSrcweir shell32 \ 525cdf0e10cSrcweir user32 \ 526cdf0e10cSrcweir uuid \ 527cdf0e10cSrcweir winspool \ 5287d9c290fSMichael Stahl $(gb_STDLIBS) \ 529cdf0e10cSrcweir)) 530cdf0e10cSrcweirendif 531cdf0e10cSrcweir# vim: set noet sw=4 ts=4: 532