diff options
author | 2004-01-20 21:06:02 +0000 | |
---|---|---|
committer | 2004-01-20 21:06:02 +0000 | |
commit | f649c42ff23e06a55585b931db17d32a4fe3ed22 (patch) | |
tree | 4a9552bb6e3ed9de5d5c3fd38c18728be996d3c0 | |
parent | don't limit the number of sessions to the onboard ram (always upload the (diff) | |
download | wireguard-openbsd-f649c42ff23e06a55585b931db17d32a4fe3ed22.tar.xz wireguard-openbsd-f649c42ff23e06a55585b931db17d32a4fe3ed22.zip |
explicit .x.[ch] rules to avoid accidental bad matches in /usr/include.
ok millert@
-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> |