summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/awk/Makefile4
-rw-r--r--usr.bin/infocmp/Makefile4
-rw-r--r--usr.bin/tic/Makefile4
-rw-r--r--usr.bin/tset/Makefile4
4 files changed, 12 insertions, 4 deletions
diff --git a/usr.bin/awk/Makefile b/usr.bin/awk/Makefile
index 66601474909..8f2cc66a976 100644
--- a/usr.bin/awk/Makefile
+++ b/usr.bin/awk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.14 2013/08/18 22:06:44 miod Exp $
+# $OpenBSD: Makefile,v 1.15 2017/06/16 10:25:54 espie Exp $
PROG= awk
SRCS= ytab.c lex.c b.c main.c parse.c proctab.c tran.c lib.c run.c
@@ -13,6 +13,8 @@ ytab.c ytab.h: awkgram.y
mv y.tab.c ytab.c
mv y.tab.h ytab.h
+BUILDFIRST = ytab.h
+
proctab.c: maketab
./maketab >proctab.c
diff --git a/usr.bin/infocmp/Makefile b/usr.bin/infocmp/Makefile
index cd9407e9bf2..919cd33d924 100644
--- a/usr.bin/infocmp/Makefile
+++ b/usr.bin/infocmp/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2011/06/23 22:46:12 schwarze Exp $
+# $OpenBSD: Makefile,v 1.4 2017/06/16 10:25:54 espie Exp $
PROG= infocmp
SRCS= infocmp.c dump_entry.c
@@ -12,6 +12,8 @@ CLEANFILES+= termsort.c infocmp.1
beforedepend: termsort.c
+dump_entry.o: termsort.c
+
termsort.c: ${TIC}/MKtermsort.sh
sh ${TIC}/MKtermsort.sh awk ${CURSES}/Caps > ${.TARGET}
diff --git a/usr.bin/tic/Makefile b/usr.bin/tic/Makefile
index 8febec0eae2..e16d2461366 100644
--- a/usr.bin/tic/Makefile
+++ b/usr.bin/tic/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2012/09/10 04:03:36 deraadt Exp $
+# $OpenBSD: Makefile,v 1.9 2017/06/16 10:25:54 espie Exp $
PROG= tic
SRCS= dump_entry.c tic.c
@@ -17,6 +17,8 @@ COPTS+= -O0
beforedepend: termsort.c
+dump_entry.o: termsort.c
+
termsort.c: MKtermsort.sh
sh ${.CURDIR}/MKtermsort.sh awk ${CURSES}/Caps > ${.TARGET}
diff --git a/usr.bin/tset/Makefile b/usr.bin/tset/Makefile
index 816a835c993..312f7528cb8 100644
--- a/usr.bin/tset/Makefile
+++ b/usr.bin/tset/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2016/03/30 06:38:46 jmc Exp $
+# $OpenBSD: Makefile,v 1.11 2017/06/16 10:25:54 espie Exp $
PROG= tset
SRCS= tset.c dump_entry.c
@@ -13,6 +13,8 @@ LINKS= ${BINDIR}/tset ${BINDIR}/reset
beforedepend: termsort.c
+dump_entry.o: termsort.c
+
termsort.c: ${TIC}/MKtermsort.sh
sh ${TIC}/MKtermsort.sh awk ${CURSES}/Caps > ${.TARGET}