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.
This commit is contained in:
Joel Sherrill
2000-09-13 13:08:11 +00:00
parent 2094513268
commit 372e4e2758
3 changed files with 15 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
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.
2000-09-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/check-cxx.m4: Add AC_SUBST(CPLUS_LD_LIBS)

View File

@@ -11,6 +11,10 @@ AC_CHECK_PROGS(MAKE, gmake make)
AC_BEFORE([$0], [AC_CONFIG_AUX_DIR])dnl
AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
## HACK to allow gnu-make conditionals in automake-Makefiles.
ENDIF=endif
AC_SUBST(ENDIF)
AC_ARG_WITH(target-subdir,
[ --with-target-subdir=DIR],
TARGET_SUBDIR="$withval",

View File

@@ -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