freebsd-skq/usr.bin/tclsh/Makefile
andreas ccd541db0a had to add CFLAGS+=-I/usr/include/tcl
otherwise it doesn't find tcl.h
1997-08-18 06:08:56 +00:00

22 lines
412 B
Makefile

# $Id: Makefile,v 1.3 1997/02/22 19:57:21 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;' < $> > $@
CFLAGS+= -I/usr/include/tcl
LDADD+= -ltcl -lm
DPADD+= ${LIBTCL} ${LIBM}
.include <bsd.prog.mk>