1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24$(eval $(call gb_Library_Library,svt)) 25 26$(eval $(call gb_Library_add_package_headers,svt,svtools_inc)) 27 28$(eval $(call gb_Library_add_precompiled_header,svt,$(SRCDIR)/svtools/inc/pch/precompiled_svtools)) 29 30$(eval $(call gb_Library_set_componentfile,svt,svtools/util/svt)) 31 32$(eval $(call gb_Library_add_api,svt,\ 33 udkapi \ 34 offapi \ 35)) 36 37$(eval $(call gb_Library_set_include,svt,\ 38 -I$(OUTDIR)/inc/external/jpeg \ 39 $$(INCLUDE) \ 40 -I$(WORKDIR)/inc/svtools \ 41 -I$(WORKDIR)/inc/ \ 42 -I$(OUTDIR)/inc/ \ 43 -I$(SRCDIR)/svtools/inc \ 44 -I$(SRCDIR)/svtools/inc/svtools \ 45 -I$(SRCDIR)/svtools/source/inc \ 46 -I$(SRCDIR)/svtools/inc/pch \ 47)) 48 49$(eval $(call gb_Library_add_defs,svt,\ 50 -DSVT_DLLIMPLEMENTATION \ 51)) 52 53$(eval $(call gb_Library_add_linked_libs,svt,\ 54 basegfx \ 55 comphelper \ 56 cppu \ 57 cppuhelper \ 58 i18nisolang1 \ 59 i18nutil \ 60 jvmfwk \ 61 sal \ 62 sot \ 63 stl \ 64 svl \ 65 ootk \ 66 tl \ 67 ucbhelper \ 68 utl \ 69 vcl \ 70 vos3 \ 71 $(gb_STDLIBS) \ 72)) 73 74$(call gb_Library_use_externals,svt,\ 75 icuuc \ 76 jpeg \ 77) 78 79$(eval $(call gb_Library_add_exception_objects,svt,\ 80 svtools/source/brwbox/brwbox1 \ 81 svtools/source/brwbox/brwbox2 \ 82 svtools/source/brwbox/brwbox3 \ 83 svtools/source/brwbox/brwhead \ 84 svtools/source/brwbox/datwin \ 85 svtools/source/brwbox/ebbcontrols \ 86 svtools/source/brwbox/editbrowsebox \ 87 svtools/source/brwbox/editbrowsebox2 \ 88 svtools/source/config/accessibilityoptions \ 89 svtools/source/config/apearcfg \ 90 svtools/source/config/colorcfg \ 91 svtools/source/config/extcolorcfg \ 92 svtools/source/config/fontsubstconfig \ 93 svtools/source/config/helpopt \ 94 svtools/source/config/htmlcfg \ 95 svtools/source/config/itemholder2 \ 96 svtools/source/config/menuoptions \ 97 svtools/source/config/miscopt \ 98 svtools/source/config/optionsdrawinglayer \ 99 svtools/source/config/printoptions \ 100 svtools/source/contnr/contentenumeration \ 101 svtools/source/contnr/fileview \ 102 svtools/source/contnr/imivctl1 \ 103 svtools/source/contnr/imivctl2 \ 104 svtools/source/contnr/ivctrl \ 105 svtools/source/contnr/svicnvw \ 106 svtools/source/contnr/svimpbox \ 107 svtools/source/contnr/svimpicn \ 108 svtools/source/contnr/svlbitm \ 109 svtools/source/contnr/svlbox \ 110 svtools/source/contnr/svtabbx \ 111 svtools/source/contnr/svtreebx \ 112 svtools/source/contnr/templwin \ 113 svtools/source/contnr/tooltiplbox \ 114 svtools/source/contnr/treelist \ 115 svtools/source/control/accessibleruler \ 116 svtools/source/control/asynclink \ 117 svtools/source/control/calendar \ 118 svtools/source/control/collatorres \ 119 svtools/source/control/ctrlbox \ 120 svtools/source/control/ctrltool \ 121 svtools/source/control/filectrl \ 122 svtools/source/control/filectrl2 \ 123 svtools/source/control/fileurlbox \ 124 svtools/source/control/fixedhyper \ 125 svtools/source/control/fmtfield \ 126 svtools/source/control/headbar \ 127 svtools/source/control/hyperlabel \ 128 svtools/source/control/indexentryres \ 129 svtools/source/control/inettbc \ 130 svtools/source/control/prgsbar \ 131 svtools/source/control/roadmap \ 132 svtools/source/control/ruler \ 133 svtools/source/control/scriptedtext \ 134 svtools/source/control/scrwin \ 135 svtools/source/control/stdctrl \ 136 svtools/source/control/stdmenu \ 137 svtools/source/control/tabbar \ 138 svtools/source/control/taskbar \ 139 svtools/source/control/taskbox \ 140 svtools/source/control/taskmisc \ 141 svtools/source/control/taskstat \ 142 svtools/source/control/toolbarmenu \ 143 svtools/source/control/toolbarmenuacc \ 144 svtools/source/control/urlcontrol \ 145 svtools/source/control/valueacc \ 146 svtools/source/control/valueset \ 147 svtools/source/control/vclxaccessibleheaderbar \ 148 svtools/source/control/vclxaccessibleheaderbaritem \ 149 svtools/source/dialogs/addresstemplate \ 150 svtools/source/dialogs/colrdlg \ 151 svtools/source/dialogs/filedlg \ 152 svtools/source/dialogs/filedlg2 \ 153 svtools/source/dialogs/insdlg \ 154 svtools/source/dialogs/mcvmath \ 155 svtools/source/dialogs/prnsetup \ 156 svtools/source/dialogs/property \ 157 svtools/source/dialogs/roadmapwizard \ 158 svtools/source/dialogs/wizardmachine \ 159 svtools/source/dialogs/wizdlg \ 160 svtools/source/edit/editsyntaxhighlighter \ 161 svtools/source/edit/svmedit \ 162 svtools/source/edit/svmedit2 \ 163 svtools/source/edit/sychconv \ 164 svtools/source/edit/syntaxhighlight \ 165 svtools/source/edit/textdata \ 166 svtools/source/edit/textdoc \ 167 svtools/source/edit/texteng \ 168 svtools/source/edit/textundo \ 169 svtools/source/edit/textview \ 170 svtools/source/edit/textwindowpeer \ 171 svtools/source/edit/txtattr \ 172 svtools/source/edit/xtextedt \ 173 svtools/source/filter/FilterConfigCache \ 174 svtools/source/filter/FilterConfigItem \ 175 svtools/source/filter/SvFilterOptionsDialog \ 176 svtools/source/filter/exportdialog \ 177 svtools/source/filter/filter \ 178 svtools/source/filter/filter2 \ 179 svtools/source/filter/sgfbram \ 180 svtools/source/filter/sgvmain \ 181 svtools/source/filter/sgvspln \ 182 svtools/source/filter/sgvtext \ 183 svtools/source/filter/igif/decode \ 184 svtools/source/filter/igif/gifread \ 185 svtools/source/filter/ixbm/xbmread \ 186 svtools/source/filter/ixpm/xpmread \ 187 svtools/source/filter/jpeg/jpeg \ 188 svtools/source/filter/wmf/emfwr \ 189 svtools/source/filter/wmf/enhwmf \ 190 svtools/source/filter/wmf/winmtf \ 191 svtools/source/filter/wmf/winwmf \ 192 svtools/source/filter/wmf/wmf \ 193 svtools/source/filter/wmf/wmfwr \ 194 svtools/source/graphic/descriptor \ 195 svtools/source/graphic/graphic \ 196 svtools/source/graphic/graphicunofactory \ 197 svtools/source/graphic/grfattr \ 198 svtools/source/graphic/grfcache \ 199 svtools/source/graphic/grfmgr \ 200 svtools/source/graphic/grfmgr2 \ 201 svtools/source/graphic/provider \ 202 svtools/source/graphic/renderer \ 203 svtools/source/graphic/transformer \ 204 svtools/source/java/javacontext \ 205 svtools/source/java/javainteractionhandler \ 206 svtools/source/misc/acceleratorexecute \ 207 svtools/source/misc/cliplistener \ 208 svtools/source/misc/dialogclosedlistener \ 209 svtools/source/misc/dialogcontrolling \ 210 svtools/source/misc/ehdl \ 211 svtools/source/misc/embedhlp \ 212 svtools/source/misc/embedtransfer \ 213 svtools/source/misc/helpagentwindow \ 214 svtools/source/misc/imagemgr \ 215 svtools/source/misc/imageresourceaccess \ 216 svtools/source/misc/imap \ 217 svtools/source/misc/imap2 \ 218 svtools/source/misc/imap3 \ 219 svtools/source/misc/itemdel \ 220 svtools/source/misc/langtab \ 221 svtools/source/misc/stringtransfer \ 222 svtools/source/misc/svtaccessiblefactory \ 223 svtools/source/misc/svtdata \ 224 svtools/source/misc/templatefoldercache \ 225 svtools/source/misc/transfer \ 226 svtools/source/misc/transfer2 \ 227 svtools/source/misc/unitconv \ 228 svtools/source/misc/wallitem \ 229 svtools/source/misc/xwindowitem \ 230 svtools/source/plugapp/ttprops \ 231 svtools/source/svhtml/htmlkywd \ 232 svtools/source/svhtml/htmlout \ 233 svtools/source/svhtml/htmlsupp \ 234 svtools/source/svhtml/parhtml \ 235 svtools/source/svrtf/parrtf \ 236 svtools/source/svrtf/rtfkeywd \ 237 svtools/source/svrtf/rtfout \ 238 svtools/source/svrtf/svparser \ 239 svtools/source/table/defaultinputhandler \ 240 svtools/source/table/gridtablerenderer \ 241 svtools/source/table/tablecontrol \ 242 svtools/source/table/tablecontrol_impl \ 243 svtools/source/table/tabledatawindow \ 244 svtools/source/table/mousefunction \ 245 svtools/source/table/cellvalueconversion \ 246 svtools/source/table/tablegeometry \ 247 svtools/source/toolpanel/drawerlayouter \ 248 svtools/source/toolpanel/dummypanel \ 249 svtools/source/toolpanel/paneldecklisteners \ 250 svtools/source/toolpanel/paneltabbar \ 251 svtools/source/toolpanel/paneltabbarpeer \ 252 svtools/source/toolpanel/refbase \ 253 svtools/source/toolpanel/tabbargeometry \ 254 svtools/source/toolpanel/tablayouter \ 255 svtools/source/toolpanel/toolpanel \ 256 svtools/source/toolpanel/toolpanelcollection \ 257 svtools/source/toolpanel/toolpaneldeck \ 258 svtools/source/toolpanel/toolpaneldeckpeer \ 259 svtools/source/toolpanel/toolpaneldrawer \ 260 svtools/source/toolpanel/toolpaneldrawerpeer \ 261 svtools/source/uno/addrtempuno \ 262 svtools/source/uno/contextmenuhelper \ 263 svtools/source/uno/framestatuslistener \ 264 svtools/source/uno/generictoolboxcontroller \ 265 svtools/source/uno/genericunodialog \ 266 svtools/source/uno/miscservices \ 267 svtools/source/uno/popupmenucontrollerbase \ 268 svtools/source/uno/popupwindowcontroller \ 269 svtools/source/uno/statusbarcontroller \ 270 svtools/source/uno/svtxgridcontrol \ 271 svtools/source/uno/toolboxcontroller \ 272 svtools/source/uno/treecontrolpeer \ 273 svtools/source/uno/unocontroltablemodel \ 274 svtools/source/uno/unogridcolumnfacade \ 275 svtools/source/uno/unoevent \ 276 svtools/source/uno/unoiface \ 277 svtools/source/uno/unoimap \ 278 svtools/source/uno/wizard/unowizard \ 279 svtools/source/uno/wizard/wizardpagecontroller \ 280 svtools/source/uno/wizard/wizardshell \ 281 svtools/source/urlobj/inetimg \ 282)) 283 284$(eval $(call gb_Library_add_cobjects,svt,\ 285 svtools/source/filter/jpeg/jpegc \ 286)) 287 288ifeq ($(OS),WNT) 289$(eval $(call gb_Library_add_linked_libs,svt,\ 290 advapi32 \ 291 gdi32 \ 292 ole32 \ 293 oleaut32 \ 294 user32 \ 295 uuid \ 296)) 297endif 298# vim: set noet sw=4 ts=4: 299