sim: sh: move some generated source files to built sources

This should have been part of the previous commit 80636a54bc
("sim: build: move generated headers to built sources"), but they were
missed because they're .c files effectively treated as .h files.
This commit is contained in:
Mike Frysinger
2023-01-02 22:48:13 -05:00
parent 7c9a934c4d
commit fdbd297027
2 changed files with 20 additions and 13 deletions

View File

@@ -24,10 +24,14 @@
noinst_PROGRAMS += %D%/run
## List all generated headers to help Automake dependency tracking.
## NB: These .c files are only included by other .c files. They are not
## compiled individually. Hence they're really "header" files.
BUILT_SOURCES += \
%D%/code.c \
%D%/ppi.c
%C%_BUILD_OUTPUTS = \
%D%/gencode$(EXEEXT) \
%D%/code.c \
%D%/ppi.c \
%D%/table.c
## This makes sure build tools are available before building the arch-subdirs.