4.104.114.84.95
Last change
on this file since 9b8baa1 was
9b8baa1,
checked in by Joel Sherrill <joel.sherrill@…>, on 03/23/99 at 18:02:17
|
Automake II patch from Ralf Corsepius <corsepiu@…>. Email
description follows:
Description:
- automake for *all* tool subdirectories (Makefile.am, configure.in etc.)
- autogen now also considers CONFIG_HEADER (generates stamp-h.ins and
config.h.ins)
- c/src/tests/tools/generic/difftest and
c/src/tests/tools/generic/sorttimes generated by configure scripts
- c/update-tools/ampolish, beautifier for Makefile.ams, similar to
acpolish
- rtems-polish.sh added to c/update-tools/ + ampolish support
- New subdirectory ./automake, contains automake -Makefile fragments to
support RTEMS make "debug, debug_install, profile, profile_install" for
native Makefile.ams (== ignore these make targets).
- aclocal/rtems-top.m4's RTEMS_TOP now reads the automake makefile
variable VERSION from RTEMS ./VERSION file.
- ./configure.in uses the macros from aclocal + support for the tools'
configure scripts
Remarks:
- To run rtems-polish.sh, "cd <rtems-source-tree>;
./c/update-tools/rtems-polish.sh"
- AFAIS, now all native subdirectories are converted to automake (Please
drop me a note, if I forgot something).
- Unless you notice something fatal, IMO the time has come for a public
try (== snapshot). I do not intend to send more automake related patches
within, say 2 weeks, to give these patches time to settle and to give me
some time to think on how to continue.
- The patch assumes installation to the new main installation directory
[$(prefix)].
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | # |
---|
3 | # helps bootstrapping, when checked out from CVS |
---|
4 | # requires GNU autoconf and GNU automake |
---|
5 | # |
---|
6 | # $Id$ |
---|
7 | |
---|
8 | # this is not meant to be exported outside the source tree |
---|
9 | |
---|
10 | # NOTE: Inspired by libtool's autogen script |
---|
11 | |
---|
12 | # to be run from the toplevel directory of RTEMS' |
---|
13 | # source tree |
---|
14 | |
---|
15 | progname=`basename $0` |
---|
16 | am_verbose=""; |
---|
17 | quiet="false" |
---|
18 | |
---|
19 | usage() |
---|
20 | { |
---|
21 | echo "${progname} [-v|-q]" |
---|
22 | exit 1; |
---|
23 | } |
---|
24 | |
---|
25 | while test $# -gt 0; do |
---|
26 | case $1 in |
---|
27 | -q|--qu|--qui|--quie|--quiet) |
---|
28 | quiet="true"; |
---|
29 | shift;; |
---|
30 | -v|--ve|--ver|--verb|--verbo|--verbos|--verbose) |
---|
31 | verbose="-v"; |
---|
32 | shift;; |
---|
33 | -*) echo "unknown option $1" ; |
---|
34 | usage ;; |
---|
35 | *) echo "invalid parameter $1" ; |
---|
36 | usage ;; |
---|
37 | esac |
---|
38 | done |
---|
39 | |
---|
40 | if test ! -d aclocal; then |
---|
41 | echo "${progname}" |
---|
42 | echo " Please change directory to RTEMS's toplevel directory" |
---|
43 | exit 1; |
---|
44 | fi |
---|
45 | |
---|
46 | pwd=`pwd`; |
---|
47 | confs=`find $pwd -name configure.in` |
---|
48 | |
---|
49 | aclocal_dir=$pwd/aclocal |
---|
50 | for i in $confs; do |
---|
51 | dir=`dirname $i`; |
---|
52 | ( test "$quiet" = "true" || echo "$dir"; |
---|
53 | cd $dir; |
---|
54 | aclocal -I $aclocal_dir; |
---|
55 | autoconf; |
---|
56 | test -n "`grep CONFIG_HEADER configure.in`" && autoheader ; |
---|
57 | test -f Makefile.am && automake $verbose ; |
---|
58 | ) |
---|
59 | done |
---|
60 | |
---|
Note: See
TracBrowser
for help on using the repository browser.