summaryrefslogtreecommitdiffstats
path: root/testsuites/automake/compile.am (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-09-21build: Remove old build systemSebastian Huber1-30/+0
Close #3250. Close #4081.
2019-03-27ttest01: New testSebastian Huber1-0/+1
This is an example test using the RTEMS Test Framework. It tests also the framework itself. Add T_FILE_NAME command line define to get rid of the full file path. This is important to reduce the read-only data of test files and make them build system independent. Update #3199.
2019-03-26build: Move test support to librtemstest.aSebastian Huber1-0/+1
One reason to move the test support into a dedicated library are the standard output __wrap_*() functions. They may conflict with application level wrappers. Update #3199.
2018-10-10build: Directly reference libraries in testsSebastian Huber1-5/+13
Remove use of TMPINSTALL_FILES.
2018-01-25Remove make preinstallChris Johns1-5/+8
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.
2017-11-11tests: Use ld to map (wrap) printf, puts and putchar to tester functions.Chris Johns1-2/+3
- Remove the macro defines and the need for tmacro.h by remapping the symbols using ld's wrap option. - Remove FLUSH_OUTPUT, it was empty. - Move rtems_test_exit to libmisc/testsupport as a function. Update #3199.
2016-12-07testsuite: Add test states to the testsuit configuration files.Chris Johns1-1/+1
Change the testsuite configuration files to hold state information about a test. The states are: exclude - Do not build the test expected-fail - The test is expected to fail indeterminate - The test may pass or may fail A message is printed just after the test's BEGIN message to indicate there is a special state for the test. No state message means the test is expected to pass. This support requires tests are correctly written to the use standard support to begin and end a test.
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-4/+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.
2010-07-312010-07-31 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-3/+1
* automake/compile.am: Remove clean-local:. Use CLEANFILES for cleaning up make-exe by-products.
2009-10-232009-10-23 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+2
* automake/compile.am: Add *.ralf to clean-local.
2005-11-22Remove .objRalf Corsepius1-1/+1
2005-11-222005-11-22 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* automake/compile.am: Remove .coff.
2005-11-132005-11-13 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-33/+1
* automake/compile.am: Remove LINK_OBJS. Remove LINK_FILES. Remove ARCH. Remove LINK_LIBS. Extend clean-local to catch most temporary files make-exe is creating.
2005-11-09Assume PROJECT_ROOT to contain RTEMS_BSP.Ralf Corsepius1-2/+2
2005-11-09Eliminate PROJECT_LIB.Ralf Corsepius1-4/+2
Remove START_FILE, OBJS from LINK_FILES.
2005-11-08Remove RTEMS_CPPFLAGS, RTEMS_CFLAGS, RTEMS_CXXFLAGS.Ralf Corsepius1-3/+3
2005-11-08Cleanup.Ralf Corsepius1-2/+0
2005-11-08Remove RTEMS_BSP_SPECS, GCC_SPECS.Ralf Corsepius1-8/+0
Don't manually set up GCCSPEC (Now setup from inside configure). Remove RTEMS_RELLDFLAGS (Used).
2005-11-08Remove CCAS support.Ralf Corsepius1-4/+0
2005-11-07Remove depend.Ralf Corsepius1-2/+0
2005-11-07Take contents of amcompile.am.Ralf Corsepius1-64/+18
2005-01-062004-01-06 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-3/+1
* automake/compile.am: Remove CLEANDIRS (Unused). Remove DEFS (Implicitly handled by automake).
2005-01-06Remove duplicate CCAS.Ralf Corsepius1-1/+0
2005-01-062004-01-06 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-57/+5
* automake/compile.am: Remove CONFIG.CC (Unused). Remove CPPFLAGS, CFLAGS, CXXFLAGS, ASFLAGS (Implicitly handled by automake). Add CCAS. Use AM_*FLAGS = RTEMS_*FLAGS. Remove LIB_VARIANT from LINK_*. Cleanup comments.
2005-01-062004-01-06 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-57/+3
* automake/compile.am: Remove AS, ASCOMPILE, make-rel (Unused). Remove build-variants. Hard-code ARCH=o-optimize.
2004-04-20Remove stray white spaces.Ralf Corsepius1-7/+7
2003-12-172003-12-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-1/+1
* automake/compile.am: Use $(mkdir_p) instead of $(mkinstalldirs).
2003-12-152003-12-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-2/+2
* aclocal/env-rtemsbsp.m4: Add PROJECT_LIB. * automake/compile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
2003-12-122003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-3/+0
* automake/compila.am: Remove ARCH.
2003-12-012003-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-3/+7
* automake/compile.am: Add $(ARCH)/$(dirstamp) rules. * aclocal/lead-dot.m4: New (from automake-1.7f). * aclocal/rtems-top.m4: Require AM_SET_LEADING_DOT. Add AC_SUBST(dirstamp).
2003-08-162003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-0/+0
* automake/compile.am, automake/host.am, automake/leaf.am automake/local.am, automake/subdirs.am: New (copied from ../../../automake).
2003-05-272003-05-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-12/+6
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).
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 Corsepius1-0/+7
* 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-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-10-292001-10-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-12/+17
* 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-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.