Home | History | Annotate | Line # | Download | only in su
Makefile revision 1.18.2.3
      1  1.18.2.3       tv #	$NetBSD: Makefile,v 1.18.2.3 2000/10/18 04:21:47 tv Exp $
      2  1.18.2.2  thorpej #	from: @(#)Makefile	8.1 (Berkeley) 7/19/93
      3  1.18.2.2  thorpej 
      4  1.18.2.2  thorpej .include <bsd.own.mk>
      5  1.18.2.2  thorpej 
      6  1.18.2.2  thorpej PROG=	su
      7  1.18.2.2  thorpej DPADD+=	${LIBCRYPT}
      8  1.18.2.2  thorpej LDADD+=	-lcrypt -lutil
      9  1.18.2.2  thorpej BINOWN=	root
     10  1.18.2.2  thorpej BINMODE=4555
     11  1.18.2.2  thorpej CPPFLAGS+=-DLOGIN_CAP
     12  1.18.2.2  thorpej 
     13  1.18.2.2  thorpej # Uncomment the following line to change the group that may su root to "sugroup"
     14  1.18.2.2  thorpej #
     15  1.18.2.2  thorpej #CPPFLAGS+=-DSUGROUP=\"sugroup\"
     16  1.18.2.2  thorpej 
     17  1.18.2.2  thorpej .if (${MKKERBEROS} != "no")
     18  1.18.2.2  thorpej .ifdef AFS
     19  1.18.2.2  thorpej DPADD+= ${LIBKAFS}
     20  1.18.2.2  thorpej LDADD+= -lkafs
     21  1.18.2.2  thorpej .endif
     22  1.18.2.2  thorpej 
     23  1.18.2.2  thorpej CPPFLAGS+=-DKERBEROS -I${DESTDIR}/usr/include/kerberosIV
     24  1.18.2.2  thorpej DPADD+= ${LIBKRB} ${LIBDES} ${LIBCOM_ERR} ${LIBROKEN}
     25  1.18.2.2  thorpej LDADD+= -lkrb -ldes -lcom_err -lroken
     26  1.18.2.2  thorpej .endif
     27  1.18.2.2  thorpej 
     28  1.18.2.2  thorpej .include <bsd.prog.mk>
     29  1.18.2.2  thorpej 
     30  1.18.2.2  thorpej .ifdef SKEY
     31  1.18.2.2  thorpej CPPFLAGS+=-DSKEY
     32  1.18.2.2  thorpej DPADD+= ${LIBSKEY}
     33  1.18.2.2  thorpej LDADD+= -lskey
     34  1.18.2.2  thorpej .endif
     35  1.18.2.2  thorpej 
     36  1.18.2.2  thorpej .ifdef SUROOTAUTH
     37  1.18.2.2  thorpej CPPFLAGS+=-DROOTAUTH=\"${SUROOTAUTH}\"
     38  1.18.2.2  thorpej .endif
     39