office-gobmx/svtools/Library_svt.mk
Tor Lillqvist 052a270ff0 Cygwin fixes and cleanups
With realpath now called in AllLangResTarget.mk, we can revert the
explicit expansion of the symlinks to clone/libs-gui/toolkit in the
makefiles for the resources. Also remove unnecessary -I switches that
apparently have just been copy-pasted blindly.

Add realpath calls for -I switches to the makefiles for the
executables.
2011-03-17 12:12:55 +02:00

309 lines
11 KiB
Makefile

#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2011 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_Library_Library,svt))
$(eval $(call gb_Library_add_package_headers,svt,svtools_inc))
$(eval $(call gb_Library_add_precompiled_header,svt,$(SRCDIR)/svtools/inc/pch/precompiled_svtools))
$(eval $(call gb_Library_set_componentfile,svt,svtools/util/svt))
$(eval $(call gb_Library_set_include,svt,\
$$(INCLUDE) \
-I$(WORKDIR)/inc/svtools \
-I$(WORKDIR)/inc/ \
-I$(OUTDIR)/inc/ \
-I$(realpath $(SRCDIR)/svtools/inc) \
-I$(realpath $(SRCDIR)/svtools/inc/svtools) \
-I$(realpath $(SRCDIR)/svtools/source/inc) \
-I$(realpath $(SRCDIR)/svtools/inc/pch) \
-I$(OUTDIR)/inc/offuh \
-I$(OUTDIR)/inc \
))
$(eval $(call gb_Library_set_defs,svt,\
$$(DEFS) \
-DSVT_DLLIMPLEMENTATION \
))
$(eval $(call gb_Library_add_linked_libs,svt,\
basegfx \
comphelper \
cppu \
cppuhelper \
i18nisolang1 \
i18nutil \
icuuc \
jvmfwk \
salhelper \
sal \
sot \
svl \
tk \
tl \
ucbhelper \
utl \
vcl \
$(gb_STDLIBS) \
))
ifeq ($(SYSTEM_JPEG),YES)
$(eval $(call gb_Library_add_linked_libs,svt,\
jpeg \
))
$(eval $(call gb_Library_set_ldflags,svt,\
$$(filter-out -L/usr/lib/jvm%,$$(LDFLAGS)) \
))
else
$(eval $(call gb_Library_add_linked_static_libs,svt,\
jpeglib \
))
endif
$(eval $(call gb_Library_add_exception_objects,svt,\
svtools/source/brwbox/brwbox1 \
svtools/source/brwbox/brwbox2 \
svtools/source/brwbox/brwbox3 \
svtools/source/brwbox/brwhead \
svtools/source/brwbox/datwin \
svtools/source/brwbox/ebbcontrols \
svtools/source/brwbox/editbrowsebox \
svtools/source/brwbox/editbrowsebox2 \
svtools/source/config/accessibilityoptions \
svtools/source/config/apearcfg \
svtools/source/config/colorcfg \
svtools/source/config/extcolorcfg \
svtools/source/config/fontsubstconfig \
svtools/source/config/helpopt \
svtools/source/config/htmlcfg \
svtools/source/config/itemholder2 \
svtools/source/config/menuoptions \
svtools/source/config/miscopt \
svtools/source/config/optionsdrawinglayer \
svtools/source/config/printoptions \
svtools/source/contnr/contentenumeration \
svtools/source/contnr/fileview \
svtools/source/contnr/imivctl1 \
svtools/source/contnr/imivctl2 \
svtools/source/contnr/ivctrl \
svtools/source/contnr/svicnvw \
svtools/source/contnr/svimpbox \
svtools/source/contnr/svimpicn \
svtools/source/contnr/svlbitm \
svtools/source/contnr/svlbox \
svtools/source/contnr/svtabbx \
svtools/source/contnr/svtreebx \
svtools/source/contnr/templwin \
svtools/source/contnr/tooltiplbox \
svtools/source/contnr/treelist \
svtools/source/control/asynclink \
svtools/source/control/calendar \
svtools/source/control/collatorres \
svtools/source/control/ctrlbox \
svtools/source/control/ctrltool \
svtools/source/control/filectrl \
svtools/source/control/filectrl2 \
svtools/source/control/fileurlbox \
svtools/source/control/fixedhyper \
svtools/source/control/fmtfield \
svtools/source/control/headbar \
svtools/source/control/hyperlabel \
svtools/source/control/indexentryres \
svtools/source/control/inettbc \
svtools/source/control/prgsbar \
svtools/source/control/roadmap \
svtools/source/control/ruler \
svtools/source/control/scriptedtext \
svtools/source/control/scrwin \
svtools/source/control/stdctrl \
svtools/source/control/stdmenu \
svtools/source/control/tabbar \
svtools/source/control/taskbar \
svtools/source/control/taskbox \
svtools/source/control/taskmisc \
svtools/source/control/taskstat \
svtools/source/control/toolbarmenu \
svtools/source/control/toolbarmenuacc \
svtools/source/control/urlcontrol \
svtools/source/control/valueacc \
svtools/source/control/valueset \
svtools/source/dialogs/addresstemplate \
svtools/source/dialogs/colctrl \
svtools/source/dialogs/colrdlg \
svtools/source/dialogs/filedlg \
svtools/source/dialogs/filedlg2 \
svtools/source/dialogs/insdlg \
svtools/source/dialogs/mcvmath \
svtools/source/dialogs/prnsetup \
svtools/source/dialogs/property \
svtools/source/dialogs/roadmapwizard \
svtools/source/dialogs/wizardmachine \
svtools/source/dialogs/wizdlg \
svtools/source/edit/editsyntaxhighlighter \
svtools/source/edit/svmedit \
svtools/source/edit/svmedit2 \
svtools/source/edit/sychconv \
svtools/source/edit/syntaxhighlight \
svtools/source/edit/textdata \
svtools/source/edit/textdoc \
svtools/source/edit/texteng \
svtools/source/edit/textundo \
svtools/source/edit/textview \
svtools/source/edit/textwindowpeer \
svtools/source/edit/txtattr \
svtools/source/edit/xtextedt \
svtools/source/filter.vcl/filter/FilterConfigCache \
svtools/source/filter.vcl/filter/FilterConfigItem \
svtools/source/filter.vcl/filter/SvFilterOptionsDialog \
svtools/source/filter.vcl/filter/exportdialog \
svtools/source/filter.vcl/filter/filter \
svtools/source/filter.vcl/filter/filter2 \
svtools/source/filter.vcl/filter/sgfbram \
svtools/source/filter.vcl/filter/sgvmain \
svtools/source/filter.vcl/filter/sgvspln \
svtools/source/filter.vcl/filter/sgvtext \
svtools/source/filter.vcl/igif/decode \
svtools/source/filter.vcl/igif/gifread \
svtools/source/filter.vcl/ixbm/xbmread \
svtools/source/filter.vcl/ixpm/xpmread \
svtools/source/filter.vcl/jpeg/jpeg \
svtools/source/filter.vcl/wmf/emfwr \
svtools/source/filter.vcl/wmf/enhwmf \
svtools/source/filter.vcl/wmf/winmtf \
svtools/source/filter.vcl/wmf/winwmf \
svtools/source/filter.vcl/wmf/wmf \
svtools/source/filter.vcl/wmf/wmfwr \
svtools/source/graphic/descriptor \
svtools/source/graphic/graphic \
svtools/source/graphic/graphicunofactory \
svtools/source/graphic/grfattr \
svtools/source/graphic/grfcache \
svtools/source/graphic/grfmgr \
svtools/source/graphic/grfmgr2 \
svtools/source/graphic/provider \
svtools/source/graphic/renderer \
svtools/source/graphic/transformer \
svtools/source/java/javacontext \
svtools/source/java/javainteractionhandler \
svtools/source/misc/acceleratorexecute \
svtools/source/misc/chartprettypainter \
svtools/source/misc/cliplistener \
svtools/source/misc/dialogclosedlistener \
svtools/source/misc/dialogcontrolling \
svtools/source/misc/ehdl \
svtools/source/misc/embedhlp \
svtools/source/misc/embedtransfer \
svtools/source/misc/filterutils \
svtools/source/misc/filechangedchecker \
svtools/source/misc/helpagentwindow \
svtools/source/misc/imagemgr \
svtools/source/misc/imageresourceaccess \
svtools/source/misc/imap \
svtools/source/misc/imap2 \
svtools/source/misc/imap3 \
svtools/source/misc/itemdel \
svtools/source/misc/langtab \
svtools/source/misc/langhelp \
svtools/source/misc/stringtransfer \
svtools/source/misc/svtaccessiblefactory \
svtools/source/misc/svtdata \
svtools/source/misc/templatefoldercache \
svtools/source/misc/transfer \
svtools/source/misc/transfer2 \
svtools/source/misc/unitconv \
svtools/source/misc/wallitem \
svtools/source/misc/xwindowitem \
svtools/source/plugapp/ttprops \
svtools/source/svhtml/htmlkywd \
svtools/source/svhtml/htmlout \
svtools/source/svhtml/htmlsupp \
svtools/source/svhtml/parhtml \
svtools/source/svrtf/parrtf \
svtools/source/svrtf/rtfkeywd \
svtools/source/svrtf/rtfout \
svtools/source/svrtf/svparser \
svtools/source/table/defaultinputhandler \
svtools/source/table/gridtablerenderer \
svtools/source/table/tablecontrol \
svtools/source/table/tablecontrol_impl \
svtools/source/table/tabledatawindow \
svtools/source/table/mousefunction \
svtools/source/table/cellvalueconversion \
svtools/source/table/tablegeometry \
svtools/source/toolpanel/drawerlayouter \
svtools/source/toolpanel/dummypanel \
svtools/source/toolpanel/paneldecklisteners \
svtools/source/toolpanel/paneltabbar \
svtools/source/toolpanel/paneltabbarpeer \
svtools/source/toolpanel/refbase \
svtools/source/toolpanel/tabbargeometry \
svtools/source/toolpanel/tablayouter \
svtools/source/toolpanel/toolpanel \
svtools/source/toolpanel/toolpanelcollection \
svtools/source/toolpanel/toolpaneldeck \
svtools/source/toolpanel/toolpaneldeckpeer \
svtools/source/toolpanel/toolpaneldrawer \
svtools/source/toolpanel/toolpaneldrawerpeer \
svtools/source/uno/addrtempuno \
svtools/source/uno/contextmenuhelper \
svtools/source/uno/framestatuslistener \
svtools/source/uno/generictoolboxcontroller \
svtools/source/uno/genericunodialog \
svtools/source/uno/miscservices \
svtools/source/uno/popupmenucontrollerbase \
svtools/source/uno/popupwindowcontroller \
svtools/source/uno/statusbarcontroller \
svtools/source/uno/svtxgridcontrol \
svtools/source/uno/toolboxcontroller \
svtools/source/uno/treecontrolpeer \
svtools/source/uno/unocontroltablemodel \
svtools/source/uno/unogridcolumnfacade \
svtools/source/uno/unoevent \
svtools/source/uno/unoiface \
svtools/source/uno/unoimap \
svtools/source/uno/wizard/unowizard \
svtools/source/uno/wizard/wizardpagecontroller \
svtools/source/uno/wizard/wizardshell \
svtools/source/urlobj/inetimg \
))
$(eval $(call gb_Library_add_cobjects,svt,\
svtools/source/filter.vcl/jpeg/jpegc \
))
ifeq ($(OS),WNT)
$(eval $(call gb_Library_add_linked_libs,svt,\
advapi32 \
gdi32 \
ole32 \
oleaut32 \
user32 \
uuid \
))
endif
# vim: set noet sw=4 ts=4: