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