summaryrefslogtreecommitdiffstats
path: root/automake
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-09-13 13:08:11 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-09-13 13:08:11 +0000
commit372e4e2758a71783ef18f413eb8fa365b7705d5b (patch)
tree684bbb98462c59833ae9685748ad9298bff97b79 /automake
parent209451326883d803ea7af8b1f48730b32fbdebdb (diff)
downloadrtems-372e4e2758a71783ef18f413eb8fa365b7705d5b.tar.bz2
2000-09-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/rtems-top.m4: Add ENDIF-hack. * automake/compile.am: Add include $(DEPENDS) + ENDIF-hack.
Diffstat (limited to 'automake')
-rw-r--r--automake/compile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/automake/compile.am b/automake/compile.am
index 29c7137732..a6c340c28b 100644
--- a/automake/compile.am
+++ b/automake/compile.am
@@ -175,6 +175,12 @@ depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
mv $(DEPEND).tmp $(DEPEND)
depend: depend-am
+# pull in dependencies if they exist
+ifeq (${DEPEND},$(wildcard ${DEPEND}))
+include ${DEPEND}
+@ENDIF@
+
+
# spell out all the LINK_FILE's, rather than using -lbsp, so
# that $(LINK_FILES) can be a dependency