aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2014-04-21 14:58:05 -0500
committerPeter Seebach <peter.seebach@windriver.com>2014-04-21 16:16:23 -0500
commite10d0b6a04e77793bb07541f10ba5b8d82f7221c (patch)
treea434ae374374a73e0e480daa6916d7f865e5f37c /Makefile.in
parent0f50814ea2cd21cd5b849dc551e6e39706ff22c0 (diff)
downloadpseudo-e10d0b6a04e77793bb07541f10ba5b8d82f7221c.tar.gz
pseudo-e10d0b6a04e77793bb07541f10ba5b8d82f7221c.tar.bz2
pseudo-e10d0b6a04e77793bb07541f10ba5b8d82f7221c.zip
Automatic dependency checking for wrappers
Ports can provide pseudo_wrappers.c or portdefs.h, and individual functions have implementations. These dependencies aren't known until post-configure. Make the Makefile include two sub-Makefiles which can be updated by makewrappers. Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index d84d6e4..a1bfe62 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -160,7 +160,9 @@ clean:
pseudo_wrapper_table.c \
pseudo_tables.c pseudo_tables.h \
pseudo_ports.h port_wrappers.c \
- offsets32 offsets64
+ offsets32 offsets64 \
+ port_deps.mk func_deps.mk
+ touch port_deps.mk func_deps.mk
distclean: clean
rm -f Makefile
@@ -183,3 +185,8 @@ tarball:
rmdir pseudo \
)
tar cjf pseudo-$(VERSION).tar.bz2 pseudo-$(VERSION)
+
+# Note when we need to rebuild pseudo_wrappers.o
+include port_deps.mk
+include func_deps.mk
+