summaryrefslogtreecommitdiff
path: root/usr.bin/chpass/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/chpass/Makefile')
-rw-r--r--usr.bin/chpass/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile
index 5ecc1ca300f..c2d4bed1da3 100644
--- a/usr.bin/chpass/Makefile
+++ b/usr.bin/chpass/Makefile
@@ -1,6 +1,8 @@
-# $OpenBSD: Makefile,v 1.3 1996/06/26 05:31:53 deraadt Exp $
+# $OpenBSD: Makefile,v 1.4 1996/09/04 22:52:06 deraadt Exp $
# $NetBSD: Makefile,v 1.6 1996/05/15 21:50:39 jtc Exp $
+.include <bsd.own.mk>
+
PROG= chpass
SRCS= chpass.c edit.c field.c pw_yp.c table.c util.c getpwent.c
BINOWN= root
@@ -8,7 +10,9 @@ BINMODE=4555
.PATH: ${.CURDIR}/../../lib/libc/gen
LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
+.if defined(YP)
CFLAGS+=-DYP
+.endif
DPADD+= ${LIBRPCSVC} ${LIBUTIL}
LDADD+= -lrpcsvc -lutil