Home | History | Annotate | Line # | Download | only in su
Makefile revision 1.25
      1 #	$NetBSD: Makefile,v 1.25 2001/01/10 21:33:13 sjg 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 # Comment out the following line to prevent su
     18 # from assuming that group wheel (or SUGROUP) can be an indirect
     19 # list of groups.
     20 CPPFLAGS+=-DSU_INDIRECT_GROUP
     21 
     22 .if (${MKKERBEROS} != "no")
     23 .ifdef AFS
     24 DPADD+= ${LIBKAFS}
     25 LDADD+= -lkafs
     26 .endif
     27 
     28 CPPFLAGS+=-DKERBEROS5 -I${DESTDIR}/usr/include/krb5
     29 LDADD+= -lkrb5 -lasn1
     30 
     31 CPPFLAGS+=-DKERBEROS -I${DESTDIR}/usr/include/kerberosIV
     32 LDADD+= -lkrb
     33 
     34 LDADD+=	-lcrypto -lroken -lcom_err
     35 .endif
     36 
     37 .include <bsd.prog.mk>
     38 
     39 .ifdef SKEY
     40 CPPFLAGS+=-DSKEY
     41 DPADD+= ${LIBSKEY}
     42 LDADD+= -lskey
     43 .endif
     44 
     45 .ifdef SUROOTAUTH
     46 CPPFLAGS+=-DROOTAUTH=\"${SUROOTAUTH}\"
     47 .endif
     48