diff options
-rw-r--r-- | usr.sbin/ypserv/ypserv/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/usr.sbin/ypserv/ypserv/Makefile b/usr.sbin/ypserv/ypserv/Makefile index 706bd0a3d2c..59526795d11 100644 --- a/usr.sbin/ypserv/ypserv/Makefile +++ b/usr.sbin/ypserv/ypserv/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2003/06/22 23:57:07 maja Exp $ +# $OpenBSD: Makefile,v 1.11 2004/01/20 21:06:02 matthieu Exp $ PROG= ypserv MAN= ypserv.acl.5 securenet.5 ypserv.8 @@ -22,12 +22,11 @@ all: ypserv beforedepend: ${HDRS} ypv1.c: ypv1.h -.include <bsd.prog.mk> -.SUFFIXES: .x .c .h +ypv1.c: ypv1.x + rpcgen -C -c ${.CURDIR}/ypv1.x -o ypv1.c -.x.c: - rpcgen -C -c ${.IMPSRC} -o ${.TARGET} +ypv1.h: ypv1.x + rpcgen -C -h ${.CURDIR}/ypv1.x -o ypv1.h -.x.h: - rpcgen -C -h ${.IMPSRC} -o ${.TARGET} +.include <bsd.prog.mk> |