diff options
Diffstat (limited to 'libexec/rshd/Makefile')
-rw-r--r-- | libexec/rshd/Makefile | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/libexec/rshd/Makefile b/libexec/rshd/Makefile index 0b448aa..c94f453 100644 --- a/libexec/rshd/Makefile +++ b/libexec/rshd/Makefile @@ -1,11 +1,21 @@ -# @(#)Makefile 8.1 (Berkeley) 6/4/93 +# From: @(#)Makefile 8.1 (Berkeley) 6/4/93 +# $Id: Makefile,v 1.6 1997/02/22 14:22:22 peter Exp $ PROG= rshd +SRCS= rshd.c +MAN8= rshd.8 + +.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \ + || defined(MAKE_EBONES)) CFLAGS+=-DKERBEROS -DCRYPT -SRCS= rshd.c des_rw.c -MAN8= rshd.0 DPADD= ${LIBKRB} ${LIBDES} LDADD= -lkrb -ldes -.PATH: ${.CURDIR}/../../usr.bin/rlogin +DISTRIBUTION= krb +.endif + +# For login_cap handling +CFLAGS+=-DLOGIN_CAP +DPADD+= ${LIBUTIL} +LDADD+= -lutil .include <bsd.prog.mk> |