aboutsummaryrefslogtreecommitdiff
path: root/sim/Makefile.am
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-05-14 04:39:39 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-05 10:09:27 -0400
commit5bea0c32765c297541290a5e2bef6b24a86a069d (patch)
tree16ab7b95a9b8d4d3f541c6b19dee2f762c567bc5 /sim/Makefile.am
parentad4bd975fc27a996b16b4d94706d1bf70574590c (diff)
downloadgdb-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.am7
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)