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/button \ 131 svtools/source/control/calendar \ 132 svtools/source/control/collatorres \ 133 svtools/source/control/ctrlbox \ 134 svtools/source/control/ctrltool \ 135 svtools/source/control/filectrl \ 136 svtools/source/control/filectrl2 \ 137 svtools/source/control/fileurlbox \ 138 svtools/source/control/fixedhyper \ 139 svtools/source/control/fmtfield \ 140 svtools/source/control/headbar \ 141 svtools/source/control/hyperlabel \ 142 svtools/source/control/indexentryres \ 143 svtools/source/control/inettbc \ 144 svtools/source/control/prgsbar \ 145 svtools/source/control/roadmap \ 146 svtools/source/control/ruler \ 147 svtools/source/control/scriptedtext \ 148 svtools/source/control/scrwin \ 149 svtools/source/control/stdctrl \ 150 svtools/source/control/stdmenu \ 151 svtools/source/control/tabbar \ 152 svtools/source/control/taskbar \ 153 svtools/source/control/taskbox \ 154 svtools/source/control/taskmisc \ 155 svtools/source/control/taskstat \ 156 svtools/source/control/toolbarmenu \ 157 svtools/source/control/toolbarmenuacc \ 158 svtools/source/control/urlcontrol \ 159 svtools/source/control/valueacc \ 160 svtools/source/control/valueset \ 161 svtools/source/dialogs/addresstemplate \ 162 svtools/source/dialogs/colrdlg \ 163 svtools/source/dialogs/filedlg \ 164 svtools/source/dialogs/filedlg2 \ 165 svtools/source/dialogs/insdlg \ 166 svtools/source/dialogs/mcvmath \ 167 svtools/source/dialogs/prnsetup \ 168 svtools/source/dialogs/property \ 169 svtools/source/dialogs/roadmapwizard \ 170 svtools/source/dialogs/wizardmachine \ 171 svtools/source/dialogs/wizdlg \ 172 svtools/source/edit/editsyntaxhighlighter \ 173 svtools/source/edit/svmedit \ 174 svtools/source/edit/svmedit2 \ 175 svtools/source/edit/sychconv \ 176 svtools/source/edit/syntaxhighlight \ 177 svtools/source/edit/textdata \ 178 svtools/source/edit/textdoc \ 179 svtools/source/edit/texteng \ 180 svtools/source/edit/textundo \ 181 svtools/source/edit/textview \ 182 svtools/source/edit/textwindowpeer \ 183 svtools/source/edit/txtattr \ 184 svtools/source/edit/xtextedt \ 185 svtools/source/filter/FilterConfigCache \ 186 svtools/source/filter/FilterConfigItem \ 187 svtools/source/filter/SvFilterOptionsDialog \ 188 svtools/source/filter/exportdialog \ 189 svtools/source/filter/filter \ 190 svtools/source/filter/filter2 \ 191 svtools/source/filter/sgfbram \ 192 svtools/source/filter/sgvmain \ 193 svtools/source/filter/sgvspln \ 194 svtools/source/filter/sgvtext \ 195 svtools/source/filter/igif/decode \ 196 svtools/source/filter/igif/gifread \ 197 svtools/source/filter/ixbm/xbmread \ 198 svtools/source/filter/ixpm/xpmread \ 199 svtools/source/filter/jpeg/jpeg \ 200 svtools/source/filter/wmf/emfwr \ 201 svtools/source/filter/wmf/enhwmf \ 202 svtools/source/filter/wmf/winmtf \ 203 svtools/source/filter/wmf/winwmf \ 204 svtools/source/filter/wmf/wmf \ 205 svtools/source/filter/wmf/wmfwr \ 206 svtools/source/graphic/descriptor \ 207 svtools/source/graphic/graphic \ 208 svtools/source/graphic/graphicunofactory \ 209 svtools/source/graphic/grfattr \ 210 svtools/source/graphic/grfcache \ 211 svtools/source/graphic/grfmgr \ 212 svtools/source/graphic/grfmgr2 \ 213 svtools/source/graphic/provider \ 214 svtools/source/graphic/renderer \ 215 svtools/source/graphic/transformer \ 216 svtools/source/java/javacontext \ 217 svtools/source/java/javainteractionhandler \ 218 svtools/source/misc/acceleratorexecute \ 219 svtools/source/misc/cliplistener \ 220 svtools/source/misc/dialogclosedlistener \ 221 svtools/source/misc/dialogcontrolling \ 222 svtools/source/misc/ehdl \ 223 svtools/source/misc/embedhlp \ 224 svtools/source/misc/embedtransfer \ 225 svtools/source/misc/helpagentwindow \ 226 svtools/source/misc/imagemgr \ 227 svtools/source/misc/imageresourceaccess \ 228 svtools/source/misc/imap \ 229 svtools/source/misc/imap2 \ 230 svtools/source/misc/imap3 \ 231 svtools/source/misc/itemdel \ 232 svtools/source/misc/langtab \ 233 svtools/source/misc/stringtransfer \ 234 svtools/source/misc/svtaccessiblefactory \ 235 svtools/source/misc/svtdata \ 236 svtools/source/misc/templatefoldercache \ 237 svtools/source/misc/transfer \ 238 svtools/source/misc/transfer2 \ 239 svtools/source/misc/unitconv \ 240 svtools/source/misc/wallitem \ 241 svtools/source/misc/xwindowitem \ 242 svtools/source/plugapp/ttprops \ 243 svtools/source/svhtml/htmlkywd \ 244 svtools/source/svhtml/htmlout \ 245 svtools/source/svhtml/htmlsupp \ 246 svtools/source/svhtml/parhtml \ 247 svtools/source/svrtf/parrtf \ 248 svtools/source/svrtf/rtfkeywd \ 249 svtools/source/svrtf/rtfout \ 250 svtools/source/svrtf/svparser \ 251 svtools/source/table/defaultinputhandler \ 252 svtools/source/table/gridtablerenderer \ 253 svtools/source/table/tablecontrol \ 254 svtools/source/table/tablecontrol_impl \ 255 svtools/source/table/tabledatawindow \ 256 svtools/source/table/mousefunction \ 257 svtools/source/table/cellvalueconversion \ 258 svtools/source/table/tablegeometry \ 259 svtools/source/toolpanel/drawerlayouter \ 260 svtools/source/toolpanel/dummypanel \ 261 svtools/source/toolpanel/paneldecklisteners \ 262 svtools/source/toolpanel/paneltabbar \ 263 svtools/source/toolpanel/paneltabbarpeer \ 264 svtools/source/toolpanel/refbase \ 265 svtools/source/toolpanel/tabbargeometry \ 266 svtools/source/toolpanel/tablayouter \ 267 svtools/source/toolpanel/toolpanel \ 268 svtools/source/toolpanel/toolpanelcollection \ 269 svtools/source/toolpanel/toolpaneldeck \ 270 svtools/source/toolpanel/toolpaneldeckpeer \ 271 svtools/source/toolpanel/toolpaneldrawer \ 272 svtools/source/toolpanel/toolpaneldrawerpeer \ 273 svtools/source/uno/addrtempuno \ 274 svtools/source/uno/contextmenuhelper \ 275 svtools/source/uno/framestatuslistener \ 276 svtools/source/uno/generictoolboxcontroller \ 277 svtools/source/uno/genericunodialog \ 278 svtools/source/uno/miscservices \ 279 svtools/source/uno/popupmenucontrollerbase \ 280 svtools/source/uno/popupwindowcontroller \ 281 svtools/source/uno/statusbarcontroller \ 282 svtools/source/uno/svtxgridcontrol \ 283 svtools/source/uno/toolboxcontroller \ 284 svtools/source/uno/treecontrolpeer \ 285 svtools/source/uno/unocontroltablemodel \ 286 svtools/source/uno/unogridcolumnfacade \ 287 svtools/source/uno/unoevent \ 288 svtools/source/uno/unoiface \ 289 svtools/source/uno/unoimap \ 290 svtools/source/uno/wizard/unowizard \ 291 svtools/source/uno/wizard/wizardpagecontroller \ 292 svtools/source/uno/wizard/wizardshell \ 293 svtools/source/urlobj/inetimg \ 294)) 295 296$(eval $(call gb_Library_add_cobjects,svt,\ 297 svtools/source/filter/jpeg/jpegc \ 298)) 299 300ifeq ($(OS),WNT) 301$(eval $(call gb_Library_add_linked_libs,svt,\ 302 advapi32 \ 303 gdi32 \ 304 ole32 \ 305 oleaut32 \ 306 user32 \ 307 uuid \ 308)) 309endif 310# vim: set noet sw=4 ts=4: 311