1 # $NetBSD: Makefile,v 1.17 2000/01/14 02:39:14 mjl Exp $ 2 # from: @(#)Makefile 8.1 (Berkeley) 7/19/93 3 4 SRCTOP= ../.. 5 .include <bsd.crypto.mk> 6 7 PROG= su 8 DPADD+= ${LIBCRYPT} 9 LDADD+= -lcrypt -lutil 10 BINOWN= root 11 BINMODE=4555 12 INSTALLFLAGS=-fschg 13 CPPFLAGS+=-DLOGIN_CAP 14 15 # Uncomment the following line to change the group that may su root to "sugroup" 16 # 17 #CPPFLAGS+=-DSUGROUP=\"sugroup\" 18 19 .if defined(CRYPTOPATH) 20 .sinclude "${CRYPTOPATH}/usr.bin/su/Makefile.frag" 21 .endif 22 23 .include <bsd.prog.mk> 24 25 .ifdef SKEY 26 CPPFLAGS+=-DSKEY 27 DPADD+= ${LIBSKEY} 28 LDADD+= -lskey 29 .endif 30 31 .ifdef SUROOTAUTH 32 CPPFLAGS+=-DROOTAUTH=\"${SUROOTAUTH}\" 33 .endif 34