diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-05-14 04:39:39 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-05 10:09:27 -0400 |
commit | 5bea0c32765c297541290a5e2bef6b24a86a069d (patch) | |
tree | 16ab7b95a9b8d4d3f541c6b19dee2f762c567bc5 /sim/Makefile.am | |
parent | ad4bd975fc27a996b16b4d94706d1bf70574590c (diff) | |
download | gdb-5bea0c32765c297541290a5e2bef6b24a86a069d.zip gdb-5bea0c32765c297541290a5e2bef6b24a86a069d.tar.gz gdb-5bea0c32765c297541290a5e2bef6b24a86a069d.tar.bz2 |
sim: common: start dedicated local.mk
This provides a space to generate things that we only need to build
once per-arch. Some day that will be all of common/, but for now,
we move the version.c management in.
Diffstat (limited to 'sim/Makefile.am')
-rw-r--r-- | sim/Makefile.am | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sim/Makefile.am b/sim/Makefile.am index 80a6d31..79274be 100644 --- a/sim/Makefile.am +++ b/sim/Makefile.am @@ -40,6 +40,10 @@ AM_CPPFLAGS = -I$(srcroot)/include COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(AM_CPPFLAGS) $(CFLAGS_FOR_BUILD) LINK_FOR_BUILD = $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ +# Deps to add to the all-recursive target. These are built before descending +# into any subdirs. +SIM_ALL_RECURSIVE_DEPS = + # Generate nltvals.def for newlib/libgloss using devo and build tree. # This file is shipped with distributions so we build in the source dir. # Use `make nltvals' to rebuild. @@ -55,7 +59,10 @@ pkginclude_HEADERS = \ $(srcroot)/include/sim/callback.h \ $(srcroot)/include/sim/sim.h +include common/local.mk if SIM_ENABLE_IGEN include igen/local.mk endif include testsuite/local.mk + +all-recursive: $(SIM_ALL_RECURSIVE_DEPS) |