Regenerate Makefile with mkMakefile.sh, add generated tclConfig.sh

This commit is contained in:
peter 1996-08-29 10:40:03 +00:00
parent befeedb17d
commit 06c141420a
2 changed files with 152 additions and 696 deletions

View File

@ -1,23 +1,40 @@
# $Id: Makefile,v 1.1 1996/06/26 17:48:13 phk Exp $
# This file is generated automatically, think twice!
# $Id$
#
# This file is generated automatically, do not edit it here!
#
# Please change src/tools/tools/tcl_bmake/mkMakefile.sh instead
# Generated by version $Id: Makefile,v 1.1 1996/06/26 17:48:13 phk Exp $
# of src/tools/tools/tcl_bmake/mkMakefile.sh
#
# 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 \
@ -28,485 +45,52 @@ SRCS= panic.c regexp.c tclAsync.c tclBasic.c tclCkalloc.c tclClock.c \
tclUnixPipe.c tclUnixSock.c tclUnixTime.c tclUnixInit.c \
tclLoadDl2.c
beforeinstall: ${TCLDIST}/generic/tcl.h tcl.macros
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 $> \
${DESTDIR}/usr/include
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 \
tcl.macros ${DESTDIR}/usr/share/tmac/tcl.macros
${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
tcl.macros: ${TCLDIST}/doc/man.macros
cp $> $@
Tcl.n: ${TCLDIST}/doc/Tcl.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= Tcl.n
after.n: ${TCLDIST}/doc/after.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= after.n
append.n: ${TCLDIST}/doc/append.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= append.n
array.n: ${TCLDIST}/doc/array.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= array.n
bgerror.n: ${TCLDIST}/doc/bgerror.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= bgerror.n
break.n: ${TCLDIST}/doc/break.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= break.n
case.n: ${TCLDIST}/doc/case.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= case.n
catch.n: ${TCLDIST}/doc/catch.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= catch.n
cd.n: ${TCLDIST}/doc/cd.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= cd.n
clock.n: ${TCLDIST}/doc/clock.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= clock.n
close.n: ${TCLDIST}/doc/close.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= close.n
concat.n: ${TCLDIST}/doc/concat.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= concat.n
continue.n: ${TCLDIST}/doc/continue.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= continue.n
eof.n: ${TCLDIST}/doc/eof.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= eof.n
error.n: ${TCLDIST}/doc/error.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= error.n
eval.n: ${TCLDIST}/doc/eval.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= eval.n
exec.n: ${TCLDIST}/doc/exec.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= exec.n
exit.n: ${TCLDIST}/doc/exit.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= exit.n
expr.n: ${TCLDIST}/doc/expr.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= expr.n
fblocked.n: ${TCLDIST}/doc/fblocked.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= fblocked.n
fconfigure.n: ${TCLDIST}/doc/fconfigure.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= fconfigure.n
file.n: ${TCLDIST}/doc/file.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= file.n
fileevent.n: ${TCLDIST}/doc/fileevent.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= fileevent.n
filename.n: ${TCLDIST}/doc/filename.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= filename.n
flush.n: ${TCLDIST}/doc/flush.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= flush.n
for.n: ${TCLDIST}/doc/for.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= for.n
foreach.n: ${TCLDIST}/doc/foreach.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= foreach.n
format.n: ${TCLDIST}/doc/format.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= format.n
gets.n: ${TCLDIST}/doc/gets.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= gets.n
glob.n: ${TCLDIST}/doc/glob.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= glob.n
global.n: ${TCLDIST}/doc/global.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= global.n
history.n: ${TCLDIST}/doc/history.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= history.n
if.n: ${TCLDIST}/doc/if.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= if.n
incr.n: ${TCLDIST}/doc/incr.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= incr.n
info.n: ${TCLDIST}/doc/info.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= info.n
interp.n: ${TCLDIST}/doc/interp.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= interp.n
join.n: ${TCLDIST}/doc/join.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= join.n
lappend.n: ${TCLDIST}/doc/lappend.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= lappend.n
library.n: ${TCLDIST}/doc/library.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= library.n
lindex.n: ${TCLDIST}/doc/lindex.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= lindex.n
linsert.n: ${TCLDIST}/doc/linsert.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= linsert.n
list.n: ${TCLDIST}/doc/list.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= list.n
llength.n: ${TCLDIST}/doc/llength.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= llength.n
load.n: ${TCLDIST}/doc/load.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= load.n
lrange.n: ${TCLDIST}/doc/lrange.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= lrange.n
lreplace.n: ${TCLDIST}/doc/lreplace.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= lreplace.n
lsearch.n: ${TCLDIST}/doc/lsearch.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= lsearch.n
lsort.n: ${TCLDIST}/doc/lsort.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= lsort.n
open.n: ${TCLDIST}/doc/open.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= open.n
package.n: ${TCLDIST}/doc/package.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= package.n
pid.n: ${TCLDIST}/doc/pid.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= pid.n
pkgMkIndex.n: ${TCLDIST}/doc/pkgMkIndex.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= pkgMkIndex.n
proc.n: ${TCLDIST}/doc/proc.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= proc.n
puts.n: ${TCLDIST}/doc/puts.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= puts.n
pwd.n: ${TCLDIST}/doc/pwd.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= pwd.n
read.n: ${TCLDIST}/doc/read.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= read.n
regexp.n: ${TCLDIST}/doc/regexp.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= regexp.n
regsub.n: ${TCLDIST}/doc/regsub.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= regsub.n
rename.n: ${TCLDIST}/doc/rename.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= rename.n
return.n: ${TCLDIST}/doc/return.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= return.n
scan.n: ${TCLDIST}/doc/scan.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= scan.n
seek.n: ${TCLDIST}/doc/seek.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= seek.n
set.n: ${TCLDIST}/doc/set.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= set.n
socket.n: ${TCLDIST}/doc/socket.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= socket.n
source.n: ${TCLDIST}/doc/source.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= source.n
split.n: ${TCLDIST}/doc/split.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= split.n
string.n: ${TCLDIST}/doc/string.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= string.n
subst.n: ${TCLDIST}/doc/subst.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= subst.n
switch.n: ${TCLDIST}/doc/switch.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= switch.n
tclvars.n: ${TCLDIST}/doc/tclvars.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= tclvars.n
tell.n: ${TCLDIST}/doc/tell.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= tell.n
time.n: ${TCLDIST}/doc/time.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= time.n
trace.n: ${TCLDIST}/doc/trace.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= trace.n
unknown.n: ${TCLDIST}/doc/unknown.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= unknown.n
unset.n: ${TCLDIST}/doc/unset.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= unset.n
update.n: ${TCLDIST}/doc/update.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= update.n
uplevel.n: ${TCLDIST}/doc/uplevel.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= uplevel.n
upvar.n: ${TCLDIST}/doc/upvar.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= upvar.n
vwait.n: ${TCLDIST}/doc/vwait.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= vwait.n
while.n: ${TCLDIST}/doc/while.n
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MANn+= while.n
Tcl_AddErrorInfo.3: ${TCLDIST}/doc/AddErrInfo.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_AddErrorInfo.3
MLINKS+= Tcl_AddErrorInfo.3 Tcl_SetErrorCode.3
MLINKS+= Tcl_AddErrorInfo.3 Tcl_PosixError.3
Tcl_AllowExceptions.3: ${TCLDIST}/doc/AllowExc.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_AllowExceptions.3
Tcl_AppInit.3: ${TCLDIST}/doc/AppInit.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_AppInit.3
Tcl_GetAssocData.3: ${TCLDIST}/doc/AssocData.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_GetAssocData.3
MLINKS+= Tcl_GetAssocData.3 Tcl_SetAssocData.3
MLINKS+= Tcl_GetAssocData.3 Tcl_DeleteAssocData.3
Tcl_AsyncCreate.3: ${TCLDIST}/doc/Async.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_AsyncCreate.3
MLINKS+= Tcl_AsyncCreate.3 Tcl_AsyncMark.3
MLINKS+= Tcl_AsyncCreate.3 Tcl_AsyncInvoke.3
MLINKS+= Tcl_AsyncCreate.3 Tcl_AsyncDelete.3
Tcl_BackgroundError.3: ${TCLDIST}/doc/BackgdErr.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_BackgroundError.3
Tcl_Backslash.3: ${TCLDIST}/doc/Backslash.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_Backslash.3
Tcl_CallWhenDeleted.3: ${TCLDIST}/doc/CallDel.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_CallWhenDeleted.3
MLINKS+= Tcl_CallWhenDeleted.3 Tcl_DontCallWhenDeleted.3
Tcl_CommandComplete.3: ${TCLDIST}/doc/CmdCmplt.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_CommandComplete.3
Tcl_Concat.3: ${TCLDIST}/doc/Concat.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_Concat.3
Tcl_CreateChannel.3: ${TCLDIST}/doc/CrtChannel.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_CreateChannel.3
MLINKS+= Tcl_CreateChannel.3 Tcl_GetChannelInstanceData.3
MLINKS+= Tcl_CreateChannel.3 Tcl_GetChannelType.3
MLINKS+= Tcl_CreateChannel.3 Tcl_GetChannelName.3
@ -514,55 +98,15 @@ 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
Tcl_CreateChannelHandler.3: ${TCLDIST}/doc/CrtChnlHdlr.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_CreateChannelHandler.3
MLINKS+= Tcl_CreateChannelHandler.3 Tcl_DeleteChannelHandler.3
Tcl_CreateCloseHandler.3: ${TCLDIST}/doc/CrtCloseHdlr.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_CreateCloseHandler.3
MLINKS+= Tcl_CreateCloseHandler.3 Tcl_DeleteCloseHandler.3
Tcl_CreateCommand.3: ${TCLDIST}/doc/CrtCommand.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_CreateCommand.3
MLINKS+= Tcl_CreateCommand.3 Tcl_DeleteCommand.3
MLINKS+= Tcl_CreateCommand.3 Tcl_GetCommandInfo.3
MLINKS+= Tcl_CreateCommand.3 Tcl_SetCommandInfo.3
Tcl_CreateFileHandler.3: ${TCLDIST}/doc/CrtFileHdlr.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_CreateFileHandler.3
MLINKS+= Tcl_CreateFileHandler.3 Tcl_DeleteFileHandler.3
Tcl_CreateInterp.3: ${TCLDIST}/doc/CrtInterp.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_CreateInterp.3
MLINKS+= Tcl_CreateInterp.3 Tcl_DeleteInterp.3
MLINKS+= Tcl_CreateInterp.3 Tcl_InterpDeleted.3
Tcl_CreateMathFunc.3: ${TCLDIST}/doc/CrtMathFnc.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_CreateMathFunc.3
Tcl_CreateModalTimeout.3: ${TCLDIST}/doc/CrtModalTmt.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_CreateModalTimeout.3
MLINKS+= Tcl_CreateModalTimeout.3 Tcl_DeleteModalTimeout.3
Tcl_IsSafe.3: ${TCLDIST}/doc/CrtSlave.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_IsSafe.3
MLINKS+= Tcl_IsSafe.3 Tcl_MakeSafe.3
MLINKS+= Tcl_IsSafe.3 Tcl_CreateSlave.3
MLINKS+= Tcl_IsSafe.3 Tcl_GetSlave.3
@ -571,23 +115,8 @@ 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
Tcl_CreateTimerHandler.3: ${TCLDIST}/doc/CrtTimerHdlr.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_CreateTimerHandler.3
MLINKS+= Tcl_CreateTimerHandler.3 Tcl_DeleteTimerHandler.3
Tcl_CreateTrace.3: ${TCLDIST}/doc/CrtTrace.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_CreateTrace.3
MLINKS+= Tcl_CreateTrace.3 Tcl_DeleteTrace.3
Tcl_DStringInit.3: ${TCLDIST}/doc/DString.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_DStringInit.3
MLINKS+= Tcl_DStringInit.3 Tcl_DStringAppend.3
MLINKS+= Tcl_DStringInit.3 Tcl_DStringAppendElement.3
MLINKS+= Tcl_DStringInit.3 Tcl_DStringStartSublist.3
@ -598,81 +127,21 @@ 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
Tcl_DetachPids.3: ${TCLDIST}/doc/DetachPids.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_DetachPids.3
MLINKS+= Tcl_DetachPids.3 Tcl_ReapDetachedProcs.3
Tcl_DoOneEvent.3: ${TCLDIST}/doc/DoOneEvent.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_DoOneEvent.3
Tcl_DoWhenIdle.3: ${TCLDIST}/doc/DoWhenIdle.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_DoWhenIdle.3
MLINKS+= Tcl_DoWhenIdle.3 Tcl_CancelIdleCall.3
Tcl_Eval.3: ${TCLDIST}/doc/Eval.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_Eval.3
MLINKS+= Tcl_Eval.3 Tcl_VarEval.3
MLINKS+= Tcl_Eval.3 Tcl_EvalFile.3
MLINKS+= Tcl_Eval.3 Tcl_GlobalEval.3
Tcl_Exit.3: ${TCLDIST}/doc/Exit.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_Exit.3
MLINKS+= Tcl_Exit.3 Tcl_CreateExitHandler.3
MLINKS+= Tcl_Exit.3 Tcl_DeleteExitHandler.3
Tcl_ExprLong.3: ${TCLDIST}/doc/ExprLong.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_ExprLong.3
MLINKS+= Tcl_ExprLong.3 Tcl_ExprDouble.3
MLINKS+= Tcl_ExprLong.3 Tcl_ExprBoolean.3
MLINKS+= Tcl_ExprLong.3 Tcl_ExprString.3
Tcl_FindExecutable.3: ${TCLDIST}/doc/FindExec.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_FindExecutable.3
Tcl_GetFile.3: ${TCLDIST}/doc/GetFile.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_GetFile.3
MLINKS+= Tcl_GetFile.3 Tcl_FreeFile.3
MLINKS+= Tcl_GetFile.3 Tcl_GetFileInfo.3
Tcl_GetInt.3: ${TCLDIST}/doc/GetInt.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_GetInt.3
MLINKS+= Tcl_GetInt.3 Tcl_GetDouble.3
MLINKS+= Tcl_GetInt.3 Tcl_GetBoolean.3
Tcl_GetOpenFile.3: ${TCLDIST}/doc/GetOpnFl.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_GetOpenFile.3
Tcl_GetStdChannel.3: ${TCLDIST}/doc/GetStdChan.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_GetStdChannel.3
MLINKS+= Tcl_GetStdChannel.3 Tcl_SetStdChannel.3
Tcl_InitHashTable.3: ${TCLDIST}/doc/Hash.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_InitHashTable.3
MLINKS+= Tcl_InitHashTable.3 Tcl_DeleteHashTable.3
MLINKS+= Tcl_InitHashTable.3 Tcl_CreateHashEntry.3
MLINKS+= Tcl_InitHashTable.3 Tcl_DeleteHashEntry.3
@ -683,34 +152,14 @@ 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
Tcl_Interp.3: ${TCLDIST}/doc/Interp.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_Interp.3
Tcl_LinkVar.3: ${TCLDIST}/doc/LinkVar.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_LinkVar.3
MLINKS+= Tcl_LinkVar.3 Tcl_UnlinkVar.3
MLINKS+= Tcl_LinkVar.3 Tcl_UpdateLinkedVar.3
Tcl_CreateEventSource.3: ${TCLDIST}/doc/Notifier.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_CreateEventSource.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
Tcl_OpenFileChannel.3: ${TCLDIST}/doc/OpenFileChnl.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_OpenFileChannel.3
MLINKS+= Tcl_OpenFileChannel.3 Tcl_OpenCommandChannel.3
MLINKS+= Tcl_OpenFileChannel.3 Tcl_Close.3
MLINKS+= Tcl_OpenFileChannel.3 Tcl_Read.3
@ -723,124 +172,32 @@ 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
Tcl_OpenTcpClient.3: ${TCLDIST}/doc/OpenTcp.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_OpenTcpClient.3
MLINKS+= Tcl_OpenTcpClient.3 Tcl_OpenTcpServer.3
Tcl_PkgRequire.3: ${TCLDIST}/doc/PkgRequire.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_PkgRequire.3
MLINKS+= Tcl_PkgRequire.3 Tcl_PkgProvide.3
Tcl_Preserve.3: ${TCLDIST}/doc/Preserve.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_Preserve.3
MLINKS+= Tcl_Preserve.3 Tcl_Release.3
MLINKS+= Tcl_Preserve.3 Tcl_EventuallyFree.3
Tcl_PrintDouble.3: ${TCLDIST}/doc/PrintDbl.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_PrintDouble.3
Tcl_RecordAndEval.3: ${TCLDIST}/doc/RecordEval.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_RecordAndEval.3
Tcl_RegExpMatch.3: ${TCLDIST}/doc/RegExp.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_RegExpMatch.3
MLINKS+= Tcl_RegExpMatch.3 Tcl_RegExpCompile.3
MLINKS+= Tcl_RegExpMatch.3 Tcl_RegExpExec.3
MLINKS+= Tcl_RegExpMatch.3 Tcl_RegExpRange.3
Tcl_SetErrno.3: ${TCLDIST}/doc/SetErrno.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_SetErrno.3
MLINKS+= Tcl_SetErrno.3 Tcl_GetErrno.3
Tcl_SetRecursionLimit.3: ${TCLDIST}/doc/SetRecLmt.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_SetRecursionLimit.3
Tcl_SetResult.3: ${TCLDIST}/doc/SetResult.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_SetResult.3
MLINKS+= Tcl_SetResult.3 Tcl_AppendResult.3
MLINKS+= Tcl_SetResult.3 Tcl_AppendElement.3
MLINKS+= Tcl_SetResult.3 Tcl_ResetResult.3
Tcl_SetVar.3: ${TCLDIST}/doc/SetVar.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_SetVar.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
Tcl_Sleep.3: ${TCLDIST}/doc/Sleep.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_Sleep.3
Tcl_SplitList.3: ${TCLDIST}/doc/SplitList.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_SplitList.3
MLINKS+= Tcl_SplitList.3 Tcl_Merge.3
MLINKS+= Tcl_SplitList.3 Tcl_ScanElement.3
MLINKS+= Tcl_SplitList.3 Tcl_ConvertElement.3
Tcl_StaticPackage.3: ${TCLDIST}/doc/StaticPkg.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_StaticPackage.3
Tcl_StringMatch.3: ${TCLDIST}/doc/StrMatch.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_StringMatch.3
Tcl_Main.3: ${TCLDIST}/doc/Tcl_Main.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_Main.3
Tcl_TraceVar.3: ${TCLDIST}/doc/TraceVar.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_TraceVar.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
Tcl_TranslateFileName.3: ${TCLDIST}/doc/Translate.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_TranslateFileName.3
Tcl_UpVar.3: ${TCLDIST}/doc/UpVar.3
sed "/.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;" < $> > $@
MAN3+= Tcl_UpVar.3
MLINKS+= Tcl_UpVar.3 Tcl_UpVar2.3
CLEANFILES= ${MAN3} ${MANn} tcl.macros
.include <bsd.lib.mk>

99
lib/libtcl/tclConfig.sh Normal file
View File

@ -0,0 +1,99 @@
# tclConfig.sh --
#
# This shell script (for sh) is generated automatically by Tcl's
# configure script. It will create shell variables for most of
# the configuration options discovered by the configure script.
# This script is intended to be included by the configure scripts
# for Tcl extensions so that they don't have to figure this all
# out for themselves.
#
# The information in this file is specific to a single platform.
#
# SCCS: @(#) tclConfig.sh.in 1.15 96/04/17 10:46:27
# Tcl's version number.
TCL_VERSION='7.5'
TCL_MAJOR_VERSION='7'
TCL_MINOR_VERSION='5'
# C compiler to use for compilation.
TCL_CC='cc'
# -D flags for use with the C compiler.
TCL_DEFS=' -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 '
# The name of the Tcl library (may be either a .a file or a shared library):
TCL_LIB_FILE=libtcl75.so.1.0
# Additional libraries to use when linking Tcl.
TCL_LIBS=' -lm'
# Top-level directory in which Tcl's platform-independent files are
# installed.
TCL_PREFIX='/usr'
# Top-level directory in which Tcl's platform-specific files (e.g.
# executables) are installed.
TCL_EXEC_PREFIX='/usr'
# Flags to pass to cc when compiling the components of a shared library:
TCL_SHLIB_CFLAGS='-fPIC'
# Base command to use for combining object files into a shared library:
TCL_SHLIB_LD='ld -Bshareable'
# Either '$LIBS' (if dependent libraries should be included when linking
# shared libraries) or an empty string. See Tcl's configure.in for more
# explanation.
TCL_SHLIB_LD_LIBS=''
# Suffix to use for the name of a shared library.
TCL_SHLIB_SUFFIX='.so'
# Library file(s) to include in tclsh and other base applications
# in order to provide facilities needed by DLOBJ above.
TCL_DL_LIBS=''
# Flags to pass to the compiler when linking object files into
# an executable tclsh or tcltest binary.
TCL_LD_FLAGS=''
# Flags to pass to ld, such as "-R /usr/local/tcl/lib", that tell the
# run-time dynamic linker where to look for shared libraries such as
# libtcl.so. Used when linking applications. Only works if there
# is a variable "LIB_INSTALL_DIR" defined in the Makefile.
TCL_LD_SEARCH_FLAGS=''
# Additional object files linked with Tcl to provide compatibility
# with standard facilities from ANSI C or POSIX.
TCL_COMPAT_OBJS=''
# Name of the ranlib program to use.
TCL_RANLIB=':'
# String to pass to linker to pick up the Tcl library from its
# build directory.
#XXX not available# TCL_BUILD_LIB_SPEC='-L/home/src/contrib/tcl/unix -ltcl75'
# String to pass to linker to pick up the Tcl library from its
# installed directory.
TCL_LIB_SPEC='-L/usr/lib -ltcl75'
# Indicates whether a version numbers should be used in -l switches
# ("ok" means it's safe to use switches like -ltcl7.5; "nodots" means
# use switches like -ltcl75). SunOS and FreeBSD require "nodots", for
# example.
TCL_LIB_VERSIONS_OK='nodots'
# String that can be evaluated to generate the part of a shared library
# name that comes after the "libxxx" (includes version number, if any,
# extension, and anything else needed). May depend on the variables
# VERSION and SHLIB_SUFFIX. On most UNIX systems this is
# ${VERSION}${SHLIB_SUFFIX}.
TCL_SHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.so.1.0'
# String that can be evaluated to generate the part of an unshared library
# name that comes after the "libxxx" (includes version number, if any,
# extension, and anything else needed). May depend on the variable
# VERSION. On most UNIX systems this is ${VERSION}.a.
TCL_UNSHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.a'