Home | History | Annotate | Line # | Download | only in su
Makefile revision 1.18.2.2
      1  1.18.2.2  thorpej #	$NetBSD: Makefile,v 1.18.2.2 2000/06/24 06:59:36 thorpej 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 INSTALLFLAGS=-fschg
     12  1.18.2.2  thorpej CPPFLAGS+=-DLOGIN_CAP
     13  1.18.2.2  thorpej 
     14  1.18.2.2  thorpej # Uncomment the following line to change the group that may su root to "sugroup"
     15  1.18.2.2  thorpej #
     16  1.18.2.2  thorpej #CPPFLAGS+=-DSUGROUP=\"sugroup\"
     17  1.18.2.2  thorpej 
     18  1.18.2.2  thorpej .if (${MKKERBEROS} != "no")
     19  1.18.2.2  thorpej .ifdef AFS
     20  1.18.2.2  thorpej DPADD+= ${LIBKAFS}
     21  1.18.2.2  thorpej LDADD+= -lkafs
     22  1.18.2.2  thorpej .endif
     23  1.18.2.2  thorpej 
     24  1.18.2.2  thorpej CPPFLAGS+=-DKERBEROS -I${DESTDIR}/usr/include/kerberosIV
     25  1.18.2.2  thorpej DPADD+= ${LIBKRB} ${LIBDES} ${LIBCOM_ERR} ${LIBROKEN}
     26  1.18.2.2  thorpej LDADD+= -lkrb -ldes -lcom_err -lroken
     27  1.18.2.2  thorpej .endif
     28  1.18.2.2  thorpej 
     29  1.18.2.2  thorpej .include <bsd.prog.mk>
     30  1.18.2.2  thorpej 
     31  1.18.2.2  thorpej .ifdef SKEY
     32  1.18.2.2  thorpej CPPFLAGS+=-DSKEY
     33  1.18.2.2  thorpej DPADD+= ${LIBSKEY}
     34  1.18.2.2  thorpej LDADD+= -lskey
     35  1.18.2.2  thorpej .endif
     36  1.18.2.2  thorpej 
     37  1.18.2.2  thorpej .ifdef SUROOTAUTH
     38  1.18.2.2  thorpej CPPFLAGS+=-DROOTAUTH=\"${SUROOTAUTH}\"
     39  1.18.2.2  thorpej .endif
     40