# $OpenBSD: Makefile,v 1.7 2002/05/11 00:20:20 espie Exp $ .include PROG= login_krb5-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_krb5.c DPADD+= ${LIBKRB} ${LIBCRYPTO} ${LIBUTIL} ${LIBKRB5} ${LIBKASN1} \ ${LIBCOM_ERR} ${LIBKAFS} ${LIBDES} LDADD+= -lkrb5 -lasn1 -lcrypto -lcom_err -lkrb -lutil -lkafs -ldes CFLAGS+=-DKRB524 -DKRB5 .PATH: ${.CURDIR}/../login_passwd ${.CURDIR}/../login_krb5 .else DPADD+= ${LIBUTIL} LDADD+= -lutil .PATH: ${.CURDIR}/../login_passwd .endif BINOWN= root BINGRP= auth BINMODE=4555 BINDIR= /usr/libexec/auth .include