1 # $NetBSD: Makefile,v 1.18.2.3 2000/10/18 04:21:47 tv Exp $ 2 # from: @(#)Makefile 8.1 (Berkeley) 7/19/93 3 4 .include <bsd.own.mk> 5 6 PROG= su 7 DPADD+= ${LIBCRYPT} 8 LDADD+= -lcrypt -lutil 9 BINOWN= root 10 BINMODE=4555 11 CPPFLAGS+=-DLOGIN_CAP 12 13 # Uncomment the following line to change the group that may su root to "sugroup" 14 # 15 #CPPFLAGS+=-DSUGROUP=\"sugroup\" 16 17 .if (${MKKERBEROS} != "no") 18 .ifdef AFS 19 DPADD+= ${LIBKAFS} 20 LDADD+= -lkafs 21 .endif 22 23 CPPFLAGS+=-DKERBEROS -I${DESTDIR}/usr/include/kerberosIV 24 DPADD+= ${LIBKRB} ${LIBDES} ${LIBCOM_ERR} ${LIBROKEN} 25 LDADD+= -lkrb -ldes -lcom_err -lroken 26 .endif 27 28 .include <bsd.prog.mk> 29 30 .ifdef SKEY 31 CPPFLAGS+=-DSKEY 32 DPADD+= ${LIBSKEY} 33 LDADD+= -lskey 34 .endif 35 36 .ifdef SUROOTAUTH 37 CPPFLAGS+=-DROOTAUTH=\"${SUROOTAUTH}\" 38 .endif 39