1 1.12 mycroft # $NetBSD: Makefile,v 1.12 1997/10/12 13:11:13 mycroft Exp $ 2 1.8 tls # from: @(#)Makefile 8.1 (Berkeley) 7/19/93 3 1.1 cgd 4 1.1 cgd PROG= su 5 1.11 mycroft DPADD+= ${LIBCRYPT} 6 1.11 mycroft LDADD+= -lcrypt 7 1.1 cgd BINOWN= root 8 1.1 cgd BINMODE=4555 9 1.8 tls INSTALLFLAGS=-fschg 10 1.10 lukem 11 1.10 lukem # Uncomment the following line to change the group that may su root to "sugroup" 12 1.10 lukem # 13 1.11 mycroft #CPPFLAGS+=-DSUGROUP=\"sugroup\" 14 1.7 christos 15 1.7 christos .include <bsd.prog.mk> 16 1.7 christos 17 1.7 christos .ifdef SKEY 18 1.11 mycroft CPPFLAGS+=-DSKEY 19 1.11 mycroft DPADD+= ${LIBSKEY} 20 1.11 mycroft LDADD+= -lskey 21 1.7 christos .endif 22 1.1 cgd 23 1.7 christos .ifdef KERBEROS 24 1.8 tls .ifdef AFS 25 1.11 mycroft DPADD+= ${LIBKAFS} 26 1.8 tls LDADD+= -lkafs 27 1.8 tls .endif 28 1.12 mycroft CPPFLAGS+=-DKERBEROS 29 1.11 mycroft DPADD+= ${LIBKRB} ${LIBDES} 30 1.7 christos LDADD+= -lkrb -ldes 31 1.7 christos .endif 32