summaryrefslogtreecommitdiff
path: root/usr.bin/passwd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-09 09:00:43 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-09 09:00:43 +0000
commit38db31d70de09e2709145dcc5af6484b550e34a4 (patch)
tree133936f5e3343814b1ef39c6448562baf922cd19 /usr.bin/passwd
parent6ec6ea839542b35aa3c80ec10bf80966d0ea0736 (diff)
Fix YP/localhost code which Art broke very badly
Diffstat (limited to 'usr.bin/passwd')
-rw-r--r--usr.bin/passwd/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/passwd/Makefile b/usr.bin/passwd/Makefile
index 067dd1af10f..efdacce05a5 100644
--- a/usr.bin/passwd/Makefile
+++ b/usr.bin/passwd/Makefile
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile,v 1.17 1998/01/23 02:38:46 millert Exp $
+# $OpenBSD: Makefile,v 1.18 1998/03/09 09:00:42 deraadt Exp $
.include <bsd.own.mk>
PROG= passwd
-SRCS= local_passwd.c yp_passwd.c passwd.c pwd_gensalt.c
+SRCS= local_passwd.c yp_passwd.c passwd.c pwd_gensalt.c getpwent.c
.PATH: ${.CURDIR}/../../lib/libc/gen
DPADD+= ${LIBRPCSVC} ${LIBUTIL}
LDADD+= -lrpcsvc -lutil
@@ -31,5 +31,7 @@ LDADD+= -lkadm -lkrb -ldes -lcom_err
BINMODE=4555
BINOWN=root
-.include <bsd.prog.mk>
+getpwent.o: getpwent.c
+ ${COMPILE.c} -UYP ${.IMPSRC}
+.include <bsd.prog.mk>