version 1.5, 1997/09/21 11:51:10 |
version 1.6, 1998/03/12 04:57:26 |
|
|
PROG= telnet |
PROG= telnet |
|
|
CFLAGS+=-DTERMCAP -DKLUDGELINEMODE -DUSE_TERMIO -DSKEY -Dunix |
CFLAGS+=-DTERMCAP -DKLUDGELINEMODE -DUSE_TERMIO -DSKEY -Dunix |
CFLAGS+=-DENV_HACK |
CFLAGS+=-DENV_HACK |
CFLAGS+=-I${.CURDIR}/../../lib |
CFLAGS+=-I${.CURDIR}/../../lib |
LDADD+= -ltermcap -ltelnet |
LDADD+= -ltermcap -ltelnet |
DPADD= ${LIBTERMCAP} ${LIBTELNET} |
DPADD= ${LIBTERMCAP} ${LIBTELNET} |
|
|
|
|
SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c telnet.c \ |
SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c telnet.c \ |
terminal.c tn3270.c utilities.c |
terminal.c tn3270.c utilities.c |
|
|
# These are the sources that have encryption stuff in them. |
.include <bsd.own.mk> # for KERBEROS |
CRYPT_SRC= authenc.c commands.c externs.h main.c network.c |
|
CRYPT_SRC+= ring.c ring.h telnet.c terminal.c utilities.c Makefile |
|
NOCRYPT_DIR=${.CURDIR}/Nocrypt |
|
|
|
|
.if (${KERBEROS} == "yes") |
|
CFLAGS+=-DENCRYPTION -DAUTHENTICATION -DKRB4 |
|
LDADD+= -lkrb -ldes |
|
DPADD+= ${LIBDES} ${LIBKRB} |
|
.endif |
|
|
.include <bsd.prog.mk> |
.include <bsd.prog.mk> |
|
|
nocrypt: |
|
@echo "Encryption code already removed." |
|