aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/telnet
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-03-31 17:04:49 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-03-31 17:04:49 +0000
commit63d2b1e9f0f79ba69030b81e761deedc2e895068 (patch)
tree0b586836a68a4de51245233bc1152ae30fbd272c /usr.bin/telnet
parent9602ba91f279dd368fc5f849ca3cc16280a45f27 (diff)
downloadsrc-63d2b1e9f0f79ba69030b81e761deedc2e895068.tar.gz
src-63d2b1e9f0f79ba69030b81e761deedc2e895068.zip
libtelnet.a is gone; add a special hack for `make release' fixit floppy.
Notes
Notes: svn path=/head/; revision=75042
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 0458220ca370..8ffd9d3d5041 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