204 lines
8.6 KiB
Makefile
204 lines
8.6 KiB
Makefile
# $Id$
|
|
#
|
|
# This file is generated automatically, do not edit it here!
|
|
#
|
|
# Please change src/tools/tools/tcl_bmake/mkMakefile.sh instead
|
|
#
|
|
# Generated by src/tools/tools/tcl_bmake/mkMakefile.sh version:
|
|
# Id: mkMakefile.sh,v 1.6 1996/08/29 10:28:51 peter Exp
|
|
#
|
|
|
|
TCLDIST=${.CURDIR}/../../contrib/tcl
|
|
|
|
.PATH: ${TCLDIST}/generic
|
|
.PATH: ${TCLDIST}/unix
|
|
.PATH: ${TCLDIST}/doc
|
|
|
|
CFLAGS+= -I${TCLDIST}/generic
|
|
CFLAGS+= -I${TCLDIST}/unix
|
|
|
|
TCL_LIBRARY= /usr/libdata/tcl
|
|
SHLIB_MAJOR= 75
|
|
SHLIB_MINOR= 0
|
|
|
|
LIB= tcl
|
|
|
|
.if !defined(NOPIC)
|
|
LINKS+= ${SHLIBDIR}/lib${LIB}.so.${SHLIB_MINOR}.${SHLIB_MINOR} \
|
|
${SHLIBDIR}/lib${LIB}${SHLIB_MINOR}.so.1.0
|
|
.endif
|
|
LINKS+= ${LIBDIR}/lib${LIB}.a ${LIBDIR}/lib${LIB}${SHLIB_MAJOR}.a
|
|
|
|
CFLAGS+= -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1
|
|
CFLAGS+= -DTCL_LIBRARY=\"${TCL_LIBRARY}\"
|
|
|
|
LDADD+= -lm
|
|
DPADD+= ${LIBM}
|
|
|
|
SRCS= panic.c regexp.c tclAsync.c tclBasic.c tclCkalloc.c tclClock.c \
|
|
tclCmdAH.c tclCmdIL.c tclCmdMZ.c tclDate.c tclEnv.c tclEvent.c \
|
|
tclExpr.c tclFHandle.c tclFileName.c tclGet.c tclHash.c \
|
|
tclHistory.c tclInterp.c tclIO.c tclIOCmd.c tclIOSock.c \
|
|
tclIOUtil.c tclLink.c tclLoad.c tclMain.c tclNotify.c tclParse.c \
|
|
tclPkg.c tclPosixStr.c tclPreserve.c tclProc.c tclUtil.c \
|
|
tclVar.c tclMtherr.c tclUnixChan.c tclUnixFile.c tclUnixNotfy.c \
|
|
tclUnixPipe.c tclUnixSock.c tclUnixTime.c tclUnixInit.c \
|
|
tclLoadDl2.c
|
|
|
|
beforeinstall:
|
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
|
|
${TCLDIST}/generic/tcl.h ${DESTDIR}/usr/include
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
|
${TCLDIST}/library/[a-z]* ${DESTDIR}/${TCL_LIBRARY}
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
|
${TCLDIST}/unix/tclAppInit.c ${DESTDIR}/${TCL_LIBRARY}
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
|
${TCLDIST}/doc/man.macros ${DESTDIR}/usr/share/tmac/tcl.macros
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
|
${.CURDIR}/tclConfig.sh ${DESTDIR}/${TCL_LIBRARY}
|
|
|
|
MANFILTER=sed "/\.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;"
|
|
|
|
MANn+= Tcl.n after.n append.n array.n bgerror.n break.n case.n catch.n \
|
|
cd.n clock.n close.n concat.n continue.n eof.n error.n eval.n \
|
|
exec.n exit.n expr.n fblocked.n fconfigure.n file.n fileevent.n \
|
|
filename.n flush.n for.n foreach.n format.n gets.n glob.n \
|
|
global.n history.n if.n incr.n info.n interp.n join.n lappend.n \
|
|
library.n lindex.n linsert.n list.n llength.n load.n lrange.n \
|
|
lreplace.n lsearch.n lsort.n open.n package.n pid.n pkgMkIndex.n \
|
|
proc.n puts.n pwd.n read.n regexp.n regsub.n rename.n return.n \
|
|
scan.n seek.n set.n socket.n source.n split.n string.n subst.n \
|
|
switch.n tclvars.n tell.n time.n trace.n unknown.n unset.n \
|
|
update.n uplevel.n upvar.n vwait.n while.n
|
|
|
|
MAN3+= AddErrInfo.3 AllowExc.3 AppInit.3 AssocData.3 Async.3 BackgdErr.3 \
|
|
Backslash.3 CallDel.3 CmdCmplt.3 Concat.3 CrtChannel.3 \
|
|
CrtChnlHdlr.3 CrtCloseHdlr.3 CrtCommand.3 CrtFileHdlr.3 \
|
|
CrtInterp.3 CrtMathFnc.3 CrtModalTmt.3 CrtSlave.3 CrtTimerHdlr.3 \
|
|
CrtTrace.3 DString.3 DetachPids.3 DoOneEvent.3 DoWhenIdle.3 \
|
|
Eval.3 Exit.3 ExprLong.3 FindExec.3 GetFile.3 GetInt.3 GetOpnFl.3 \
|
|
GetStdChan.3 Hash.3 Interp.3 LinkVar.3 Notifier.3 OpenFileChnl.3 \
|
|
OpenTcp.3 PkgRequire.3 Preserve.3 PrintDbl.3 RecordEval.3 \
|
|
RegExp.3 SetErrno.3 SetRecLmt.3 SetResult.3 SetVar.3 Sleep.3 \
|
|
SplitList.3 StaticPkg.3 StrMatch.3 Tcl_Main.3 TraceVar.3 \
|
|
Translate.3 UpVar.3
|
|
|
|
MLINKS+= Tcl_AddErrorInfo.3 Tcl_SetErrorCode.3
|
|
MLINKS+= Tcl_AddErrorInfo.3 Tcl_PosixError.3
|
|
MLINKS+= Tcl_GetAssocData.3 Tcl_SetAssocData.3
|
|
MLINKS+= Tcl_GetAssocData.3 Tcl_DeleteAssocData.3
|
|
MLINKS+= Tcl_AsyncCreate.3 Tcl_AsyncMark.3
|
|
MLINKS+= Tcl_AsyncCreate.3 Tcl_AsyncInvoke.3
|
|
MLINKS+= Tcl_AsyncCreate.3 Tcl_AsyncDelete.3
|
|
MLINKS+= Tcl_CallWhenDeleted.3 Tcl_DontCallWhenDeleted.3
|
|
MLINKS+= Tcl_CreateChannel.3 Tcl_GetChannelInstanceData.3
|
|
MLINKS+= Tcl_CreateChannel.3 Tcl_GetChannelType.3
|
|
MLINKS+= Tcl_CreateChannel.3 Tcl_GetChannelName.3
|
|
MLINKS+= Tcl_CreateChannel.3 Tcl_GetChannelFile.3
|
|
MLINKS+= Tcl_CreateChannel.3 Tcl_GetChannelBufferSize.3
|
|
MLINKS+= Tcl_CreateChannel.3 Tcl_SetDefaultTranslation.3
|
|
MLINKS+= Tcl_CreateChannel.3 Tcl_SetChannelBufferSize.3
|
|
MLINKS+= Tcl_CreateChannelHandler.3 Tcl_DeleteChannelHandler.3
|
|
MLINKS+= Tcl_CreateCloseHandler.3 Tcl_DeleteCloseHandler.3
|
|
MLINKS+= Tcl_CreateCommand.3 Tcl_DeleteCommand.3
|
|
MLINKS+= Tcl_CreateCommand.3 Tcl_GetCommandInfo.3
|
|
MLINKS+= Tcl_CreateCommand.3 Tcl_SetCommandInfo.3
|
|
MLINKS+= Tcl_CreateFileHandler.3 Tcl_DeleteFileHandler.3
|
|
MLINKS+= Tcl_CreateInterp.3 Tcl_DeleteInterp.3
|
|
MLINKS+= Tcl_CreateInterp.3 Tcl_InterpDeleted.3
|
|
MLINKS+= Tcl_CreateModalTimeout.3 Tcl_DeleteModalTimeout.3
|
|
MLINKS+= Tcl_IsSafe.3 Tcl_MakeSafe.3
|
|
MLINKS+= Tcl_IsSafe.3 Tcl_CreateSlave.3
|
|
MLINKS+= Tcl_IsSafe.3 Tcl_GetSlave.3
|
|
MLINKS+= Tcl_IsSafe.3 Tcl_GetSlaves.3
|
|
MLINKS+= Tcl_IsSafe.3 Tcl_GetMaster.3
|
|
MLINKS+= Tcl_IsSafe.3 Tcl_CreateAlias.3
|
|
MLINKS+= Tcl_IsSafe.3 Tcl_GetAlias.3
|
|
MLINKS+= Tcl_IsSafe.3 Tcl_GetAliases.3
|
|
MLINKS+= Tcl_CreateTimerHandler.3 Tcl_DeleteTimerHandler.3
|
|
MLINKS+= Tcl_CreateTrace.3 Tcl_DeleteTrace.3
|
|
MLINKS+= Tcl_DStringInit.3 Tcl_DStringAppend.3
|
|
MLINKS+= Tcl_DStringInit.3 Tcl_DStringAppendElement.3
|
|
MLINKS+= Tcl_DStringInit.3 Tcl_DStringStartSublist.3
|
|
MLINKS+= Tcl_DStringInit.3 Tcl_DStringEndSublist.3
|
|
MLINKS+= Tcl_DStringInit.3 Tcl_DStringLength.3
|
|
MLINKS+= Tcl_DStringInit.3 Tcl_DStringValue.3
|
|
MLINKS+= Tcl_DStringInit.3 Tcl_DStringSetLength.3
|
|
MLINKS+= Tcl_DStringInit.3 Tcl_DStringFree.3
|
|
MLINKS+= Tcl_DStringInit.3 Tcl_DStringResult.3
|
|
MLINKS+= Tcl_DStringInit.3 Tcl_DStringGetResult.3
|
|
MLINKS+= Tcl_DetachPids.3 Tcl_ReapDetachedProcs.3
|
|
MLINKS+= Tcl_DoWhenIdle.3 Tcl_CancelIdleCall.3
|
|
MLINKS+= Tcl_Eval.3 Tcl_VarEval.3
|
|
MLINKS+= Tcl_Eval.3 Tcl_EvalFile.3
|
|
MLINKS+= Tcl_Eval.3 Tcl_GlobalEval.3
|
|
MLINKS+= Tcl_Exit.3 Tcl_CreateExitHandler.3
|
|
MLINKS+= Tcl_Exit.3 Tcl_DeleteExitHandler.3
|
|
MLINKS+= Tcl_ExprLong.3 Tcl_ExprDouble.3
|
|
MLINKS+= Tcl_ExprLong.3 Tcl_ExprBoolean.3
|
|
MLINKS+= Tcl_ExprLong.3 Tcl_ExprString.3
|
|
MLINKS+= Tcl_GetFile.3 Tcl_FreeFile.3
|
|
MLINKS+= Tcl_GetFile.3 Tcl_GetFileInfo.3
|
|
MLINKS+= Tcl_GetInt.3 Tcl_GetDouble.3
|
|
MLINKS+= Tcl_GetInt.3 Tcl_GetBoolean.3
|
|
MLINKS+= Tcl_GetStdChannel.3 Tcl_SetStdChannel.3
|
|
MLINKS+= Tcl_InitHashTable.3 Tcl_DeleteHashTable.3
|
|
MLINKS+= Tcl_InitHashTable.3 Tcl_CreateHashEntry.3
|
|
MLINKS+= Tcl_InitHashTable.3 Tcl_DeleteHashEntry.3
|
|
MLINKS+= Tcl_InitHashTable.3 Tcl_FindHashEntry.3
|
|
MLINKS+= Tcl_InitHashTable.3 Tcl_GetHashValue.3
|
|
MLINKS+= Tcl_InitHashTable.3 Tcl_SetHashValue.3
|
|
MLINKS+= Tcl_InitHashTable.3 Tcl_GetHashKey.3
|
|
MLINKS+= Tcl_InitHashTable.3 Tcl_FirstHashEntry.3
|
|
MLINKS+= Tcl_InitHashTable.3 Tcl_NextHashEntry.3
|
|
MLINKS+= Tcl_InitHashTable.3 Tcl_HashStats.3
|
|
MLINKS+= Tcl_LinkVar.3 Tcl_UnlinkVar.3
|
|
MLINKS+= Tcl_LinkVar.3 Tcl_UpdateLinkedVar.3
|
|
MLINKS+= Tcl_CreateEventSource.3 Tcl_DeleteEventSource.3
|
|
MLINKS+= Tcl_CreateEventSource.3 Tcl_WatchFile.3
|
|
MLINKS+= Tcl_CreateEventSource.3 Tcl_FileReady.3
|
|
MLINKS+= Tcl_CreateEventSource.3 Tcl_SetMaxBlockTime.3
|
|
MLINKS+= Tcl_CreateEventSource.3 Tcl_QueueEvent.3
|
|
MLINKS+= Tcl_CreateEventSource.3 Tcl_WaitForEvent.3
|
|
MLINKS+= Tcl_OpenFileChannel.3 Tcl_OpenCommandChannel.3
|
|
MLINKS+= Tcl_OpenFileChannel.3 Tcl_Close.3
|
|
MLINKS+= Tcl_OpenFileChannel.3 Tcl_Read.3
|
|
MLINKS+= Tcl_OpenFileChannel.3 Tcl_Gets.3
|
|
MLINKS+= Tcl_OpenFileChannel.3 Tcl_Write.3
|
|
MLINKS+= Tcl_OpenFileChannel.3 Tcl_Flush.3
|
|
MLINKS+= Tcl_OpenFileChannel.3 Tcl_Seek.3
|
|
MLINKS+= Tcl_OpenFileChannel.3 Tcl_Tell.3
|
|
MLINKS+= Tcl_OpenFileChannel.3 Tcl_Eof.3
|
|
MLINKS+= Tcl_OpenFileChannel.3 Tcl_InputBlocked.3
|
|
MLINKS+= Tcl_OpenFileChannel.3 Tcl_GetChannelOption.3
|
|
MLINKS+= Tcl_OpenFileChannel.3 Tcl_SetChannelOption.3
|
|
MLINKS+= Tcl_OpenTcpClient.3 Tcl_OpenTcpServer.3
|
|
MLINKS+= Tcl_PkgRequire.3 Tcl_PkgProvide.3
|
|
MLINKS+= Tcl_Preserve.3 Tcl_Release.3
|
|
MLINKS+= Tcl_Preserve.3 Tcl_EventuallyFree.3
|
|
MLINKS+= Tcl_RegExpMatch.3 Tcl_RegExpCompile.3
|
|
MLINKS+= Tcl_RegExpMatch.3 Tcl_RegExpExec.3
|
|
MLINKS+= Tcl_RegExpMatch.3 Tcl_RegExpRange.3
|
|
MLINKS+= Tcl_SetErrno.3 Tcl_GetErrno.3
|
|
MLINKS+= Tcl_SetResult.3 Tcl_AppendResult.3
|
|
MLINKS+= Tcl_SetResult.3 Tcl_AppendElement.3
|
|
MLINKS+= Tcl_SetResult.3 Tcl_ResetResult.3
|
|
MLINKS+= Tcl_SetVar.3 Tcl_SetVar2.3
|
|
MLINKS+= Tcl_SetVar.3 Tcl_GetVar.3
|
|
MLINKS+= Tcl_SetVar.3 Tcl_GetVar2.3
|
|
MLINKS+= Tcl_SetVar.3 Tcl_UnsetVar.3
|
|
MLINKS+= Tcl_SetVar.3 Tcl_UnsetVar2.3
|
|
MLINKS+= Tcl_SplitList.3 Tcl_Merge.3
|
|
MLINKS+= Tcl_SplitList.3 Tcl_ScanElement.3
|
|
MLINKS+= Tcl_SplitList.3 Tcl_ConvertElement.3
|
|
MLINKS+= Tcl_TraceVar.3 Tcl_TraceVar2.3
|
|
MLINKS+= Tcl_TraceVar.3 Tcl_UntraceVar.3
|
|
MLINKS+= Tcl_TraceVar.3 Tcl_UntraceVar2.3
|
|
MLINKS+= Tcl_TraceVar.3 Tcl_VarTraceInfo.3
|
|
MLINKS+= Tcl_TraceVar.3 Tcl_VarTraceInfo2.3
|
|
MLINKS+= Tcl_UpVar.3 Tcl_UpVar2.3
|
|
|
|
|
|
.include <bsd.lib.mk>
|
|
|