From 8cdb582b49c1528216cfd316183536735474c899 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 12 Apr 1999 15:41:33 +0000 Subject: Patch from Ralf Corsepius : This patch addresses a few minor issues and contains a few (minor) preparations for automake. * configure.in: Fix for handing c/src/tests subdirectory handling (FIX) * aclocal/rtems-top.m4: + Add TARGET_SUBDIR and --with-target-subdir (preparation of future enhancements for cross-compiling) + Activate RTEMS_ROOT handling (automake preparation) * automake/*.am: replace comments "#" with "##" so that comments won't get included into Makefile.in's anymore * c/update-tools/* automake support (NEW) * ./autogen update/enhancement (cf. ./autogen for details) After applying this patch please run: ./autogen cvs add c/update-tools/configure.in cvs add c/update-tools/Makefile.am cvs add c/update-tools/aclocal.m4 --- c/update-tools/Makefile.am | 47 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 c/update-tools/Makefile.am (limited to 'c/update-tools/Makefile.am') diff --git a/c/update-tools/Makefile.am b/c/update-tools/Makefile.am new file mode 100644 index 0000000000..256cf69c78 --- /dev/null +++ b/c/update-tools/Makefile.am @@ -0,0 +1,47 @@ +# +# $Id$ +# + +AUTOMAKE_OPTIONS = foreign 1.4 +ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal +# NOTE: It doesn't make much sense to install these files + +CLEANFILES = update word-replace + +if PERL +# All files in this directory depend on having perl. +# Do not handle them if perl is missing. + +noinst_SCRIPTS = \ +acpolish \ +ampolish \ +cipolish \ +rtems-polish.sh \ +word-replace \ +update + +noinst_DATA = \ +310_to_320_list + +update: $(srcdir)/update.in $(top_builddir)/config.status + @cd $(top_builddir) \ + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status; \ + chmod 755 $@ + +word-replace: $(srcdir)/word-replace.in $(top_builddir)/config.status + @cd $(top_builddir) \ + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status; \ + chmod 755 $@ + +endif + +EXTRA_DIST = \ +310_to_320_list \ +update.in \ +word-replace.in \ +acpolish \ +ampolish \ +cipolish \ +rtems-polish.sh + +include $(top_srcdir)/../../automake/local.am -- cgit v1.2.3