diff options
author | 2017-07-09 14:04:50 +0000 | |
---|---|---|
committer | 2017-07-09 14:04:50 +0000 | |
commit | b32aa918827a9305f276d569cc740a2d6df0c830 (patch) | |
tree | 97378dad1ba110b5da81909b52f8013efbd673a2 /usr.bin/rdist | |
parent | Whitespace tweaks to assuage auto-indent. (diff) | |
download | wireguard-openbsd-b32aa918827a9305f276d569cc740a2d6df0c830.tar.xz wireguard-openbsd-b32aa918827a9305f276d569cc740a2d6df0c830.zip |
have bsd.prog.mk/bsd.lib.mk generate .y -> .c/.h rules without intermediate
files. This fixes up parallel builds in the default case.
FreeBSD does something similar.
okay millert@
Diffstat (limited to 'usr.bin/rdist')
-rw-r--r-- | usr.bin/rdist/Makefile | 3 | ||||
-rw-r--r-- | usr.bin/rdist/client.c | 4 | ||||
-rw-r--r-- | usr.bin/rdist/docmd.c | 4 | ||||
-rw-r--r-- | usr.bin/rdist/rdist.c | 4 |
4 files changed, 7 insertions, 8 deletions
diff --git a/usr.bin/rdist/Makefile b/usr.bin/rdist/Makefile index 19b1dc630b4..b1f2ee3c9a5 100644 --- a/usr.bin/rdist/Makefile +++ b/usr.bin/rdist/Makefile @@ -1,11 +1,10 @@ -# $OpenBSD: Makefile,v 1.19 2014/07/12 03:32:00 guenther Exp $ +# $OpenBSD: Makefile,v 1.20 2017/07/09 14:04:50 espie Exp $ PROG= rdist CFLAGS+=-I. -I${.CURDIR} SRCS= gram.y child.c client.c common.c distopt.c docmd.c expand.c \ isexec.c lookup.c message.c rdist.c -CLEANFILES+=gram.c y.tab.h WARNINGS=yes .include <bsd.prog.mk> diff --git a/usr.bin/rdist/client.c b/usr.bin/rdist/client.c index a4336e12f85..56a491e798d 100644 --- a/usr.bin/rdist/client.c +++ b/usr.bin/rdist/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.35 2015/12/09 19:39:10 mmcc Exp $ */ +/* $OpenBSD: client.c,v 1.36 2017/07/09 14:04:50 espie Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -39,7 +39,7 @@ #include <unistd.h> #include "client.h" -#include "y.tab.h" +#include "gram.h" /* * Routines used in client mode to communicate with remove server. diff --git a/usr.bin/rdist/docmd.c b/usr.bin/rdist/docmd.c index 0e92c7c3ea5..78823092d33 100644 --- a/usr.bin/rdist/docmd.c +++ b/usr.bin/rdist/docmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: docmd.c,v 1.32 2015/01/20 09:00:16 guenther Exp $ */ +/* $OpenBSD: docmd.c,v 1.33 2017/07/09 14:04:50 espie Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -39,7 +39,7 @@ #include <unistd.h> #include "client.h" -#include "y.tab.h" +#include "gram.h" /* * Functions for rdist that do command (cmd) related activities. diff --git a/usr.bin/rdist/rdist.c b/usr.bin/rdist/rdist.c index fcdd61b00ed..ffa692b2f82 100644 --- a/usr.bin/rdist/rdist.c +++ b/usr.bin/rdist/rdist.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rdist.c,v 1.30 2015/02/08 23:40:34 deraadt Exp $ */ +/* $OpenBSD: rdist.c,v 1.31 2017/07/09 14:04:50 espie Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -38,7 +38,7 @@ #include <unistd.h> #include "client.h" -#include "y.tab.h" +#include "gram.h" /* |