Annotation of src/usr.bin/login/Makefile, Revision 1.2
1.1 deraadt 1: # $NetBSD: Makefile,v 1.10 1994/12/23 06:52:56 jtc Exp $
2: # @(#)Makefile 8.1 (Berkeley) 7/19/93
3:
4: PROG= login
5: SRCS= login.c
1.2 ! tholo 6: LDADD= -lutil -lcrypt
! 7: DPADD= ${LIBUTIL} ${LIBCRYPT}
! 8:
! 9: .include <bsd.own.mk> # For SKEY, KERBEROS and KERBEROS5
! 10:
! 11: .if defined(SKEY)
! 12: CFLAGS+=-DSKEY
! 13: LDADD+= -lskey
! 14: DPADD+= ${LIBSKEY}
! 15: .endif
1.1 deraadt 16:
17: .if defined(KERBEROS5)
1.2 ! tholo 18: CFLAGS+= -DKERBEROS5
1.1 deraadt 19: SRCS+= k5login.c
1.2 ! tholo 20: LDADD+= -lkrb5 -lcrypto
1.1 deraadt 21: DPADD+= ${LIBKRB5} ${LIBCRYPTO}
22: .elif defined(KERBEROS)
1.2 ! tholo 23: CFLAGS+= -DKERBEROS
1.1 deraadt 24: SRCS+= klogin.c
1.2 ! tholo 25: LDADD+= -lkrb -ldes
1.1 deraadt 26: DPADD+= ${LIBKRB} ${LIBDES}
27: .endif
28:
29: BINOWN= root
30: BINMODE=4555
31: INSTALLFLAGS=-fschg
32:
33: .include <bsd.prog.mk>