1 1.17 mjl # $NetBSD: Makefile,v 1.17 2000/01/14 02:39:14 mjl 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.17 mjl LDADD+= -lcrypt -lutil 10 1.1 cgd BINOWN= root 11 1.1 cgd BINMODE=4555 12 1.8 tls INSTALLFLAGS=-fschg 13 1.17 mjl CPPFLAGS+=-DLOGIN_CAP 14 1.10 lukem 15 1.10 lukem # Uncomment the following line to change the group that may su root to "sugroup" 16 1.10 lukem # 17 1.11 mycroft #CPPFLAGS+=-DSUGROUP=\"sugroup\" 18 1.15 thorpej 19 1.15 thorpej .if defined(CRYPTOPATH) 20 1.16 mrg .sinclude "${CRYPTOPATH}/usr.bin/su/Makefile.frag" 21 1.15 thorpej .endif 22 1.7 christos 23 1.7 christos .include <bsd.prog.mk> 24 1.7 christos 25 1.7 christos .ifdef SKEY 26 1.11 mycroft CPPFLAGS+=-DSKEY 27 1.11 mycroft DPADD+= ${LIBSKEY} 28 1.11 mycroft LDADD+= -lskey 29 1.14 kim .endif 30 1.14 kim 31 1.14 kim .ifdef SUROOTAUTH 32 1.14 kim CPPFLAGS+=-DROOTAUTH=\"${SUROOTAUTH}\" 33 1.7 christos .endif 34