summaryrefslogtreecommitdiffstats
path: root/libexec/rlogind/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rlogind/Makefile')
-rw-r--r--libexec/rlogind/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/libexec/rlogind/Makefile b/libexec/rlogind/Makefile
index 41136e2..c12984f 100644
--- a/libexec/rlogind/Makefile
+++ b/libexec/rlogind/Makefile
@@ -1,18 +1,24 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
-# $Id$
+# $Id: Makefile,v 1.7 1997/02/22 14:22:07 peter Exp $
PROG= rlogind
SRCS= rlogind.c
MAN8= rlogind.8
DPADD= ${LIBUTIL}
LDADD= -lutil
+CFLAGS+= -Wall
-.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
- || defined(MAKE_EBONES))
-CFLAGS+=-DKERBEROS -DCRYPT
+.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
+SRCS+= encrypt.c
+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
DPADD= ${LIBKRB} ${LIBDES}
LDADD+= -lkrb -ldes
DISTRIBUTION= krb
+.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud