diff options
Diffstat (limited to 'usr.bin/su/Makefile')
-rw-r--r-- | usr.bin/su/Makefile | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/usr.bin/su/Makefile b/usr.bin/su/Makefile index f86450c37c642..cdd63aa9050a2 100644 --- a/usr.bin/su/Makefile +++ b/usr.bin/su/Makefile @@ -1,14 +1,19 @@ -# @(#)Makefile 5.5 (Berkeley) 5/11/90 - - -.if exists(/usr/lib/libcrypt.a) -#CFLAGS+=-DKERBEROS -DPADD+= ${LIBCRYPT} #${LIBKRB} -LDADD+= -lcrypt #-lkrb -.endif +# $Id: Makefile,v 1.8 1994/06/23 05:46:59 jkh Exp $ +# From: @(#)Makefile 5.5 (Berkeley) 5/11/90 PROG= su BINOWN= root BINMODE=4555 +.if exists(${DESTDIR}/usr/lib/libcrypt.a) +DPADD+= ${LIBCRYPT} +LDADD+= -lcrypt +.endif + +.if exists(${DESTDIR}/usr/lib/libkrb.a) +DPADD+= ${LIBKRB} ${LIBDES} +LDADD+= -lkrb -ldes +CFLAGS+= -DKERBEROS +.endif + .include <bsd.prog.mk> |