freebsd-dev/usr.bin/tclsh/Makefile

22 lines
438 B
Makefile

# $Id: Makefile,v 1.5 1997/08/18 11:39:19 peter Exp $
PROG= tclsh
SRCS= tclAppInit.c
BINDIR= /usr/bin
.PATH: ${DESTDIR}/usr/libdata/tcl
MAN1= tclsh.1
CLEANFILES= ${MAN1}
tclsh.1: ${.CURDIR}/../../contrib/tcl/doc/tclsh.1
sed '/\.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;' < ${.ALLSRC} > ${.TARGET}
CFLAGS+= -I${DESTDIR}/usr/include/tcl
LDADD+= -ltcl -lm
DPADD+= ${LIBTCL} ${LIBM}
.include <bsd.prog.mk>