path: root/automake (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-07-222002-07-22 Ralf Corsepius <>Ralf Corsepius2-2/+10
* aclocal/bsp-configure.m4: Add RTEMS_CHECK_MULTIPROCESSING. * automake/ Add test -d $(ARCH) || mkdir $(ARCH) to all compilation rules (Work-around to an automake bug). * automake/ Add test -d $(ARCH) || mkdir $(ARCH) to make-library.
2002-06-302002-06-30 Ralf Corsepius <>Ralf Corsepius1-33/+0
* automake/ Remove. * Reflect change above.
2002-04-162002-04-14 Ralf Corsepius <>Joel Sherrill1-46/+2
* automake/ Remove GCC272 support. Remove *.sh rule (unused). * Remove ENABLE_GCC28. Remove ENABLE_LIBCDIR.
2002-01-072002-01-07 Joel Sherrill <>Joel Sherrill1-1/+1
* automake/ (LINK_LIB_RTEMS): Removed line continuation for last line to eliminate 100's of warnings.
2002-01-062002-02-05 Ralf Corsepius <>Joel Sherrill1-3/+5
* aclocal/check-newlib.m4: Apply AS_IF. * aclocal/config-subdirs.m4: Remove _RTEMS_PUSH_BUILDDIR, _RTEMS_POP_BUILDDIR, _RTEMS_GIVEN_INSTALL, _RTEMS_SUB_SRCDIR. * aclocal/subdirs.m4: Fix comments, apply AS_IF. * aclocal/sysv-ipc.m4: Reflect autoconf-2.5x canonicalization changes. * aclocal/target.m4: Add _RTEMS_PUSH_BUILDDIR, _RTEMS_POP_BUILDDIR, _RTEMS_GIVEN_INSTALL, _RTEMS_SUB_SRCDIR. * automake/ Remove librtemsall from LINK_FILES.
2002-01-062002-02-05 Ralf Corsepius <>Joel Sherrill1-2/+4
* aclocal/check-newlib.m4: Apply AS_IF. * aclocal/config-subdirs.m4: Remove _RTEMS_PUSH_BUILDDIR, _RTEMS_POP_BUILDDIR, _RTEMS_GIVEN_INSTALL, _RTEMS_SUB_SRCDIR. * aclocal/subdirs.m4: Fix comments, apply AS_IF. * aclocal/sysv-ipc.m4: Reflect autoconf-2.5x canonicalization changes. * aclocal/target.m4: Add _RTEMS_PUSH_BUILDDIR, _RTEMS_POP_BUILDDIR, _RTEMS_GIVEN_INSTALL, _RTEMS_SUB_SRCDIR. * automake/ Remove librtemsall from LINK_FILES.
2001-12-202001-12-20 Ralf Corsepius <>Joel Sherrill1-5/+5
* Reworked for multilibs, reflect changes to aclocal/*.m4. * aclocal/subdirs.m4: New file. * aclocal/multi.m4: New file, adopted from autoconf-2.52 w/ modifications. * aclocal/check-posix.m4: Apply AS_IF. * aclocal/config-subdirs.m4: Reflect changes to other m4-macros. * aclocal/env-rtemsbsp.m4: Add PROJECT_INCLUDE, PROJECT_RELEASE. Add AM_CONDITIONAL(MULTILIB). Adapt GCC_SPECS to multilibs. * aclocal/env-rtemscpu.m4: Remove RTEMS_BSP. Add support for MULTIBUILDTOP, MULTISUBDIR. Adapt GCC_SPECS to multilibs. Add PROJECT_INCLUDE, PROJECT_RELEASE, includedir, libdir. * aclocal/multilib.m4: Fix m4-quoting, adopt automake-1.5's OUTPUT_COMMANDS. * aclocal/project-root.m4: Remove PROJECT_INCLUDE, PROJECT_RELEASE. * aclocal/rtems-debug.m4: Minor cleanups. * aclocal/rtems-top.m4: Minor cleanups. * automake/ Further steps towards automake's rules.
2001-12-182001-12-18 Ralf Corsepius <>Joel Sherrill2-6/+8
* automake/ include @RTEMS_BSP@.cfg, cleanup. * automake/ Add MULTISUBDIR.
2001-11-202001-11-15 Ralf Corsepius <>Joel Sherrill1-0/+4
* automake/ New file. * aclocal/ppc.m4: New file.
2001-10-292001-10-29 Ralf Corsepius <>Joel Sherrill3-15/+29
* Adopt more automake rules: * automake/ Add LINK, CXXLINK, AS, ASCOMPILE; Remove ARFLAGS, LINK.c, COMPILE.S,; Add CPU_CFLAGS to CXXFLAGS, CFLAGS, ASFLAGS; * automake/ Add CXXLINK_APP, LINK_APP, make-exe, apply CXXLINK_APP in make-cxx-exe. * automake/ Add ARFLAGS.
2001-10-102001-10-09 Ralf Corsepius <>Joel Sherrill1-11/+17
* automake/ Fundamentally reworked compilation rules for closer adaptation to automake's behavior.
2001-09-272001-09-27 Ralf Corsepius <>Joel Sherrill1-1/+1
* automake/ Comment out LD. * Use ACLOCAL_FILES = to make automake-1.5 happy; Add automake/ to AUTOMAKE_FILES.
2001-09-192001-09-19 Ralf Corsepius <>Joel Sherrill1-0/+9
* automake/ New file.
2001-04-262001-04-26 Ralf Corsepius <>Joel Sherrill1-2/+2
* README.cdn-X: Update. * automake/ Remove -ansi -fasm from CFLAGS_DEFAULT, add @CPPFLAGS@ to CPPFLAGS.
2001-01-292001-01-26 Ralf Corsepius <>Joel Sherrill1-14/+7
* aclocal/enable-rtemsbsp.m4: Split out RTEMS_ENV_RTEMSBSP, RTEMS_ENV_RTEMSCPU. * aclocal/env-rtemsbsp.m4: New file for RTEMS_ENV_RTEMSBSP, add special treatment for GCC_SPECS. * aclocal/env-rtemscpu.m4: New file for RTEMS_ENV_RTEMSCPU, add special treatment for GCC_SPECS. * aclocal/bsp-enable-arg.m4: New file, introduce RTEMS_BSP_ARG_ENABLE. * aclocal/prog-cc.m4: Add AC_PROG_CPP, use build_os in GCCSED hack. * automake/ New treatment of CPP, GCCSPECS, use `..` instead of $(shell ..) for LIBC_LIB*.
2001-01-032001-01-03 Emmanuel Raguet <>Joel Sherrill1-0/+1
* automake/ Add LD.
2000-11-022000-11-02 Ralf Corsepius <>Joel Sherrill1-0/+1
* automake/ Add LD.
2000-10-312000-10-30 Ralf Corsepius <>Joel Sherrill2-29/+5
* New, Cygnus/GNU style configuration. * Add macros/, reflect new, ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/macros * automake/ BSP_SPECS, remove RTEMS_CANONICALIZATION. * automake/ Remove RTEMS_CANONICALIZATION. * macros/tool-prefix.m4: Remove. * macros/target.m4: Remove RTEMS_CONFIG_SUBDIRS, RTEMS_OUTPUT_SUBDIRS. * macros/enable-rtemsbsp.m4: Add RTEMS_CONFIG_PER_BSP, add setting RTEMS_ROOT. * macros/i386-gas-code16.m4: Define NEW_GAS only for 16bit mode- * macros/multilib.m4: Various minor fixes. * macros/project-root.m4: Remove setting PROJECT_TOPdir, PROJECT_ROOT, RTEMS_ROOT. * macros/rtems-top.m4: Remove RTEMS_CANONICALIZATION, TARGET_SUBDIRS; Add with_target_subdirs, PROJECT_TOPdir, PROJECT_ROOT.
2000-10-27Missed in earlier commits.Joel Sherrill1-0/+4
2000-10-272000-10-27 Ralf Corsepius <>Joel Sherrill1-0/+31
* automake/ New file. * Update AUTOMAKE_FILES to reflect the contents of the automake/ directory.
2000-10-242000-10-24 Ralf Corsepius <>Joel Sherrill2-0/+11
* macros/enable-hwapi.m4: Removed. * aclocal/rtems-top.m4, automake/, automake/ A small cleanup step towards gnu-canonicalization.
2000-09-142000-09-13 Ralf Corsepius <>Joel Sherrill1-2/+0
* automake/ Remove leaf.cfg.
2000-09-132000-09-13 Ralf Corsepius <>Joel Sherrill1-0/+6
* aclocal/rtems-top.m4: Add ENDIF-hack. * automake/ Add include $(DEPENDS) + ENDIF-hack.
2000-09-122000-09-12 Ralf Corsepius <>Joel Sherrill2-48/+285
* aclocal/check-cxx.m4: Add AC_SUBST(CPLUS_LD_LIBS) * aclocal/prog-cc.m4: Cleanup comments, require RTEMS_ENABLE_GCC28, add automake conditionals RTEMS_USE_GCC, RTEMS_USE_GCC272. * automake/ Replaced. * automake/ Remove building variant handling.
2000-09-122000-09-12 Ralf Corsepius <>Joel Sherrill1-0/+12
* aclocal/enable-rtemsbsp.m4: Add RTEMS_ENABLE_BARE, AC_SUBST(BARE_CPU_MODEL),AC_SUBST(BARE_CPU_CFLAGS). * aclocal/i386-gas-code16.m4: AC_DEFINE NEW_GAS. * aclocal/target.m4: Cleanup comments * Automake/ Add DEFS support to keep building happy.
2000-09-052000-09-04 Ralf Corsepius <>Joel Sherrill1-0/+6
* automake/ New file * ChangeLog: Fix email addresses
2000-06-12Merged from 4.5.0-beta3aJoel Sherrill3-15/+93
2000-01-07Patch rtems-rc-20000104-0.diff from Ralf Corsepius <>Joel Sherrill1-2/+2
which is described below: This one is a (minor) patch in preparation of the upcoming patches. It actually is an excerpt of the upcoming patches and therefore is completely untested in this standalone form, but I don't expect it to break something. The essential changes in this patch are: * An update to (Now can also be run in subdirectories) * A bug-fix for the libcpu/powerpc (A directory was missing from SUBDIRS in a * An update to gensh2.cfg. * Cleanups/Enhancements to configuration files To apply: cd <srcdir> patch -p0 < rtems-rc-20000104-0.diff cvs rm -f c/src/lib/libbsp/
1999-12-01Patch rtems-rc-19991123-rc-1.diff from Ralf CorsepiusJoel Sherrill1-1/+1
<> which implements automake support for some score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration bugs. To apply: rm -rf c/src/exec/score/cpu/i960/wrap rm -rf c/src/exec/score/cpu/m68k/wrap rm -rf c/src/exec/score/cpu/sh/wrap rm -rf c/src/exec/score/cpu/sparc/wrap rm -rf c/src/exec/score/cpu/unix/wrap patch -p1 < rtems-rc-19991123-rc-1.diff ./bootstrap Known bugs: * "make debug|profile" in c/src/src/score/cpu/<RTEMS_CPU/Makefile does not handle recursion to subdirectories correctly (recurses too often). However, this issue is hardly visible and should be tolerable for the moment.
1999-11-23Missed in previous automake conversion patches from Ralf CorsepiusJoel Sherrill1-0/+18
1999-11-22Patch rtems-rc-19991117-4.diff from Ralf Corsepius <>:Joel Sherrill1-1/+1
.. a major configuration cleanup ... major enhancement of automake support. ... and it contains a *major* breakthough: Automake support for libchip and libmisc *LEAF* directories. To implement this I have used several nasty tricks * The basical trick is to wrap an old's contents into a and still continue to use (i.e include) the old *.cfg files. * Replaced each INSTALL_IF_CHANGE and INSTALL_VARIANT with make dependencies * Add a gnu-make ifdef AUTOMAKE to main.cfg to avoid conflicts between automake and RTEMS make rules * Replaced each install:: and preinstall:: rule with make dependencies * Replaced SUB_DIRS with SUBDIRS in all Makefile.ins (Automake convention) * Removed each manually added autoconf substitution which automake performs automatically. This is not yet full automake support, because using the temporary installation directory, preinstallation in general and building variants are in contradiction to automake's basic working principles ... ... the new Makefile.ams work still somewhat clumsy ... nevertheless they work (quite well). WARNING: At first glance this patch is small, but * it affects the whole configuration system. * it opens the road to introducing automake to all Makefile.ins currently not being under automake control. JOEL> Does this remove or add any files? Both, all Makefile.ins below libchip and libmisc get replaced with Makefile.ams.
1999-09-07Applied patch rtems-rc-19990820-6.diff.gz fromJoel Sherrill1-1/+1
Ralf Corsepius <> which converted many's to's. This added a lot of files.
1999-07-26 Patch from Ralf Corsepius <>:Joel Sherrill2-25/+1
This patch is an addition to "The big-patch" CHANGES: * FIX: c/ bogus comment which changed the behavior of c/ removed * FIX: make/custom/ts_i386ex.cfg did not set HAS_NETWORKING correctly (Me thinks it might have been me who added this bogus setting :-). * NEW: removing make targets get, protos, debug_install, profile_install * NEW: replacing clobber with distclean * NEW: Reimplement distclean and clean as reverse depth first make targets (adaptation to automake's behavior) * NEW: removing RCS_CLEAN from make distclean (tools/build/rcs_clean is still in - remove it?) * NEW: "$(RM) Makefile" added to make distclean (adaptation to automake's behavior) * NEW: "$(RM) config.cache config.log" to CLOBBER_ADDITIONS in [lib|exec|tests]/ (adaptation to automake's behavior) * NEW: "$(CLEAN_PROTOS)" removed (Not used anywhere) * NEW: binpatch.c moved from i386 bsp tools to tools/build (AFAIS, binpatch is not specific to the pc386 BSP at all) * NEW: AC_EXEEXT added to all configure scripts which contain AC_PROG_CC (Cygwin support) * NEW/Experimental: An experimental implementation of temporary installation tree support in libbsp/i386/pc386/tools/, based on dependency tracking with make, instead of applying INSTALL_CHANGE. REMARK: * This patch is small in size, but changes the behavior of "make clean|distclean|clobber" basically. * This patch does not alter building/compiling RTEMS, ie. there should be no need to rerun all "make all" building tests. KNOWN BUGS: * make RTEMS_BSP="..." distclean in c/ runs "make distclean" in BSPs subdirectories passed through RTEMS_BSP and in "c/." only, but does not descend into other BSP subdirectories previously configured with different settings of make RTEMS_BSP="...". => Workaround: always use the same setting of RTEMS_BSP when working inside the build-tree. * "make [distclean|clean]" do not clean subdirectories, which have been configured at configuration time, but which are not used due to make-time configuration (e.g. macros/networking/rdgb subdirectories). This will problem will vanish by itself when migrating from make-time to configuration-time configuration APPLYING THE PATCH mv c/src/lib/libbsp/i386/pc386/tools/binpatch.c tools/build patch -p1 < rtems-rc-19990709-2.diff autogen
1999-04-19Patch from Ralf Corsepius <> to address this:Joel Sherrill2-24/+30
> * RTEMS's 'make depend' isn't a standard automake make target and is not > supported in automake supported subdirectories.
1999-04-12Patch from Ralf Corsepius <>:Joel Sherrill2-16/+30
This patch addresses a few minor issues and contains a few (minor) preparations for automake. * 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'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/ cvs add c/update-tools/ cvs add c/update-tools/aclocal.m4
1999-03-23Automake II patch from Ralf Corsepius <>. EmailJoel Sherrill2-0/+70
description follows: Description: * automake for *all* tool subdirectories (, 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 * 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. * ./ uses the macros from aclocal + support for the tools' configure scripts Remarks: * To run, "cd <rtems-source-tree>; ./c/update-tools/" * 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)].