[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / chpass

File: [local] / src / usr.bin / chpass / Makefile (download)

Revision 1.4, Wed Sep 4 22:52:06 1996 UTC (27 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +5 -1 lines

permit YP to be compiled out using flag in bsd.own.mk; pr#15, peter@demon.net

#	$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
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

.include <bsd.prog.mk>

getpwent.o: getpwent.c
	${COMPILE.c} -UYP ${.IMPSRC}