# $OpenBSD: Makefile,v 1.3 2003/05/14 07:31:30 mho Exp $ PROG= login_chpass SRCS= login_chpass.c MAN= login_chpass.8 .PATH: ${.CURDIR}/../../usr.bin/passwd .include # For KERBEROS and YP CFLAGS+=-Wall #.if (${KERBEROS:L} == "yes") #CFLAGS+=-DKERBEROS #SRCS+= new_pwd.c #DPADD+= ${LIBKADM} ${LIBKRB} ${LIBDES} ${LIBCOM_ERR} #LDADD+= -lkadm -lkrb -ldes -lcom_err #.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