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