# $OpenBSD: Makefile,v 1.5 2008/01/02 14:33:48 millert Exp $ PROG= login_chpass SRCS= login_chpass.c MAN= login_chpass.8 .PATH: ${.CURDIR}/../../usr.bin/passwd .include # For KERBEROS5 and YP CFLAGS+=-Wall #.if (${KERBEROS5:L} == "yes") #SRCS+= krb5_passwd.c #CFLAGS+= -DKRB5 #DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBDES} ${LIBCRYPTO} #LDADD+= -lkrb5 -lasn1 -ldes -lcrypto #.endif .if (${YP:L} == "yes") CFLAGS+=-DYP SRCS+= yp_passwd.c pwd_check.c pwd_gensalt.c DPADD+= ${LIBRPCSVC} ${LIBUTIL} LDADD+= -lrpcsvc -lutil .endif BINOWN= root BINGRP= auth BINMODE=4555 BINDIR= /usr/libexec/auth .include