summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-08-30 14:16:07 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-08-30 14:16:07 +0000
commita60a7bbd29e982c5a2b7449b247b385e59456e73 (patch)
tree1d8eadf1684a4b1b210d3bf9f9cf8345c3fdbae8
parentTypo causing compilation failure spotted by Ralf Corsepius and (diff)
downloadrtems-a60a7bbd29e982c5a2b7449b247b385e59456e73.tar.bz2
Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The patch below actually consists of 3 patches: 1. Addition of maintainer-mode dependencies on config.status and aclocal.m4 for autoconf toplevel Makefile.ins. These rules are taken over from automake generated Makefile.ins, i.e. they are contained in any automake generated toplevel Makefile.in. Having this patch in is at least a great releaf for me when working on RTEMS configuration :) 2. Automated support for #1 in acpolish 3. Some minor "beautifications" on Makefile.ins resulting from running acpolish. FYI: This patch has been generated by running tools/update/rtems-polish.sh -ac on the source tree and manually editing the resulting patch afterwards to work around a problem with acpolish, which still corrupts one Makefile.in - WARNING: Be careful with running acpolish! I expect this patch not to have any influence on normal users, unless they use --enable-maintainer-mode, thus merging it should be rather harmless.
-rw-r--r--c/src/exec/Makefile.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/c/src/exec/Makefile.in b/c/src/exec/Makefile.in
index 80ee6af6ba..e5bd78cbb1 100644
--- a/c/src/exec/Makefile.in
+++ b/c/src/exec/Makefile.in
@@ -7,6 +7,11 @@ srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = .
+ACLOCAL = aclocal
+AUTOCONF = autoconf
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ACLOCAL_AMFLAGS = -I @RTEMS_TOPdir@/aclocal
+
RTEMS_ROOT = @RTEMS_ROOT@
PROJECT_ROOT = @PROJECT_ROOT@
@@ -27,3 +32,11 @@ CLOBBER_ADDITIONS += config.log config.cache
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in
+ cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+
+config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ $(SHELL) ./config.status --recheck
+$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4)
+ cd $(srcdir) && $(AUTOCONF)