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