Home | History | Annotate | Line # | Download | only in login
Makefile revision 1.40
      1  1.40       lha #	$NetBSD: Makefile,v 1.40 2003/08/23 23:03:43 lha 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.38    itojun DPADD+=	${LIBKRB5} ${LIBASN1}
     24  1.31   mycroft LDADD+= -lkrb5 -lasn1
     25  1.39    itojun .endif
     26  1.29   thorpej 
     27  1.39    itojun .if (${USE_KERBEROS4} != "no")
     28  1.29   thorpej SRCS+= klogin.c
     29  1.29   thorpej CPPFLAGS+=-DKERBEROS -I${DESTDIR}/usr/include/kerberosIV
     30  1.40       lha DPADD+=	${LIBKRB} ${LIBDES}
     31  1.40       lha LDADD+= -lkrb -ldes
     32  1.39    itojun .endif
     33  1.31   mycroft 
     34  1.39    itojun .if (${USE_KERBEROS4} != "no" || ${USE_KERBEROS} != "no")
     35  1.38    itojun DPADD+=	${LIBCRYPTO} ${LIBROKEN} ${LIBCOM_ERR}
     36  1.33     assar LDADD+=	-lcrypto -lroken -lcom_err
     37  1.30   thorpej .endif
     38  1.23   thorpej 
     39  1.18   mycroft .include <bsd.prog.mk>
     40