NetBSD/usr.bin/su/Makefile
1997-10-12 13:10:16 +00:00

32 lines
554 B
Makefile

# $NetBSD: Makefile,v 1.12 1997/10/12 13:11:13 mycroft Exp $
# from: @(#)Makefile 8.1 (Berkeley) 7/19/93
PROG= su
DPADD+= ${LIBCRYPT}
LDADD+= -lcrypt
BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg
# Uncomment the following line to change the group that may su root to "sugroup"
#
#CPPFLAGS+=-DSUGROUP=\"sugroup\"
.include <bsd.prog.mk>
.ifdef SKEY
CPPFLAGS+=-DSKEY
DPADD+= ${LIBSKEY}
LDADD+= -lskey
.endif
.ifdef KERBEROS
.ifdef AFS
DPADD+= ${LIBKAFS}
LDADD+= -lkafs
.endif
CPPFLAGS+=-DKERBEROS
DPADD+= ${LIBKRB} ${LIBDES}
LDADD+= -lkrb -ldes
.endif