forked from Imagelibrary/rtems
that is yet another multilib-related structual cleanup patch:
Changes:
* Make RTEMS_TEST_NO_PAUSE a tests/ subpackage specific option.
- Remove RTEMS_TEST_NO_PAUSE from custom/*.cfg, targopts.h and
cpuopts.h.
- Add autoconf macros RTEMS_*_RTEMS_TEST_NO_PAUSE
(aclocal/rtems-test-no-pause.m4).
- Add RTEMS_*_RTEMS_TEST_NO_PAUSE support to sptests/configure.ins
and tmtests/configure.in. These are the only subdirectories which
currently apply RTEMS_TEST_NO_PAUSE.
- Add autoconf-DEFS support to all test subpackages' configure.ins
below tests/. I.e. AC_DEFINES now get explicitly propagated as
preprocessor defines into Makefiles, cf. AM_CPPFLAGS in
tests/*/*.am, instead of using a global config-files.
- Remove NDEBUG from custom/*.cfg.
* AC_DEFINE POSIX_API, ITRON_API and MULTIPROCESSING in
exec/configure.in, only.
- All other sources now should relay on the values from cpuopts.h
and should not define them themselves.
- Several related changes to many configure.ins
* Bug-fixes to RTEMS_*_RTEMS_DEBUG macros (Actually workarounds to
quoting bugs in autoconf).
Notes:
* This patch is rather immature and only tested for a small subset
of BSPs (requires the tests to be enabled and therefore takes an
tremendous amount of disc space and time.)
* The patches to *cfg were generated by a script. Expect file
formating changes :)
44 lines
1.7 KiB
Makefile
44 lines
1.7 KiB
Makefile
#
|
|
# top level directory for RTEMS build tree
|
|
#
|
|
## The target's toplevel Makefile now is in c/src
|
|
##
|
|
## $Id$
|
|
##
|
|
|
|
AUTOMAKE_OPTIONS = foreign 1.4
|
|
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
|
|
|
SUBDIRS = doc make tools @TARGET_SUBDIRS@
|
|
|
|
AUTOMAKE_FILES = automake/subdirs.am automake/local.am automake/lib.am
|
|
|
|
ACLOCAL_FILES += aclocal/ar-s.m4 aclocal/bsp-alias.m4 \
|
|
aclocal/canonical-host.m4 aclocal/canonical-target-name.m4 \
|
|
aclocal/canonicalize-tools.m4 aclocal/check-bsps.m4 \
|
|
aclocal/check-bsp-cache.m4 aclocal/check-cpu.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/enable-bare.m4 \
|
|
aclocal/enable-cxx.m4 aclocal/enable-gcc28.m4 aclocal/enable-hwapi.m4 \
|
|
aclocal/enable-inlines.m4 aclocal/enable-itron.m4 \
|
|
aclocal/enable-libcdir.m4 aclocal/enable-multiprocessing.m4 \
|
|
aclocal/enable-networking.m4 aclocal/enable-posix.m4 \
|
|
aclocal/enable-rdbg.m4 aclocal/enable-rtemsbsp.m4 \
|
|
aclocal/enable-tests.m4 aclocal/gcc-pipe.m4 aclocal/gcc-specs.m4 \
|
|
aclocal/i386-gas-code16.m4 aclocal/path-ksh.m4 aclocal/path-perl.m4 \
|
|
aclocal/prog-cc.m4 aclocal/prog-cxx.m4 aclocal/project-root.m4 \
|
|
aclocal/rtems-top.m4 aclocal/sysv-ipc.m4 aclocal/target.m4 \
|
|
aclocal/tool-paths.m4 aclocal/tool-prefix.m4 aclocal/multilib.m4 \
|
|
aclocal/rtems-debug.m4 aclocal/rtems-test-no-pause.m4
|
|
|
|
noinst_SCRIPTS = bootstrap
|
|
|
|
EXTRA_DIST = $(AUTOMAKE_FILES) $(ACLOCAL_FILES) README.configure SUPPORT \
|
|
VERSION LICENSE $(noinst_SCRIPTS)
|
|
|
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(ACLOCAL_FILES)
|
|
|
|
include $(top_srcdir)/automake/subdirs.am
|
|
include $(top_srcdir)/automake/host.am
|