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