aboutsummaryrefslogtreecommitdiff
path: root/secure/usr.bin/telnet
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1996-03-09 13:26:21 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1996-03-09 13:26:21 +0000
commitf6d9ce2baea7bac18f849f1acc3a274055ab5f04 (patch)
tree9e1df733e948507dceaf6c3de57dcbb3ad9118de /secure/usr.bin/telnet
parentd91680ea371b8a05d055a6cf85d98229d7c16986 (diff)
downloadsrc-f6d9ce2baea7bac18f849f1acc3a274055ab5f04.tar.gz
src-f6d9ce2baea7bac18f849f1acc3a274055ab5f04.zip
Sense MAKE_EBONES, DESTDIR
SRCS cleanup DPADD cleanup
Notes
Notes: svn path=/head/; revision=14437
Diffstat (limited to 'secure/usr.bin/telnet')
-rw-r--r--secure/usr.bin/telnet/Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/secure/usr.bin/telnet/Makefile b/secure/usr.bin/telnet/Makefile
index 5314ad795833..d751687821e7 100644
--- a/secure/usr.bin/telnet/Makefile
+++ b/secure/usr.bin/telnet/Makefile
@@ -43,24 +43,30 @@ DPADD+= ${TELNETOBJDIR}/libtelnet.a
#ifdef ENCRYPTION
-CFLAGS+=-DAUTHENTICATION -DENCRYPTION
+CFLAGS += -DENCRYPTION
-.if exists(/usr/lib/libkrb.a)
+.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_EBONES) \
+ || defined(MAKE_KERBEROS))
+CFLAGS+=-DAUTHENTICATION
CFLAGS+= -DKRB4
LDADD+= -ldes -lkrb
+DPADD+= ${LIBDES} ${LIBKRB}
.endif
-.if exists(/usr/lib/libkrb5.a)
-CFLAGS+= -DKRB5 -DFORWARD
-LDADD+= -ldes -lkrb5
-.endif
+#.if exists(${DESTDIR}/usr/lib/libkrb5.a) && (defined(MAKE_EBONES) \
+# || defined(MAKE_KERBEROS))
+#CFLAGS+=-DAUTHENTICATION
+#CFLAGS+= -DKRB5 -DFORWARD
+#LDADD+= -ldes -lkrb5
+#DPADD+= ${LIBDES}
+#.endif
# Used only in krb4encpwd.c and rsaencpwd.c (libtelnet), not yet active
#LDADD+= -ldescrypt
#endif /* ENCRYPTION */
-DPADD= ${LIBTERMCAP}
+DPADD+= ${LIBTERMCAP}
SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c telnet.c \
terminal.c tn3270.c utilities.c