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