diff options
Diffstat (limited to 'usr.bin/rsh/Makefile')
-rw-r--r-- | usr.bin/rsh/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/usr.bin/rsh/Makefile b/usr.bin/rsh/Makefile index 660323a..470d7b6 100644 --- a/usr.bin/rsh/Makefile +++ b/usr.bin/rsh/Makefile @@ -1,11 +1,16 @@ # @(#)Makefile 8.1 (Berkeley) 7/19/93 PROG= rsh -#CFLAGS+=-DKERBEROS -DCRYPT SRCS= rsh.c -#krcmd.c kcmd.c des_rw.c -#DPADD= ${LIBKRB} ${LIBDES} -#LDADD= -lkrb -ldes + +.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \ + || defined(MAKE_EBONES)) +CFLAGS+=-DKERBEROS -DCRYPT +SRCS+= krcmd.c kcmd.c +DPADD= ${LIBKRB} ${LIBDES} +LDADD= -lkrb -ldes +.endif + BINOWN= root BINMODE=4555 INSTALLFLAGS=-fschg |