summaryrefslogtreecommitdiffstats
path: root/usr.bin/rlogin/Makefile
diff options
context:
space:
mode:
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