1 1.16 mrg # $NetBSD: Makefile,v 1.16 1999/07/20 09:35:21 mrg Exp $ 2 1.8 tls # from: @(#)Makefile 8.1 (Berkeley) 7/19/93 3 1.1 cgd 4 1.15 thorpej SRCTOP= ../.. 5 1.15 thorpej .include <bsd.crypto.mk> 6 1.15 thorpej 7 1.1 cgd PROG= su 8 1.11 mycroft DPADD+= ${LIBCRYPT} 9 1.11 mycroft LDADD+= -lcrypt 10 1.1 cgd BINOWN= root 11 1.1 cgd BINMODE=4555 12 1.8 tls INSTALLFLAGS=-fschg 13 1.10 lukem 14 1.10 lukem # Uncomment the following line to change the group that may su root to "sugroup" 15 1.10 lukem # 16 1.11 mycroft #CPPFLAGS+=-DSUGROUP=\"sugroup\" 17 1.15 thorpej 18 1.15 thorpej .if defined(CRYPTOPATH) 19 1.16 mrg .sinclude "${CRYPTOPATH}/usr.bin/su/Makefile.frag" 20 1.15 thorpej .endif 21 1.7 christos 22 1.7 christos .include <bsd.prog.mk> 23 1.7 christos 24 1.7 christos .ifdef SKEY 25 1.11 mycroft CPPFLAGS+=-DSKEY 26 1.11 mycroft DPADD+= ${LIBSKEY} 27 1.11 mycroft LDADD+= -lskey 28 1.14 kim .endif 29 1.14 kim 30 1.14 kim .ifdef SUROOTAUTH 31 1.14 kim CPPFLAGS+=-DROOTAUTH=\"${SUROOTAUTH}\" 32 1.7 christos .endif 33