# $OpenBSD: Makefile,v 1.7 1996/05/22 11:35:26 deraadt Exp $ PROG= passwd SRCS= local_passwd.c yp_passwd.c passwd.c getpwent.c .PATH: ${.CURDIR}/../../lib/libc/gen DPADD+= ${LIBRPCSVC} ${LIBCRYPT} ${LIBUTIL} LDADD+= -lrpcsvc -lcrypt -lutil CFLAGS+=-I${.CURDIR} -DYP .include # For Kerberos .if defined(KERBEROS5) SRCS+= krb5_passwd.c CFLAGS+= -DKERBEROS5 DPADD+= ${LIBKRB5} ${LIBCRYPTO} LDADD+= -lkrb5 -lcrypto .elif defined(KERBEROS) .PATH: ${.CURDIR}/../rlogin SRCS+= krb_passwd.c des_rw.c CFLAGS+= -DKERBEROS DPADD+= ${LIBKRB} ${LIBDES} LDADD+= -lkrb -ldes .endif BINMODE=4555 BINOWN= root .include getpwent.o: getpwent.c ${COMPILE.c} -UYP ${.IMPSRC}