Home | History | Annotate | Line # | Download | only in login
Makefile revision 1.39
      1 #	$NetBSD: Makefile,v 1.39 2003/07/23 08:01:35 itojun Exp $
      2 #	@(#)Makefile	8.1 (Berkeley) 7/19/93
      3 
      4 .include <bsd.own.mk>
      5 
      6 PROG=	login
      7 SRCS=	login.c
      8 DPADD+=	${LIBUTIL} ${LIBCRYPT}
      9 LDADD+=	-lutil -lcrypt
     10 BINOWN=	root
     11 BINMODE=4555
     12 CPPFLAGS+=-DLOGIN_CAP -DSUPPORT_UTMP -DSUPPORT_UTMPX
     13 
     14 .if (${USE_SKEY} != "no")
     15 CPPFLAGS+=-DSKEY
     16 DPADD+= ${LIBSKEY}
     17 LDADD+=	-lskey
     18 .endif
     19 
     20 .if (${USE_KERBEROS} != "no")
     21 SRCS+= k5login.c
     22 CPPFLAGS+=-DKERBEROS5 -I${DESTDIR}/usr/include/krb5
     23 DPADD+=	${LIBKRB5} ${LIBASN1}
     24 LDADD+= -lkrb5 -lasn1
     25 .endif
     26 
     27 .if (${USE_KERBEROS4} != "no")
     28 SRCS+= klogin.c
     29 CPPFLAGS+=-DKERBEROS -I${DESTDIR}/usr/include/kerberosIV
     30 DPADD+=	${LIBKRB}
     31 LDADD+= -lkrb
     32 .endif
     33 
     34 .if (${USE_KERBEROS4} != "no" || ${USE_KERBEROS} != "no")
     35 DPADD+=	${LIBCRYPTO} ${LIBROKEN} ${LIBCOM_ERR}
     36 LDADD+=	-lcrypto -lroken -lcom_err
     37 .endif
     38 
     39 .include <bsd.prog.mk>
     40