summaryrefslogtreecommitdiffstats
path: root/usr.bin/telnet
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-03-31 17:04:49 +0000
committerru <ru@FreeBSD.org>2001-03-31 17:04:49 +0000
commit9f322d84b52ad34526c5d10e8f1be9b0c8eaf378 (patch)
treebed7b29b9fbdfa752ebdd6a7d5b644cc1a0b42b6 /usr.bin/telnet
parent41353c734f2b173306143e1714e751ec86d308f5 (diff)
downloadFreeBSD-src-9f322d84b52ad34526c5d10e8f1be9b0c8eaf378.zip
FreeBSD-src-9f322d84b52ad34526c5d10e8f1be9b0c8eaf378.tar.gz
libtelnet.a is gone; add a special hack for `make release' fixit floppy.
Diffstat (limited to 'usr.bin/telnet')
-rw-r--r--usr.bin/telnet/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/usr.bin/telnet/Makefile b/usr.bin/telnet/Makefile
index 0458220..8ffd9d3 100644
--- a/usr.bin/telnet/Makefile
+++ b/usr.bin/telnet/Makefile
@@ -36,6 +36,9 @@
PROG= telnet
+SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c telnet.c \
+ terminal.c tn3270.c utilities.c
+
CFLAGS+=-DKLUDGELINEMODE -DUSE_TERMIO #-DAUTHENTICATION -DENCRYPTION
CFLAGS+=-DENV_HACK
CFLAGS+=-DSKEY
@@ -55,11 +58,13 @@ CFLAGS+=-DINET6
CFLAGS+=-DIPSEC
DPADD+= ${LIBIPSEC}
LDADD+= -lipsec
+.else
+.PATH: ${.CURDIR}/../../lib/libtelnet
+# XXX This was copied from lib/libtelnet/Makefile.
+SRCS+= genget.c getent.c misc.c
+CFLAGS+= -DHAS_CGETENT
.endif
-SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c telnet.c \
- terminal.c tn3270.c utilities.c
-
# These are the sources that have encryption stuff in them.
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
OpenPOWER on IntegriCloud