office-gobmx/solenv/inc/libs.mk
2000-12-01 14:55:39 +00:00

473 lines
13 KiB
Makefile

#*************************************************************************
#
# $RCSfile: libs.mk,v $
#
# $Revision: 1.11 $
#
# last change: $Author: rt $ $Date: 2000-12-01 15:55:39 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
#
# - GNU Lesser General Public License Version 2.1
# - Sun Industry Standards Source License Version 1.1
#
# Sun Microsystems Inc., October, 2000
#
# GNU Lesser General Public License Version 2.1
# =============================================
# Copyright 2000 by Sun Microsystems, Inc.
# 901 San Antonio Road, Palo Alto, CA 94303, USA
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License version 2.1, as published by the Free Software Foundation.
#
# This library 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 for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
#
#
# Sun Industry Standards Source License Version 1.1
# =================================================
# The contents of this file are subject to the Sun Industry Standards
# Source License Version 1.1 (the "License"); You may not use this file
# except in compliance with the License. You may obtain a copy of the
# License at http://www.openoffice.org/license.html.
#
# Software provided under this License is provided on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
# See the License for the specific provisions governing your rights and
# obligations concerning the Software.
#
# The Initial Developer of the Original Code is: Sun Microsystems, Inc.
#
# Copyright: 2000 by Sun Microsystems, Inc.
#
# All Rights Reserved.
#
# Contributor(s): _______________________________________
#
#
#
#*************************************************************************
.IF "$(COM)"=="WTC"
LIBPRE=libr
.ENDIF
.IF "$(GUI)"=="UNX" || "$(GUI)"=="MAC"
#
#externe libs in plattform.mk
#
.IF "$(OS)"=="S390"
CONNECTIVITYLIB=$(L)$/libconnectivity.x
LDAPBERLIB=$(L)$/libldapber.x
TOOLSLIB=$(L)$/libtl$(UPD)$(DLLPOSTFIX).x
OTXLIB=$(L)$/libotx_ind.x
OSXLIB=$(L)$/libosx.x
REGLIB=$(L)$/libreg$(UPD)$(DLLPOSTFIX).x
BPICONVLIB=$(L)$/libbpiconv.x
OSLLIB=$(L)$/libosl$(UPD)$(DLLPOSTFIX).x
VOSLIB=$(L)$/libvos$(VOS_MAJOR)$(DLLPOSTFIX).x
UNOLIB=$(L)$/libuno$(UPD)$(DLLPOSTFIX).x
RTLLIB=$(L)$/librtl$(UPD)$(DLLPOSTFIX).x
TECLIB=$(L)$/libtec$(UPD)$(DLLPOSTFIX).x
UCRLIB=$(L)$/libucr$(UPD)$(DLLPOSTFIX).x
UASLIB=$(L)$/libuas$(UPD)$(DLLPOSTFIX).x
USRLIB=$(L)$/libusr$(UPD)$(DLLPOSTFIX).x
SOTLIB=$(L)$/libsot$(UPD)$(DLLPOSTFIX).x
SVLIBDEPEND=$(L)$/$(L)$/libvcl$(UPD)$(DLLPOSTFIX)$(DLLPOST)
SVLIB=$(L)$/libvcl$(UPD)$(DLLPOSTFIX).x
VCLLIB=$(L)$/$(SVLIB)
TKLIB=$(L)$/libtk$(UPD)$(DLLPOSTFIX).x
XPLIB=$(L)$/lib_xp.x
SVTOOLLIB=$(L)$/libsvt$(UPD)$(DLLPOSTFIX).x
AUTOMATIONLIB=$(L)$/libsts$(UPD)$(DLLPOSTFIX).x
SVLLIB=$(L)$/libsvl$(UPD)$(DLLPOSTFIX).x
VCLLIB=$(L)$/$(SVLIB)
SVMEMLIB=
SVUNZIPLIB=$(L)$/libsvunzip.x
PLUGCTORLIB=$(L)$/libplugctor.x
# PLUGCTORLIB=
INETLIB=$(L)$/libni$(UPD)$(DLLPOSTFIX).x
INETLIBSH=$(L)$/libinetdll.x
INETLIBST=$(L)$/libinetwrap.x
SO2LIB=$(L)$/libso$(UPD)$(DLLPOSTFIX).x
TKTLIB=$(L)$/libtkt$(UPD)$(DLLPOSTFIX).x
GOODIESLIB=$(L)$/libgo$(UPD)$(DLLPOSTFIX).x
GOODIESLLIB=$(L)$/libgol$(UPD)$(DLLPOSTFIX).x
MAILLIB=$(L)$/libmail.x
DOCMGRLIB=$(L)$/libdmg$(UPD)$(DLLPOSTFIX).x
.IF "$(BIG_GOODIES)"!=""
HELPLIB=
CHANELLIB=
.ELSE
HELPLIB=$(L)$/libhlp$(UPD)$(DLLPOSTFIX).x
CHANELLIB=$(L)$/libcha$(UPD)$(DLLPOSTFIX).x
.ENDIF
BASICLIB=$(L)$/libsb$(UPD)$(DLLPOSTFIX).x
SDBLIB=$(L)$/libsdb$(UPD)$(DLLPOSTFIX).x
DBTOOLSLIB=$(L)$/libdbt$(UPD)$(DLLPOSTFIX).x
HM2LIBSH=$(L)$/libhmwrpdll.x
HM2LIBST=$(L)$/libhmwrap.x
LINGULIB=$(L)$/$(HM2LIBST).x
EXPAT3RDLIB=$(L)$/libexpat_xmltok.x $(L)$/libexpat_xmlparse.x
EXPATASCII3RDLIB=$(L)$/libexpat_xmltok.x $(L)$/libascii_expat_xmlparse.x
ZLIB3RDLIB=$(L)$/libzlib.x
JPEG3RDLIB=$(L)$/libjpeglib.x
NEON3RDLIB=$(L)$/libneon.x
SFX2LIB=$(L)$/libsfx$(UPD)$(DLLPOSTFIX).x
SFXLIB=$(L)$/libsfx$(UPD)$(DLLPOSTFIX).x
SFXDEBUGLIB=
SVXLIB=$(L)$/libsvx$(UPD)$(DLLPOSTFIX).x
BASCTLLIB=$(L)$/libbasctl$(UPD)$(DLLPOSTFIX).x
SVXlLIB=$(L)$/libsvx$(UPD)$(DLLPOSTFIX).a
.IF "$(OLD_CHAOS)"==""
CHAOSLIB=$(L)$/libcnt$(UPD)$(DLLPOSTFIX).x
.ENDIF
UUILIB=$(L)$/libuui$(UPD)$(DLLPOSTFIX).x
DGLIB=
SIMLIB=$(L)$/libysim.x
SCHLIB=$(L)$/libysch.x
SMLIB=$(L)$/libysm.x
#SBALIB=$(L)$/libsbawrap
SBALIB=$(L)$/libsba$(UPD)$(DLLPOSTFIX).x
OFALIB=$(L)$/libofa$(UPD)$(DLLPOSTFIX).x
TARCERLIB=$(L)$/libtrc$(UPD)$(DLLPOSTFIX).x
PAPILIB=$(L)$/libpap$(UPD)$(DLLPOSTFIX).x
SCLIB=$(L)$/libsclib.x
SDLIB=$(L)$/libsdlib.x
SDLLIB=$(L)$/libsdl.a
SWLIB=$(L)$/libswlib.x
.ELSE # "$(OS)"=="S390"
COMPHELPERLIB=-lcomphelp2
CONNECTIVITYLIB=-lconnectivity
LDAPBERLIB=-lldapber
TOOLSLIBST=-latools
DVOSUTILLIBST=-ldvosutil
DUNOUTILLIBST=-ldunoutil
DVCLUTILLIBST=-ldvclutil
BPICONVLIB=-lbpiconv
OSLLIB=-losl$(UPD)$(DLLPOSTFIX)
TOOLSLIB=-ltl$(UPD)$(DLLPOSTFIX)
OSLLIB=
RTLLIB=
TECLIB=
.INCLUDE .IGNORE : cppu$/version.mk
CPPULIB=-lcppu$(CPPU_MAJOR)
.INCLUDE .IGNORE : cppuhelper$/version.mk
CPPUHELPERLIB=-lcppuhelper$(CPPUHELPER_MAJOR)$(COM)
.INCLUDE .IGNORE : ucbhelper$/version.mk
UCBHELPERLIB=-lucbhelper$(UCBHELPER_MAJOR)$(COM)
.INCLUDE .IGNORE : registry$/version.mk
REGLIB=-lreg$(REGISTRY_MAJOR)
.INCLUDE .IGNORE : vos$/version.mk
VOSLIB=-lvos$(VOS_MAJOR)$(COM)
XMLOFFLIB=-lxo$(UPD)$(DLLPOSTFIX)
.INCLUDE .IGNORE : store$/version.mk
STORELIB=-lstore$(STORE_MAJOR)
.INCLUDE .IGNORE : sal$/version.mk
SALLIB=-lsal$(SAL_MAJOR)
.INCLUDE .IGNORE : connectivity$/version.mk
ODBCLIB=-lodbc$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PD)$(DLLPOSTFIX)
SSLLIB=-lssl$(UPD)$(DLLPOSTFIX)
SSCLIB=-lssc$(UPD)$(DLLPOSTFIX)
SSWLIB=-lssw$(UPD)$(DLLPOSTFIX)
TRACERLIB=-ltrc$(UPD)$(DLLPOSTFIX)
PAPILIB=-lpap$(UPD)$(DLLPOSTFIX)
TRCLIB=$(TRACERLIB)
SCLIB=-lsclib
SDLIB=-lsdlib
SDLLIB=-lsdl
SWLIB=-lswlib
.ENDIF # "$(OS)"=="S390"
#SOLARLIB= $(TOOLSLIB) \
# $(SVTOOLLIB) \
# $(SVLIB) \
# $(SO2LIB) \
# $(SFX2LIB) \
# $(BASICLIB) \
# $(SVXLIB)
#
# USED_%NAME%_LIBS
# Variablen, in denen in gueltiger Reihenfolge ALLE Libraries,
# die unterhalb von %NAME% liegen, zusammengefasst werden
#
# Libraries
USED_OSL_LIBS =
USED_VOS_LIBS = $(OSLLIB)
USED_UNO_LIBS = $(VOSLIB) $(OSLLIB)
USED_TOOLS_LIBS =
USED_SOT_LIBS = $(TOOLSLIB)
USED_VCL_LIBS = $(SOTLIB) $(TOOLSLIB) $(USED_UNO_LIBS)
# Applikationen
USED_BOOTSTRP_LIBS= $(TOOLSLIB)
USED_RCLIENT_LIBS = $(VCLLIB) $(SOTLIB) $(TOOLSLIB) $(UNOLIB) \
$(USED_UNO_LIBS)
.ELSE # "$(GUI)"=="UNX" || "$(GUI)"=="MAC"
.IF "$(make_xl)"!=""
TOOLSLIB=$(LIBPRE) ixl.lib $(LIBPRE) xapp.lib
BTSTRPLIB=
STORELIB=
ICOLIB=
OSLLIB=
CPPULIB=
CPPUHELPERLIB=
UCBHELPERLIB=
VOSLIB=
UNOLIB=
UNOTOOLSLIB=
SOTLIB=
SVLIB=
VCLLIB=
SVTOOLLIB=
AUTOMATIONLIB=
SVLLIB=
INETLIB=
GOODIESLIB=
BASICLIB=
SFX2LIB=
SO2LIB=
SVXLIB=
BASCTLLIB=
DGLIB=
OFALIB=
TRACERLIB=
TRCLIB=
SCHEDLIB=
SETUPLIB=
SSCLIB=
SSLLIB=
.ELSE # "$(make_xl)"!=""
COMPHELPERLIB=icomphelp2.lib
CONNECTIVITYLIB=connectivity.lib
LDAPBERLIB=ldapber.lib
CPPULIB=$(LIBPRE) icppu.lib
CPPUHELPERLIB=$(LIBPRE) icppuhelper.lib
SALTLSLIB=isaltls.lib
SALZIPLIB=isalzip.lib
UCBHELPERLIB=$(LIBPRE) iucbhelper.lib
ODBCLIB=$(LIBPRE) iodbc.lib
TOOLSLIB=$(LIBPRE)itools.lib
TOOLSLIBST=$(LIBPRE) atools.lib
DVOSUTILLIBST=$(LIBPRE) dvosutil.lib
DUNOUTILLIBST=$(LIBPRE) dunoutil.lib
DVCLUTILLIBST=$(LIBPRE) dvclutil.lib
BPICONVLIB=$(LIBPRE) bpiconv.lib
SALLIB=$(LIBPRE) isal.lib
OSLLIB=
RTLLIB=
TECLIB=
VOSLIB=$(LIBPRE) ivos.lib
UNOLIB=$(LIBPRE) iuno.lib
UNOTOOLSLIB=$(LIBPRE) iutl.lib
RMCXTLIB=$(LIBPRE) irmcxt.lib
XMLOFFLIB=$(LIBPRE) ixo.lib
STORELIB=$(LIBPRE) istore.lib
IOTXLIB=$(LIBPRE) iotx.lib
OTXLIB=$(LIBPRE) otx_ind.lib
OSXLIB=$(LIBPRE) osx.lib
REGLIB=$(LIBPRE) ireg.lib
UCRLIB=$(LIBPRE) ucr.lib
UASLIB=$(LIBPRE) uas.lib
EXTLIB=$(LIBPRE) iext.lib
USRLIB=$(LIBPRE) usr.lib
SOTLIB=$(LIBPRE) sot.lib
ONELIB=$(LIBPRE) one.lib
MOZBASELIBST=$(LIBPRE) nspr4_s.lib $(LIBPRE) xpcombase_s.lib
MOZBASELIB=$(LIBPRE) nspr4.lib $(LIBPRE) xpcom.lib
ONELIB=
UNOLIB=
S2ULIB=$(LIBPRE) stu.lib
PAPILIB=$(LIBPRE) ipap.lib
TRACERLIB=$(LIBPRE) itrc.lib
TRCLIB=$(TRACERLIB)
SETUPLIB=$(LIBPRE) iset.lib
SCHEDLIB=$(LIBPRE) ss.lib
SSCLIB=$(LIBPRE) ssc.lib
SSLLIB=$(LIBPRE) ssl.lib
SSWLIB=$(LIBPRE) ssw.lib
SVLIBDEPEND=$(L)$/sv.lib
SFX2LIB=$(LIBPRE) sfx.lib
SFXLIB=$(SFX2LIB)
BTSTRPLIB=$(LIBPRE) bootstrp.lib
ICOLIB= $(LIBPRE) icom.lib
SVTOOLLIB=$(LIBPRE) svtool.lib
AUTOMATIONLIB=$(LIBPRE) automation.lib
SVLLIB=$(LIBPRE) isvl.lib
PLUGCTORLIB=$(LIBPRE) plugctor.lib
PLUGAPPLIB=$(LIBPRE) plugapp.lib
SVMEMLIB=$(LIBPRE) svmem.lib
SVUNZIPLIB=$(LIBPRE) svunzip.lib
SVUNZIPDLL=$(LIBPRE) unzipdll.lib
GOODIESLIB=$(LIBPRE) igo.lib
GOODIESLLIB=$(LIBPRE) igol.lib
MAILLIB=$(LIBPRE) mail.lib
DOCMGRLIB=$(LIBPRE) docmgr.lib
.IF "$(BIG_GOODIES)"!=""
HELPLIB=
CHANELLIB=
.ELSE
HELPLIB=$(LIBPRE) hlp.lib
CHANELLIB=$(LIBPRE) ich.lib
.ENDIF
INETLIBSH=$(LIBPRE) inetdll.lib
INETLIBST=$(LIBPRE) inetwrap.lib
BASICLIB=$(LIBPRE) basic.lib
SO2LIB=$(LIBPRE) so2.lib
TKTLIB=$(LIBPRE) tkt.lib
SJLIB=$(LIBPRE) sj.lib
SVXLIB=$(LIBPRE) svx.lib
SVXLIB+=$(LIBPRE) dl.lib
BASCTLLIB=$(LIBPRE) basctl.lib
SVXLLIB=$(LIBPRE) svxl.lib
SDBLIB=$(LIBPRE) sdb.lib
DBTOOLSLIB=$(LIBPRE) idbtools.lib
HM2LIBSH=$(LIBPRE) hmwrpdll.lib
HM2LIBST=$(LIBPRE) hmwrap.lib
LINGULIB=$(HM2LIBST)
LNGLIB=$(LIBPRE) ilng.lib
EXPAT3RDLIB=$(LIBPRE) expat_xmltok.lib $(LIBPRE) expat_xmlparse.lib
EXPATASCII3RDLIB=$(LIBPRE) expat_xmltok.lib $(LIBPRE) ascii_expat_xmlparse.lib
ZLIB3RDLIB=$(LIBPRE) zlib.lib
JPEG3RDLIB=$(LIBPRE) jpeglib.lib
NEON3RDLIB=$(LIBPRE) neon.lib
.IF "$(OLD_CHAOS)"==""
CHAOSLIB=$(LIBPRE) ichaos.lib
.ENDIF
UUILIB=$(LIBPRE) iuui.lib
DGLIB=
SIMLIB=$(LIBPRE) ysim.lib
SCHLIB=$(LIBPRE) ysch.lib
SMLIB=$(LIBPRE) ysm.lib
SBALIB=$(LIBPRE) sbawrap.lib
OFALIB=$(LIBPRE) aofa.lib
SCLIB=$(LIBPRE) sclib.lib
SDLIB=$(LIBPRE) sdlib.lib
SDLLIB=$(LIBPRE) sdl.lib
SWLIB=$(LIBPRE) swlib.lib
SVLIB=$(LIBPRE) ivcl.lib
VCLLIB=$(SVLIB)
TKLIB=$(LIBPRE) itk.lib
SVLIBDEPEND=$(L)$/ivcl.lib
SVXLLIB=$(LIBPRE) svxl.lib
FREETYPELIB=freetype.lib
.IF "$(BIG_TOOLS)"!=""
SALLIB=
OSLLIB=
RTLLIB=
VOSLIB=
.ENDIF # "$(BIG_TOOLS)"!=""
.ENDIF # "$(make_xl)"!=""
.ENDIF # "$(GUI)"=="UNX" || "$(GUI)"=="MAC"