17871dc3eSAndrew Rist#************************************************************** 27871dc3eSAndrew Rist# 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 107871dc3eSAndrew Rist# 117871dc3eSAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 127871dc3eSAndrew Rist# 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. 197871dc3eSAndrew Rist# 207871dc3eSAndrew Rist#************************************************************** 217871dc3eSAndrew Rist 227871dc3eSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir$(eval $(call gb_Library_Library,svt)) 25cdf0e10cSrcweir 26cdf0e10cSrcweir$(eval $(call gb_Library_add_package_headers,svt,svtools_inc)) 27cdf0e10cSrcweir 28cdf0e10cSrcweir$(eval $(call gb_Library_add_precompiled_header,svt,$(SRCDIR)/svtools/inc/pch/precompiled_svtools)) 29cdf0e10cSrcweir 30cdf0e10cSrcweir$(eval $(call gb_Library_set_componentfile,svt,svtools/util/svt)) 31cdf0e10cSrcweir 32cdf0e10cSrcweir$(eval $(call gb_Library_set_include,svt,\ 33cdf0e10cSrcweir -I$(OUTDIR)/inc/external/jpeg \ 34cdf0e10cSrcweir $$(INCLUDE) \ 35cdf0e10cSrcweir -I$(WORKDIR)/inc/svtools \ 36cdf0e10cSrcweir -I$(WORKDIR)/inc/ \ 37cdf0e10cSrcweir -I$(OUTDIR)/inc/ \ 38cdf0e10cSrcweir -I$(SRCDIR)/svtools/inc \ 39cdf0e10cSrcweir -I$(SRCDIR)/svtools/inc/svtools \ 40cdf0e10cSrcweir -I$(SRCDIR)/svtools/source/inc \ 41cdf0e10cSrcweir -I$(SRCDIR)/svtools/inc/pch \ 42cdf0e10cSrcweir -I$(OUTDIR)/inc/offuh \ 43cdf0e10cSrcweir)) 44cdf0e10cSrcweir 45cdf0e10cSrcweir$(eval $(call gb_Library_set_defs,svt,\ 46cdf0e10cSrcweir $$(DEFS) \ 47cdf0e10cSrcweir -DSVT_DLLIMPLEMENTATION \ 48cdf0e10cSrcweir)) 49cdf0e10cSrcweir 50cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,svt,\ 51cdf0e10cSrcweir basegfx \ 52cdf0e10cSrcweir comphelper \ 53cdf0e10cSrcweir cppu \ 54cdf0e10cSrcweir cppuhelper \ 55cdf0e10cSrcweir i18nisolang1 \ 56cdf0e10cSrcweir i18nutil \ 57cdf0e10cSrcweir icuuc \ 58cdf0e10cSrcweir jvmfwk \ 59cdf0e10cSrcweir sal \ 60cdf0e10cSrcweir sot \ 61cdf0e10cSrcweir stl \ 62cdf0e10cSrcweir svl \ 63*2e2269f7SJürgen Schmidt ootk \ 64cdf0e10cSrcweir tl \ 65cdf0e10cSrcweir ucbhelper \ 66cdf0e10cSrcweir utl \ 67cdf0e10cSrcweir vcl \ 68cdf0e10cSrcweir vos3 \ 69cdf0e10cSrcweir $(gb_STDLIBS) \ 70cdf0e10cSrcweir)) 71cdf0e10cSrcweir 72cdf0e10cSrcweirifeq ($(SYSTEM_JPEG),YES) 73cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,svt,\ 74cdf0e10cSrcweir jpeg \ 75cdf0e10cSrcweir)) 76cdf0e10cSrcweir$(eval $(call gb_Library_set_ldflags,svt,\ 77cdf0e10cSrcweir $$(filter-out -L/usr/lib/jvm%,$$(LDFLAGS)) \ 78cdf0e10cSrcweir)) 797e0206ddSYuri Darioifeq ($(GUIBASE),os2) 807e0206ddSYuri Dario# YD FIXME above is not working... needs ldflags hack... 817e0206ddSYuri Dario$(eval $(call gb_Library_set_ldflags,svt,\ 827e0206ddSYuri Dario $$(LDFLAGS) \ 837e0206ddSYuri Dario -ljpeg \ 847e0206ddSYuri Dario)) 857e0206ddSYuri Darioendif 867e0206ddSYuri Dario 87cdf0e10cSrcweirelse 88cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_static_libs,svt,\ 89cdf0e10cSrcweir jpeglib \ 90cdf0e10cSrcweir)) 91cdf0e10cSrcweirendif 92cdf0e10cSrcweir 93cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,svt,\ 94cdf0e10cSrcweir svtools/source/brwbox/brwbox1 \ 95cdf0e10cSrcweir svtools/source/brwbox/brwbox2 \ 96cdf0e10cSrcweir svtools/source/brwbox/brwbox3 \ 97cdf0e10cSrcweir svtools/source/brwbox/brwhead \ 98cdf0e10cSrcweir svtools/source/brwbox/datwin \ 99cdf0e10cSrcweir svtools/source/brwbox/ebbcontrols \ 100cdf0e10cSrcweir svtools/source/brwbox/editbrowsebox \ 101cdf0e10cSrcweir svtools/source/brwbox/editbrowsebox2 \ 102cdf0e10cSrcweir svtools/source/config/accessibilityoptions \ 103cdf0e10cSrcweir svtools/source/config/apearcfg \ 104cdf0e10cSrcweir svtools/source/config/colorcfg \ 105cdf0e10cSrcweir svtools/source/config/extcolorcfg \ 106cdf0e10cSrcweir svtools/source/config/fontsubstconfig \ 107cdf0e10cSrcweir svtools/source/config/helpopt \ 108cdf0e10cSrcweir svtools/source/config/htmlcfg \ 109cdf0e10cSrcweir svtools/source/config/itemholder2 \ 110cdf0e10cSrcweir svtools/source/config/menuoptions \ 111cdf0e10cSrcweir svtools/source/config/miscopt \ 112cdf0e10cSrcweir svtools/source/config/optionsdrawinglayer \ 113cdf0e10cSrcweir svtools/source/config/printoptions \ 114cdf0e10cSrcweir svtools/source/contnr/contentenumeration \ 115cdf0e10cSrcweir svtools/source/contnr/fileview \ 116cdf0e10cSrcweir svtools/source/contnr/imivctl1 \ 117cdf0e10cSrcweir svtools/source/contnr/imivctl2 \ 118cdf0e10cSrcweir svtools/source/contnr/ivctrl \ 119cdf0e10cSrcweir svtools/source/contnr/svicnvw \ 120cdf0e10cSrcweir svtools/source/contnr/svimpbox \ 121cdf0e10cSrcweir svtools/source/contnr/svimpicn \ 122cdf0e10cSrcweir svtools/source/contnr/svlbitm \ 123cdf0e10cSrcweir svtools/source/contnr/svlbox \ 124cdf0e10cSrcweir svtools/source/contnr/svtabbx \ 125cdf0e10cSrcweir svtools/source/contnr/svtreebx \ 126cdf0e10cSrcweir svtools/source/contnr/templwin \ 127cdf0e10cSrcweir svtools/source/contnr/tooltiplbox \ 128cdf0e10cSrcweir svtools/source/contnr/treelist \ 129cdf0e10cSrcweir svtools/source/control/asynclink \ 130cdf0e10cSrcweir svtools/source/control/calendar \ 131cdf0e10cSrcweir svtools/source/control/collatorres \ 132cdf0e10cSrcweir svtools/source/control/ctrlbox \ 133cdf0e10cSrcweir svtools/source/control/ctrltool \ 134cdf0e10cSrcweir svtools/source/control/filectrl \ 135cdf0e10cSrcweir svtools/source/control/filectrl2 \ 136cdf0e10cSrcweir svtools/source/control/fileurlbox \ 137cdf0e10cSrcweir svtools/source/control/fixedhyper \ 138cdf0e10cSrcweir svtools/source/control/fmtfield \ 139cdf0e10cSrcweir svtools/source/control/headbar \ 140cdf0e10cSrcweir svtools/source/control/hyperlabel \ 141cdf0e10cSrcweir svtools/source/control/indexentryres \ 142cdf0e10cSrcweir svtools/source/control/inettbc \ 143cdf0e10cSrcweir svtools/source/control/prgsbar \ 144cdf0e10cSrcweir svtools/source/control/roadmap \ 145cdf0e10cSrcweir svtools/source/control/ruler \ 146cdf0e10cSrcweir svtools/source/control/scriptedtext \ 147cdf0e10cSrcweir svtools/source/control/scrwin \ 148cdf0e10cSrcweir svtools/source/control/stdctrl \ 149cdf0e10cSrcweir svtools/source/control/stdmenu \ 150cdf0e10cSrcweir svtools/source/control/tabbar \ 151cdf0e10cSrcweir svtools/source/control/taskbar \ 152cdf0e10cSrcweir svtools/source/control/taskbox \ 153cdf0e10cSrcweir svtools/source/control/taskmisc \ 154cdf0e10cSrcweir svtools/source/control/taskstat \ 155cdf0e10cSrcweir svtools/source/control/toolbarmenu \ 156cdf0e10cSrcweir svtools/source/control/toolbarmenuacc \ 157cdf0e10cSrcweir svtools/source/control/urlcontrol \ 158cdf0e10cSrcweir svtools/source/control/valueacc \ 159cdf0e10cSrcweir svtools/source/control/valueset \ 160cdf0e10cSrcweir svtools/source/dialogs/addresstemplate \ 161cdf0e10cSrcweir svtools/source/dialogs/colrdlg \ 162cdf0e10cSrcweir svtools/source/dialogs/filedlg \ 163cdf0e10cSrcweir svtools/source/dialogs/filedlg2 \ 164cdf0e10cSrcweir svtools/source/dialogs/insdlg \ 165cdf0e10cSrcweir svtools/source/dialogs/mcvmath \ 166cdf0e10cSrcweir svtools/source/dialogs/prnsetup \ 167cdf0e10cSrcweir svtools/source/dialogs/property \ 168cdf0e10cSrcweir svtools/source/dialogs/roadmapwizard \ 169cdf0e10cSrcweir svtools/source/dialogs/wizardmachine \ 170cdf0e10cSrcweir svtools/source/dialogs/wizdlg \ 171cdf0e10cSrcweir svtools/source/edit/editsyntaxhighlighter \ 172cdf0e10cSrcweir svtools/source/edit/svmedit \ 173cdf0e10cSrcweir svtools/source/edit/svmedit2 \ 174cdf0e10cSrcweir svtools/source/edit/sychconv \ 175cdf0e10cSrcweir svtools/source/edit/syntaxhighlight \ 176cdf0e10cSrcweir svtools/source/edit/textdata \ 177cdf0e10cSrcweir svtools/source/edit/textdoc \ 178cdf0e10cSrcweir svtools/source/edit/texteng \ 179cdf0e10cSrcweir svtools/source/edit/textundo \ 180cdf0e10cSrcweir svtools/source/edit/textview \ 181cdf0e10cSrcweir svtools/source/edit/textwindowpeer \ 182cdf0e10cSrcweir svtools/source/edit/txtattr \ 183cdf0e10cSrcweir svtools/source/edit/xtextedt \ 184cdf0e10cSrcweir svtools/source/filter/FilterConfigCache \ 185cdf0e10cSrcweir svtools/source/filter/FilterConfigItem \ 186cdf0e10cSrcweir svtools/source/filter/SvFilterOptionsDialog \ 187cdf0e10cSrcweir svtools/source/filter/exportdialog \ 188cdf0e10cSrcweir svtools/source/filter/filter \ 189cdf0e10cSrcweir svtools/source/filter/filter2 \ 190cdf0e10cSrcweir svtools/source/filter/sgfbram \ 191cdf0e10cSrcweir svtools/source/filter/sgvmain \ 192cdf0e10cSrcweir svtools/source/filter/sgvspln \ 193cdf0e10cSrcweir svtools/source/filter/sgvtext \ 194cdf0e10cSrcweir svtools/source/filter/igif/decode \ 195cdf0e10cSrcweir svtools/source/filter/igif/gifread \ 196cdf0e10cSrcweir svtools/source/filter/ixbm/xbmread \ 197cdf0e10cSrcweir svtools/source/filter/ixpm/xpmread \ 198cdf0e10cSrcweir svtools/source/filter/jpeg/jpeg \ 199cdf0e10cSrcweir svtools/source/filter/wmf/emfwr \ 200cdf0e10cSrcweir svtools/source/filter/wmf/enhwmf \ 201cdf0e10cSrcweir svtools/source/filter/wmf/winmtf \ 202cdf0e10cSrcweir svtools/source/filter/wmf/winwmf \ 203cdf0e10cSrcweir svtools/source/filter/wmf/wmf \ 204cdf0e10cSrcweir svtools/source/filter/wmf/wmfwr \ 205cdf0e10cSrcweir svtools/source/graphic/descriptor \ 206cdf0e10cSrcweir svtools/source/graphic/graphic \ 207cdf0e10cSrcweir svtools/source/graphic/graphicunofactory \ 208cdf0e10cSrcweir svtools/source/graphic/grfattr \ 209cdf0e10cSrcweir svtools/source/graphic/grfcache \ 210cdf0e10cSrcweir svtools/source/graphic/grfmgr \ 211cdf0e10cSrcweir svtools/source/graphic/grfmgr2 \ 212cdf0e10cSrcweir svtools/source/graphic/provider \ 213cdf0e10cSrcweir svtools/source/graphic/renderer \ 214cdf0e10cSrcweir svtools/source/graphic/transformer \ 215cdf0e10cSrcweir svtools/source/java/javacontext \ 216cdf0e10cSrcweir svtools/source/java/javainteractionhandler \ 217cdf0e10cSrcweir svtools/source/misc/acceleratorexecute \ 218cdf0e10cSrcweir svtools/source/misc/cliplistener \ 219cdf0e10cSrcweir svtools/source/misc/dialogclosedlistener \ 220cdf0e10cSrcweir svtools/source/misc/dialogcontrolling \ 221cdf0e10cSrcweir svtools/source/misc/ehdl \ 222cdf0e10cSrcweir svtools/source/misc/embedhlp \ 223cdf0e10cSrcweir svtools/source/misc/embedtransfer \ 224cdf0e10cSrcweir svtools/source/misc/helpagentwindow \ 225cdf0e10cSrcweir svtools/source/misc/imagemgr \ 226cdf0e10cSrcweir svtools/source/misc/imageresourceaccess \ 227cdf0e10cSrcweir svtools/source/misc/imap \ 228cdf0e10cSrcweir svtools/source/misc/imap2 \ 229cdf0e10cSrcweir svtools/source/misc/imap3 \ 230cdf0e10cSrcweir svtools/source/misc/itemdel \ 231cdf0e10cSrcweir svtools/source/misc/langtab \ 232cdf0e10cSrcweir svtools/source/misc/stringtransfer \ 233cdf0e10cSrcweir svtools/source/misc/svtaccessiblefactory \ 234cdf0e10cSrcweir svtools/source/misc/svtdata \ 235cdf0e10cSrcweir svtools/source/misc/templatefoldercache \ 236cdf0e10cSrcweir svtools/source/misc/transfer \ 237cdf0e10cSrcweir svtools/source/misc/transfer2 \ 238cdf0e10cSrcweir svtools/source/misc/unitconv \ 239cdf0e10cSrcweir svtools/source/misc/wallitem \ 240cdf0e10cSrcweir svtools/source/misc/xwindowitem \ 241cdf0e10cSrcweir svtools/source/plugapp/ttprops \ 242cdf0e10cSrcweir svtools/source/svhtml/htmlkywd \ 243cdf0e10cSrcweir svtools/source/svhtml/htmlout \ 244cdf0e10cSrcweir svtools/source/svhtml/htmlsupp \ 245cdf0e10cSrcweir svtools/source/svhtml/parhtml \ 246cdf0e10cSrcweir svtools/source/svrtf/parrtf \ 247cdf0e10cSrcweir svtools/source/svrtf/rtfkeywd \ 248cdf0e10cSrcweir svtools/source/svrtf/rtfout \ 249cdf0e10cSrcweir svtools/source/svrtf/svparser \ 250cdf0e10cSrcweir svtools/source/table/defaultinputhandler \ 251cdf0e10cSrcweir svtools/source/table/gridtablerenderer \ 252cdf0e10cSrcweir svtools/source/table/tablecontrol \ 253cdf0e10cSrcweir svtools/source/table/tablecontrol_impl \ 254cdf0e10cSrcweir svtools/source/table/tabledatawindow \ 255cdf0e10cSrcweir svtools/source/table/mousefunction \ 256cdf0e10cSrcweir svtools/source/table/cellvalueconversion \ 257cdf0e10cSrcweir svtools/source/table/tablegeometry \ 258cdf0e10cSrcweir svtools/source/toolpanel/drawerlayouter \ 259cdf0e10cSrcweir svtools/source/toolpanel/dummypanel \ 260cdf0e10cSrcweir svtools/source/toolpanel/paneldecklisteners \ 261cdf0e10cSrcweir svtools/source/toolpanel/paneltabbar \ 262cdf0e10cSrcweir svtools/source/toolpanel/paneltabbarpeer \ 263cdf0e10cSrcweir svtools/source/toolpanel/refbase \ 264cdf0e10cSrcweir svtools/source/toolpanel/tabbargeometry \ 265cdf0e10cSrcweir svtools/source/toolpanel/tablayouter \ 266cdf0e10cSrcweir svtools/source/toolpanel/toolpanel \ 267cdf0e10cSrcweir svtools/source/toolpanel/toolpanelcollection \ 268cdf0e10cSrcweir svtools/source/toolpanel/toolpaneldeck \ 269cdf0e10cSrcweir svtools/source/toolpanel/toolpaneldeckpeer \ 270cdf0e10cSrcweir svtools/source/toolpanel/toolpaneldrawer \ 271cdf0e10cSrcweir svtools/source/toolpanel/toolpaneldrawerpeer \ 272cdf0e10cSrcweir svtools/source/uno/addrtempuno \ 273cdf0e10cSrcweir svtools/source/uno/contextmenuhelper \ 274cdf0e10cSrcweir svtools/source/uno/framestatuslistener \ 275cdf0e10cSrcweir svtools/source/uno/generictoolboxcontroller \ 276cdf0e10cSrcweir svtools/source/uno/genericunodialog \ 277cdf0e10cSrcweir svtools/source/uno/miscservices \ 278cdf0e10cSrcweir svtools/source/uno/popupmenucontrollerbase \ 279cdf0e10cSrcweir svtools/source/uno/popupwindowcontroller \ 280cdf0e10cSrcweir svtools/source/uno/statusbarcontroller \ 281cdf0e10cSrcweir svtools/source/uno/svtxgridcontrol \ 282cdf0e10cSrcweir svtools/source/uno/toolboxcontroller \ 283cdf0e10cSrcweir svtools/source/uno/treecontrolpeer \ 284cdf0e10cSrcweir svtools/source/uno/unocontroltablemodel \ 285cdf0e10cSrcweir svtools/source/uno/unogridcolumnfacade \ 286cdf0e10cSrcweir svtools/source/uno/unoevent \ 287cdf0e10cSrcweir svtools/source/uno/unoiface \ 288cdf0e10cSrcweir svtools/source/uno/unoimap \ 289cdf0e10cSrcweir svtools/source/uno/wizard/unowizard \ 290cdf0e10cSrcweir svtools/source/uno/wizard/wizardpagecontroller \ 291cdf0e10cSrcweir svtools/source/uno/wizard/wizardshell \ 292cdf0e10cSrcweir svtools/source/urlobj/inetimg \ 293cdf0e10cSrcweir)) 294cdf0e10cSrcweir 295cdf0e10cSrcweir$(eval $(call gb_Library_add_cobjects,svt,\ 296cdf0e10cSrcweir svtools/source/filter/jpeg/jpegc \ 297cdf0e10cSrcweir)) 298cdf0e10cSrcweir 299cdf0e10cSrcweirifeq ($(OS),WNT) 300cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,svt,\ 301cdf0e10cSrcweir advapi32 \ 302cdf0e10cSrcweir gdi32 \ 303cdf0e10cSrcweir ole32 \ 304cdf0e10cSrcweir oleaut32 \ 305cdf0e10cSrcweir user32 \ 306cdf0e10cSrcweir uuid \ 307cdf0e10cSrcweir)) 308cdf0e10cSrcweirendif 309cdf0e10cSrcweir# vim: set noet sw=4 ts=4: 310