binutils-gdb/sim/m32r
Mike Frysinger 80636a54bc sim: build: move generated headers to built sources
Automake's automatic header deptracking has a bootstrap problem where
it can't detect generated headers when compiling.  We've been handling
that by adding a custom SIM_ALL_RECURSIVE_DEPS variable, but that only
works when building objects recursively in subdirs.  As we move those
out to the top-level, we don't have any recursive steps anymore.  The
Automake approach is to declare those headers in BUILT_SOURCES.

This isn't completely foolproof as the Automake manual documents: it
only activates for `make all`, not `make foo.o`, but that shouldn't be
a huge limitation as it only affects the initial compile.  After that,
rebuilds should work fine.
2023-01-02 21:16:19 -05:00
..
arch.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
arch.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
ChangeLog-2021
cpu2.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
cpu2.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
cpu.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
cpu.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
cpuall.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
cpux.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
cpux.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
decode2.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
decode2.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
decode.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
decode.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
decodex.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
decodex.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
dv-m32r_cache.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
dv-m32r_cache.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
dv-m32r_uart.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
dv-m32r_uart.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
local.mk sim: build: move generated headers to built sources 2023-01-02 21:16:19 -05:00
m32r2.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
m32r-sim.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
m32r.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
m32rx.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
Makefile.in sim: m32r: hoist cgen rules to top-level 2023-01-02 20:31:29 -05:00
mloop2.in Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
mloop.in Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
mloopx.in Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
model2.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
model.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
modelx.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
README
sem2-switch.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sem-switch.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sem.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
semx-switch.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sim-if.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sim-main.h sim: replace -I$srcroot/opcodes include with -I$srcroot 2023-01-01 23:14:19 -05:00
syscall.h
traps.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00

This is the m32r simulator directory.

It is still work-in-progress.  The current sources are reasonably
well tested and lots of features are in.  However, there's lots
more yet to come.

There are lots of machine generated files in the source directory!
They are only generated if you configure with --enable-cgen-maint,
similar in behaviour to Makefile.in, configure under automake/autoconf.

For details on the generator, see ../../cgen.

devo/cgen isn't part of the comp-tools module yet.
You'll need to check it out manually (also akin to automake/autoconf).