# $NetBSD: Makefile,v 1.35 2004/07/02 00:05:23 sjg Exp $ # from: @(#)Makefile 8.3 (Berkeley) 4/2/94 .include PROG= passwd SRCS= local_passwd.c passwd.c pwd_gensalt.c CPPFLAGS+=-I${.CURDIR} -DLOGIN_CAP CPPFLAGS+= -I${.CURDIR}/../../lib/libcrypt .if (${USE_YP} != "no") SRCS+= yp_passwd.c CPPFLAGS+=-DYP DPADD+= ${LIBRPCSVC} LDADD+= -lrpcsvc LINKS+= ${BINDIR}/passwd ${BINDIR}/yppasswd MLINKS+=passwd.1 yppasswd.1 .endif DPADD+= ${LIBCRYPT} ${LIBUTIL} LDADD+= -lcrypt -lutil BINOWN= root BINMODE=4555 .if (${USE_KERBEROS} != "no") CPPFLAGS+= -DKERBEROS5 -I${DESTDIR}/usr/include/krb5 SRCS+= krb5_passwd.c DPADD+= ${LIBKRB5} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} ${LIBCRYPT} LDADD+= -lkrb5 -lcrypto -lasn1 -lcom_err -lroken -lcrypt LINKS+= ${BINDIR}/passwd ${BINDIR}/kpasswd MLINKS+= passwd.1 kpasswd.1 .endif .include