1994-10-28 00:04:24 +00:00
|
|
|
PROG= kermit
|
1994-11-18 13:29:04 +00:00
|
|
|
CFLAGS+= -I${.CURDIR} -DBSD44 -DCK_CURSES -DDYNAMIC -DTCPSOCKET \
|
1995-09-19 11:51:33 +00:00
|
|
|
-DNOCOTFMC -DSETREUID -DSAVEDUID -DNDSYSERRLIST
|
1994-10-28 00:04:24 +00:00
|
|
|
SRCS= ckcmai.c ckucmd.c ckuusr.c ckuus2.c ckuus3.c ckuus4.c ckuus5.c \
|
|
|
|
ckuus6.c ckuus7.c ckuusx.c ckuusy.c ckcpro.c ckcfns.c ckcfn2.c \
|
|
|
|
ckcfn3.c ckuxla.c ckucon.c ckutio.c ckufio.c ckudia.c ckuscr.c \
|
1996-12-10 10:24:03 +00:00
|
|
|
ckcnet.c ckusig.c
|
1994-10-28 00:04:24 +00:00
|
|
|
|
|
|
|
BINDIR=%%PREFIX%%/bin
|
|
|
|
MANDIR=%%PREFIX%%/man/man
|
|
|
|
|
1996-12-10 10:24:03 +00:00
|
|
|
CLEANFILES+= ckcpro.c ckcwart.o wart kermit.1
|
1994-10-28 00:04:24 +00:00
|
|
|
|
|
|
|
DPADD= ${LIBCURSES} ${LIBTERM}
|
|
|
|
LDADD= -lcurses -ltermcap
|
|
|
|
|
|
|
|
.SUFFIXES: .w
|
|
|
|
|
|
|
|
.w.c:
|
|
|
|
./wart ${.IMPSRC} ${.TARGET}
|
|
|
|
|
|
|
|
wart: ckwart.c
|
|
|
|
$(CC) -o wart ${.CURDIR}/ckwart.c
|
|
|
|
|
|
|
|
ckcpro.c: ckcpro.w
|
|
|
|
ckcpro.c: wart
|
|
|
|
|
1996-12-10 10:24:03 +00:00
|
|
|
kermit.1: ckuker.cpp
|
|
|
|
$(CPP) ckuker.cpp | grep -v ^$$ | grep -v ^\# > kermit.1 || \
|
|
|
|
rm -f kermit.1
|
|
|
|
|
1994-10-28 00:04:24 +00:00
|
|
|
.include <bsd.prog.mk>
|