summaryrefslogtreecommitdiffstats
path: root/automake (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-01-25Remove make preinstallChris Johns3-30/+2
A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill3-6/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2006-01-12Remove depend-recursive:Ralf Corsepius1-4/+0
2006-01-12Remove depend-am:Ralf Corsepius2-8/+0
2003-12-142003-12-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-213/+0
* automake/compile.am: Remove (Unused).
2003-12-122003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-23/+0
* automake/lib.am: Remove (Unused).
2003-12-112003-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-12/+0
* configure.ac: Remove make/custom/Makefile. * Makefile.am: Cosmetics. * automake/compile.am: Remove compilation rules. Remove $(ARCH) directory generation.
2003-08-212003-08-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-20/+0
* aclocal/bsp-arg-enable.m4, aclocal/bsp-configure.m4, aclocal/bspopts.m4, aclocal/canonicalize-tools.m4, aclocal/check-bsp-cache.m4, aclocal/check-cxx.m4, aclocal/check-itron.m4, aclocal/check-multiprocessing.m4, aclocal/check-networking.m4, aclocal/check-newlib.m4, aclocal/check-posix.m4, aclocal/check-rdbg.m4, aclocal/check-tool.m4, aclocal/env-rtemsbsp.m4, aclocal/gcc-isystem.m4, aclocal/gcc-pipe.m4, aclocal/gcc-specs.m4, aclocal/i386-gas-code16.m4, aclocal/path-perl.m4, aclocal/ppc.m4, aclocal/prog-cc.m4, aclocal/prog-ccas.m4, aclocal/prog-cxx.m4, aclocal/prog-gnat.m4, aclocal/rtems-debug.m4, aclocal/rtems-flags.m4, aclocal/rtems-test-no-pause.m4, aclocal/target.m4: Remove (Unused). * automake/leaf.am, automake/force-preinstall.am: Remove (Unused). * Makefile.am: Reflect changes above.
2003-08-182003-08-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-16/+0
* automake/local.am, automake/host.am: Remove "debug".
2003-06-062003-06-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-8/+0
* automake/local.am: Remove $(ARCH), clean-local.
2003-05-272003-05-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius3-28/+8
PR 321: * aclocal/check-bsp-cache.m4: Remove support for profile-variant. * aclocal/env-rtemsbsp.m4 * automake/compile.am * automake/host.am * automake/local.am
2003-05-162003-05-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-5/+15
* aclocal/check-cxx.m4: Remove LIBSUFFIX_VA. * automake/compile.am: Remove LIBSUFFIX_VA. Merger from rtems-4-6-branch.
2003-01-212003-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-3/+0
* automake/compile.am: Remove CLEAN_DEPEND (Unused). Remove CLOBBER_DEPEND (Unused).
2003-01-202003-01-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-3/+0
* automake/local.am: Remove distclean-local.
2002-12-122002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-3/+0
* automake/compile.am: Remove creating $(ARCH) in compilation rules.
2002-12-062002-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-7/+6
* automake/compile.am: Rework *FLAGS, AM_*FLAGS handling.
2002-12-062002-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-10/+5
* automake/compile.am: Remove hard-coded *_PROFILE_V. Add autoconf-supplied CPU_CFLAGS, CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V, CFLAGS_PROFILE_V. Remove CPPFLAGS_GCC.
2002-12-012002-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-20/+6
* automake/compile.am: Remove LDFLAGS_INCOMPLETE. Remove LDFLAGS. Add CCAS, CCASCOMPILE. Remove compilation rules for *.cpp, *.cxx, *.C. Use CCASCOMPILE to compile *.S. Add -pg to RTEMS_CFLAGS_PROFILE_V.
2002-11-192002-11-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-4/+1
* automake/compile.am: Remove LD_PATHS (Unused). * aclocal/check-newlib.m4: Adaptation to autoconf-2.5x (AC_TRY_LINK is announced obsolete).
2002-11-152002-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-10/+2
* automake/compile.am: Remove CFLAGS_DEBUG_OPTIMIZE_V, CXXFLAGS_DEBUG_OPTIMIZE_V, LDFLAGS_DEBUG_V, CFLAGS_DEFAULT. Support @CFLAGS@, @CXXFLAGS@.
2002-11-082002-11-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-5/+0
* automake/compile.am: Remove rel rule.
2002-07-222002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-2/+10
* aclocal/bsp-configure.m4: Add RTEMS_CHECK_MULTIPROCESSING. * automake/compile.am: Add test -d $(ARCH) || mkdir $(ARCH) to all compilation rules (Work-around to an automake bug). * automake/lib.am: Add test -d $(ARCH) || mkdir $(ARCH) to make-library.
2002-06-302002-06-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-33/+0
* automake/multilib.am: Remove. * Makefile.am: Reflect change above.
2002-04-162002-04-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-46/+2
* automake/compile.am: Remove GCC272 support. Remove *.sh rule (unused). * configure.ac: Remove ENABLE_GCC28. Remove ENABLE_LIBCDIR.
2002-01-072002-01-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* automake/compile.am (LINK_LIB_RTEMS): Removed line continuation for last line to eliminate 100's of warnings.
2002-01-062002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>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/compile.am: Remove librtemsall from LINK_FILES.
2002-01-062002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>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/compile.am: Remove librtemsall from LINK_FILES.
2001-12-202001-12-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-5/+5
* configure.ac: 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/compile.am: Further steps towards automake's rules.
2001-12-182001-12-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-6/+8
* automake/multilib.am: include @RTEMS_BSP@.cfg, cleanup. * automake/lib.am: Add MULTISUBDIR.
2001-11-202001-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+4
* automake/force-preinstall.am: New file. * aclocal/ppc.m4: New file.
2001-10-292001-10-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-15/+29
* Adopt more automake rules: * automake/compile.am: Add LINK, CXXLINK, AS, ASCOMPILE; Remove ARFLAGS, LINK.c, COMPILE.S, LINK.cc; Add CPU_CFLAGS to CXXFLAGS, CFLAGS, ASFLAGS; * automake/leaf.am: Add CXXLINK_APP, LINK_APP, make-exe, apply CXXLINK_APP in make-cxx-exe. * automake/lib.am: Add ARFLAGS.
2001-10-102001-10-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-11/+17
* automake/compile.am: Fundamentally reworked compilation rules for closer adaptation to automake's behavior.
2001-09-272001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+1
* automake/lib.am: Comment out LD. * Makefile.am: Use ACLOCAL_FILES = to make automake-1.5 happy; Add automake/leaf.am to AUTOMAKE_FILES.
2001-09-192001-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+9
* automake/leaf.am: New file.
2001-04-262001-04-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-2/+2
* README.cdn-X: Update. * automake/compile.am: Remove -ansi -fasm from CFLAGS_DEFAULT, add @CPPFLAGS@ to CPPFLAGS.
2001-01-292001-01-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>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/compile.am: New treatment of CPP, GCCSPECS, use `..` instead of $(shell ..) for LIBC_LIB*.
2001-01-032001-01-03 Emmanuel Raguet <raguet@crf.canon.fr>Joel Sherrill1-0/+1
* automake/compile.am: Add LD.
2000-11-022000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+1
* automake/lib.am: Add LD.
2000-10-312000-10-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-29/+5
* configure.in: New, Cygnus/GNU style configuration. * Makefile.am: Add macros/, reflect new configure.in, ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/macros * automake/compile.am: BSP_SPECS, remove RTEMS_CANONICALIZATION. * automake/lib.am: 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 <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+31
* automake/multilib.am: New file. * Makefile.am: Update AUTOMAKE_FILES to reflect the contents of the automake/ directory.
2000-10-242000-10-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-0/+11
* macros/enable-hwapi.m4: Removed. * aclocal/rtems-top.m4, automake/compile.am, automake/lib.am: A small cleanup step towards gnu-canonicalization.
2000-09-142000-09-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-2/+0
* automake/lib.am: Remove leaf.cfg.
2000-09-132000-09-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+6
* aclocal/rtems-top.m4: Add ENDIF-hack. * automake/compile.am: Add include $(DEPENDS) + ENDIF-hack.
2000-09-122000-09-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>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/compile.am: Replaced. * automake/local.am: Remove building variant handling.
2000-09-122000-09-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>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/compile.am: Add DEFS support to keep building happy.
2000-09-052000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+6
* automake/compile.am: 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 <corsepiu@faw.uni-ulm.de>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 rtems-polish.sh (Now can also be run in subdirectories) * A bug-fix for the libcpu/powerpc (A directory was missing from SUBDIRS in a Makefile.am) * 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/Makefile.am.new
1999-12-01Patch rtems-rc-19991123-rc-1.diff from Ralf CorsepiusJoel Sherrill1-1/+1
<corsepiu@faw.uni-ulm.de> 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.