]> granicus.if.org Git - strace/commitdiff
Add ksysent.h and scno.h to BUILT_SOURCES
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 20 Jul 2017 00:06:06 +0000 (00:06 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 20 Jul 2017 00:06:06 +0000 (00:06 +0000)
This guarantees that ksysent.h and scno.h, along with other targets
listed in BUILT_SOURCES, are made on 'make all', 'make check',
and 'make check-valgrind' before other targets are processed.

* scno.am (BUILT_SOURCES): Add scno.h.
* tests/Makefile.am (BUILT_SOURCES): Add ksysent.h.

scno.am
tests/Makefile.am

diff --git a/scno.am b/scno.am
index ee3db5974710588c32acf20b64ddb83517d31dfd..f28823bc1965ba9e4b1465d6cda7051611700e68 100644 (file)
--- a/scno.am
+++ b/scno.am
@@ -41,4 +41,5 @@ scno.h: $(top_srcdir)/scno.head syscallent.i
        LC_ALL=C sed -n '$(SCNO_SED)' $(filter-out $<,$^) >> $@-t
        mv $@-t $@
 
+BUILT_SOURCES += scno.h
 CLEANFILES += syscallent.i scno.h
index c394fc78b3eb569c4364eb45533183ead53f990f..89f7cd8b0d3023336c49e430e966e9393c1ce5b9 100644 (file)
@@ -387,6 +387,7 @@ clean-local: clean-local-check
 clean-local-check:
        -rm -rf -- $(TESTS:.test=.dir) $(GEN_TESTS:.gen.test=.dir)
 
+BUILT_SOURCES = ksysent.h
 CLEANFILES = ksysent.h
 
 include ../scno.am