Add ksysent.h and scno.h to BUILT_SOURCES

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.
This commit is contained in:
Дмитрий Левин 2017-07-20 00:06:06 +00:00
parent 24c6681d39
commit bcf04aba1b
2 changed files with 2 additions and 0 deletions

View File

@ -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

View 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