sim: common: move modules.c to source tracking

This makes sure the arch-specific modules.c wildcard is matched and
not the common/%.c so that we compile it correctly.  It also makes
sure each subdir has depdir logic enabled.
This commit is contained in:
Mike Frysinger
2023-01-02 16:46:14 -05:00
parent 4df7470704
commit 72be276fff
32 changed files with 584 additions and 195 deletions

View File

@@ -18,6 +18,8 @@
AM_CPPFLAGS_%C% = -DTIMER_A
nodist_%C%_libsim_a_SOURCES = \
%D%/modules.c
%C%_libsim_a_SOURCES = \
$(common_libcommon_a_SOURCES)
%C%_libsim_a_LIBADD = \
@@ -27,7 +29,6 @@ AM_CPPFLAGS_%C% = -DTIMER_A
%D%/m32c.o \
%D%/mem.o \
%D%/misc.o \
%D%/modules.o \
%D%/r8c.o \
%D%/reg.o \
%D%/srcdest.o \