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