1 1.31 mycroft # $NetBSD: Makefile,v 1.31 2000/07/23 22:23:14 mycroft 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.16 mycroft INSTALLFLAGS=-fschg 13 1.28 mjl CPPFLAGS+=-DLOGIN_CAP 14 1.15 mycroft 15 1.17 mycroft .ifdef SKEY 16 1.16 mycroft CPPFLAGS+=-DSKEY 17 1.14 christos DPADD+= ${LIBSKEY} 18 1.14 christos LDADD+= -lskey 19 1.7 cgd .endif 20 1.18 mycroft 21 1.30 thorpej .if (${MKKERBEROS} != "no") 22 1.29 thorpej SRCS+= k5login.c 23 1.29 thorpej CPPFLAGS+=-DKERBEROS5 -I${DESTDIR}/usr/include/krb5 24 1.31 mycroft LDADD+= -lkrb5 -lasn1 25 1.29 thorpej 26 1.29 thorpej SRCS+= klogin.c 27 1.29 thorpej CPPFLAGS+=-DKERBEROS -I${DESTDIR}/usr/include/kerberosIV 28 1.29 thorpej LDADD+= -lkrb 29 1.31 mycroft 30 1.31 mycroft LDADD+= -lcrypto -lroken -lcom_err 31 1.30 thorpej .endif 32 1.23 thorpej 33 1.18 mycroft .include <bsd.prog.mk> 34