# $OpenBSD: Makefile,v 1.4 2002/03/05 00:09:31 deraadt Exp $ .include PROG= login_krb4-or-pwd SRCS= login.c login_passwd.c MAN= ${PROG}.8 CFLAGS+=-DPASSWD -Wall -Werror -I${.CURDIR}/../login_passwd .if (${KERBEROS:L} == "yes") SRCS+= login_krb4.c DPADD+= ${LIBKRB} ${LIBCRYPTO} ${LIBUTIL} LDADD+= -lkrb -lcrypto -lutil -ldes CFLAGS+=-DKRB4 .PATH: ${.CURDIR}/../login_passwd ${.CURDIR}/../login_krb4 .else DPADD+= ${LIBUTIL} LDADD+= -lutil .PATH: ${.CURDIR}/../login_passwd .endif BINOWN= root BINGRP= auth BINMODE=4555 BINDIR= /usr/libexec/auth .include