summaryrefslogtreecommitdiffstats
path: root/usr.bin/rlogin/Makefile
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1997-09-28 08:57:24 +0000
committermarkm <markm@FreeBSD.org>1997-09-28 08:57:24 +0000
commit991f2e7747012b7a3ac9aaefb97e4ccbb4125789 (patch)
tree544fbda0330e990e150c4b3c6b3277caf457742f /usr.bin/rlogin/Makefile
parent9a65690bbfef5ffb763f038713e5be5aee18fe55 (diff)
downloadFreeBSD-src-991f2e7747012b7a3ac9aaefb97e4ccbb4125789.zip
FreeBSD-src-991f2e7747012b7a3ac9aaefb97e4ccbb4125789.tar.gz
Changes for KTH KerberosIV.
Also quieten -Wall a bit.
Diffstat (limited to 'usr.bin/rlogin/Makefile')
-rw-r--r--usr.bin/rlogin/Makefile21
1 files changed, 13 insertions, 8 deletions
diff --git a/usr.bin/rlogin/Makefile b/usr.bin/rlogin/Makefile
index 38cf030..746e4a4 100644
--- a/usr.bin/rlogin/Makefile
+++ b/usr.bin/rlogin/Makefile
@@ -2,18 +2,23 @@
PROG= rlogin
SRCS= rlogin.c
+CFLAGS+=-Wall
-.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
- || defined(MAKE_EBONES))
-SRCS+= krcmd.c kcmd.c
+BINOWN= root
+BINMODE=4555
+INSTALLFLAGS=-fschg
+
+.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
+SRCS+= krcmd.c kcmd.c rcmd_util.c encrypt.c
DPADD= ${LIBKRB} ${LIBDES}
-CFLAGS+=-DKERBEROS -DCRYPT
+CFLAGS+=-DKERBEROS -DCRYPT -DHAVE_CONFIG_H \
+ -I${.CURDIR}/../../kerberosIV/include \
+ -I${.CURDIR}/../../crypto/kerberosIV/include \
+ -I${.CURDIR}/../../crypto/kerberosIV/lib/roken \
+ -I${.CURDIR}/../../crypto/kerberosIV/appl/bsd
LDADD= -lkrb -ldes
DISTRIBUTION= krb
+.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
.endif
-BINOWN= root
-BINMODE=4555
-INSTALLFLAGS=-fschg
-
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud