# $OpenBSD: Makefile,v 1.14 2000/03/01 18:33:56 deraadt Exp $ PROG= login SRCS= login.c failedlogin.c LDADD= -lutil DPADD= ${LIBUTIL} CFLAGS+= -Wall -Wno-unused .include # For SKEY, KERBEROS and KERBEROS5 .if (${SKEY} == "yes") CFLAGS+=-DSKEY LDADD+= -lskey DPADD+= ${LIBSKEY} .endif .if (${KERBEROS5} == "yes") CFLAGS+= -DKERBEROS5 SRCS+= k5login.c LDADD+= -lkrb5 -lcrypto DPADD+= ${LIBKRB5} ${LIBCRYPTO} .elif (${KERBEROS} == "yes") CFLAGS+= -DKERBEROS SRCS+= klogin.c LDADD+= -lkafs -lkrb -ldes DPADD+= ${LIBKRB} ${LIBDES} ${LIBKAFS} .endif BINOWN= root BINMODE=4555 INSTALLFLAGS=-fschg .include