1 1.16 mycroft # $NetBSD: Makefile,v 1.16 1997/10/12 12:54:55 mycroft Exp $ 2 1.10 jtc # @(#)Makefile 8.1 (Berkeley) 7/19/93 3 1.1 cgd 4 1.14 christos WARNS?= 1 5 1.1 cgd PROG= login 6 1.10 jtc SRCS= login.c 7 1.14 christos DPADD+= ${LIBUTIL} ${LIBCRYPT} 8 1.14 christos LDADD+= -lutil -lcrypt 9 1.16 mycroft BINOWN= root 10 1.16 mycroft BINMODE=4555 11 1.16 mycroft INSTALLFLAGS=-fschg 12 1.15 mycroft 13 1.16 mycroft .include <bsd.prog.mk> 14 1.14 christos 15 1.14 christos .if defined(SKEY) 16 1.16 mycroft CPPFLAGS+=-DSKEY 17 1.14 christos DPADD+= ${LIBSKEY} 18 1.14 christos LDADD+= -lskey 19 1.14 christos .endif 20 1.7 cgd 21 1.9 brezak .if defined(KERBEROS5) 22 1.10 jtc SRCS+= k5login.c 23 1.9 brezak DPADD+= ${LIBKRB5} ${LIBCRYPTO} 24 1.13 mycroft LDADD+= -lkrb5 -lcrypto -lcom_err 25 1.16 mycroft CPPFLAGS+=-DKERBEROS5 26 1.9 brezak .elif defined(KERBEROS) 27 1.10 jtc SRCS+= klogin.c 28 1.7 cgd DPADD+= ${LIBKRB} ${LIBDES} 29 1.7 cgd LDADD+= -lkrb -ldes 30 1.16 mycroft CPPFLAGS+=-DKERBEROS 31 1.7 cgd .endif 32