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