Home | History | Annotate | Line # | Download | only in login
Makefile revision 1.37
      1  1.37  christos #	$NetBSD: Makefile,v 1.37 2002/07/27 22:58:07 christos Exp $
      2  1.10       jtc #	@(#)Makefile	8.1 (Berkeley) 7/19/93
      3   1.1       cgd 
      4  1.30   thorpej .include <bsd.own.mk>
      5  1.30   thorpej 
      6   1.1       cgd PROG=	login
      7  1.10       jtc SRCS=	login.c
      8  1.14  christos DPADD+=	${LIBUTIL} ${LIBCRYPT}
      9  1.14  christos LDADD+=	-lutil -lcrypt
     10  1.16   mycroft BINOWN=	root
     11  1.16   mycroft BINMODE=4555
     12  1.37  christos CPPFLAGS+=-DLOGIN_CAP -DSUPPORT_UTMP -DSUPPORT_UTMPX
     13  1.15   mycroft 
     14  1.35   thorpej .if (${USE_SKEY} != "no")
     15  1.16   mycroft CPPFLAGS+=-DSKEY
     16  1.14  christos DPADD+= ${LIBSKEY}
     17  1.14  christos LDADD+=	-lskey
     18   1.7       cgd .endif
     19  1.18   mycroft 
     20  1.35   thorpej .if (${USE_KERBEROS} != "no")
     21  1.29   thorpej SRCS+= k5login.c
     22  1.29   thorpej CPPFLAGS+=-DKERBEROS5 -I${DESTDIR}/usr/include/krb5
     23  1.31   mycroft LDADD+= -lkrb5 -lasn1
     24  1.29   thorpej 
     25  1.29   thorpej SRCS+= klogin.c
     26  1.29   thorpej CPPFLAGS+=-DKERBEROS -I${DESTDIR}/usr/include/kerberosIV
     27  1.29   thorpej LDADD+= -lkrb
     28  1.31   mycroft 
     29  1.33     assar LDADD+=	-lcrypto -lroken -lcom_err
     30  1.30   thorpej .endif
     31  1.23   thorpej 
     32  1.18   mycroft .include <bsd.prog.mk>
     33