summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorThomas Graichen <graichen@cvs.openbsd.org>1998-03-19 15:20:04 +0000
committerThomas Graichen <graichen@cvs.openbsd.org>1998-03-19 15:20:04 +0000
commit92e27847477116ef566d260685138964ee1a65c9 (patch)
treed7bdd398591b3a0ba7e77e07506de2b05bfd8c6a /usr.bin
parent3b3a923b80f6d275f30505d7745faaac7ddb6a1d (diff)
add some kerberos specific defines (after discussion with art) to fix
a building problem on the pmax - will investigate further with art@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tn3270/tn3270/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.bin/tn3270/tn3270/Makefile b/usr.bin/tn3270/tn3270/Makefile
index 194d3304447..623e6b1ad15 100644
--- a/usr.bin/tn3270/tn3270/Makefile
+++ b/usr.bin/tn3270/tn3270/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 1998/03/12 17:31:44 deraadt Exp $
+# $OpenBSD: Makefile,v 1.10 1998/03/19 15:20:03 graichen Exp $
.include "../../Makefile.inc"
@@ -8,6 +8,15 @@ CFLAGS +=-I${.CURDIR}/../../telnet
LDADD += -locurses -ltermcap -ltelnet
DPADD += ${LIBOLDCURSES} ${LIBTERMCAP} ${LIBTELNET}
+.include <bsd.own.mk> # for KERBEROS
+
+.if (${KERBEROS} == "yes")
+CFLAGS+=-DENCRYPTION -DAUTHENTICATION -DKRB4
+LDADD+= -lkrb -ldes
+DPADD+= ${LIBDES} ${LIBKRB}
+SRCS += authenc.c
+.endif
+
SRCS += apilib.c api_bsd.c api_exch.c asc_ebc.c astosc.c dctype.c
SRCS += disp_asc.c ebc_disp.c
SRCS += map3270.c termin.c