From 3a8915e6ee7974d832994d218c6a90b83cd86323 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 6 Aug 1999 17:55:25 +0000 Subject: Patch rtems-rc-19990709-6-diff from Ralf Corsepius applied. This modified many Makefiles and custom files and makes many more settings (network, multiprocessing, etc) gnerated by autoconf. --- aclocal/check-multiprocessing.m4 | 5 +- aclocal/check-rdbg.m4 | 2 + c/Makefile.am | 6 +- c/src/exec/aclocal.m4 | 111 +-- c/src/exec/configure | 323 ++---- c/src/exec/configure.in | 13 +- c/src/lib/aclocal.m4 | 98 +- c/src/lib/configure | 305 +++--- c/src/lib/configure.in | 20 +- c/src/lib/include/Makefile.in | 13 +- c/src/lib/libbsp/bare/include/Makefile.in | 2 +- c/src/lib/libbsp/i386/force386/startup/Makefile.in | 2 +- c/src/lib/libbsp/i386/i386ex/startup/Makefile.in | 2 +- c/src/lib/libbsp/i386/pc386/bsp_specs | 2 +- c/src/lib/libbsp/i386/pc386/startup/Makefile.in | 2 +- c/src/lib/libbsp/i386/ts_386ex/startup/Makefile.in | 2 +- c/src/lib/libbsp/i960/cvme961/startup/Makefile.in | 2 +- c/src/lib/libbsp/m68k/dmv152/startup/Makefile.in | 2 +- c/src/lib/libbsp/m68k/efi332/startup/Makefile.in | 6 +- c/src/lib/libbsp/m68k/efi68k/startup/Makefile.in | 2 +- c/src/lib/libbsp/m68k/gen68302/startup/Makefile.in | 2 +- c/src/lib/libbsp/m68k/gen68340/startup/Makefile.in | 2 +- c/src/lib/libbsp/m68k/gen68360/startup/Makefile.in | 2 +- c/src/lib/libbsp/m68k/idp/startup/Makefile.in | 2 +- c/src/lib/libbsp/m68k/mvme136/startup/Makefile.in | 2 +- c/src/lib/libbsp/m68k/mvme147/startup/Makefile.in | 2 +- c/src/lib/libbsp/m68k/mvme147s/startup/Makefile.in | 2 +- c/src/lib/libbsp/m68k/mvme162/startup/Makefile.in | 2 +- c/src/lib/libbsp/m68k/mvme167/startup/Makefile.in | 4 +- c/src/lib/libbsp/m68k/ods68302/startup/Makefile.in | 2 +- .../libbsp/mips64orion/p4000/startup/Makefile.in | 2 +- c/src/lib/libbsp/no_cpu/no_bsp/startup/Makefile.in | 2 +- .../lib/libbsp/powerpc/dmv177/startup/Makefile.in | 2 +- .../libbsp/powerpc/eth_comm/startup/Makefile.in | 2 +- .../libbsp/powerpc/helas403/startup/Makefile.in | 2 +- .../lib/libbsp/powerpc/mcp750/startup/Makefile.in | 2 +- .../powerpc/motorola_powerpc/startup/Makefile.in | 2 +- .../lib/libbsp/powerpc/papyrus/startup/Makefile.in | 2 +- .../libbsp/powerpc/ppcn_60x/startup/Makefile.in | 2 +- c/src/lib/libbsp/powerpc/psim/startup/Makefile.in | 4 +- c/src/lib/libbsp/sh/gensh1/start/Makefile.in | 2 +- c/src/lib/libbsp/sh/gensh1/startup/Makefile.in | 2 +- c/src/lib/libbsp/sparc/erc32/startup/Makefile.in | 2 +- c/src/lib/libmisc/wrapup/Makefile.in | 2 +- c/src/lib/start/sh/Makefile.in | 2 +- c/src/libmisc/wrapup/Makefile.in | 2 +- c/src/make/Makefile.am | 5 - c/src/make/Makefile.in | 8 +- c/src/make/Makefile.inc.in | 19 +- c/src/make/Templates/Makefile.in | 3 + c/src/make/aclocal.m4 | 74 +- c/src/make/bsp.cfg.in | 17 + c/src/make/compilers/Makefile.in | 3 + c/src/make/compilers/gcc-target-default.cfg | 7 +- c/src/make/configure | 60 +- c/src/make/configure.in | 3 + c/src/make/custom/Makefile.in | 3 + c/src/make/custom/default.cfg.in | 28 - c/src/make/host.cfg.in | 5 - c/src/tests/Makefile.in | 421 +++++++- c/src/tests/aclocal.m4 | 308 +++--- c/src/tests/configure | 1039 +++++++------------- c/src/tests/configure.in | 73 +- c/src/tests/libtests/Makefile.in | 406 +++++++- c/src/tests/libtests/cpuuse/Makefile.in | 4 +- c/src/tests/libtests/malloctest/Makefile.in | 4 +- c/src/tests/libtests/monitor/Makefile.in | 4 +- c/src/tests/libtests/rtems++/Makefile.in | 10 +- c/src/tests/libtests/rtmonuse/Makefile.in | 4 +- c/src/tests/libtests/stackchk/Makefile.in | 4 +- c/src/tests/libtests/termios/Makefile.in | 4 +- c/src/tests/mptests/Makefile.in | 415 +++++++- c/src/tests/mptests/mp01/Makefile.in | 4 +- c/src/tests/mptests/mp01/node1/Makefile.in | 4 +- c/src/tests/mptests/mp01/node2/Makefile.in | 4 +- c/src/tests/mptests/mp02/Makefile.in | 4 +- c/src/tests/mptests/mp02/node1/Makefile.in | 4 +- c/src/tests/mptests/mp02/node2/Makefile.in | 4 +- c/src/tests/mptests/mp03/Makefile.in | 4 +- c/src/tests/mptests/mp03/node1/Makefile.in | 4 +- c/src/tests/mptests/mp03/node2/Makefile.in | 4 +- c/src/tests/mptests/mp04/Makefile.in | 4 +- c/src/tests/mptests/mp04/node1/Makefile.in | 4 +- c/src/tests/mptests/mp04/node2/Makefile.in | 4 +- c/src/tests/mptests/mp05/Makefile.in | 4 +- c/src/tests/mptests/mp05/node1/Makefile.in | 4 +- c/src/tests/mptests/mp05/node2/Makefile.in | 4 +- c/src/tests/mptests/mp06/Makefile.in | 4 +- c/src/tests/mptests/mp06/node1/Makefile.in | 4 +- c/src/tests/mptests/mp06/node2/Makefile.in | 4 +- c/src/tests/mptests/mp07/Makefile.in | 4 +- c/src/tests/mptests/mp07/node1/Makefile.in | 4 +- c/src/tests/mptests/mp07/node2/Makefile.in | 4 +- c/src/tests/mptests/mp08/Makefile.in | 4 +- c/src/tests/mptests/mp08/node1/Makefile.in | 4 +- c/src/tests/mptests/mp08/node2/Makefile.in | 4 +- c/src/tests/mptests/mp09/Makefile.in | 4 +- c/src/tests/mptests/mp09/node1/Makefile.in | 4 +- c/src/tests/mptests/mp09/node2/Makefile.in | 4 +- c/src/tests/mptests/mp10/Makefile.in | 4 +- c/src/tests/mptests/mp10/node1/Makefile.in | 4 +- c/src/tests/mptests/mp10/node2/Makefile.in | 4 +- c/src/tests/mptests/mp11/Makefile.in | 4 +- c/src/tests/mptests/mp11/node1/Makefile.in | 4 +- c/src/tests/mptests/mp11/node2/Makefile.in | 4 +- c/src/tests/mptests/mp12/Makefile.in | 4 +- c/src/tests/mptests/mp12/node1/Makefile.in | 4 +- c/src/tests/mptests/mp12/node2/Makefile.in | 4 +- c/src/tests/mptests/mp13/Makefile.in | 4 +- c/src/tests/mptests/mp13/node1/Makefile.in | 4 +- c/src/tests/mptests/mp13/node2/Makefile.in | 4 +- c/src/tests/mptests/mp14/Makefile.in | 4 +- c/src/tests/mptests/mp14/node1/Makefile.in | 4 +- c/src/tests/mptests/mp14/node2/Makefile.in | 4 +- c/src/tests/psxtests/Makefile.in | 415 +++++++- c/src/tests/psxtests/psx01/Makefile.in | 4 +- c/src/tests/psxtests/psx02/Makefile.in | 4 +- c/src/tests/psxtests/psx03/Makefile.in | 4 +- c/src/tests/psxtests/psx04/Makefile.in | 4 +- c/src/tests/psxtests/psx05/Makefile.in | 4 +- c/src/tests/psxtests/psx06/Makefile.in | 4 +- c/src/tests/psxtests/psx07/Makefile.in | 4 +- c/src/tests/psxtests/psx08/Makefile.in | 4 +- c/src/tests/psxtests/psx09/Makefile.in | 4 +- c/src/tests/psxtests/psx10/Makefile.in | 4 +- c/src/tests/psxtests/psx11/Makefile.in | 4 +- c/src/tests/psxtests/psx12/Makefile.in | 4 +- c/src/tests/psxtests/psx13/Makefile.in | 4 +- c/src/tests/psxtests/psxfile01/Makefile.in | 4 +- c/src/tests/psxtests/psxfile02/Makefile.in | 4 +- c/src/tests/psxtests/psxhdrs/Makefile.in | 4 +- c/src/tests/psxtests/psxmount/Makefile.in | 4 +- c/src/tests/psxtests/psxreaddir/Makefile.in | 4 +- c/src/tests/psxtests/psxstat/Makefile.in | 4 +- c/src/tests/psxtests/psxtime/Makefile.in | 4 +- c/src/tests/psxtests/psxtimer/Makefile.in | 4 +- c/src/tests/psxtests/support/Makefile.in | 4 +- c/src/tests/psxtests/support/include/Makefile.in | 4 +- c/src/tests/samples/Makefile.in | 425 +++++++- c/src/tests/samples/base_mp/Makefile.in | 4 +- c/src/tests/samples/base_mp/node1/Makefile.in | 13 +- c/src/tests/samples/base_mp/node2/Makefile.in | 12 +- c/src/tests/samples/base_sp/Makefile.in | 8 +- c/src/tests/samples/cdtest/Makefile.in | 14 +- c/src/tests/samples/hello/Makefile.in | 8 +- c/src/tests/samples/minimum/Makefile.in | 4 +- c/src/tests/samples/paranoia/Makefile.in | 8 +- c/src/tests/samples/ticker/Makefile.in | 8 +- c/src/tests/samples/unlimited/Makefile.in | 8 +- c/src/tests/sptests/Makefile.in | 414 +++++++- c/src/tests/sptests/sp01/Makefile.in | 4 +- c/src/tests/sptests/sp02/Makefile.in | 4 +- c/src/tests/sptests/sp03/Makefile.in | 4 +- c/src/tests/sptests/sp04/Makefile.in | 4 +- c/src/tests/sptests/sp05/Makefile.in | 4 +- c/src/tests/sptests/sp06/Makefile.in | 4 +- c/src/tests/sptests/sp07/Makefile.in | 4 +- c/src/tests/sptests/sp08/Makefile.in | 4 +- c/src/tests/sptests/sp09/Makefile.in | 4 +- c/src/tests/sptests/sp11/Makefile.in | 4 +- c/src/tests/sptests/sp12/Makefile.in | 4 +- c/src/tests/sptests/sp13/Makefile.in | 4 +- c/src/tests/sptests/sp14/Makefile.in | 4 +- c/src/tests/sptests/sp15/Makefile.in | 4 +- c/src/tests/sptests/sp16/Makefile.in | 4 +- c/src/tests/sptests/sp17/Makefile.in | 4 +- c/src/tests/sptests/sp19/Makefile.in | 4 +- c/src/tests/sptests/sp20/Makefile.in | 4 +- c/src/tests/sptests/sp21/Makefile.in | 6 +- c/src/tests/sptests/sp22/Makefile.in | 4 +- c/src/tests/sptests/sp23/Makefile.in | 4 +- c/src/tests/sptests/sp24/Makefile.in | 4 +- c/src/tests/sptests/sp25/Makefile.in | 4 +- c/src/tests/sptests/spfatal/Makefile.in | 4 +- c/src/tests/sptests/spsize/Makefile.in | 4 +- c/src/tests/support/Makefile.in | 398 +++++++- c/src/tests/support/include/Makefile.in | 269 ++++- c/src/tests/support/stubdr/Makefile.in | 4 +- c/src/tests/support/wrapup/Makefile.in | 4 +- c/src/tests/tmtests/Makefile.in | 405 +++++++- c/src/tests/tmtests/include/Makefile.in | 253 ++++- c/src/tests/tmtests/tm01/Makefile.in | 8 +- c/src/tests/tmtests/tm02/Makefile.in | 8 +- c/src/tests/tmtests/tm03/Makefile.in | 8 +- c/src/tests/tmtests/tm04/Makefile.in | 8 +- c/src/tests/tmtests/tm05/Makefile.in | 8 +- c/src/tests/tmtests/tm06/Makefile.in | 8 +- c/src/tests/tmtests/tm07/Makefile.in | 8 +- c/src/tests/tmtests/tm08/Makefile.in | 8 +- c/src/tests/tmtests/tm09/Makefile.in | 8 +- c/src/tests/tmtests/tm10/Makefile.in | 8 +- c/src/tests/tmtests/tm11/Makefile.in | 8 +- c/src/tests/tmtests/tm12/Makefile.in | 8 +- c/src/tests/tmtests/tm13/Makefile.in | 6 +- c/src/tests/tmtests/tm14/Makefile.in | 8 +- c/src/tests/tmtests/tm15/Makefile.in | 8 +- c/src/tests/tmtests/tm16/Makefile.in | 8 +- c/src/tests/tmtests/tm17/Makefile.in | 8 +- c/src/tests/tmtests/tm18/Makefile.in | 8 +- c/src/tests/tmtests/tm19/Makefile.in | 8 +- c/src/tests/tmtests/tm20/Makefile.in | 10 +- c/src/tests/tmtests/tm21/Makefile.in | 8 +- c/src/tests/tmtests/tm22/Makefile.in | 8 +- c/src/tests/tmtests/tm23/Makefile.in | 8 +- c/src/tests/tmtests/tm24/Makefile.in | 8 +- c/src/tests/tmtests/tm25/Makefile.in | 8 +- c/src/tests/tmtests/tm26/Makefile.in | 8 +- c/src/tests/tmtests/tm27/Makefile.in | 8 +- c/src/tests/tmtests/tm28/Makefile.in | 8 +- c/src/tests/tmtests/tm29/Makefile.in | 8 +- c/src/tests/tmtests/tmck/Makefile.in | 8 +- c/src/tests/tmtests/tmoverhd/Makefile.in | 6 +- c/src/tests/tools/Makefile.in | 395 +++++++- c/src/tests/tools/generic/Makefile.am | 23 +- c/src/tests/tools/generic/Makefile.in | 20 +- make/Templates/Makefile.am | 2 - make/Templates/Makefile.in | 4 +- make/Templates/Makefile.inc.in | 48 - make/compilers/gcc-target-default.cfg | 7 +- make/custom/FreeBSD-posix.cfg | 10 +- make/custom/HPUX9-posix.cfg | 7 - make/custom/Linux-posix.cfg | 10 +- make/custom/Solaris-posix.cfg | 10 +- make/custom/cvme961.cfg | 4 - make/custom/default.cfg | 28 - make/custom/dmv152.cfg | 4 - make/custom/efi332.cfg | 4 - make/custom/efi68k.cfg | 4 - make/custom/force386.cfg | 4 - make/custom/gen68302.cfg | 4 - make/custom/gensh1.cfg | 4 - make/custom/go32.cfg | 4 - make/custom/helas403.cfg | 4 - make/custom/idp.cfg | 4 - make/custom/mvme136.cfg | 4 - make/custom/mvme147.cfg | 4 - make/custom/mvme162.cfg | 4 - make/custom/mvme167.cfg | 4 - make/custom/no_bsp.cfg | 4 - make/custom/ods68302.cfg | 4 - make/custom/p4000.cfg | 4 - make/custom/p4600.cfg | 4 - make/custom/p4650.cfg | 4 - make/custom/papyrus.cfg | 4 - make/custom/portsw.cfg | 75 +- make/custom/psim.cfg | 4 - make/custom/score603e.cfg | 4 - make/custom/simhppa.cfg | 4 - make/host.cfg.in | 5 - make/leaf.cfg | 5 - testsuites/tools/generic/Makefile.am | 23 +- tools/update/acpolish | 5 + 252 files changed, 5478 insertions(+), 2480 deletions(-) delete mode 100644 make/Templates/Makefile.inc.in diff --git a/aclocal/check-multiprocessing.m4 b/aclocal/check-multiprocessing.m4 index 1e65a0a644..84a2cabaef 100644 --- a/aclocal/check-multiprocessing.m4 +++ b/aclocal/check-multiprocessing.m4 @@ -1,4 +1,6 @@ +dnl dnl $Id$ +dnl AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING, [dnl @@ -15,8 +17,7 @@ AC_CACHE_CHECK([whether BSP supports multiprocessing], fi else rtems_cv_HAS_MP="no"; - fi - ]) + fi]) if test "$rtems_cv_HAS_MP" = "yes"; then HAS_MP="yes" else diff --git a/aclocal/check-rdbg.m4 b/aclocal/check-rdbg.m4 index 31a33bbb23..a096938308 100644 --- a/aclocal/check-rdbg.m4 +++ b/aclocal/check-rdbg.m4 @@ -1,3 +1,5 @@ +dnl $Id$ +dnl AC_DEFUN(RTEMS_CHECK_RDBG, [dnl AC_REQUIRE([RTEMS_TOP])dnl diff --git a/c/Makefile.am b/c/Makefile.am index 3f62704966..2566e09e1c 100644 --- a/c/Makefile.am +++ b/c/Makefile.am @@ -2,13 +2,12 @@ # $Id$ # +AUTOMAKE_OPTIONS = foreign 1.4 +ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal ## NOTE: This Makefile.am is rather fragile to the value of RTEMS_BSP ## Esp. make clean and make distclean have unwanted side-effects ## if RTEMS_BSP is not properly set up. -AUTOMAKE_OPTIONS = foreign 1.4 -ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal - RTEMS_BSP = $(RTEMS_BSP_LIST) ## The '.' in SUBDIRS ensures that local make-targets (xxx-am) will be ## triggered before $(RTEMS_BSP_LIST) subdirectories are made. @@ -16,7 +15,6 @@ SUBDIRS= \ . \ $(RTEMS_BSP) - ## Use @RTEMS_BSP_LIST@ here, using $(RTEMS_BSP_LIST) would trigger ## this rule for invalid BSPs @RTEMS_BSP_LIST@: src/configure diff --git a/c/src/exec/aclocal.m4 b/c/src/exec/aclocal.m4 index 35722142d8..836355604e 100644 --- a/c/src/exec/aclocal.m4 +++ b/c/src/exec/aclocal.m4 @@ -517,84 +517,6 @@ fi ]) ]) -dnl -dnl $Id$ -dnl -dnl Check for target g++ -dnl -dnl 98/05/20 Ralf Corsepius (corsepiu@faw.uni-ulm.de) -dnl Completely reworked - -AC_DEFUN(RTEMS_PROG_CXX, -[ -AC_BEFORE([$0], [AC_PROG_CXXCPP])dnl -AC_BEFORE([$0], [AC_PROG_CXX])dnl -AC_REQUIRE([RTEMS_TOOL_PREFIX])dnl - -dnl Only accept g++ and c++ -dnl NOTE: This might be too restrictive for native compilation -AC_PATH_PROGS(CXX_FOR_TARGET, "$program_prefix"g++ "$program_prefix"c++) -test -z "$CXX_FOR_TARGET" \ - && AC_MSG_ERROR([no acceptable c++ found in \$PATH]) - -dnl backup -rtems_save_CXX=$CXX -rtems_save_CXXFLAGS=$CXXFLAGS - -dnl temporarily set CXX -CXX=$CXX_FOR_TARGET - -AC_PROG_CXX_WORKS -AC_PROG_CXX_GNU - -if test $ac_cv_prog_gxx = yes; then - GXX=yes -dnl Check whether -g works, even if CXXFLAGS is set, in case the package -dnl plays around with CXXFLAGS (such as to build both debugging and -dnl normal versions of a library), tasteless as that idea is. - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS= - AC_PROG_CXX_G - if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS="$ac_save_CXXFLAGS" - elif test $ac_cv_prog_cxx_g = yes; then - CXXFLAGS="-g -O2" - else - CXXFLAGS="-O2" - fi -else - GXX= - test "${CXXFLAGS+set}" = set || CXXFLAGS="-g" -fi - -rtems_cv_prog_gxx=$ac_cv_prog_gxx -rtems_cv_prog_cxx_g=$ac_cv_prog_cxx_g -rtems_cv_prog_cxx_works=$ac_cv_prog_cxx_works -rtems_cv_prog_cxx_cross=$ac_cv_prog_cxx_cross - -CXX=$rtems_save_CXX -CXXFLAGS=$rtems_save_CXXFLAGS - -dnl restore initial values -unset ac_cv_prog_gxx -unset ac_cv_prog_cc_g -unset ac_cv_prog_cxx_works -unset ac_cv_prog_cxx_cross -]) - -AC_DEFUN(RTEMS_PROG_CXX_FOR_TARGET, -[ - RTEMS_PROG_CXX - if test "$rtems_cv_prog_cc_cross" != "$rtems_cv_prog_cxx_cross"; then - AC_MSG_ERROR([***] - [Inconsistency in compiler configuration:] - [Target C compiler and Target C++ compiler] - [must both either be cross compilers or native compilers] - [Hint: If building a posix bsp: LD_LIBRARY_PATH?] ) - fi -]) - dnl dnl $Id$ dnl @@ -943,7 +865,9 @@ else fi ])dnl +dnl dnl $Id$ +dnl AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING, [dnl @@ -960,8 +884,7 @@ AC_CACHE_CHECK([whether BSP supports multiprocessing], fi else rtems_cv_HAS_MP="no"; - fi - ]) + fi]) if test "$rtems_cv_HAS_MP" = "yes"; then HAS_MP="yes" else @@ -970,6 +893,34 @@ fi AC_SUBST(HAS_MP) ]) +dnl $Id$ +dnl +AC_DEFUN(RTEMS_CHECK_POSIX_API, +[dnl +AC_REQUIRE([RTEMS_CHECK_CPU])dnl +AC_CACHE_CHECK([whether BSP supports libposix], + rtems_cv_HAS_POSIX_API, + [dnl + case "$RTEMS_CPU" in + unix*) + rtems_cv_HAS_POSIX_API="no" + ;; + *) + if test "${RTEMS_HAS_POSIX_API}" = "yes"; then + rtems_cv_HAS_POSIX_API="yes"; + else + rtems_cv_HAS_POSIX_API="disabled"; + fi + ;; + esac]) +if test "$rtems_cv_HAS_POSIX_API" = "yes"; then + HAS_POSIX_API="yes"; +else + HAS_POSIX_API="no"; +fi +AC_SUBST(HAS_POSIX_API)dnl +]) + dnl dnl $Id$ dnl diff --git a/c/src/exec/configure b/c/src/exec/configure index 3e230e7b00..790b32ceb5 100644 --- a/c/src/exec/configure +++ b/c/src/exec/configure @@ -1301,184 +1301,10 @@ esac -if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then - - - -for ac_prog in "$program_prefix"g++ "$program_prefix"c++ -do -# Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1314: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_CXX_FOR_TARGET'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - case "$CXX_FOR_TARGET" in - /*) - ac_cv_path_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test with a path. - ;; - ?:/*) - ac_cv_path_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test with a dos path. - ;; - *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_CXX_FOR_TARGET="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" - ;; -esac -fi -CXX_FOR_TARGET="$ac_cv_path_CXX_FOR_TARGET" -if test -n "$CXX_FOR_TARGET"; then - echo "$ac_t""$CXX_FOR_TARGET" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -test -n "$CXX_FOR_TARGET" && break -done - -test -z "$CXX_FOR_TARGET" \ - && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; } - -rtems_save_CXX=$CXX -rtems_save_CXXFLAGS=$CXXFLAGS - -CXX=$CXX_FOR_TARGET - -echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:1358: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 - -ac_ext=C -# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cxx_cross - -cat > conftest.$ac_ext << EOF - -#line 1369 "configure" -#include "confdefs.h" - -int main(){return(0);} -EOF -if { (eval echo configure:1374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - ac_cv_prog_cxx_works=yes - # If we can't run a trivial program, we are probably using a cross compiler. - if (./conftest; exit) 2>/dev/null; then - ac_cv_prog_cxx_cross=no - else - ac_cv_prog_cxx_cross=yes - fi -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_cv_prog_cxx_works=no -fi -rm -fr conftest* -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 -if test $ac_cv_prog_cxx_works = no; then - { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } -fi -echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:1400: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 -echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 -cross_compiling=$ac_cv_prog_cxx_cross - -echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 -echo "configure:1405: checking whether we are using GNU C++" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.C <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then - ac_cv_prog_gxx=yes -else - ac_cv_prog_gxx=no -fi -fi - -echo "$ac_t""$ac_cv_prog_gxx" 1>&6 - -if test $ac_cv_prog_gxx = yes; then - GXX=yes - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS= - echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 -echo "configure:1429: checking whether ${CXX-g++} accepts -g" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - echo 'void f(){}' > conftest.cc -if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then - ac_cv_prog_cxx_g=yes -else - ac_cv_prog_cxx_g=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 - if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS="$ac_save_CXXFLAGS" - elif test $ac_cv_prog_cxx_g = yes; then - CXXFLAGS="-g -O2" - else - CXXFLAGS="-O2" - fi -else - GXX= - test "${CXXFLAGS+set}" = set || CXXFLAGS="-g" -fi - -rtems_cv_prog_gxx=$ac_cv_prog_gxx -rtems_cv_prog_cxx_g=$ac_cv_prog_cxx_g -rtems_cv_prog_cxx_works=$ac_cv_prog_cxx_works -rtems_cv_prog_cxx_cross=$ac_cv_prog_cxx_cross - -CXX=$rtems_save_CXX -CXXFLAGS=$rtems_save_CXXFLAGS - -unset ac_cv_prog_gxx -unset ac_cv_prog_cc_g -unset ac_cv_prog_cxx_works -unset ac_cv_prog_cxx_cross - - if test "$rtems_cv_prog_cc_cross" != "$rtems_cv_prog_cxx_cross"; then - { echo "configure: error: *** - Inconsistency in compiler configuration: - Target C compiler and Target C++ compiler - must both either be cross compilers or native compilers - Hint: If building a posix bsp: LD_LIBRARY_PATH? " 1>&2; exit 1; } - fi - -fi - echo $ac_n "checking target's ar""... $ac_c" 1>&6 -echo "configure:1482: checking target's ar" >&5 +echo "configure:1308: checking target's ar" >&5 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1511,7 +1337,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable AR_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:1515: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5 +echo "configure:1341: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5 case "$AR_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -1528,7 +1354,7 @@ echo "configure:1515: checking whether environment variable AR_FOR_TARGET is an # Extract the first word of ""$program_prefix"ar", so it can be a program name with args. set dummy "$program_prefix"ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1532: checking for $ac_word" >&5 +echo "configure:1358: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1565,7 +1391,7 @@ fi echo $ac_n "checking target's as""... $ac_c" 1>&6 -echo "configure:1569: checking target's as" >&5 +echo "configure:1395: checking target's as" >&5 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1598,7 +1424,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable AS_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:1602: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5 +echo "configure:1428: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5 case "$AS_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -1615,7 +1441,7 @@ echo "configure:1602: checking whether environment variable AS_FOR_TARGET is an # Extract the first word of ""$program_prefix"as", so it can be a program name with args. set dummy "$program_prefix"as; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1619: checking for $ac_word" >&5 +echo "configure:1445: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1652,7 +1478,7 @@ fi echo $ac_n "checking target's ld""... $ac_c" 1>&6 -echo "configure:1656: checking target's ld" >&5 +echo "configure:1482: checking target's ld" >&5 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1685,7 +1511,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable LD_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:1689: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5 +echo "configure:1515: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5 case "$LD_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -1702,7 +1528,7 @@ echo "configure:1689: checking whether environment variable LD_FOR_TARGET is an # Extract the first word of ""$program_prefix"ld", so it can be a program name with args. set dummy "$program_prefix"ld; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1706: checking for $ac_word" >&5 +echo "configure:1532: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1739,7 +1565,7 @@ fi echo $ac_n "checking target's nm""... $ac_c" 1>&6 -echo "configure:1743: checking target's nm" >&5 +echo "configure:1569: checking target's nm" >&5 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1772,7 +1598,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable NM_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:1776: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5 +echo "configure:1602: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5 case "$NM_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -1789,7 +1615,7 @@ echo "configure:1776: checking whether environment variable NM_FOR_TARGET is an # Extract the first word of ""$program_prefix"nm", so it can be a program name with args. set dummy "$program_prefix"nm; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1793: checking for $ac_word" >&5 +echo "configure:1619: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1827,7 +1653,7 @@ fi echo $ac_n "checking target's ranlib""... $ac_c" 1>&6 -echo "configure:1831: checking target's ranlib" >&5 +echo "configure:1657: checking target's ranlib" >&5 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1860,7 +1686,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable RANLIB_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:1864: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5 +echo "configure:1690: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5 case "$RANLIB_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -1877,7 +1703,7 @@ echo "configure:1864: checking whether environment variable RANLIB_FOR_TARGET is # Extract the first word of ""$program_prefix"ranlib", so it can be a program name with args. set dummy "$program_prefix"ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1881: checking for $ac_word" >&5 +echo "configure:1707: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1916,7 +1742,7 @@ fi # ranlib wasn't found; check if ar -s is available echo $ac_n "checking whether $AR_FOR_TARGET -s works""... $ac_c" 1>&6 -echo "configure:1920: checking whether $AR_FOR_TARGET -s works" >&5 +echo "configure:1746: checking whether $AR_FOR_TARGET -s works" >&5 if eval "test \"`echo '$''{'rtems_cv_AR_FOR_TARGET_S'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1925,8 +1751,8 @@ cat > conftest.$ac_ext <&5; (eval $ac_try) 2>&5; }; } \ - && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:1930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \ +if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:1755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \ + && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:1756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \ && test -s conftest.a ; \ then rtems_cv_AR_FOR_TARGET_S="yes" @@ -1951,7 +1777,7 @@ echo "$ac_t""$rtems_cv_AR_FOR_TARGET_S" 1>&6 echo $ac_n "checking target's objcopy""... $ac_c" 1>&6 -echo "configure:1955: checking target's objcopy" >&5 +echo "configure:1781: checking target's objcopy" >&5 if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1984,7 +1810,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:1988: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5 +echo "configure:1814: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5 case "$OBJCOPY_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -2001,7 +1827,7 @@ echo "configure:1988: checking whether environment variable OBJCOPY_FOR_TARGET i # Extract the first word of ""$program_prefix"objcopy", so it can be a program name with args. set dummy "$program_prefix"objcopy; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2005: checking for $ac_word" >&5 +echo "configure:1831: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2038,7 +1864,7 @@ fi echo $ac_n "checking target's size""... $ac_c" 1>&6 -echo "configure:2042: checking target's size" >&5 +echo "configure:1868: checking target's size" >&5 if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2071,7 +1897,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable SIZE_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:2075: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5 +echo "configure:1901: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5 case "$SIZE_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -2088,7 +1914,7 @@ echo "configure:2075: checking whether environment variable SIZE_FOR_TARGET is a # Extract the first word of ""$program_prefix"size", so it can be a program name with args. set dummy "$program_prefix"size; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2092: checking for $ac_word" >&5 +echo "configure:1918: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2125,7 +1951,7 @@ fi echo $ac_n "checking target's strip""... $ac_c" 1>&6 -echo "configure:2129: checking target's strip" >&5 +echo "configure:1955: checking target's strip" >&5 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2158,7 +1984,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable STRIP_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:2162: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&5 +echo "configure:1988: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&5 case "$STRIP_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -2175,7 +2001,7 @@ echo "configure:2162: checking whether environment variable STRIP_FOR_TARGET is # Extract the first word of ""$program_prefix"strip", so it can be a program name with args. set dummy "$program_prefix"strip; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2179: checking for $ac_word" >&5 +echo "configure:2005: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2214,7 +2040,7 @@ fi if test "${target_cpu}" = "i386"; then echo $ac_n "checking for 16 bit mode assembler support""... $ac_c" 1>&6 -echo "configure:2218: checking for 16 bit mode assembler support" >&5 +echo "configure:2044: checking for 16 bit mode assembler support" >&5 if eval "test \"`echo '$''{'rtems_cv_prog_gas_code16'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2224,7 +2050,7 @@ else addr32 lgdt 0 EOF - if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:2228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then + if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:2054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then rtems_cv_prog_gas_code16=yes else rtems_cv_prog_gas_code16=no @@ -2240,7 +2066,7 @@ echo "$ac_t""$rtems_cv_prog_gas_code16" 1>&6 # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2244: checking for $ac_word" >&5 +echo "configure:2070: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2270,7 +2096,7 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2274: checking for $ac_word" >&5 +echo "configure:2100: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2321,7 +2147,7 @@ fi # Extract the first word of "cl", so it can be a program name with args. set dummy cl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2325: checking for $ac_word" >&5 +echo "configure:2151: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2353,7 +2179,7 @@ fi fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:2357: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:2183: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -2364,12 +2190,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext << EOF -#line 2368 "configure" +#line 2194 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:2373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -2395,12 +2221,12 @@ if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:2399: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:2225: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:2404: checking whether we are using GNU C" >&5 +echo "configure:2230: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2409,7 +2235,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -2428,7 +2254,7 @@ ac_test_CFLAGS="${CFLAGS+set}" ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:2432: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:2258: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2464,7 +2290,7 @@ if test "$RTEMS_CPU" = "unix" ; then echo $ac_n "checking whether $RTEMS_HOST supports System V semaphores""... $ac_c" 1>&6 -echo "configure:2468: checking whether $RTEMS_HOST supports System V semaphores" >&5 +echo "configure:2294: checking whether $RTEMS_HOST supports System V semaphores" >&5 if eval "test \"`echo '$''{'rtems_cv_sysv_sem'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2473,7 +2299,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < @@ -2499,7 +2325,7 @@ int main () { } EOF -if { (eval echo configure:2503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then rtems_cv_sysv_sem="yes" else @@ -2522,7 +2348,7 @@ echo "$ac_t""$rtems_cv_sysv_sem" 1>&6 echo $ac_n "checking whether $RTEMS_HOST supports System V shared memory""... $ac_c" 1>&6 -echo "configure:2526: checking whether $RTEMS_HOST supports System V shared memory" >&5 +echo "configure:2352: checking whether $RTEMS_HOST supports System V shared memory" >&5 if eval "test \"`echo '$''{'rtems_cv_sysv_shm'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2531,7 +2357,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < @@ -2547,7 +2373,7 @@ int main () { } EOF -if { (eval echo configure:2551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then rtems_cv_sysv_shm="yes" else @@ -2570,7 +2396,7 @@ echo "$ac_t""$rtems_cv_sysv_shm" 1>&6 echo $ac_n "checking whether $RTEMS_HOST supports System V messages""... $ac_c" 1>&6 -echo "configure:2574: checking whether $RTEMS_HOST supports System V messages" >&5 +echo "configure:2400: checking whether $RTEMS_HOST supports System V messages" >&5 if eval "test \"`echo '$''{'rtems_cv_sysv_msg'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2579,7 +2405,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < @@ -2595,7 +2421,7 @@ int main () { } EOF -if { (eval echo configure:2599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then rtems_cv_sysv_msg="yes" else @@ -2619,7 +2445,7 @@ fi echo $ac_n "checking for newlib""... $ac_c" 1>&6 -echo "configure:2623: checking for newlib" >&5 +echo "configure:2449: checking for newlib" >&5 if eval "test \"`echo '$''{'rtems_cv_use_newlib'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2628,14 +2454,14 @@ else CC=$CC_FOR_TARGET cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* rtems_cv_use_newlib="yes" else @@ -2646,14 +2472,14 @@ rm -f conftest* if test -z "$rtems_cv_use_newlib"; then cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* rtems_cv_use_newlib="yes" else @@ -2674,16 +2500,15 @@ RTEMS_USE_NEWLIB="$rtems_cv_use_newlib" # Check if there is custom/*.cfg for this BSP echo $ac_n "checking for make/custom/$RTEMS_BSP.cfg""... $ac_c" 1>&6 -echo "configure:2678: checking for make/custom/$RTEMS_BSP.cfg" >&5 +echo "configure:2504: checking for make/custom/$RTEMS_BSP.cfg" >&5 if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then echo "$ac_t""yes" 1>&6 else { echo "configure: error: no" 1>&2; exit 1; } fi - echo $ac_n "checking whether BSP supports multiprocessing""... $ac_c" 1>&6 -echo "configure:2687: checking whether BSP supports multiprocessing" >&5 +echo "configure:2512: checking whether BSP supports multiprocessing" >&5 if eval "test \"`echo '$''{'rtems_cv_HAS_MP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2696,7 +2521,6 @@ else else rtems_cv_HAS_MP="no"; fi - fi echo "$ac_t""$rtems_cv_HAS_MP" 1>&6 @@ -2707,11 +2531,37 @@ HAS_MP="no" fi +echo $ac_n "checking whether BSP supports libposix""... $ac_c" 1>&6 +echo "configure:2536: checking whether BSP supports libposix" >&5 +if eval "test \"`echo '$''{'rtems_cv_HAS_POSIX_API'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + case "$RTEMS_CPU" in + unix*) + rtems_cv_HAS_POSIX_API="no" + ;; + *) + if test "${RTEMS_HAS_POSIX_API}" = "yes"; then + rtems_cv_HAS_POSIX_API="yes"; + else + rtems_cv_HAS_POSIX_API="disabled"; + fi + ;; + esac +fi + +echo "$ac_t""$rtems_cv_HAS_POSIX_API" 1>&6 +if test "$rtems_cv_HAS_POSIX_API" = "yes"; then + HAS_POSIX_API="yes"; +else + HAS_POSIX_API="no"; +fi + # find all the Executive Makefiles echo $ac_n "checking for Makefile.in in score/cpu/$RTEMS_CPU""... $ac_c" 1>&6 -echo "configure:2715: checking for Makefile.in in score/cpu/$RTEMS_CPU" >&5 +echo "configure:2565: checking for Makefile.in in score/cpu/$RTEMS_CPU" >&5 if test -d $srcdir/score/cpu/$RTEMS_CPU; then rtems_av_save_dir=`pwd`; cd $srcdir; @@ -2728,7 +2578,7 @@ fi # If RTEMS macros are enabled, then use them. Otherwise, use inlines. if test "$RTEMS_USE_MACROS" = "yes"; then inline_dir="macros" - if test "$RTEMS_HAS_POSIX_API" = "yes"; then + if test "$HAS_POSIX_API" = "yes"; then # The problem is that there is currently no code in posix/macros :) { echo "configure: error: Macros are not implemented for the POSIX API" 1>&2; exit 1; } fi @@ -2736,7 +2586,7 @@ else inline_dir="inline" fi -if test "$RTEMS_HAS_POSIX_API" = "yes"; then +if test "$HAS_POSIX_API" = "yes"; then makefiles="$makefiles posix/Makefile" makefiles="$makefiles posix/src/Makefile" makefiles="$makefiles posix/include/Makefile" @@ -2762,7 +2612,6 @@ fi - # Try to explicitly list a Makefile here trap '' 1 2 15 cat > confcache <<\EOF @@ -2981,7 +2830,6 @@ s%@INSTALL_CHANGE@%$INSTALL_CHANGE%g s%@PACKHEX@%$PACKHEX%g s%@CC_FOR_TARGET@%$CC_FOR_TARGET%g s%@GCCSED@%$GCCSED%g -s%@CXX_FOR_TARGET@%$CXX_FOR_TARGET%g s%@AR_FOR_TARGET@%$AR_FOR_TARGET%g s%@AS_FOR_TARGET@%$AS_FOR_TARGET%g s%@LD_FOR_TARGET@%$LD_FOR_TARGET%g @@ -2994,9 +2842,9 @@ s%@RTEMS_GAS_CODE16@%$RTEMS_GAS_CODE16%g s%@CC@%$CC%g s%@RTEMS_USE_NEWLIB@%$RTEMS_USE_NEWLIB%g s%@HAS_MP@%$HAS_MP%g +s%@HAS_POSIX_API@%$HAS_POSIX_API%g s%@RTEMS_VERSION@%$RTEMS_VERSION%g s%@rtems_cv_prog_cc_cross@%$rtems_cv_prog_cc_cross%g -s%@RTEMS_HAS_CPLUSPLUS@%$RTEMS_HAS_CPLUSPLUS%g s%@RTEMS_USE_GCC272@%$RTEMS_USE_GCC272%g s%@program_prefix@%$program_prefix%g s%@CC_CFLAGS_DEFAULT@%$CC_CFLAGS_DEFAULT%g @@ -3148,4 +2996,3 @@ chmod +x $CONFIG_STATUS rm -fr confdefs* $ac_clean_files test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 - diff --git a/c/src/exec/configure.in b/c/src/exec/configure.in index 8b8f5d23b3..f92a7bb3ae 100644 --- a/c/src/exec/configure.in +++ b/c/src/exec/configure.in @@ -33,11 +33,6 @@ RTEMS_PROJECT_ROOT dnl check target cc RTEMS_PROG_CC_FOR_TARGET -dnl check for g++ -if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then - RTEMS_PROG_CXX_FOR_TARGET -fi - RTEMS_CANONICALIZE_TOOLS dnl if this is an i386, does gas have good code16 support? @@ -49,8 +44,8 @@ RTEMS_CHECK_NEWLIB # Check if there is custom/*.cfg for this BSP RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) - RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP) +RTEMS_CHECK_POSIX_API(RTEMS_BSP) # find all the Executive Makefiles RTEMS_CHECK_MAKEFILE(score/cpu/$RTEMS_CPU) @@ -58,7 +53,7 @@ RTEMS_CHECK_MAKEFILE(score/cpu/$RTEMS_CPU) # If RTEMS macros are enabled, then use them. Otherwise, use inlines. if test "$RTEMS_USE_MACROS" = "yes"; then inline_dir="macros" - if test "$RTEMS_HAS_POSIX_API" = "yes"; then + if test "$HAS_POSIX_API" = "yes"; then # The problem is that there is currently no code in posix/macros :) AC_MSG_ERROR(Macros are not implemented for the POSIX API) fi @@ -66,7 +61,7 @@ else inline_dir="inline" fi -if test "$RTEMS_HAS_POSIX_API" = "yes"; then +if test "$HAS_POSIX_API" = "yes"; then makefiles="$makefiles posix/Makefile" makefiles="$makefiles posix/src/Makefile" makefiles="$makefiles posix/include/Makefile" @@ -85,7 +80,6 @@ fi AC_SUBST(RTEMS_VERSION) AC_SUBST(rtems_cv_prog_cc_cross) -AC_SUBST(RTEMS_HAS_CPLUSPLUS) AC_SUBST(RTEMS_USE_GCC272) AC_SUBST(program_prefix) AC_SUBST(CC_CFLAGS_DEFAULT) @@ -129,4 +123,3 @@ wrapup/Makefile wrapup/rtems/Makefile $makefiles ) - diff --git a/c/src/lib/aclocal.m4 b/c/src/lib/aclocal.m4 index a8de869b78..b43e9ca80a 100644 --- a/c/src/lib/aclocal.m4 +++ b/c/src/lib/aclocal.m4 @@ -134,44 +134,6 @@ AC_SUBST(RTEMS_HAS_MULTIPROCESSING)dnl dnl $Id$ -AC_DEFUN(RTEMS_ENABLE_POSIX, -[ -AC_ARG_ENABLE(posix, -[ --enable-posix enable posix interface], -[case "${enableval}" in - yes) RTEMS_HAS_POSIX_API=yes ;; - no) RTEMS_HAS_POSIX_API=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for enable-posix option) ;; -esac],[RTEMS_HAS_POSIX_API=yes]) -AC_SUBST(RTEMS_HAS_POSIX_API) - -changequote(,)dnl -case "${target}" in - # hpux unix port should go here - i[3456]86-go32-rtems*) - RTEMS_HAS_POSIX_API=no - ;; - i[3456]86-pc-linux*) # unix "simulator" port - RTEMS_HAS_POSIX_API=no - ;; - i[3456]86-*freebsd2*) # unix "simulator" port - RTEMS_HAS_POSIX_API=no - ;; - no_cpu-*rtems*) - RTEMS_HAS_POSIX_API=no - ;; - sparc-sun-solaris*) # unix "simulator" port - RTEMS_HAS_POSIX_API=no - ;; - *) - ;; -esac -changequote([,])dnl -AC_SUBST(RTEMS_HAS_POSIX_API) -]) - -dnl $Id$ - AC_DEFUN(RTEMS_ENABLE_NETWORKING, [ AC_ARG_ENABLE(networking, @@ -200,20 +162,6 @@ AC_SUBST(RTEMS_HAS_RDBG)dnl dnl $Id$ -AC_DEFUN(RTEMS_ENABLE_INLINES, -[AC_ARG_ENABLE(rtems-inlines, -[ --enable-rtems-inlines enable RTEMS inline functions] -[ (default:enabled, disable to use macros)], -[case "${enableval}" in - yes) RTEMS_USE_MACROS=no ;; - no) RTEMS_USE_MACROS=yes ;; - *) AC_MSG_ERROR(bad value ${enableval} for disable-rtems-inlines option) ;; -esac],[RTEMS_USE_MACROS=no]) -AC_SUBST(RTEMS_USE_MACROS)dnl -]) - -dnl $Id$ - AC_DEFUN(RTEMS_ENABLE_CXX, [ AC_ARG_ENABLE(cxx, @@ -948,7 +896,9 @@ else fi ])dnl +dnl dnl $Id$ +dnl AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING, [dnl @@ -965,8 +915,7 @@ AC_CACHE_CHECK([whether BSP supports multiprocessing], fi else rtems_cv_HAS_MP="no"; - fi - ]) + fi]) if test "$rtems_cv_HAS_MP" = "yes"; then HAS_MP="yes" else @@ -975,6 +924,45 @@ fi AC_SUBST(HAS_MP) ]) +dnl $Id$ +dnl +AC_DEFUN(RTEMS_CHECK_CXX, +[dnl +AC_REQUIRE([RTEMS_CHECK_CPU])dnl +AC_REQUIRE([RTEMS_PROG_CXX_FOR_TARGET])dnl +AC_CACHE_VAL(rtems_cv_HAS_CPLUSPLUS, + [dnl + if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then + if test -n "$CXX_FOR_TARGET"; then + rtems_cv_HAS_CPLUSPLUS="yes"; + else + rtems_cv_HAS_CPLUSPLUS="no"; + fi + else + rtems_cv_HAS_CPLUSPLUS="no"; + fi + ])dnl +HAS_CPLUSPLUS="$rtems_cv_HAS_CPLUSPLUS"; +AC_SUBST(HAS_CPLUSPLUS)dnl +]) + +dnl $Id$ +dnl +AC_DEFUN(RTEMS_CHECK_NETWORKING, +[dnl +AC_REQUIRE([RTEMS_CHECK_CPU])dnl +AC_CACHE_VAL(rtems_cv_HAS_NETWORKING, + [dnl + if test "$RTEMS_HAS_NETWORKING" = "yes"; then + rtems_cv_HAS_NETWORKING="yes"; + else + rtems_cv_HAS_NETWORKING="no"; + fi + ])dnl +HAS_NETWORKING="$rtems_cv_HAS_NETWORKING"; +AC_SUBST(HAS_NETWORKING)dnl +]) + dnl dnl $Id$ dnl @@ -1032,6 +1020,8 @@ fi ]) +dnl $Id$ +dnl AC_DEFUN(RTEMS_CHECK_RDBG, [dnl AC_REQUIRE([RTEMS_TOP])dnl diff --git a/c/src/lib/configure b/c/src/lib/configure index 6b94ebdacb..547808aa9f 100644 --- a/c/src/lib/configure +++ b/c/src/lib/configure @@ -18,15 +18,10 @@ ac_help="$ac_help (and sometimes confusing) to the casual installer" ac_help="$ac_help --enable-multiprocessing enable multiprocessing interface" -ac_help="$ac_help - --enable-posix enable posix interface" ac_help="$ac_help --enable-networking enable TCP/IP stack" ac_help="$ac_help --enable-rdbg enable remote debugger" -ac_help="$ac_help - --enable-rtems-inlines enable RTEMS inline functions - (default:enabled, disable to use macros)" ac_help="$ac_help --enable-cxx enable C++ support, and build the rtems++ library" @@ -569,7 +564,7 @@ RTEMS_TOPdir="../../.."; echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6 -echo "configure:573: checking for RTEMS Version" >&5 +echo "configure:568: checking for RTEMS Version" >&5 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \ sed -e 's%RTEMS[ ]*Version[ ]*\(.*\)[ ]*%\1%g'` @@ -602,7 +597,7 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:606: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:601: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -657,7 +652,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } fi echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:661: checking host system type" >&5 +echo "configure:656: checking host system type" >&5 host_alias=$host case "$host_alias" in @@ -678,7 +673,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$host" 1>&6 echo $ac_n "checking target system type""... $ac_c" 1>&6 -echo "configure:682: checking target system type" >&5 +echo "configure:677: checking target system type" >&5 target_alias=$target case "$target_alias" in @@ -696,7 +691,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$target" 1>&6 echo $ac_n "checking build system type""... $ac_c" 1>&6 -echo "configure:700: checking build system type" >&5 +echo "configure:695: checking build system type" >&5 build_alias=$build case "$build_alias" in @@ -719,7 +714,7 @@ test "$host_alias" != "$target_alias" && program_prefix=${target_alias}- echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6 -echo "configure:723: checking rtems target cpu" >&5 +echo "configure:718: checking rtems target cpu" >&5 case "${target}" in # hpux unix port should go here i[3456]86-go32-rtems*) @@ -746,7 +741,7 @@ echo "$ac_t""$RTEMS_CPU" 1>&6 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 -echo "configure:750: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo "configure:745: checking whether to enable maintainer-specific portions of Makefiles" >&5 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval="$enable_maintainer_mode" @@ -784,43 +779,6 @@ fi -# Check whether --enable-posix or --disable-posix was given. -if test "${enable_posix+set}" = set; then - enableval="$enable_posix" - case "${enableval}" in - yes) RTEMS_HAS_POSIX_API=yes ;; - no) RTEMS_HAS_POSIX_API=no ;; - *) { echo "configure: error: bad value ${enableval} for enable-posix option" 1>&2; exit 1; } ;; -esac -else - RTEMS_HAS_POSIX_API=yes -fi - - - -case "${target}" in - # hpux unix port should go here - i[3456]86-go32-rtems*) - RTEMS_HAS_POSIX_API=no - ;; - i[3456]86-pc-linux*) # unix "simulator" port - RTEMS_HAS_POSIX_API=no - ;; - i[3456]86-*freebsd2*) # unix "simulator" port - RTEMS_HAS_POSIX_API=no - ;; - no_cpu-*rtems*) - RTEMS_HAS_POSIX_API=no - ;; - sparc-sun-solaris*) # unix "simulator" port - RTEMS_HAS_POSIX_API=no - ;; - *) - ;; -esac - - - # Check whether --enable-networking or --disable-networking was given. if test "${enable_networking+set}" = set; then enableval="$enable_networking" @@ -848,19 +806,6 @@ else fi -# Check whether --enable-rtems-inlines or --disable-rtems-inlines was given. -if test "${enable_rtems_inlines+set}" = set; then - enableval="$enable_rtems_inlines" - case "${enableval}" in - yes) RTEMS_USE_MACROS=no ;; - no) RTEMS_USE_MACROS=yes ;; - *) { echo "configure: error: bad value ${enableval} for disable-rtems-inlines option" 1>&2; exit 1; } ;; -esac -else - RTEMS_USE_MACROS=no -fi - - # Check whether --enable-cxx or --disable-cxx was given. if test "${enable_cxx+set}" = set; then @@ -938,7 +883,7 @@ fi echo $ac_n "checking for RTEMS_BSP""... $ac_c" 1>&6 -echo "configure:942: checking for RTEMS_BSP" >&5 +echo "configure:887: checking for RTEMS_BSP" >&5 if eval "test \"`echo '$''{'rtems_cv_RTEMS_BSP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -965,7 +910,7 @@ echo "$ac_t""${RTEMS_BSP}" 1>&6 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:969: checking for a BSD compatible install" >&5 +echo "configure:914: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1022,7 +967,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' # Is this a supported CPU? echo $ac_n "checking if cpu $RTEMS_CPU is supported""... $ac_c" 1>&6 -echo "configure:1026: checking if cpu $RTEMS_CPU is supported" >&5 +echo "configure:971: checking if cpu $RTEMS_CPU is supported" >&5 if test -d "$srcdir/$RTEMS_TOPdir/c/src/exec/score/cpu/$RTEMS_CPU"; then echo "$ac_t""yes" 1>&6 else @@ -1083,7 +1028,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1087: checking for $ac_word" >&5 +echo "configure:1032: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_CC_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1127,7 +1072,7 @@ rtems_save_CFLAGS=$CFLAGS CC=$CC_FOR_TARGET echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:1131: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:1076: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -1138,12 +1083,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext << EOF -#line 1142 "configure" +#line 1087 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:1147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1169,12 +1114,12 @@ if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:1173: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:1118: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:1178: checking whether we are using GNU C" >&5 +echo "configure:1123: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1183,7 +1128,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -1198,7 +1143,7 @@ if test $ac_cv_prog_gcc = yes; then ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:1202: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:1147: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1240,7 +1185,7 @@ unset ac_cv_prog_cc_cross echo $ac_n "checking whether $CC_FOR_TARGET accepts -specs""... $ac_c" 1>&6 -echo "configure:1244: checking whether $CC_FOR_TARGET accepts -specs" >&5 +echo "configure:1189: checking whether $CC_FOR_TARGET accepts -specs" >&5 if eval "test \"`echo '$''{'rtems_cv_gcc_specs'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1261,7 +1206,7 @@ echo "$ac_t""$rtems_cv_gcc_specs" 1>&6 echo $ac_n "checking whether $CC_FOR_TARGET accepts --pipe""... $ac_c" 1>&6 -echo "configure:1265: checking whether $CC_FOR_TARGET accepts --pipe" >&5 +echo "configure:1210: checking whether $CC_FOR_TARGET accepts --pipe" >&5 if eval "test \"`echo '$''{'rtems_cv_gcc_pipe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1309,7 +1254,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1313: checking for $ac_word" >&5 +echo "configure:1258: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_CXX_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1353,7 +1298,7 @@ rtems_save_CXXFLAGS=$CXXFLAGS CXX=$CXX_FOR_TARGET echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:1357: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 +echo "configure:1302: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -1364,12 +1309,12 @@ cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext << EOF -#line 1368 "configure" +#line 1313 "configure" #include "confdefs.h" int main(){return(0);} EOF -if { (eval echo configure:1373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cxx_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1395,12 +1340,12 @@ if test $ac_cv_prog_cxx_works = no; then { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:1399: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:1344: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 cross_compiling=$ac_cv_prog_cxx_cross echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 -echo "configure:1404: checking whether we are using GNU C++" >&5 +echo "configure:1349: checking whether we are using GNU C++" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1409,7 +1354,7 @@ else yes; #endif EOF -if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gxx=yes else ac_cv_prog_gxx=no @@ -1424,7 +1369,7 @@ if test $ac_cv_prog_gxx = yes; then ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS= echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 -echo "configure:1428: checking whether ${CXX-g++} accepts -g" >&5 +echo "configure:1373: checking whether ${CXX-g++} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1477,7 +1422,7 @@ fi echo $ac_n "checking target's ar""... $ac_c" 1>&6 -echo "configure:1481: checking target's ar" >&5 +echo "configure:1426: checking target's ar" >&5 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1510,7 +1455,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable AR_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:1514: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5 +echo "configure:1459: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5 case "$AR_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -1527,7 +1472,7 @@ echo "configure:1514: checking whether environment variable AR_FOR_TARGET is an # Extract the first word of ""$program_prefix"ar", so it can be a program name with args. set dummy "$program_prefix"ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1531: checking for $ac_word" >&5 +echo "configure:1476: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1564,7 +1509,7 @@ fi echo $ac_n "checking target's as""... $ac_c" 1>&6 -echo "configure:1568: checking target's as" >&5 +echo "configure:1513: checking target's as" >&5 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1597,7 +1542,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable AS_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:1601: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5 +echo "configure:1546: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5 case "$AS_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -1614,7 +1559,7 @@ echo "configure:1601: checking whether environment variable AS_FOR_TARGET is an # Extract the first word of ""$program_prefix"as", so it can be a program name with args. set dummy "$program_prefix"as; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1618: checking for $ac_word" >&5 +echo "configure:1563: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1651,7 +1596,7 @@ fi echo $ac_n "checking target's ld""... $ac_c" 1>&6 -echo "configure:1655: checking target's ld" >&5 +echo "configure:1600: checking target's ld" >&5 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1684,7 +1629,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable LD_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:1688: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5 +echo "configure:1633: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5 case "$LD_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -1701,7 +1646,7 @@ echo "configure:1688: checking whether environment variable LD_FOR_TARGET is an # Extract the first word of ""$program_prefix"ld", so it can be a program name with args. set dummy "$program_prefix"ld; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1705: checking for $ac_word" >&5 +echo "configure:1650: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1738,7 +1683,7 @@ fi echo $ac_n "checking target's nm""... $ac_c" 1>&6 -echo "configure:1742: checking target's nm" >&5 +echo "configure:1687: checking target's nm" >&5 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1771,7 +1716,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable NM_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:1775: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5 +echo "configure:1720: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5 case "$NM_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -1788,7 +1733,7 @@ echo "configure:1775: checking whether environment variable NM_FOR_TARGET is an # Extract the first word of ""$program_prefix"nm", so it can be a program name with args. set dummy "$program_prefix"nm; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1792: checking for $ac_word" >&5 +echo "configure:1737: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1826,7 +1771,7 @@ fi echo $ac_n "checking target's ranlib""... $ac_c" 1>&6 -echo "configure:1830: checking target's ranlib" >&5 +echo "configure:1775: checking target's ranlib" >&5 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1859,7 +1804,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable RANLIB_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:1863: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5 +echo "configure:1808: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5 case "$RANLIB_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -1876,7 +1821,7 @@ echo "configure:1863: checking whether environment variable RANLIB_FOR_TARGET is # Extract the first word of ""$program_prefix"ranlib", so it can be a program name with args. set dummy "$program_prefix"ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1880: checking for $ac_word" >&5 +echo "configure:1825: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1915,7 +1860,7 @@ fi # ranlib wasn't found; check if ar -s is available echo $ac_n "checking whether $AR_FOR_TARGET -s works""... $ac_c" 1>&6 -echo "configure:1919: checking whether $AR_FOR_TARGET -s works" >&5 +echo "configure:1864: checking whether $AR_FOR_TARGET -s works" >&5 if eval "test \"`echo '$''{'rtems_cv_AR_FOR_TARGET_S'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1924,8 +1869,8 @@ cat > conftest.$ac_ext <&5; (eval $ac_try) 2>&5; }; } \ - && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:1929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \ +if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:1873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \ + && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:1874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \ && test -s conftest.a ; \ then rtems_cv_AR_FOR_TARGET_S="yes" @@ -1950,7 +1895,7 @@ echo "$ac_t""$rtems_cv_AR_FOR_TARGET_S" 1>&6 echo $ac_n "checking target's objcopy""... $ac_c" 1>&6 -echo "configure:1954: checking target's objcopy" >&5 +echo "configure:1899: checking target's objcopy" >&5 if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1983,7 +1928,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:1987: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5 +echo "configure:1932: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5 case "$OBJCOPY_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -2000,7 +1945,7 @@ echo "configure:1987: checking whether environment variable OBJCOPY_FOR_TARGET i # Extract the first word of ""$program_prefix"objcopy", so it can be a program name with args. set dummy "$program_prefix"objcopy; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2004: checking for $ac_word" >&5 +echo "configure:1949: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2037,7 +1982,7 @@ fi echo $ac_n "checking target's size""... $ac_c" 1>&6 -echo "configure:2041: checking target's size" >&5 +echo "configure:1986: checking target's size" >&5 if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2070,7 +2015,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable SIZE_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:2074: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5 +echo "configure:2019: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5 case "$SIZE_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -2087,7 +2032,7 @@ echo "configure:2074: checking whether environment variable SIZE_FOR_TARGET is a # Extract the first word of ""$program_prefix"size", so it can be a program name with args. set dummy "$program_prefix"size; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2091: checking for $ac_word" >&5 +echo "configure:2036: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2124,7 +2069,7 @@ fi echo $ac_n "checking target's strip""... $ac_c" 1>&6 -echo "configure:2128: checking target's strip" >&5 +echo "configure:2073: checking target's strip" >&5 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2157,7 +2102,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable STRIP_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:2161: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&5 +echo "configure:2106: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&5 case "$STRIP_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -2174,7 +2119,7 @@ echo "configure:2161: checking whether environment variable STRIP_FOR_TARGET is # Extract the first word of ""$program_prefix"strip", so it can be a program name with args. set dummy "$program_prefix"strip; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2178: checking for $ac_word" >&5 +echo "configure:2123: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2213,7 +2158,7 @@ fi if test "${target_cpu}" = "i386"; then echo $ac_n "checking for 16 bit mode assembler support""... $ac_c" 1>&6 -echo "configure:2217: checking for 16 bit mode assembler support" >&5 +echo "configure:2162: checking for 16 bit mode assembler support" >&5 if eval "test \"`echo '$''{'rtems_cv_prog_gas_code16'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2223,7 +2168,7 @@ else addr32 lgdt 0 EOF - if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:2227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then + if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:2172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then rtems_cv_prog_gas_code16=yes else rtems_cv_prog_gas_code16=no @@ -2248,7 +2193,7 @@ fi; # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2252: checking for $ac_word" >&5 +echo "configure:2197: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2278,7 +2223,7 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2282: checking for $ac_word" >&5 +echo "configure:2227: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2329,7 +2274,7 @@ fi # Extract the first word of "cl", so it can be a program name with args. set dummy cl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2333: checking for $ac_word" >&5 +echo "configure:2278: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2361,7 +2306,7 @@ fi fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:2365: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:2310: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -2372,12 +2317,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext << EOF -#line 2376 "configure" +#line 2321 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:2381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -2403,12 +2348,12 @@ if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:2407: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:2352: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:2412: checking whether we are using GNU C" >&5 +echo "configure:2357: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2417,7 +2362,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -2436,7 +2381,7 @@ ac_test_CFLAGS="${CFLAGS+set}" ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:2440: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:2385: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2472,7 +2417,7 @@ if test "$RTEMS_CPU" = "unix" ; then echo $ac_n "checking whether $RTEMS_HOST supports System V semaphores""... $ac_c" 1>&6 -echo "configure:2476: checking whether $RTEMS_HOST supports System V semaphores" >&5 +echo "configure:2421: checking whether $RTEMS_HOST supports System V semaphores" >&5 if eval "test \"`echo '$''{'rtems_cv_sysv_sem'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2481,7 +2426,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < @@ -2507,7 +2452,7 @@ int main () { } EOF -if { (eval echo configure:2511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then rtems_cv_sysv_sem="yes" else @@ -2530,7 +2475,7 @@ echo "$ac_t""$rtems_cv_sysv_sem" 1>&6 echo $ac_n "checking whether $RTEMS_HOST supports System V shared memory""... $ac_c" 1>&6 -echo "configure:2534: checking whether $RTEMS_HOST supports System V shared memory" >&5 +echo "configure:2479: checking whether $RTEMS_HOST supports System V shared memory" >&5 if eval "test \"`echo '$''{'rtems_cv_sysv_shm'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2539,7 +2484,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < @@ -2555,7 +2500,7 @@ int main () { } EOF -if { (eval echo configure:2559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then rtems_cv_sysv_shm="yes" else @@ -2578,7 +2523,7 @@ echo "$ac_t""$rtems_cv_sysv_shm" 1>&6 echo $ac_n "checking whether $RTEMS_HOST supports System V messages""... $ac_c" 1>&6 -echo "configure:2582: checking whether $RTEMS_HOST supports System V messages" >&5 +echo "configure:2527: checking whether $RTEMS_HOST supports System V messages" >&5 if eval "test \"`echo '$''{'rtems_cv_sysv_msg'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2587,7 +2532,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < @@ -2603,7 +2548,7 @@ int main () { } EOF -if { (eval echo configure:2607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then rtems_cv_sysv_msg="yes" else @@ -2634,7 +2579,7 @@ makefiles="$makefiles libbsp/bare/Makefile" fi echo $ac_n "checking for make/custom/$RTEMS_BSP.cfg""... $ac_c" 1>&6 -echo "configure:2638: checking for make/custom/$RTEMS_BSP.cfg" >&5 +echo "configure:2583: checking for make/custom/$RTEMS_BSP.cfg" >&5 if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then echo "$ac_t""yes" 1>&6 else @@ -2642,7 +2587,7 @@ else fi echo $ac_n "checking whether BSP supports multiprocessing""... $ac_c" 1>&6 -echo "configure:2646: checking whether BSP supports multiprocessing" >&5 +echo "configure:2591: checking whether BSP supports multiprocessing" >&5 if eval "test \"`echo '$''{'rtems_cv_HAS_MP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2655,7 +2600,6 @@ else else rtems_cv_HAS_MP="no"; fi - fi echo "$ac_t""$rtems_cv_HAS_MP" 1>&6 @@ -2666,6 +2610,34 @@ HAS_MP="no" fi +if eval "test \"`echo '$''{'rtems_cv_HAS_CPLUSPLUS'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then + if test -n "$CXX_FOR_TARGET"; then + rtems_cv_HAS_CPLUSPLUS="yes"; + else + rtems_cv_HAS_CPLUSPLUS="no"; + fi + else + rtems_cv_HAS_CPLUSPLUS="no"; + fi + +fi +HAS_CPLUSPLUS="$rtems_cv_HAS_CPLUSPLUS"; + +if eval "test \"`echo '$''{'rtems_cv_HAS_NETWORKING'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$RTEMS_HAS_NETWORKING" = "yes"; then + rtems_cv_HAS_NETWORKING="yes"; + else + rtems_cv_HAS_NETWORKING="no"; + fi + +fi +HAS_NETWORKING="$rtems_cv_HAS_NETWORKING"; + # account for "aliased" bsps which share source code @@ -2706,7 +2678,7 @@ fi if test -d "$srcdir/libbsp/$bspcpudir$bspdir"; then echo $ac_n "checking for Makefile.in in libbsp/${bspcpudir}$bspdir""... $ac_c" 1>&6 -echo "configure:2710: checking for Makefile.in in libbsp/${bspcpudir}$bspdir" >&5 +echo "configure:2682: checking for Makefile.in in libbsp/${bspcpudir}$bspdir" >&5 if test -d $srcdir/libbsp/${bspcpudir}$bspdir; then rtems_av_save_dir=`pwd`; cd $srcdir; @@ -2721,7 +2693,7 @@ fi echo $ac_n "checking for Makefile.in in libbsp/${bspcpudir}shared""... $ac_c" 1>&6 -echo "configure:2725: checking for Makefile.in in libbsp/${bspcpudir}shared" >&5 +echo "configure:2697: checking for Makefile.in in libbsp/${bspcpudir}shared" >&5 if test -d $srcdir/libbsp/${bspcpudir}shared; then rtems_av_save_dir=`pwd`; cd $srcdir; @@ -2745,6 +2717,10 @@ else { echo "configure: error: unable to find libbsp directory ($bspdir) for ${RTEMS_BSP}" 1>&2; exit 1; } fi +if test "$HAS_MP" = "yes"; then + makefiles="$makefiles libbsp/shmdr/Makefile" +fi + if test "$RTEMS_CPU" = "unix"; then @@ -2757,7 +2733,7 @@ fi # find all the CPU dependent library Makefiles echo $ac_n "checking for Makefile.in in libcpu/$RTEMS_CPU""... $ac_c" 1>&6 -echo "configure:2761: checking for Makefile.in in libcpu/$RTEMS_CPU" >&5 +echo "configure:2737: checking for Makefile.in in libcpu/$RTEMS_CPU" >&5 if test -d $srcdir/libcpu/$RTEMS_CPU; then rtems_av_save_dir=`pwd`; cd $srcdir; @@ -2777,7 +2753,7 @@ case "${target}" in *) echo $ac_n "checking for Makefile.in in start/$RTEMS_CPU""... $ac_c" 1>&6 -echo "configure:2781: checking for Makefile.in in start/$RTEMS_CPU" >&5 +echo "configure:2757: checking for Makefile.in in start/$RTEMS_CPU" >&5 if test -d $srcdir/start/$RTEMS_CPU; then rtems_av_save_dir=`pwd`; cd $srcdir; @@ -2793,25 +2769,14 @@ fi ;; esac -# If RTEMS macros are enabled, then use them. Otherwise, use inlines. -if test "$RTEMS_USE_MACROS" = "yes"; then - inline_dir=macros - if test "$RTEMS_HAS_POSIX_API" = "yes"; then - # The problem is that there is currently no code in posix/macros :) - { echo "configure: error: Macros are not implemented for the POSIX API" 1>&2; exit 1; } - fi -else - inline_dir=inline -fi - # If the TCP/IP stack is enabled, then find all TCP/IP Makefiles echo $ac_n "checking if networking is enabled? ""... $ac_c" 1>&6 -echo "configure:2810: checking if networking is enabled? " >&5 +echo "configure:2775: checking if networking is enabled? " >&5 echo "$ac_t""$RTEMS_HAS_NETWORKING" 1>&6 if test "$RTEMS_HAS_NETWORKING" = "yes"; then echo $ac_n "checking for Makefile.in in libnetworking""... $ac_c" 1>&6 -echo "configure:2815: checking for Makefile.in in libnetworking" >&5 +echo "configure:2780: checking for Makefile.in in libnetworking" >&5 if test -d $srcdir/libnetworking; then rtems_av_save_dir=`pwd`; cd $srcdir; @@ -2826,7 +2791,7 @@ fi echo $ac_n "checking for Makefile.in in librpc""... $ac_c" 1>&6 -echo "configure:2830: checking for Makefile.in in librpc" >&5 +echo "configure:2795: checking for Makefile.in in librpc" >&5 if test -d $srcdir/librpc; then rtems_av_save_dir=`pwd`; cd $srcdir; @@ -2842,7 +2807,7 @@ fi if test "$RTEMS_HAS_RDBG" = "yes"; then echo $ac_n "checking whether BSP supports librdbg""... $ac_c" 1>&6 -echo "configure:2846: checking whether BSP supports librdbg" >&5 +echo "configure:2811: checking whether BSP supports librdbg" >&5 if eval "test \"`echo '$''{'rtems_cv_HAS_RDBG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2864,7 +2829,7 @@ HAS_RDBG="$rtems_cv_HAS_RDBG" # Extract the first word of "rpcgen", so it can be a program name with args. set dummy rpcgen; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2868: checking for $ac_word" >&5 +echo "configure:2833: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RPCGEN'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2895,7 +2860,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2899: checking for $ac_word" >&5 +echo "configure:2864: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2934,7 +2899,7 @@ done if test "$HAS_RDBG" = "yes"; then echo $ac_n "checking for Makefile.in in librdbg""... $ac_c" 1>&6 -echo "configure:2938: checking for Makefile.in in librdbg" >&5 +echo "configure:2903: checking for Makefile.in in librdbg" >&5 if test -d $srcdir/librdbg; then rtems_av_save_dir=`pwd`; cd $srcdir; @@ -2955,7 +2920,7 @@ fi if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then echo $ac_n "checking for Makefile.in in librtems++""... $ac_c" 1>&6 -echo "configure:2959: checking for Makefile.in in librtems++" >&5 +echo "configure:2924: checking for Makefile.in in librtems++" >&5 if test -d $srcdir/librtems++; then rtems_av_save_dir=`pwd`; cd $srcdir; @@ -2986,13 +2951,13 @@ fi if test "$RTEMS_HAS_HWAPI" = "yes"; then echo $ac_n "checking whether libwapi is present""... $ac_c" 1>&6 -echo "configure:2990: checking whether libwapi is present" >&5 +echo "configure:2955: checking whether libwapi is present" >&5 if test -f ${srcdir}/libhwapi/Makefile.in ; then echo "$ac_t""yes" 1>&6 makefiles="$makefiles libhwapi/Makefile" echo $ac_n "checking for Makefile.in in libhwapi/analog""... $ac_c" 1>&6 -echo "configure:2996: checking for Makefile.in in libhwapi/analog" >&5 +echo "configure:2961: checking for Makefile.in in libhwapi/analog" >&5 if test -d $srcdir/libhwapi/analog; then rtems_av_save_dir=`pwd`; cd $srcdir; @@ -3007,7 +2972,7 @@ fi echo $ac_n "checking for Makefile.in in libhwapi/discrete""... $ac_c" 1>&6 -echo "configure:3011: checking for Makefile.in in libhwapi/discrete" >&5 +echo "configure:2976: checking for Makefile.in in libhwapi/discrete" >&5 if test -d $srcdir/libhwapi/discrete; then rtems_av_save_dir=`pwd`; cd $srcdir; @@ -3022,7 +2987,7 @@ fi echo $ac_n "checking for Makefile.in in libhwapi/drivers""... $ac_c" 1>&6 -echo "configure:3026: checking for Makefile.in in libhwapi/drivers" >&5 +echo "configure:2991: checking for Makefile.in in libhwapi/drivers" >&5 if test -d $srcdir/libhwapi/drivers; then rtems_av_save_dir=`pwd`; cd $srcdir; @@ -3037,7 +3002,7 @@ fi echo $ac_n "checking for Makefile.in in libhwapi/non_volatile_memory""... $ac_c" 1>&6 -echo "configure:3041: checking for Makefile.in in libhwapi/non_volatile_memory" >&5 +echo "configure:3006: checking for Makefile.in in libhwapi/non_volatile_memory" >&5 if test -d $srcdir/libhwapi/non_volatile_memory; then rtems_av_save_dir=`pwd`; cd $srcdir; @@ -3052,7 +3017,7 @@ fi echo $ac_n "checking for Makefile.in in libhwapi/serial""... $ac_c" 1>&6 -echo "configure:3056: checking for Makefile.in in libhwapi/serial" >&5 +echo "configure:3021: checking for Makefile.in in libhwapi/serial" >&5 if test -d $srcdir/libhwapi/serial; then rtems_av_save_dir=`pwd`; cd $srcdir; @@ -3067,7 +3032,7 @@ fi echo $ac_n "checking for Makefile.in in libhwapi/support""... $ac_c" 1>&6 -echo "configure:3071: checking for Makefile.in in libhwapi/support" >&5 +echo "configure:3036: checking for Makefile.in in libhwapi/support" >&5 if test -d $srcdir/libhwapi/support; then rtems_av_save_dir=`pwd`; cd $srcdir; @@ -3082,7 +3047,7 @@ fi echo $ac_n "checking for Makefile.in in libhwapi/wrapup""... $ac_c" 1>&6 -echo "configure:3086: checking for Makefile.in in libhwapi/wrapup" >&5 +echo "configure:3051: checking for Makefile.in in libhwapi/wrapup" >&5 if test -d $srcdir/libhwapi/wrapup; then rtems_av_save_dir=`pwd`; cd $srcdir; @@ -3110,7 +3075,7 @@ fi # pick up all the Makefiles in required parts of the tree echo $ac_n "checking for Makefile.in in libchip""... $ac_c" 1>&6 -echo "configure:3114: checking for Makefile.in in libchip" >&5 +echo "configure:3079: checking for Makefile.in in libchip" >&5 if test -d $srcdir/libchip; then rtems_av_save_dir=`pwd`; cd $srcdir; @@ -3125,7 +3090,7 @@ fi echo $ac_n "checking for Makefile.in in libmisc""... $ac_c" 1>&6 -echo "configure:3129: checking for Makefile.in in libmisc" >&5 +echo "configure:3094: checking for Makefile.in in libmisc" >&5 if test -d $srcdir/libmisc; then rtems_av_save_dir=`pwd`; cd $srcdir; @@ -3262,7 +3227,6 @@ ac_given_INSTALL="$INSTALL" trap 'rm -fr `echo "Makefile include/Makefile libbsp/Makefile -libbsp/shmdr/Makefile libc/Makefile libcpu/Makefile start/Makefile @@ -3321,10 +3285,8 @@ s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g s%@MAINT@%$MAINT%g s%@RTEMS_HAS_MULTIPROCESSING@%$RTEMS_HAS_MULTIPROCESSING%g -s%@RTEMS_HAS_POSIX_API@%$RTEMS_HAS_POSIX_API%g s%@RTEMS_HAS_NETWORKING@%$RTEMS_HAS_NETWORKING%g s%@RTEMS_HAS_RDBG@%$RTEMS_HAS_RDBG%g -s%@RTEMS_USE_MACROS@%$RTEMS_USE_MACROS%g s%@RTEMS_LIBC_DIR@%$RTEMS_LIBC_DIR%g s%@RTEMS_HAS_HWAPI@%$RTEMS_HAS_HWAPI%g s%@RTEMS_BSP@%$RTEMS_BSP%g @@ -3352,6 +3314,8 @@ s%@RTEMS_GAS_CODE16_TRUE@%$RTEMS_GAS_CODE16_TRUE%g s%@RTEMS_GAS_CODE16_FALSE@%$RTEMS_GAS_CODE16_FALSE%g s%@CC@%$CC%g s%@HAS_MP@%$HAS_MP%g +s%@HAS_CPLUSPLUS@%$HAS_CPLUSPLUS%g +s%@HAS_NETWORKING@%$HAS_NETWORKING%g s%@RTEMS_LIBBSP_CPU_SUBDIR@%$RTEMS_LIBBSP_CPU_SUBDIR%g s%@UNIX_TRUE@%$UNIX_TRUE%g s%@UNIX_FALSE@%$UNIX_FALSE%g @@ -3409,7 +3373,6 @@ cat >> $CONFIG_STATUS <$@ -$(srcdir)/Makefile.inc.in: $(top_srcdir)/@RTEMS_TOPdir@/make/Templates/Makefile.inc.in - echo "RTEMS_BSP = @""RTEMS_BSP@" > $@ - echo "" >> $@ - cat $< >> $@ - $(srcdir)/host.cfg.in: $(top_srcdir)/@RTEMS_TOPdir@/make/host.cfg.in cp $< $@ diff --git a/c/src/make/Makefile.in b/c/src/make/Makefile.in index ea4ff45c1b..e3f5dfc04e 100644 --- a/c/src/make/Makefile.in +++ b/c/src/make/Makefile.in @@ -87,7 +87,10 @@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXX_FOR_TARGET = @CXX_FOR_TARGET@ GCCSED = @GCCSED@ +HAS_CPLUSPLUS = @HAS_CPLUSPLUS@ HAS_MP = @HAS_MP@ +HAS_NETWORKING = @HAS_NETWORKING@ +HAS_POSIX_API = @HAS_POSIX_API@ HAS_RDBG = @HAS_RDBG@ INSTALL_CHANGE = @INSTALL_CHANGE@ KSH = @KSH@ @@ -481,11 +484,6 @@ maintainer-clean-generic clean mostlyclean distclean maintainer-clean @MAINTAINER_MODE_TRUE@$(srcdir)/main.cfg.in: $(top_srcdir)/@RTEMS_TOPdir@/make/main.cfg @MAINTAINER_MODE_TRUE@ sed -e 's%\$$(RTEMS_BSP)%\@RTEMS_BSP\@%g' < $< >$@ -@MAINTAINER_MODE_TRUE@$(srcdir)/Makefile.inc.in: $(top_srcdir)/@RTEMS_TOPdir@/make/Templates/Makefile.inc.in -@MAINTAINER_MODE_TRUE@ echo "RTEMS_BSP = @""RTEMS_BSP@" > $@ -@MAINTAINER_MODE_TRUE@ echo "" >> $@ -@MAINTAINER_MODE_TRUE@ cat $< >> $@ - @MAINTAINER_MODE_TRUE@$(srcdir)/host.cfg.in: $(top_srcdir)/@RTEMS_TOPdir@/make/host.cfg.in @MAINTAINER_MODE_TRUE@ cp $< $@ diff --git a/c/src/make/Makefile.inc.in b/c/src/make/Makefile.inc.in index a908cb18bf..029e5f6768 100644 --- a/c/src/make/Makefile.inc.in +++ b/c/src/make/Makefile.inc.in @@ -1,19 +1,16 @@ -RTEMS_BSP = @RTEMS_BSP@ - -# # -# Target specific settings. To be included in application Makefiles. +# BSP specific settings. To be included in application Makefiles # prefix = @prefix@ -CC_FOR_TARGET = @program_prefix@gcc -AS_FOR_TARGET = @program_prefix@as -AR_FOR_TARGET = @program_prefix@ar -NM_FOR_TARGET = @program_prefix@nm -LD_FOR_TARGET = @program_prefix@ld -SIZE_FOR_TARGET = @program_prefix@size -OBJCOPY_FOR_TARGET = @program_prefix@objcopy +CC_FOR_TARGET = @CC_FOR_TARGET@ +AS_FOR_TARGET = @AS_FOR_TARGET@ +AR_FOR_TARGET = @AR_FOR_TARGET@ +NM_FOR_TARGET = @NM_FOR_TARGET@ +LD_FOR_TARGET = @LD_FOR_TARGET@ +SIZE_FOR_TARGET = @SIZE_FOR_TARGET@ +OBJCOPY_FOR_TARGET = @OBJCOPY_FOR_TARGET@ CC= $(CC_FOR_TARGET) AS= $(AS_FOR_TARGET) diff --git a/c/src/make/Templates/Makefile.in b/c/src/make/Templates/Makefile.in index a3b12bbb0a..3febd9af58 100644 --- a/c/src/make/Templates/Makefile.in +++ b/c/src/make/Templates/Makefile.in @@ -86,7 +86,10 @@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXX_FOR_TARGET = @CXX_FOR_TARGET@ GCCSED = @GCCSED@ +HAS_CPLUSPLUS = @HAS_CPLUSPLUS@ HAS_MP = @HAS_MP@ +HAS_NETWORKING = @HAS_NETWORKING@ +HAS_POSIX_API = @HAS_POSIX_API@ HAS_RDBG = @HAS_RDBG@ INSTALL_CHANGE = @INSTALL_CHANGE@ KSH = @KSH@ diff --git a/c/src/make/aclocal.m4 b/c/src/make/aclocal.m4 index 43a52a9020..21cd0b71bd 100644 --- a/c/src/make/aclocal.m4 +++ b/c/src/make/aclocal.m4 @@ -937,7 +937,9 @@ else fi ])dnl +dnl dnl $Id$ +dnl AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING, [dnl @@ -954,8 +956,7 @@ AC_CACHE_CHECK([whether BSP supports multiprocessing], fi else rtems_cv_HAS_MP="no"; - fi - ]) + fi]) if test "$rtems_cv_HAS_MP" = "yes"; then HAS_MP="yes" else @@ -964,6 +965,8 @@ fi AC_SUBST(HAS_MP) ]) +dnl $Id$ +dnl AC_DEFUN(RTEMS_CHECK_RDBG, [dnl AC_REQUIRE([RTEMS_TOP])dnl @@ -981,3 +984,70 @@ HAS_RDBG="$rtems_cv_HAS_RDBG" AC_SUBST(HAS_RDBG) ]) +dnl $Id$ +dnl +AC_DEFUN(RTEMS_CHECK_POSIX_API, +[dnl +AC_REQUIRE([RTEMS_CHECK_CPU])dnl +AC_CACHE_CHECK([whether BSP supports libposix], + rtems_cv_HAS_POSIX_API, + [dnl + case "$RTEMS_CPU" in + unix*) + rtems_cv_HAS_POSIX_API="no" + ;; + *) + if test "${RTEMS_HAS_POSIX_API}" = "yes"; then + rtems_cv_HAS_POSIX_API="yes"; + else + rtems_cv_HAS_POSIX_API="disabled"; + fi + ;; + esac]) +if test "$rtems_cv_HAS_POSIX_API" = "yes"; then + HAS_POSIX_API="yes"; +else + HAS_POSIX_API="no"; +fi +AC_SUBST(HAS_POSIX_API)dnl +]) + +dnl $Id$ +dnl +AC_DEFUN(RTEMS_CHECK_CXX, +[dnl +AC_REQUIRE([RTEMS_CHECK_CPU])dnl +AC_REQUIRE([RTEMS_PROG_CXX_FOR_TARGET])dnl +AC_CACHE_VAL(rtems_cv_HAS_CPLUSPLUS, + [dnl + if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then + if test -n "$CXX_FOR_TARGET"; then + rtems_cv_HAS_CPLUSPLUS="yes"; + else + rtems_cv_HAS_CPLUSPLUS="no"; + fi + else + rtems_cv_HAS_CPLUSPLUS="no"; + fi + ])dnl +HAS_CPLUSPLUS="$rtems_cv_HAS_CPLUSPLUS"; +AC_SUBST(HAS_CPLUSPLUS)dnl +]) + +dnl $Id$ +dnl +AC_DEFUN(RTEMS_CHECK_NETWORKING, +[dnl +AC_REQUIRE([RTEMS_CHECK_CPU])dnl +AC_CACHE_VAL(rtems_cv_HAS_NETWORKING, + [dnl + if test "$RTEMS_HAS_NETWORKING" = "yes"; then + rtems_cv_HAS_NETWORKING="yes"; + else + rtems_cv_HAS_NETWORKING="no"; + fi + ])dnl +HAS_NETWORKING="$rtems_cv_HAS_NETWORKING"; +AC_SUBST(HAS_NETWORKING)dnl +]) + diff --git a/c/src/make/bsp.cfg.in b/c/src/make/bsp.cfg.in index f2acdebb4c..356dd72c20 100644 --- a/c/src/make/bsp.cfg.in +++ b/c/src/make/bsp.cfg.in @@ -1,3 +1,5 @@ +## BSP configuration flags for BSP "@RTEMS_BSP@" + ## ## Does this BSP support multiprocessing ? ## @@ -7,3 +9,18 @@ HAS_MP = @HAS_MP@ ## Does this BSP support RTEMS's remote debugger ? ## HAS_RDBG = @HAS_RDBG@ + +## +## Does this BSP support RTEMS's posix API ? +## +HAS_POSIX_API = @HAS_POSIX_API@ + +## +## Does this BSP support RTEMS's CXX API ? +## +HAS_CPLUSPLUS = @HAS_CPLUSPLUS@ + +## +## Does this BSP support RTEMS's networking ? +## +HAS_NETWORKING = @HAS_NETWORKING@ diff --git a/c/src/make/compilers/Makefile.in b/c/src/make/compilers/Makefile.in index d488642e79..6a737104bd 100644 --- a/c/src/make/compilers/Makefile.in +++ b/c/src/make/compilers/Makefile.in @@ -86,7 +86,10 @@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXX_FOR_TARGET = @CXX_FOR_TARGET@ GCCSED = @GCCSED@ +HAS_CPLUSPLUS = @HAS_CPLUSPLUS@ HAS_MP = @HAS_MP@ +HAS_NETWORKING = @HAS_NETWORKING@ +HAS_POSIX_API = @HAS_POSIX_API@ HAS_RDBG = @HAS_RDBG@ INSTALL_CHANGE = @INSTALL_CHANGE@ KSH = @KSH@ diff --git a/c/src/make/compilers/gcc-target-default.cfg b/c/src/make/compilers/gcc-target-default.cfg index 49f1326f78..835b22c558 100644 --- a/c/src/make/compilers/gcc-target-default.cfg +++ b/c/src/make/compilers/gcc-target-default.cfg @@ -87,10 +87,7 @@ endif # Define this to yes if C++ is included in the development environment. # This requires that at least the GNU C++ compiler and libg++ be installed. ifeq ($(RTEMS_HAS_CPLUSPLUS),yes) -HAS_CPLUSPLUS=yes CPLUS_LD_LIBS += $(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA) -else -HAS_CPLUSPLUS=no endif # debug flag; @@ -287,15 +284,13 @@ endif LINK_OBJS =\ $(CONSTRUCTOR) \ $(OBJS) \ - $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel) \ - $(PROJECT_RELEASE)/lib/libtest$(LIBSUFFIX_VA) + $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel) LINK_FILES =\ $(START_FILE) \ $(CONSTRUCTOR) \ $(OBJS) \ $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel) \ - $(PROJECT_RELEASE)/lib/libtest$(LIBSUFFIX_VA) \ $(PROJECT_RELEASE)/lib/librtemsall$(LIBSUFFIX_VA) ifeq ($(RTEMS_USE_GCC272),yes) diff --git a/c/src/make/configure b/c/src/make/configure index 82445b67ce..9a874f12d2 100644 --- a/c/src/make/configure +++ b/c/src/make/configure @@ -2943,7 +2943,6 @@ else else rtems_cv_HAS_MP="no"; fi - fi echo "$ac_t""$rtems_cv_HAS_MP" 1>&6 @@ -2955,7 +2954,7 @@ fi echo $ac_n "checking whether BSP supports librdbg""... $ac_c" 1>&6 -echo "configure:2959: checking whether BSP supports librdbg" >&5 +echo "configure:2958: checking whether BSP supports librdbg" >&5 if eval "test \"`echo '$''{'rtems_cv_HAS_RDBG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2972,6 +2971,60 @@ echo "$ac_t""$rtems_cv_HAS_RDBG" 1>&6 HAS_RDBG="$rtems_cv_HAS_RDBG" +echo $ac_n "checking whether BSP supports libposix""... $ac_c" 1>&6 +echo "configure:2976: checking whether BSP supports libposix" >&5 +if eval "test \"`echo '$''{'rtems_cv_HAS_POSIX_API'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + case "$RTEMS_CPU" in + unix*) + rtems_cv_HAS_POSIX_API="no" + ;; + *) + if test "${RTEMS_HAS_POSIX_API}" = "yes"; then + rtems_cv_HAS_POSIX_API="yes"; + else + rtems_cv_HAS_POSIX_API="disabled"; + fi + ;; + esac +fi + +echo "$ac_t""$rtems_cv_HAS_POSIX_API" 1>&6 +if test "$rtems_cv_HAS_POSIX_API" = "yes"; then + HAS_POSIX_API="yes"; +else + HAS_POSIX_API="no"; +fi + +if eval "test \"`echo '$''{'rtems_cv_HAS_CPLUSPLUS'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then + if test -n "$CXX_FOR_TARGET"; then + rtems_cv_HAS_CPLUSPLUS="yes"; + else + rtems_cv_HAS_CPLUSPLUS="no"; + fi + else + rtems_cv_HAS_CPLUSPLUS="no"; + fi + +fi +HAS_CPLUSPLUS="$rtems_cv_HAS_CPLUSPLUS"; + +if eval "test \"`echo '$''{'rtems_cv_HAS_NETWORKING'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$RTEMS_HAS_NETWORKING" = "yes"; then + rtems_cv_HAS_NETWORKING="yes"; + else + rtems_cv_HAS_NETWORKING="no"; + fi + +fi +HAS_NETWORKING="$rtems_cv_HAS_NETWORKING"; + @@ -3243,6 +3296,9 @@ s%@STRIP_FOR_TARGET@%$STRIP_FOR_TARGET%g s%@RTEMS_GAS_CODE16@%$RTEMS_GAS_CODE16%g s%@HAS_MP@%$HAS_MP%g s%@HAS_RDBG@%$HAS_RDBG%g +s%@HAS_POSIX_API@%$HAS_POSIX_API%g +s%@HAS_CPLUSPLUS@%$HAS_CPLUSPLUS%g +s%@HAS_NETWORKING@%$HAS_NETWORKING%g s%@rtems_cv_prog_cc_cross@%$rtems_cv_prog_cc_cross%g s%@RTEMS_HAS_CPLUSPLUS@%$RTEMS_HAS_CPLUSPLUS%g s%@RTEMS_USE_GCC272@%$RTEMS_USE_GCC272%g diff --git a/c/src/make/configure.in b/c/src/make/configure.in index 2382b6d0c2..06c4c54bc6 100644 --- a/c/src/make/configure.in +++ b/c/src/make/configure.in @@ -73,6 +73,9 @@ RTEMS_I386_GAS_CODE16 RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP) RTEMS_CHECK_RDBG(RTEMS_BSP) +RTEMS_CHECK_POSIX_API(RTEMS_BSP) +RTEMS_CHECK_CXX(RTEMS_BSP) +RTEMS_CHECK_NETWORKING(RTEMS_BSP) AC_SUBST(rtems_cv_prog_cc_cross) AC_SUBST(RTEMS_HAS_CPLUSPLUS) diff --git a/c/src/make/custom/Makefile.in b/c/src/make/custom/Makefile.in index 973bb58484..1ba4c11d09 100644 --- a/c/src/make/custom/Makefile.in +++ b/c/src/make/custom/Makefile.in @@ -86,7 +86,10 @@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXX_FOR_TARGET = @CXX_FOR_TARGET@ GCCSED = @GCCSED@ +HAS_CPLUSPLUS = @HAS_CPLUSPLUS@ HAS_MP = @HAS_MP@ +HAS_NETWORKING = @HAS_NETWORKING@ +HAS_POSIX_API = @HAS_POSIX_API@ HAS_RDBG = @HAS_RDBG@ INSTALL_CHANGE = @INSTALL_CHANGE@ KSH = @KSH@ diff --git a/c/src/make/custom/default.cfg.in b/c/src/make/custom/default.cfg.in index 872af0d183..0ec951c199 100644 --- a/c/src/make/custom/default.cfg.in +++ b/c/src/make/custom/default.cfg.in @@ -40,34 +40,6 @@ CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg ## GCC specs extension file location RTEMS_BSP_SPECS = $(PROJECT_ROOT)/@RTEMS_BSP@/lib/bsp_specs -## LIBC support -## Specify the one you want here and fill in the blanks. -## Currently CYGNUS newlib is supported. -## NOTE: RTEMS libcsupport.a includes RTEMS versions of stuff like -## malloc, gettimeofday, etc. - -# Define this to yes if C++ is included in the development environment. -# This requires that at least the GNU C++ compiler and libg++ be installed. -ifeq ($(RTEMS_HAS_CPLUSPLUS),yes) -HAS_CPLUSPLUS=yes -else -HAS_CPLUSPLUS=no -endif - -# Define this to yes if this target wants the TCP/IP stack -ifeq ($(RTEMS_HAS_NETWORKING),yes) -HAS_NETWORKING=yes -else -HAS_NETWORKING=no -endif - -# Define this to yes if this target wants the posix api -ifeq ($(RTEMS_HAS_POSIX_API),yes) -HAS_POSIX_API=yes -else -HAS_POSIX_API=no -endif - # Base name of start file START_BASE=start diff --git a/c/src/make/host.cfg.in b/c/src/make/host.cfg.in index 18ddc85d8b..c048042977 100644 --- a/c/src/make/host.cfg.in +++ b/c/src/make/host.cfg.in @@ -47,11 +47,6 @@ GCCSED = @GCCSED@ # reliable but late model ksh's are usually OK. KSH=@KSH@ -# -# RCS support -# -RCS_CLEAN=$(PROJECT_BIN)/rcs-clean - # # Rule to install a shell script with the proper shell to run it. # diff --git a/c/src/tests/Makefile.in b/c/src/tests/Makefile.in index 013693cf51..b855c754b1 100644 --- a/c/src/tests/Makefile.in +++ b/c/src/tests/Makefile.in @@ -1,53 +1,408 @@ +# Makefile.in generated automatically by automake 1.4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + # -# $Id$ +# $Id$ # -@SET_MAKE@ + + + +SHELL = @SHELL@ + srcdir = @srcdir@ top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include + +DESTDIR = + +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ + top_builddir = . -RTEMS_ROOT = @RTEMS_ROOT@ +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_alias = @build_alias@ +build_triplet = @build@ +host_alias = @host_alias@ +host_triplet = @host@ +target_alias = @target_alias@ +target_triplet = @target@ +BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@ +BARE_CPU_MODEL = @BARE_CPU_MODEL@ +CC = @CC@ +CC_FOR_TARGET = @CC_FOR_TARGET@ +CPP = @CPP@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXX_FOR_TARGET = @CXX_FOR_TARGET@ +GCCSED = @GCCSED@ +HAS_MP = @HAS_MP@ +HAS_POSIX_API = @HAS_POSIX_API@ +INSTALL_CHANGE = @INSTALL_CHANGE@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +PACKAGE = @PACKAGE@ +PACKHEX = @PACKHEX@ PROJECT_ROOT = @PROJECT_ROOT@ +RTEMS_BSP = @RTEMS_BSP@ +RTEMS_CPU = @RTEMS_CPU@ +RTEMS_HAS_MULTIPROCESSING = @RTEMS_HAS_MULTIPROCESSING@ +RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@ +RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@ +RTEMS_HOST = @RTEMS_HOST@ +RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@ +RTEMS_ROOT = @RTEMS_ROOT@ +RTEMS_TOPdir = @RTEMS_TOPdir@ +RTEMS_USE_MACROS = @RTEMS_USE_MACROS@ +VERSION = @VERSION@ -VPATH = @srcdir@ +AUTOMAKE_OPTIONS = foreign 1.4 +ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg +SUBDIRS = support @subdirs@ +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/../../../mkinstalldirs +CONFIG_CLEAN_FILES = +DIST_COMMON = README Makefile.am Makefile.in aclocal.m4 configure \ +configure.in -INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs -INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/sptests \ - $(PROJECT_RELEASE)/tests/screens/mptests \ - $(PROJECT_RELEASE)/tests/screens/psxtests \ - $(PROJECT_RELEASE)/tests/screens/mptests/node1 \ - $(PROJECT_RELEASE)/tests/screens/mptests/node2 \ - $(PROJECT_RELEASE)/samples +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = tar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../automake/subdirs.am $(top_srcdir)/../../../automake/local.am + cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) -all: README +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. -# mptests are the multiprocessing test suite -# We only build them if HAS_MP was defined -MP_TESTS_yes_V = mptests -MP_TESTS = $(MP_TESTS_$(HAS_MP)_V) +@SET_MAKE@ -# psxtests are the POSIX API test suite -# We only build them if HAS_POSIX_API was defined -POSIX_TESTS_yes_V = psxtests -POSIX_TESTS = $(POSIX_TESTS_$(HAS_POSIX_API)_V) +all-recursive install-data-recursive install-exec-recursive \ +installdirs-recursive install-recursive uninstall-recursive \ +check-recursive installcheck-recursive info-recursive dvi-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" -# wildcard on this lets ALL test suites be optional -SUB_DIRS = $(wildcard tools support samples libtests sptests $(MP_TESTS) \ - $(POSIX_TESTS) tmtests) +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ + rev="$$subdir $$rev"; \ + test "$$subdir" = "." && dot_seen=yes; \ + done; \ + test "$$dot_seen" = "no" && rev=". $$rev"; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done -preinstall: $(INSTALLDIRS) +tags: TAGS -CLOBBER_ADDITIONS += config.log config.cache +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + -rm -rf $(distdir) + GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz + mkdir $(distdir)/=build + mkdir $(distdir)/=inst + dc_install_base=`cd $(distdir)/=inst && pwd`; \ + cd $(distdir)/=build \ + && ../configure --srcdir=.. --prefix=$$dc_install_base \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) dist + -rm -rf $(distdir) + @banner="$(distdir).tar.gz is ready for distribution"; \ + dashes=`echo "$$banner" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + echo "$$dashes" +dist: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +dist-all: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +distdir: $(DISTFILES) + -rm -rf $(distdir) + mkdir $(distdir) + -chmod 777 $(distdir) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done + for subdir in $(SUBDIRS); do \ + if test "$$subdir" = .; then :; else \ + test -d $(distdir)/$$subdir \ + || mkdir $(distdir)/$$subdir \ + || exit 1; \ + chmod 777 $(distdir)/$$subdir; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ + || exit 1; \ + fi; \ + done +info-am: +info: info-recursive +dvi-am: +dvi: dvi-recursive +check-am: all-am +check: check-recursive +installcheck-am: +installcheck: installcheck-recursive +install-exec-am: +install-exec: install-exec-recursive + +install-data-am: +install-data: install-data-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-recursive +uninstall-am: +uninstall: uninstall-recursive +all-am: Makefile +all-redirect: all-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: installdirs-recursive +installdirs-am: + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-tags mostlyclean-generic + +mostlyclean: mostlyclean-recursive + +clean-am: clean-tags clean-generic mostlyclean-am + +clean: clean-recursive + +distclean-am: distclean-tags distclean-generic clean-am + +distclean: distclean-recursive + -rm -f config.status + +maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-recursive + -rm -f config.status + +.PHONY: install-data-recursive uninstall-data-recursive \ +install-exec-recursive uninstall-exec-recursive installdirs-recursive \ +uninstalldirs-recursive all-recursive check-recursive \ +installcheck-recursive info-recursive dvi-recursive \ +mostlyclean-recursive distclean-recursive clean-recursive \ +maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ +distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-redirect all-am all installdirs-am \ +installdirs mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +depend-recursive \ +preinstall-recursive \ +debug-recursive \ +profile-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +debug: debug-recursive +.PHONY: debug-recursive + +profile: profile-recursive +.PHONY: profile-recursive + +preinstall: preinstall-recursive +.PHONY: preinstall-recursive + +depend: depend-recursive +.PHONY: depend-recursive + +debug-am: +debug: debug-am +.PHONY: debug debug-am + +profile-am: +profile: profile-am +.PHONY: profile profile-am + +preinstall-am: +preinstall: preinstall-am +.PHONY: preinstall preinstall-am + +depend-am: +depend: depend-am +.PHONY: depend depend-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/c/src/tests/aclocal.m4 b/c/src/tests/aclocal.m4 index 72de27fc41..0f2e918abc 100644 --- a/c/src/tests/aclocal.m4 +++ b/c/src/tests/aclocal.m4 @@ -85,6 +85,98 @@ AC_SUBST(RTEMS_CPU) AC_MSG_RESULT($RTEMS_CPU) ]) +# Do all the work for Automake. This macro actually does too much -- +# some checks are only needed if your package does certain things. +# But this isn't really a big deal. + +# serial 1 + +dnl Usage: +dnl AM_INIT_AUTOMAKE(package,version, [no-define]) + +AC_DEFUN(AM_INIT_AUTOMAKE, +[AC_REQUIRE([AC_PROG_INSTALL]) +PACKAGE=[$1] +AC_SUBST(PACKAGE) +VERSION=[$2] +AC_SUBST(VERSION) +dnl test to see if srcdir already configured +if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) +fi +ifelse([$3],, +AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) +AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) +AC_REQUIRE([AM_SANITY_CHECK]) +AC_REQUIRE([AC_ARG_PROGRAM]) +dnl FIXME This is truly gross. +missing_dir=`cd $ac_aux_dir && pwd` +AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) +AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) +AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir) +AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) +AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) +AC_REQUIRE([AC_PROG_MAKE_SET])]) + +# +# Check to make sure that the build environment is sane. +# + +AC_DEFUN(AM_SANITY_CHECK, +[AC_MSG_CHECKING([whether build environment is sane]) +# Just in case +sleep 1 +echo timestamp > conftestfile +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` + if test "[$]*" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftestfile` + fi + if test "[$]*" != "X $srcdir/configure conftestfile" \ + && test "[$]*" != "X conftestfile $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken +alias in your environment]) + fi + + test "[$]2" = conftestfile + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +rm -f conftest* +AC_MSG_RESULT(yes)]) + +dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) +dnl The program must properly implement --version. +AC_DEFUN(AM_MISSING_PROG, +[AC_MSG_CHECKING(for working $2) +# Run test in a subshell; some versions of sh will print an error if +# an executable is not found, even if stderr is redirected. +# Redirect stdin to placate older versions of autoconf. Sigh. +if ($2 --version) < /dev/null > /dev/null 2>&1; then + $1=$2 + AC_MSG_RESULT(found) +else + $1="$3/missing $2" + AC_MSG_RESULT(missing) +fi +AC_SUBST($1)]) + # Add --enable-maintainer-mode option to configure. # From Jim Meyering @@ -186,20 +278,6 @@ AC_SUBST(RTEMS_HAS_NETWORKING)dnl dnl $Id$ -AC_DEFUN(RTEMS_ENABLE_RDBG, -[ -AC_ARG_ENABLE(rdbg, -[ --enable-rdbg enable remote debugger], -[case "${enableval}" in - yes) RTEMS_HAS_RDBG=yes ;; - no) RTEMS_HAS_RDBG=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for enable-rdbg option) ;; -esac],[RTEMS_HAS_RDBG=no]) -AC_SUBST(RTEMS_HAS_RDBG)dnl -]) - -dnl $Id$ - AC_DEFUN(RTEMS_ENABLE_INLINES, [AC_ARG_ENABLE(rtems-inlines, [ --enable-rtems-inlines enable RTEMS inline functions] @@ -756,149 +834,6 @@ fi ]) -dnl -dnl $Id$ -dnl - -dnl check for i386 gas supporting 16 bit mode -dnl - binutils 2.9.1.0.7 and higher - -AC_DEFUN(RTEMS_I386_GAS_CODE16, -[ if test "${target_cpu}" = "i386"; then - AC_CACHE_CHECK([for 16 bit mode assembler support], - rtems_cv_prog_gas_code16, - [cat > conftest.s << EOF - .code16 - data32 - addr32 - lgdt 0 -EOF - if AC_TRY_COMMAND($AS_FOR_TARGET -o conftest.o conftest.s); then - rtems_cv_prog_gas_code16=yes - else - rtems_cv_prog_gas_code16=no - fi]) - RTEMS_GAS_CODE16="$rtems_cv_prog_gas_code16" - fi - AC_SUBST(RTEMS_GAS_CODE16) -]) - - -dnl -dnl $Id$ -dnl -dnl Check for System V IPC calls used by Unix simulators -dnl -dnl 98/07/17 Dario Alcocer alcocer@netcom.com -dnl Ralf Corsepius corsepiu@faw.uni-ulm.de -dnl -dnl Note: $host_os should probably *not* ever be used here to -dnl determine if host supports System V IPC calls, since some -dnl (e.g. FreeBSD 2.x) are configured by default to include only -dnl a subset of the System V IPC calls. Therefore, to make sure -dnl all of the required calls are found, test for each call explicitly. -dnl -dnl All of the calls use IPC_PRIVATE, so tests will not unintentionally -dnl modify any existing key sets. See the man pages for semget, shmget, -dnl msgget, semctl, shmctl and msgctl for details. - -AC_DEFUN(RTEMS_SYSV_SEM, -[AC_REQUIRE([AC_PROG_CC]) -AC_REQUIRE([RTEMS_CANONICAL_HOST]) -AC_CACHE_CHECK(whether $RTEMS_HOST supports System V semaphores, -rtems_cv_sysv_sem, -[ -AC_TRY_RUN([ -#include -#include -#include -int main () { -#if !defined(sun) - union semun arg ; -#else - union semun { - int val; - struct semid_ds *buf; - ushort *array; - } arg; -#endif - int id=semget(IPC_PRIVATE,1,IPC_CREAT|0400); - if (id == -1) - exit(1); - arg.val = 0; /* avoid implicit type cast to union */ - if (semctl(id, 0, IPC_RMID, arg) == -1) - exit(1); - exit(0); -} -], -rtems_cv_sysv_sem="yes", rtems_cv_sysv_sem="no", :) -]) -]) - -AC_DEFUN(RTEMS_SYSV_SHM, -[AC_REQUIRE([AC_PROG_CC]) -AC_REQUIRE([RTEMS_CANONICAL_HOST]) -AC_CACHE_CHECK(whether $RTEMS_HOST supports System V shared memory, -rtems_cv_sysv_shm, -[ -AC_TRY_RUN([ -#include -#include -#include -int main () { - int id=shmget(IPC_PRIVATE,1,IPC_CREAT|0400); - if (id == -1) - exit(1); - if (shmctl(id, IPC_RMID, 0) == -1) - exit(1); - exit(0); -} -], -rtems_cv_sysv_shm="yes", rtems_cv_sysv_shm="no", :) -]) -]) - -AC_DEFUN(RTEMS_SYSV_MSG, -[AC_REQUIRE([AC_PROG_CC]) -AC_REQUIRE([RTEMS_CANONICAL_HOST]) -AC_CACHE_CHECK(whether $RTEMS_HOST supports System V messages, -rtems_cv_sysv_msg, -[ -AC_TRY_RUN([ -#include -#include -#include -int main () { - int id=msgget(IPC_PRIVATE,IPC_CREAT|0400); - if (id == -1) - exit(1); - if (msgctl(id, IPC_RMID, 0) == -1) - exit(1); - exit(0); -} -], -rtems_cv_sysv_msg="yes", rtems_cv_sysv_msg="no", :) -]) -]) - -AC_DEFUN(RTEMS_CHECK_SYSV_UNIX, -[AC_REQUIRE([RTEMS_CANONICAL_HOST]) -if test "$RTEMS_CPU" = "unix" ; then - RTEMS_SYSV_SEM - if test "$rtems_cv_sysv_sem" != "yes" ; then - AC_MSG_ERROR([System V semaphores don't work, required by simulator]) - fi - RTEMS_SYSV_SHM - if test "$rtems_cv_sysv_shm" != "yes" ; then - AC_MSG_ERROR([System V shared memory doesn't work, required by simulator]) - fi - RTEMS_SYSV_MSG - if test "$rtems_cv_sysv_msg" != "yes" ; then - AC_MSG_ERROR([System V messages don't work, required by simulator]) - fi -fi -]) - dnl $Id$ dnl Report all available bsps for a target, @@ -948,7 +883,9 @@ else fi ])dnl +dnl dnl $Id$ +dnl AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING, [dnl @@ -965,8 +902,7 @@ AC_CACHE_CHECK([whether BSP supports multiprocessing], fi else rtems_cv_HAS_MP="no"; - fi - ]) + fi]) if test "$rtems_cv_HAS_MP" = "yes"; then HAS_MP="yes" else @@ -975,41 +911,31 @@ fi AC_SUBST(HAS_MP) ]) -dnl dnl $Id$ dnl - -dnl RTEMS_CHECK_MAKEFILE(path) -dnl Search for Makefile.in's within the directory starting -dnl at path and append an entry for Makefile to global variable -dnl "makefiles" (from configure.in) for each Makefile.in found -dnl -AC_DEFUN(RTEMS_CHECK_MAKEFILE, -[RTEMS_CHECK_FILES_IN($1,Makefile,makefiles) -]) - -dnl -dnl $Id$ -dnl - -dnl RTEMS_CHECK_FILES_IN(path,file,var) -dnl path .. path relative to srcdir, where to start searching for files -dnl file .. name of the files to search for -dnl var .. shell variable to append files found - -AC_DEFUN(RTEMS_CHECK_FILES_IN, -[ -AC_MSG_CHECKING(for $2.in in $1) -if test -d $srcdir/$1; then - rtems_av_save_dir=`pwd`; - cd $srcdir; - rtems_av_tmp=`find $1 -name "$2.in" -print | sed "s/$2\.in/%/" | sort | sed "s/%/$2/"` - $3="$$3 $rtems_av_tmp"; - cd $rtems_av_save_dir; - AC_MSG_RESULT(done) +AC_DEFUN(RTEMS_CHECK_POSIX_API, +[dnl +AC_REQUIRE([RTEMS_CHECK_CPU])dnl +AC_CACHE_CHECK([whether BSP supports libposix], + rtems_cv_HAS_POSIX_API, + [dnl + case "$RTEMS_CPU" in + unix*) + rtems_cv_HAS_POSIX_API="no" + ;; + *) + if test "${RTEMS_HAS_POSIX_API}" = "yes"; then + rtems_cv_HAS_POSIX_API="yes"; + else + rtems_cv_HAS_POSIX_API="disabled"; + fi + ;; + esac]) +if test "$rtems_cv_HAS_POSIX_API" = "yes"; then + HAS_POSIX_API="yes"; else - AC_MSG_RESULT(no) + HAS_POSIX_API="no"; fi +AC_SUBST(HAS_POSIX_API)dnl ]) - diff --git a/c/src/tests/configure b/c/src/tests/configure index 3ea0f81a78..5535189d42 100644 --- a/c/src/tests/configure +++ b/c/src/tests/configure @@ -22,8 +22,6 @@ ac_help="$ac_help --enable-posix enable posix interface" ac_help="$ac_help --enable-networking enable TCP/IP stack" -ac_help="$ac_help - --enable-rdbg enable remote debugger" ac_help="$ac_help --enable-rtems-inlines enable RTEMS inline functions (default:enabled, disable to use macros)" @@ -482,7 +480,7 @@ echo > confdefs.h # A filename unique to this package, relative to the directory that # configure is in, which we can look for to find out if srcdir is correct. -ac_unique_file=libtests +ac_unique_file=samples # Find the source files, if location was not specified. if test -z "$srcdir"; then @@ -565,7 +563,7 @@ RTEMS_TOPdir="../../.."; echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6 -echo "configure:569: checking for RTEMS Version" >&5 +echo "configure:567: checking for RTEMS Version" >&5 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \ sed -e 's%RTEMS[ ]*Version[ ]*\(.*\)[ ]*%\1%g'` @@ -597,33 +595,6 @@ ac_config_sub=$ac_aux_dir/config.sub ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:602: checking whether ${MAKE-make} sets \${MAKE}" >&5 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftestmake <<\EOF -all: - @echo 'ac_maketemp="${MAKE}"' -EOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` -if test -n "$ac_maketemp"; then - eval ac_cv_prog_make_${ac_make}_set=yes -else - eval ac_cv_prog_make_${ac_make}_set=no -fi -rm -f conftestmake -fi -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "$ac_t""yes" 1>&6 - SET_MAKE= -else - echo "$ac_t""no" 1>&6 - SET_MAKE="MAKE=${MAKE-make}" -fi - # Do some error checking and defaulting for the host and target type. @@ -653,7 +624,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } fi echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:657: checking host system type" >&5 +echo "configure:628: checking host system type" >&5 host_alias=$host case "$host_alias" in @@ -674,7 +645,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$host" 1>&6 echo $ac_n "checking target system type""... $ac_c" 1>&6 -echo "configure:678: checking target system type" >&5 +echo "configure:649: checking target system type" >&5 target_alias=$target case "$target_alias" in @@ -692,7 +663,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$target" 1>&6 echo $ac_n "checking build system type""... $ac_c" 1>&6 -echo "configure:696: checking build system type" >&5 +echo "configure:667: checking build system type" >&5 build_alias=$build case "$build_alias" in @@ -715,7 +686,7 @@ test "$host_alias" != "$target_alias" && program_prefix=${target_alias}- echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6 -echo "configure:719: checking rtems target cpu" >&5 +echo "configure:690: checking rtems target cpu" >&5 case "${target}" in # hpux unix port should go here i[3456]86-go32-rtems*) @@ -741,8 +712,234 @@ esac echo "$ac_t""$RTEMS_CPU" 1>&6 +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# ./install, which can be erroneously created by make from ./install.sh. +echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 +echo "configure:728: checking for a BSD compatible install" >&5 +if test -z "$INSTALL"; then +if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" + for ac_dir in $PATH; do + # Account for people who put trailing slashes in PATH elements. + case "$ac_dir/" in + /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + if test -f $ac_dir/$ac_prog; then + if test $ac_prog = install && + grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + else + ac_cv_path_install="$ac_dir/$ac_prog -c" + break 2 + fi + fi + done + ;; + esac + done + IFS="$ac_save_IFS" + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL="$ac_cv_path_install" + else + # As a last resort, use the slow shell script. We don't cache a + # path for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the path is relative. + INSTALL="$ac_install_sh" + fi +fi +echo "$ac_t""$INSTALL" 1>&6 + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 +echo "configure:781: checking whether build environment is sane" >&5 +# Just in case +sleep 1 +echo timestamp > conftestfile +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftestfile` + fi + if test "$*" != "X $srcdir/configure conftestfile" \ + && test "$*" != "X conftestfile $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + { echo "configure: error: ls -t appears to fail. Make sure there is not a broken +alias in your environment" 1>&2; exit 1; } + fi + + test "$2" = conftestfile + ) +then + # Ok. + : +else + { echo "configure: error: newly created file is older than distributed files! +Check your system clock" 1>&2; exit 1; } +fi +rm -f conftest* +echo "$ac_t""yes" 1>&6 +if test "$program_transform_name" = s,x,x,; then + program_transform_name= +else + # Double any \ or $. echo might interpret backslashes. + cat <<\EOF_SED > conftestsed +s,\\,\\\\,g; s,\$,$$,g +EOF_SED + program_transform_name="`echo $program_transform_name|sed -f conftestsed`" + rm -f conftestsed +fi +test "$program_prefix" != NONE && + program_transform_name="s,^,${program_prefix},; $program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" + +# sed with no file args requires a program. +test "$program_transform_name" = "" && program_transform_name="s,x,x," + +echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 +echo "configure:838: checking whether ${MAKE-make} sets \${MAKE}" >&5 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftestmake <<\EOF +all: + @echo 'ac_maketemp="${MAKE}"' +EOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` +if test -n "$ac_maketemp"; then + eval ac_cv_prog_make_${ac_make}_set=yes +else + eval ac_cv_prog_make_${ac_make}_set=no +fi +rm -f conftestmake +fi +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then + echo "$ac_t""yes" 1>&6 + SET_MAKE= +else + echo "$ac_t""no" 1>&6 + SET_MAKE="MAKE=${MAKE-make}" +fi + + +PACKAGE=rtems-c-src-tests + +VERSION=$RTEMS_VERSION + +if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then + { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } +fi + + + +missing_dir=`cd $ac_aux_dir && pwd` +echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 +echo "configure:877: checking for working aclocal" >&5 +# Run test in a subshell; some versions of sh will print an error if +# an executable is not found, even if stderr is redirected. +# Redirect stdin to placate older versions of autoconf. Sigh. +if (aclocal --version) < /dev/null > /dev/null 2>&1; then + ACLOCAL=aclocal + echo "$ac_t""found" 1>&6 +else + ACLOCAL="$missing_dir/missing aclocal" + echo "$ac_t""missing" 1>&6 +fi + +echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 +echo "configure:890: checking for working autoconf" >&5 +# Run test in a subshell; some versions of sh will print an error if +# an executable is not found, even if stderr is redirected. +# Redirect stdin to placate older versions of autoconf. Sigh. +if (autoconf --version) < /dev/null > /dev/null 2>&1; then + AUTOCONF=autoconf + echo "$ac_t""found" 1>&6 +else + AUTOCONF="$missing_dir/missing autoconf" + echo "$ac_t""missing" 1>&6 +fi + +echo $ac_n "checking for working automake""... $ac_c" 1>&6 +echo "configure:903: checking for working automake" >&5 +# Run test in a subshell; some versions of sh will print an error if +# an executable is not found, even if stderr is redirected. +# Redirect stdin to placate older versions of autoconf. Sigh. +if (automake --version) < /dev/null > /dev/null 2>&1; then + AUTOMAKE=automake + echo "$ac_t""found" 1>&6 +else + AUTOMAKE="$missing_dir/missing automake" + echo "$ac_t""missing" 1>&6 +fi + +echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 +echo "configure:916: checking for working autoheader" >&5 +# Run test in a subshell; some versions of sh will print an error if +# an executable is not found, even if stderr is redirected. +# Redirect stdin to placate older versions of autoconf. Sigh. +if (autoheader --version) < /dev/null > /dev/null 2>&1; then + AUTOHEADER=autoheader + echo "$ac_t""found" 1>&6 +else + AUTOHEADER="$missing_dir/missing autoheader" + echo "$ac_t""missing" 1>&6 +fi + +echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 +echo "configure:929: checking for working makeinfo" >&5 +# Run test in a subshell; some versions of sh will print an error if +# an executable is not found, even if stderr is redirected. +# Redirect stdin to placate older versions of autoconf. Sigh. +if (makeinfo --version) < /dev/null > /dev/null 2>&1; then + MAKEINFO=makeinfo + echo "$ac_t""found" 1>&6 +else + MAKEINFO="$missing_dir/missing makeinfo" + echo "$ac_t""missing" 1>&6 +fi + + echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 -echo "configure:746: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo "configure:943: checking whether to enable maintainer-specific portions of Makefiles" >&5 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval="$enable_maintainer_mode" @@ -830,20 +1027,6 @@ else fi - -# Check whether --enable-rdbg or --disable-rdbg was given. -if test "${enable_rdbg+set}" = set; then - enableval="$enable_rdbg" - case "${enableval}" in - yes) RTEMS_HAS_RDBG=yes ;; - no) RTEMS_HAS_RDBG=no ;; - *) { echo "configure: error: bad value ${enableval} for enable-rdbg option" 1>&2; exit 1; } ;; -esac -else - RTEMS_HAS_RDBG=no -fi - - # Check whether --enable-rtems-inlines or --disable-rtems-inlines was given. if test "${enable_rtems_inlines+set}" = set; then enableval="$enable_rtems_inlines" @@ -922,7 +1105,7 @@ fi # If the tests are enabled, then find all the test suite Makefiles echo $ac_n "checking if the test suites are enabled? ""... $ac_c" 1>&6 -echo "configure:926: checking if the test suites are enabled? " >&5 +echo "configure:1109: checking if the test suites are enabled? " >&5 # Check whether --enable-tests or --disable-tests was given. if test "${enable_tests+set}" = set; then enableval="$enable_tests" @@ -939,7 +1122,7 @@ echo "$ac_t""$tests_enabled" 1>&6 echo $ac_n "checking for RTEMS_BSP""... $ac_c" 1>&6 -echo "configure:943: checking for RTEMS_BSP" >&5 +echo "configure:1126: checking for RTEMS_BSP" >&5 if eval "test \"`echo '$''{'rtems_cv_RTEMS_BSP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -955,77 +1138,9 @@ echo "$ac_t""${RTEMS_BSP}" 1>&6 -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# ./install, which can be erroneously created by make from ./install.sh. -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:971: checking for a BSD compatible install" >&5 -if test -z "$INSTALL"; then -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" - for ac_dir in $PATH; do - # Account for people who put trailing slashes in PATH elements. - case "$ac_dir/" in - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - if test -f $ac_dir/$ac_prog; then - if test $ac_prog = install && - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - else - ac_cv_path_install="$ac_dir/$ac_prog -c" - break 2 - fi - fi - done - ;; - esac - done - IFS="$ac_save_IFS" - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL="$ac_cv_path_install" - else - # As a last resort, use the slow shell script. We don't cache a - # path for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the path is relative. - INSTALL="$ac_install_sh" - fi -fi -echo "$ac_t""$INSTALL" 1>&6 - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - - - - - # Is this a supported CPU? echo $ac_n "checking if cpu $RTEMS_CPU is supported""... $ac_c" 1>&6 -echo "configure:1029: checking if cpu $RTEMS_CPU is supported" >&5 +echo "configure:1144: checking if cpu $RTEMS_CPU is supported" >&5 if test -d "$srcdir/$RTEMS_TOPdir/c/src/exec/score/cpu/$RTEMS_CPU"; then echo "$ac_t""yes" 1>&6 else @@ -1086,7 +1201,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1090: checking for $ac_word" >&5 +echo "configure:1205: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_CC_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1130,7 +1245,7 @@ rtems_save_CFLAGS=$CFLAGS CC=$CC_FOR_TARGET echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:1134: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:1249: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -1141,12 +1256,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext << EOF -#line 1145 "configure" +#line 1260 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:1150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1172,12 +1287,12 @@ if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:1176: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:1291: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:1181: checking whether we are using GNU C" >&5 +echo "configure:1296: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1186,7 +1301,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -1201,7 +1316,7 @@ if test $ac_cv_prog_gcc = yes; then ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:1205: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:1320: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1243,7 +1358,7 @@ unset ac_cv_prog_cc_cross echo $ac_n "checking whether $CC_FOR_TARGET accepts -specs""... $ac_c" 1>&6 -echo "configure:1247: checking whether $CC_FOR_TARGET accepts -specs" >&5 +echo "configure:1362: checking whether $CC_FOR_TARGET accepts -specs" >&5 if eval "test \"`echo '$''{'rtems_cv_gcc_specs'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1264,7 +1379,7 @@ echo "$ac_t""$rtems_cv_gcc_specs" 1>&6 echo $ac_n "checking whether $CC_FOR_TARGET accepts --pipe""... $ac_c" 1>&6 -echo "configure:1268: checking whether $CC_FOR_TARGET accepts --pipe" >&5 +echo "configure:1383: checking whether $CC_FOR_TARGET accepts --pipe" >&5 if eval "test \"`echo '$''{'rtems_cv_gcc_pipe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1312,7 +1427,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1316: checking for $ac_word" >&5 +echo "configure:1431: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_CXX_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1356,7 +1471,7 @@ rtems_save_CXXFLAGS=$CXXFLAGS CXX=$CXX_FOR_TARGET echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:1360: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 +echo "configure:1475: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -1367,12 +1482,12 @@ cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext << EOF -#line 1371 "configure" +#line 1486 "configure" #include "confdefs.h" int main(){return(0);} EOF -if { (eval echo configure:1376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cxx_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1398,12 +1513,12 @@ if test $ac_cv_prog_cxx_works = no; then { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:1402: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:1517: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 cross_compiling=$ac_cv_prog_cxx_cross echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 -echo "configure:1407: checking whether we are using GNU C++" >&5 +echo "configure:1522: checking whether we are using GNU C++" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1412,7 +1527,7 @@ else yes; #endif EOF -if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gxx=yes else ac_cv_prog_gxx=no @@ -1427,7 +1542,7 @@ if test $ac_cv_prog_gxx = yes; then ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS= echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 -echo "configure:1431: checking whether ${CXX-g++} accepts -g" >&5 +echo "configure:1546: checking whether ${CXX-g++} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1480,7 +1595,7 @@ fi echo $ac_n "checking target's ar""... $ac_c" 1>&6 -echo "configure:1484: checking target's ar" >&5 +echo "configure:1599: checking target's ar" >&5 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1513,7 +1628,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable AR_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:1517: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5 +echo "configure:1632: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5 case "$AR_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -1530,7 +1645,7 @@ echo "configure:1517: checking whether environment variable AR_FOR_TARGET is an # Extract the first word of ""$program_prefix"ar", so it can be a program name with args. set dummy "$program_prefix"ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1534: checking for $ac_word" >&5 +echo "configure:1649: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1567,7 +1682,7 @@ fi echo $ac_n "checking target's as""... $ac_c" 1>&6 -echo "configure:1571: checking target's as" >&5 +echo "configure:1686: checking target's as" >&5 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1600,7 +1715,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable AS_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:1604: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5 +echo "configure:1719: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5 case "$AS_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -1617,7 +1732,7 @@ echo "configure:1604: checking whether environment variable AS_FOR_TARGET is an # Extract the first word of ""$program_prefix"as", so it can be a program name with args. set dummy "$program_prefix"as; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1621: checking for $ac_word" >&5 +echo "configure:1736: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1654,7 +1769,7 @@ fi echo $ac_n "checking target's ld""... $ac_c" 1>&6 -echo "configure:1658: checking target's ld" >&5 +echo "configure:1773: checking target's ld" >&5 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1687,7 +1802,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable LD_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:1691: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5 +echo "configure:1806: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5 case "$LD_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -1704,7 +1819,7 @@ echo "configure:1691: checking whether environment variable LD_FOR_TARGET is an # Extract the first word of ""$program_prefix"ld", so it can be a program name with args. set dummy "$program_prefix"ld; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1708: checking for $ac_word" >&5 +echo "configure:1823: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1741,7 +1856,7 @@ fi echo $ac_n "checking target's nm""... $ac_c" 1>&6 -echo "configure:1745: checking target's nm" >&5 +echo "configure:1860: checking target's nm" >&5 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1774,7 +1889,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable NM_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:1778: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5 +echo "configure:1893: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5 case "$NM_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -1791,7 +1906,7 @@ echo "configure:1778: checking whether environment variable NM_FOR_TARGET is an # Extract the first word of ""$program_prefix"nm", so it can be a program name with args. set dummy "$program_prefix"nm; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1795: checking for $ac_word" >&5 +echo "configure:1910: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1829,7 +1944,7 @@ fi echo $ac_n "checking target's ranlib""... $ac_c" 1>&6 -echo "configure:1833: checking target's ranlib" >&5 +echo "configure:1948: checking target's ranlib" >&5 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1862,7 +1977,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable RANLIB_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:1866: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5 +echo "configure:1981: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5 case "$RANLIB_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -1879,7 +1994,7 @@ echo "configure:1866: checking whether environment variable RANLIB_FOR_TARGET is # Extract the first word of ""$program_prefix"ranlib", so it can be a program name with args. set dummy "$program_prefix"ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1883: checking for $ac_word" >&5 +echo "configure:1998: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1918,7 +2033,7 @@ fi # ranlib wasn't found; check if ar -s is available echo $ac_n "checking whether $AR_FOR_TARGET -s works""... $ac_c" 1>&6 -echo "configure:1922: checking whether $AR_FOR_TARGET -s works" >&5 +echo "configure:2037: checking whether $AR_FOR_TARGET -s works" >&5 if eval "test \"`echo '$''{'rtems_cv_AR_FOR_TARGET_S'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1927,8 +2042,8 @@ cat > conftest.$ac_ext <&5; (eval $ac_try) 2>&5; }; } \ - && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:1932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \ +if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:2046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \ + && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:2047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \ && test -s conftest.a ; \ then rtems_cv_AR_FOR_TARGET_S="yes" @@ -1953,7 +2068,7 @@ echo "$ac_t""$rtems_cv_AR_FOR_TARGET_S" 1>&6 echo $ac_n "checking target's objcopy""... $ac_c" 1>&6 -echo "configure:1957: checking target's objcopy" >&5 +echo "configure:2072: checking target's objcopy" >&5 if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1986,7 +2101,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:1990: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5 +echo "configure:2105: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5 case "$OBJCOPY_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -2003,7 +2118,7 @@ echo "configure:1990: checking whether environment variable OBJCOPY_FOR_TARGET i # Extract the first word of ""$program_prefix"objcopy", so it can be a program name with args. set dummy "$program_prefix"objcopy; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2007: checking for $ac_word" >&5 +echo "configure:2122: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2040,7 +2155,7 @@ fi echo $ac_n "checking target's size""... $ac_c" 1>&6 -echo "configure:2044: checking target's size" >&5 +echo "configure:2159: checking target's size" >&5 if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2073,7 +2188,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable SIZE_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:2077: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5 +echo "configure:2192: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5 case "$SIZE_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -2090,7 +2205,7 @@ echo "configure:2077: checking whether environment variable SIZE_FOR_TARGET is a # Extract the first word of ""$program_prefix"size", so it can be a program name with args. set dummy "$program_prefix"size; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2094: checking for $ac_word" >&5 +echo "configure:2209: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2127,7 +2242,7 @@ fi echo $ac_n "checking target's strip""... $ac_c" 1>&6 -echo "configure:2131: checking target's strip" >&5 +echo "configure:2246: checking target's strip" >&5 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2160,7 +2275,7 @@ else # will override the environment variable, which isn't what the user # intends echo $ac_n "checking whether environment variable STRIP_FOR_TARGET is an absolute path""... $ac_c" 1>&6 -echo "configure:2164: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&5 +echo "configure:2279: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&5 case "$STRIP_FOR_TARGET" in /*) # valid echo "$ac_t"""yes"" 1>&6 @@ -2177,7 +2292,7 @@ echo "configure:2164: checking whether environment variable STRIP_FOR_TARGET is # Extract the first word of ""$program_prefix"strip", so it can be a program name with args. set dummy "$program_prefix"strip; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2181: checking for $ac_word" >&5 +echo "configure:2296: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2214,414 +2329,8 @@ fi - if test "${target_cpu}" = "i386"; then - echo $ac_n "checking for 16 bit mode assembler support""... $ac_c" 1>&6 -echo "configure:2220: checking for 16 bit mode assembler support" >&5 -if eval "test \"`echo '$''{'rtems_cv_prog_gas_code16'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.s << EOF - .code16 - data32 - addr32 - lgdt 0 -EOF - if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:2230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then - rtems_cv_prog_gas_code16=yes - else - rtems_cv_prog_gas_code16=no - fi -fi - -echo "$ac_t""$rtems_cv_prog_gas_code16" 1>&6 - RTEMS_GAS_CODE16="$rtems_cv_prog_gas_code16" - fi - - - -# Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2246: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="gcc" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2276: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_prog_rejected=no - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - break - fi - done - IFS="$ac_save_ifs" -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# -gt 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - set dummy "$ac_dir/$ac_word" "$@" - shift - ac_cv_prog_CC="$@" - fi -fi -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - if test -z "$CC"; then - case "`uname -s`" in - *win32* | *WIN32*) - # Extract the first word of "cl", so it can be a program name with args. -set dummy cl; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2327: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="cl" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - ;; - esac - fi - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } -fi - -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:2359: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 - -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -cat > conftest.$ac_ext << EOF - -#line 2370 "configure" -#include "confdefs.h" - -main(){return(0);} -EOF -if { (eval echo configure:2375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - ac_cv_prog_cc_works=yes - # If we can't run a trivial program, we are probably using a cross compiler. - if (./conftest; exit) 2>/dev/null; then - ac_cv_prog_cc_cross=no - else - ac_cv_prog_cc_cross=yes - fi -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_cv_prog_cc_works=no -fi -rm -fr conftest* -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 -if test $ac_cv_prog_cc_works = no; then - { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } -fi -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:2401: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 -echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 -cross_compiling=$ac_cv_prog_cc_cross - -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:2406: checking whether we are using GNU C" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then - ac_cv_prog_gcc=yes -else - ac_cv_prog_gcc=no -fi -fi - -echo "$ac_t""$ac_cv_prog_gcc" 1>&6 - -if test $ac_cv_prog_gcc = yes; then - GCC=yes -else - GCC= -fi - -ac_test_CFLAGS="${CFLAGS+set}" -ac_save_CFLAGS="$CFLAGS" -CFLAGS= -echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:2434: checking whether ${CC-cc} accepts -g" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - echo 'void f(){}' > conftest.c -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then - ac_cv_prog_cc_g=yes -else - ac_cv_prog_cc_g=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 -if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi - - -if test "$RTEMS_CPU" = "unix" ; then - - -echo $ac_n "checking whether $RTEMS_HOST supports System V semaphores""... $ac_c" 1>&6 -echo "configure:2470: checking whether $RTEMS_HOST supports System V semaphores" >&5 -if eval "test \"`echo '$''{'rtems_cv_sysv_sem'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -if test "$cross_compiling" = yes; then - : -else - cat > conftest.$ac_ext < -#include -#include -int main () { -#if !defined(sun) - union semun arg ; -#else - union semun { - int val; - struct semid_ds *buf; - ushort *array; - } arg; -#endif - int id=semget(IPC_PRIVATE,1,IPC_CREAT|0400); - if (id == -1) - exit(1); - arg.val = 0; /* avoid implicit type cast to union */ - if (semctl(id, 0, IPC_RMID, arg) == -1) - exit(1); - exit(0); -} - -EOF -if { (eval echo configure:2505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - rtems_cv_sysv_sem="yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - rtems_cv_sysv_sem="no" -fi -rm -fr conftest* -fi - - -fi - -echo "$ac_t""$rtems_cv_sysv_sem" 1>&6 - - if test "$rtems_cv_sysv_sem" != "yes" ; then - { echo "configure: error: System V semaphores don't work, required by simulator" 1>&2; exit 1; } - fi - - -echo $ac_n "checking whether $RTEMS_HOST supports System V shared memory""... $ac_c" 1>&6 -echo "configure:2528: checking whether $RTEMS_HOST supports System V shared memory" >&5 -if eval "test \"`echo '$''{'rtems_cv_sysv_shm'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -if test "$cross_compiling" = yes; then - : -else - cat > conftest.$ac_ext < -#include -#include -int main () { - int id=shmget(IPC_PRIVATE,1,IPC_CREAT|0400); - if (id == -1) - exit(1); - if (shmctl(id, IPC_RMID, 0) == -1) - exit(1); - exit(0); -} - -EOF -if { (eval echo configure:2553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - rtems_cv_sysv_shm="yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - rtems_cv_sysv_shm="no" -fi -rm -fr conftest* -fi - - -fi - -echo "$ac_t""$rtems_cv_sysv_shm" 1>&6 - - if test "$rtems_cv_sysv_shm" != "yes" ; then - { echo "configure: error: System V shared memory doesn't work, required by simulator" 1>&2; exit 1; } - fi - - -echo $ac_n "checking whether $RTEMS_HOST supports System V messages""... $ac_c" 1>&6 -echo "configure:2576: checking whether $RTEMS_HOST supports System V messages" >&5 -if eval "test \"`echo '$''{'rtems_cv_sysv_msg'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - -if test "$cross_compiling" = yes; then - : -else - cat > conftest.$ac_ext < -#include -#include -int main () { - int id=msgget(IPC_PRIVATE,IPC_CREAT|0400); - if (id == -1) - exit(1); - if (msgctl(id, IPC_RMID, 0) == -1) - exit(1); - exit(0); -} - -EOF -if { (eval echo configure:2601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - rtems_cv_sysv_msg="yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - rtems_cv_sysv_msg="no" -fi -rm -fr conftest* -fi - - -fi - -echo "$ac_t""$rtems_cv_sysv_msg" 1>&6 - - if test "$rtems_cv_sysv_msg" != "yes" ; then - { echo "configure: error: System V messages don't work, required by simulator" 1>&2; exit 1; } - fi -fi - - echo $ac_n "checking for make/custom/$RTEMS_BSP.cfg""... $ac_c" 1>&6 -echo "configure:2625: checking for make/custom/$RTEMS_BSP.cfg" >&5 +echo "configure:2334: checking for make/custom/$RTEMS_BSP.cfg" >&5 if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then echo "$ac_t""yes" 1>&6 else @@ -2629,7 +2338,7 @@ else fi echo $ac_n "checking whether BSP supports multiprocessing""... $ac_c" 1>&6 -echo "configure:2633: checking whether BSP supports multiprocessing" >&5 +echo "configure:2342: checking whether BSP supports multiprocessing" >&5 if eval "test \"`echo '$''{'rtems_cv_HAS_MP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2642,7 +2351,6 @@ else else rtems_cv_HAS_MP="no"; fi - fi echo "$ac_t""$rtems_cv_HAS_MP" 1>&6 @@ -2653,114 +2361,54 @@ HAS_MP="no" fi - -# always build the test tools -testtools_cfgdirs="tools/generic" - -if test "$HAS_MP" = "yes"; then - makefiles="$makefiles samples/base_mp/Makefile" - makefiles="$makefiles samples/base_mp/node1/Makefile" - makefiles="$makefiles samples/base_mp/node2/Makefile" - makefiles="$makefiles samples/base_sp/Makefile" -fi - -if test "$tests_enabled" = "yes"; then - -echo $ac_n "checking for Makefile.in in libtests""... $ac_c" 1>&6 -echo "configure:2671: checking for Makefile.in in libtests" >&5 -if test -d $srcdir/libtests; then - rtems_av_save_dir=`pwd`; - cd $srcdir; - rtems_av_tmp=`find libtests -name "Makefile.in" -print | sed "s/Makefile\.in/%/" | sort | sed "s/%/Makefile/"` - makefiles="$makefiles $rtems_av_tmp"; - cd $rtems_av_save_dir; - echo "$ac_t""done" 1>&6 +echo $ac_n "checking whether BSP supports libposix""... $ac_c" 1>&6 +echo "configure:2366: checking whether BSP supports libposix" >&5 +if eval "test \"`echo '$''{'rtems_cv_HAS_POSIX_API'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 else - echo "$ac_t""no" 1>&6 + case "$RTEMS_CPU" in + unix*) + rtems_cv_HAS_POSIX_API="no" + ;; + *) + if test "${RTEMS_HAS_POSIX_API}" = "yes"; then + rtems_cv_HAS_POSIX_API="yes"; + else + rtems_cv_HAS_POSIX_API="disabled"; + fi + ;; + esac fi - - -echo $ac_n "checking for Makefile.in in sptests""... $ac_c" 1>&6 -echo "configure:2686: checking for Makefile.in in sptests" >&5 -if test -d $srcdir/sptests; then - rtems_av_save_dir=`pwd`; - cd $srcdir; - rtems_av_tmp=`find sptests -name "Makefile.in" -print | sed "s/Makefile\.in/%/" | sort | sed "s/%/Makefile/"` - makefiles="$makefiles $rtems_av_tmp"; - cd $rtems_av_save_dir; - echo "$ac_t""done" 1>&6 +echo "$ac_t""$rtems_cv_HAS_POSIX_API" 1>&6 +if test "$rtems_cv_HAS_POSIX_API" = "yes"; then + HAS_POSIX_API="yes"; else - echo "$ac_t""no" 1>&6 -fi - - - -echo $ac_n "checking for Makefile.in in tmtests""... $ac_c" 1>&6 -echo "configure:2701: checking for Makefile.in in tmtests" >&5 -if test -d $srcdir/tmtests; then - rtems_av_save_dir=`pwd`; - cd $srcdir; - rtems_av_tmp=`find tmtests -name "Makefile.in" -print | sed "s/Makefile\.in/%/" | sort | sed "s/%/Makefile/"` - makefiles="$makefiles $rtems_av_tmp"; - cd $rtems_av_save_dir; - echo "$ac_t""done" 1>&6 -else - echo "$ac_t""no" 1>&6 + HAS_POSIX_API="no"; fi +if test "$tests_enabled" = "yes"; then + cfg_subdirs="libtests sptests" if test "$HAS_MP" = "yes"; then - -echo $ac_n "checking for Makefile.in in mptests""... $ac_c" 1>&6 -echo "configure:2717: checking for Makefile.in in mptests" >&5 -if test -d $srcdir/mptests; then - rtems_av_save_dir=`pwd`; - cd $srcdir; - rtems_av_tmp=`find mptests -name "Makefile.in" -print | sed "s/Makefile\.in/%/" | sort | sed "s/%/Makefile/"` - makefiles="$makefiles $rtems_av_tmp"; - cd $rtems_av_save_dir; - echo "$ac_t""done" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - + cfg_subdirs="$cfg_subdirs mptests" fi - if test "$RTEMS_HAS_POSIX_API" = "yes"; then - -echo $ac_n "checking for Makefile.in in psxtests""... $ac_c" 1>&6 -echo "configure:2734: checking for Makefile.in in psxtests" >&5 -if test -d $srcdir/psxtests; then - rtems_av_save_dir=`pwd`; - cd $srcdir; - rtems_av_tmp=`find psxtests -name "Makefile.in" -print | sed "s/Makefile\.in/%/" | sort | sed "s/%/Makefile/"` - makefiles="$makefiles $rtems_av_tmp"; - cd $rtems_av_save_dir; - echo "$ac_t""done" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - + if test "$HAS_POSIX_API" = "yes"; then + cfg_subdirs="$cfg_subdirs psxtests" fi - if test -d "$srcdir/tools/$RTEMS_CPU"; then - testtools_cfgdirs="$testtools_cfgdirs tools/$RTEMS_CPU" - fi -fi - - - - - + cfg_subdirs="$cfg_subdirs tmtests" +fi +subdirs="tools" +subdirs="tools support" +subdirs="tools support samples" -subdirs="$testtools_cfgdirs" +subdirs="tools support samples $cfg_subdirs" # Try to explicitly list a Makefile here @@ -2878,20 +2526,7 @@ ac_given_srcdir=$srcdir ac_given_INSTALL="$INSTALL" trap 'rm -fr `echo "Makefile -support/Makefile -support/include/Makefile -support/stubdr/Makefile -support/wrapup/Makefile -tools/Makefile -samples/Makefile -samples/base_sp/Makefile -samples/cdtest/Makefile -samples/hello/Makefile -samples/minimum/Makefile -samples/paranoia/Makefile -samples/ticker/Makefile -samples/unlimited/Makefile -$makefiles" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 +" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then @@ -3135,7 +2754,7 @@ if test "$no_recursion" != yes; then esac done - for ac_config_dir in $testtools_cfgdirs; do + for ac_config_dir in tools support samples $cfg_subdirs; do # Do not complain, so a configure script can configure whichever # parts of a large source tree are present. diff --git a/c/src/tests/configure.in b/c/src/tests/configure.in index 78e9b685a9..1b6e98e2fe 100644 --- a/c/src/tests/configure.in +++ b/c/src/tests/configure.in @@ -3,35 +3,26 @@ dnl dnl $Id$ AC_PREREQ(2.13) -AC_INIT(libtests) +AC_INIT(samples) RTEMS_TOP(../../..) AC_CONFIG_AUX_DIR(../../..) -AC_PROG_MAKE_SET RTEMS_CANONICAL_TARGET_CPU +AM_INIT_AUTOMAKE(rtems-c-src-tests,$RTEMS_VERSION,no) AM_MAINTAINER_MODE RTEMS_ENABLE_MULTIPROCESSING RTEMS_ENABLE_POSIX RTEMS_ENABLE_NETWORKING -RTEMS_ENABLE_RDBG RTEMS_ENABLE_INLINES RTEMS_ENABLE_CXX RTEMS_ENABLE_GCC28 RTEMS_ENABLE_LIBCDIR RTEMS_ENABLE_BARE -dnl RTEMS_ENABLE_RTEMSBSP RTEMS_ENABLE_TESTS RTEMS_ENV_RTEMSBSP - -dnl BEGIN configure.host.in - -AC_PROG_INSTALL - -dnl BEGIN configure.target.in - RTEMS_CHECK_CPU RTEMS_CANONICAL_HOST @@ -47,66 +38,30 @@ fi RTEMS_CANONICALIZE_TOOLS -dnl if this is an i386, does gas have good code16 support? -RTEMS_I386_GAS_CODE16 - -RTEMS_CHECK_SYSV_UNIX - RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP) - -# always build the test tools -testtools_cfgdirs="tools/generic" - -if test "$HAS_MP" = "yes"; then - makefiles="$makefiles samples/base_mp/Makefile" - makefiles="$makefiles samples/base_mp/node1/Makefile" - makefiles="$makefiles samples/base_mp/node2/Makefile" - makefiles="$makefiles samples/base_sp/Makefile" -fi +RTEMS_CHECK_POSIX_API(RTEMS_BSP) if test "$tests_enabled" = "yes"; then - RTEMS_CHECK_MAKEFILE(libtests) - RTEMS_CHECK_MAKEFILE(sptests) - RTEMS_CHECK_MAKEFILE(tmtests) + cfg_subdirs="libtests sptests" if test "$HAS_MP" = "yes"; then - RTEMS_CHECK_MAKEFILE(mptests) + cfg_subdirs="$cfg_subdirs mptests" fi - if test "$RTEMS_HAS_POSIX_API" = "yes"; then - RTEMS_CHECK_MAKEFILE(psxtests) + if test "$HAS_POSIX_API" = "yes"; then + cfg_subdirs="$cfg_subdirs psxtests" fi - if test -d "$srcdir/tools/$RTEMS_CPU"; then - testtools_cfgdirs="$testtools_cfgdirs tools/$RTEMS_CPU" - fi -fi + cfg_subdirs="$cfg_subdirs tmtests" +fi -AC_SUBST(rtems_cv_prog_cc_cross) -AC_SUBST(RTEMS_HAS_CPLUSPLUS) -AC_SUBST(RTEMS_USE_GCC272) AC_SUBST(BARE_CPU_CFLAGS) AC_SUBST(BARE_CPU_MODEL) -AC_SUBST(program_prefix) -AC_SUBST(CC_CFLAGS_DEFAULT) -AC_SUBST(CC_CFLAGS_DEBUG_V) -AC_SUBST(CC_CFLAGS_PROFILE_V) -AC_SUBST(CC_LDFLAGS_PROFILE_V) -AC_CONFIG_SUBDIRS($testtools_cfgdirs) +AC_CONFIG_SUBDIRS(tools) +AC_CONFIG_SUBDIRS(support) +AC_CONFIG_SUBDIRS(samples) +AC_CONFIG_SUBDIRS($cfg_subdirs) # Try to explicitly list a Makefile here AC_OUTPUT( Makefile -support/Makefile -support/include/Makefile -support/stubdr/Makefile -support/wrapup/Makefile -tools/Makefile -samples/Makefile -samples/base_sp/Makefile -samples/cdtest/Makefile -samples/hello/Makefile -samples/minimum/Makefile -samples/paranoia/Makefile -samples/ticker/Makefile -samples/unlimited/Makefile -$makefiles) +) diff --git a/c/src/tests/libtests/Makefile.in b/c/src/tests/libtests/Makefile.in index 500d3fb687..fb0b4d50a9 100644 --- a/c/src/tests/libtests/Makefile.in +++ b/c/src/tests/libtests/Makefile.in @@ -1,30 +1,404 @@ +# Makefile.in generated automatically by automake 1.4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + # -# $Id$ +# $Id$ # -@SET_MAKE@ + + + +SHELL = @SHELL@ + srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = libtests +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include -VPATH = @srcdir@ +DESTDIR = -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = . + +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_alias = @build_alias@ +build_triplet = @build@ +host_alias = @host_alias@ +host_triplet = @host@ +target_alias = @target_alias@ +target_triplet = @target@ +BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@ +BARE_CPU_MODEL = @BARE_CPU_MODEL@ +CC = @CC@ +CC_FOR_TARGET = @CC_FOR_TARGET@ +CPP = @CPP@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXX_FOR_TARGET = @CXX_FOR_TARGET@ +GCCSED = @GCCSED@ +HAS_CPLUSPLUS = @HAS_CPLUSPLUS@ INSTALL_CHANGE = @INSTALL_CHANGE@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +PACKAGE = @PACKAGE@ +PACKHEX = @PACKHEX@ +PROJECT_ROOT = @PROJECT_ROOT@ +RTEMS_BSP = @RTEMS_BSP@ +RTEMS_CPU = @RTEMS_CPU@ +RTEMS_HOST = @RTEMS_HOST@ +RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@ +RTEMS_ROOT = @RTEMS_ROOT@ +RTEMS_TOPdir = @RTEMS_TOPdir@ +RTEMS_USE_MACROS = @RTEMS_USE_MACROS@ +VERSION = @VERSION@ + +AUTOMAKE_OPTIONS = foreign 1.4 +ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal + +SUBDIRS = cpuuse malloctest monitor rtmonuse stackchk termios rtems++ +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs +CONFIG_CLEAN_FILES = +DIST_COMMON = README Makefile.am Makefile.in aclocal.m4 configure \ +configure.in + -# We only build the tests for the rtems++ library if HAS_CPLUSPLUS was defined -LIBRTEMSCPLUSPLUS_yes_V = rtems++ -LIBRTEMSCPLUSPLUS = $(LIBRTEMSCPLUSPLUS_$(HAS_CPLUSPLUS)_V) +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -SUB_DIRS = cpuuse malloctest monitor rtmonuse stackchk termios \ - $(LIBRTEMSCPLUSPLUS) +TAR = tar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../automake/subdirs.am $(top_srcdir)/../../../../automake/local.am + cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. + +@SET_MAKE@ + +all-recursive install-data-recursive install-exec-recursive \ +installdirs-recursive install-recursive uninstall-recursive \ +check-recursive installcheck-recursive info-recursive dvi-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ + rev="$$subdir $$rev"; \ + test "$$subdir" = "." && dot_seen=yes; \ + done; \ + test "$$dot_seen" = "no" && rev=". $$rev"; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + -rm -rf $(distdir) + GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz + mkdir $(distdir)/=build + mkdir $(distdir)/=inst + dc_install_base=`cd $(distdir)/=inst && pwd`; \ + cd $(distdir)/=build \ + && ../configure --srcdir=.. --prefix=$$dc_install_base \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) dist + -rm -rf $(distdir) + @banner="$(distdir).tar.gz is ready for distribution"; \ + dashes=`echo "$$banner" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + echo "$$dashes" +dist: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +dist-all: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +distdir: $(DISTFILES) + -rm -rf $(distdir) + mkdir $(distdir) + -chmod 777 $(distdir) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done + for subdir in $(SUBDIRS); do \ + if test "$$subdir" = .; then :; else \ + test -d $(distdir)/$$subdir \ + || mkdir $(distdir)/$$subdir \ + || exit 1; \ + chmod 777 $(distdir)/$$subdir; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ + || exit 1; \ + fi; \ + done +info-am: +info: info-recursive +dvi-am: +dvi: dvi-recursive +check-am: all-am +check: check-recursive +installcheck-am: +installcheck: installcheck-recursive +install-exec-am: +install-exec: install-exec-recursive + +install-data-am: +install-data: install-data-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-recursive +uninstall-am: +uninstall: uninstall-recursive +all-am: Makefile +all-redirect: all-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: installdirs-recursive +installdirs-am: + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-tags mostlyclean-generic + +mostlyclean: mostlyclean-recursive + +clean-am: clean-tags clean-generic mostlyclean-am + +clean: clean-recursive + +distclean-am: distclean-tags distclean-generic clean-am + +distclean: distclean-recursive + -rm -f config.status + +maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-recursive + -rm -f config.status + +.PHONY: install-data-recursive uninstall-data-recursive \ +install-exec-recursive uninstall-exec-recursive installdirs-recursive \ +uninstalldirs-recursive all-recursive check-recursive \ +installcheck-recursive info-recursive dvi-recursive \ +mostlyclean-recursive distclean-recursive clean-recursive \ +maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ +distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-redirect all-am all installdirs-am \ +installdirs mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +depend-recursive \ +preinstall-recursive \ +debug-recursive \ +profile-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +debug: debug-recursive +.PHONY: debug-recursive + +profile: profile-recursive +.PHONY: profile-recursive + +preinstall: preinstall-recursive +.PHONY: preinstall-recursive + +depend: depend-recursive +.PHONY: depend-recursive + +debug-am: +debug: debug-am +.PHONY: debug debug-am + +profile-am: +profile: profile-am +.PHONY: profile profile-am + +preinstall-am: +preinstall: preinstall-am +.PHONY: preinstall preinstall-am + +depend-am: +depend: depend-am +.PHONY: depend depend-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/c/src/tests/libtests/cpuuse/Makefile.in b/c/src/tests/libtests/cpuuse/Makefile.in index 536dd7a3e6..34ddcaa2ec 100644 --- a/c/src/tests/libtests/cpuuse/Makefile.in +++ b/c/src/tests/libtests/cpuuse/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = libtests/cpuuse +top_builddir = .. +subdir = cpuuse RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/libtests/malloctest/Makefile.in b/c/src/tests/libtests/malloctest/Makefile.in index 31db5b734b..0facd3b7d4 100644 --- a/c/src/tests/libtests/malloctest/Makefile.in +++ b/c/src/tests/libtests/malloctest/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = libtests/malloctest +top_builddir = .. +subdir = malloctest RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/libtests/monitor/Makefile.in b/c/src/tests/libtests/monitor/Makefile.in index 7329709e13..7136d9b948 100644 --- a/c/src/tests/libtests/monitor/Makefile.in +++ b/c/src/tests/libtests/monitor/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = libtests/monitor +top_builddir = .. +subdir = monitor RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/libtests/rtems++/Makefile.in b/c/src/tests/libtests/rtems++/Makefile.in index 6803bf713a..15d2e8fe11 100644 --- a/c/src/tests/libtests/rtems++/Makefile.in +++ b/c/src/tests/libtests/rtems++/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = libtests/rtems++ +top_builddir = .. +subdir = rtems++ RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -19,7 +19,7 @@ MANAGERS = event io msg sem signal timer rate_monotonic # C++ source names, if any, go here -- minus the .cc CC_PIECES = Init Task1 Task2 Task3 -CC_FILES = $(CC_PIECES:%=%.cc) +CC_FILES = @HAS_CXX_TRUE@$(CC_PIECES:%=%.cc) CC_O_FILES = $(CC_PIECES:%=${ARCH}/%.o) H_FILES = System.h @@ -62,8 +62,8 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests +all: @HAS_CXX_TRUE@${ARCH} $(SRCS) $(PGM) +@HAS_CXX_TRUE@ $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/libtests/rtmonuse/Makefile.in b/c/src/tests/libtests/rtmonuse/Makefile.in index 09f0dd1e1b..a691129485 100644 --- a/c/src/tests/libtests/rtmonuse/Makefile.in +++ b/c/src/tests/libtests/rtmonuse/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = libtests/rtmonuse +top_builddir = .. +subdir = rtmonuse RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/libtests/stackchk/Makefile.in b/c/src/tests/libtests/stackchk/Makefile.in index a6ec963257..4ee34be9c2 100644 --- a/c/src/tests/libtests/stackchk/Makefile.in +++ b/c/src/tests/libtests/stackchk/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = libtests/stackchk +top_builddir = .. +subdir = stackchk RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/libtests/termios/Makefile.in b/c/src/tests/libtests/termios/Makefile.in index 90181bf0e9..2ca4abef46 100644 --- a/c/src/tests/libtests/termios/Makefile.in +++ b/c/src/tests/libtests/termios/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = libtests/termios +top_builddir = .. +subdir = termios RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/Makefile.in b/c/src/tests/mptests/Makefile.in index 3543210211..731ce486f1 100644 --- a/c/src/tests/mptests/Makefile.in +++ b/c/src/tests/mptests/Makefile.in @@ -1,28 +1,415 @@ +# Makefile.in generated automatically by automake 1.4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + # -# $Id$ +# $Id$ # -@SET_MAKE@ + + + +SHELL = @SHELL@ + srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = mptests +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include -VPATH = @srcdir@ +DESTDIR = + +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg +top_builddir = . +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_alias = @build_alias@ +build_triplet = @build@ +host_alias = @host_alias@ +host_triplet = @host@ +target_alias = @target_alias@ +target_triplet = @target@ +BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@ +BARE_CPU_MODEL = @BARE_CPU_MODEL@ +CC = @CC@ +CC_CFLAGS_DEBUG_V = @CC_CFLAGS_DEBUG_V@ +CC_CFLAGS_DEFAULT = @CC_CFLAGS_DEFAULT@ +CC_CFLAGS_PROFILE_V = @CC_CFLAGS_PROFILE_V@ +CC_FOR_TARGET = @CC_FOR_TARGET@ +CC_LDFLAGS_PROFILE_V = @CC_LDFLAGS_PROFILE_V@ +CPP = @CPP@ +GCCSED = @GCCSED@ INSTALL_CHANGE = @INSTALL_CHANGE@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +PACKAGE = @PACKAGE@ +PACKHEX = @PACKHEX@ +PROJECT_ROOT = @PROJECT_ROOT@ +RTEMS_BSP = @RTEMS_BSP@ +RTEMS_CPU = @RTEMS_CPU@ +RTEMS_HOST = @RTEMS_HOST@ +RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@ +RTEMS_ROOT = @RTEMS_ROOT@ +RTEMS_TOPdir = @RTEMS_TOPdir@ +RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@ +RTEMS_USE_MACROS = @RTEMS_USE_MACROS@ +VERSION = @VERSION@ -all: README +AUTOMAKE_OPTIONS = foreign 1.4 +ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal -SUB_DIRS = mp01 mp02 mp03 mp04 mp05 mp06 mp07 mp08 mp09 mp10 mp11 mp12 mp13 \ - mp14 +project_bspdir = $(PROJECT_ROOT)/@RTEMS_BSP@ -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +PREINSTALLDIRS = $(project_bspdir)/tests/screens/mptests $(project_bspdir)/tests/screens/mptests/node1 $(project_bspdir)/tests/screens/mptests/node2 + + +SUBDIRS = . mp01 mp02 mp03 mp04 mp05 mp06 mp07 mp08 mp09 mp10 mp11 mp12 mp13 mp14 + +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs +CONFIG_CLEAN_FILES = +DIST_COMMON = README Makefile.am Makefile.in aclocal.m4 configure \ +configure.in + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = tar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../automake/subdirs.am $(top_srcdir)/../../../../automake/local.am + cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. + +@SET_MAKE@ + +all-recursive install-data-recursive install-exec-recursive \ +installdirs-recursive install-recursive uninstall-recursive \ +check-recursive installcheck-recursive info-recursive dvi-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ + rev="$$subdir $$rev"; \ + test "$$subdir" = "." && dot_seen=yes; \ + done; \ + test "$$dot_seen" = "no" && rev=". $$rev"; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + -rm -rf $(distdir) + GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz + mkdir $(distdir)/=build + mkdir $(distdir)/=inst + dc_install_base=`cd $(distdir)/=inst && pwd`; \ + cd $(distdir)/=build \ + && ../configure --srcdir=.. --prefix=$$dc_install_base \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) dist + -rm -rf $(distdir) + @banner="$(distdir).tar.gz is ready for distribution"; \ + dashes=`echo "$$banner" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + echo "$$dashes" +dist: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +dist-all: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +distdir: $(DISTFILES) + -rm -rf $(distdir) + mkdir $(distdir) + -chmod 777 $(distdir) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done + for subdir in $(SUBDIRS); do \ + if test "$$subdir" = .; then :; else \ + test -d $(distdir)/$$subdir \ + || mkdir $(distdir)/$$subdir \ + || exit 1; \ + chmod 777 $(distdir)/$$subdir; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ + || exit 1; \ + fi; \ + done +info-am: +info: info-recursive +dvi-am: +dvi: dvi-recursive +check-am: all-am +check: check-recursive +installcheck-am: +installcheck: installcheck-recursive +install-exec-am: +install-exec: install-exec-recursive + +install-data-am: +install-data: install-data-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-recursive +uninstall-am: +uninstall: uninstall-recursive +all-am: Makefile all-local +all-redirect: all-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: installdirs-recursive +installdirs-am: + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-tags mostlyclean-generic + +mostlyclean: mostlyclean-recursive + +clean-am: clean-tags clean-generic mostlyclean-am + +clean: clean-recursive + +distclean-am: distclean-tags distclean-generic clean-am + +distclean: distclean-recursive + -rm -f config.status + +maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-recursive + -rm -f config.status + +.PHONY: install-data-recursive uninstall-data-recursive \ +install-exec-recursive uninstall-exec-recursive installdirs-recursive \ +uninstalldirs-recursive all-recursive check-recursive \ +installcheck-recursive info-recursive dvi-recursive \ +mostlyclean-recursive distclean-recursive clean-recursive \ +maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ +distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-local all-redirect all-am all installdirs-am \ +installdirs mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + +$(PREINSTALLDIRS): + @$(mkinstalldirs) $@ + +all-local: $(PREINSTALLDIRS) + +depend-recursive \ +preinstall-recursive \ +debug-recursive \ +profile-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +debug: debug-recursive +.PHONY: debug-recursive + +profile: profile-recursive +.PHONY: profile-recursive + +preinstall: preinstall-recursive +.PHONY: preinstall-recursive + +depend: depend-recursive +.PHONY: depend-recursive + +debug-am: +debug: debug-am +.PHONY: debug debug-am + +profile-am: +profile: profile-am +.PHONY: profile profile-am + +preinstall-am: +preinstall: preinstall-am +.PHONY: preinstall preinstall-am + +depend-am: +depend: depend-am +.PHONY: depend depend-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/c/src/tests/mptests/mp01/Makefile.in b/c/src/tests/mptests/mp01/Makefile.in index 42917b70a8..c0d268c337 100644 --- a/c/src/tests/mptests/mp01/Makefile.in +++ b/c/src/tests/mptests/mp01/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = mptests/mp01 +top_builddir = .. +subdir = mp01 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp01/node1/Makefile.in b/c/src/tests/mptests/mp01/node1/Makefile.in index aa73d9fb6b..88cc7bc1b9 100644 --- a/c/src/tests/mptests/mp01/node1/Makefile.in +++ b/c/src/tests/mptests/mp01/node1/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp01/node1 +top_builddir = ../.. +subdir = mp01/node1 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp01/node2/Makefile.in b/c/src/tests/mptests/mp01/node2/Makefile.in index 8df2589e0c..5a92b59b2e 100644 --- a/c/src/tests/mptests/mp01/node2/Makefile.in +++ b/c/src/tests/mptests/mp01/node2/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp01/node2 +top_builddir = ../.. +subdir = mp01/node2 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp02/Makefile.in b/c/src/tests/mptests/mp02/Makefile.in index c7ba581df0..1586c2add0 100644 --- a/c/src/tests/mptests/mp02/Makefile.in +++ b/c/src/tests/mptests/mp02/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = mptests/mp02 +top_builddir = .. +subdir = mp02 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp02/node1/Makefile.in b/c/src/tests/mptests/mp02/node1/Makefile.in index 5e55074344..c52601c59b 100644 --- a/c/src/tests/mptests/mp02/node1/Makefile.in +++ b/c/src/tests/mptests/mp02/node1/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp02/node1 +top_builddir = ../.. +subdir = mp02/node1 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp02/node2/Makefile.in b/c/src/tests/mptests/mp02/node2/Makefile.in index 37f19f2245..a6aca24924 100644 --- a/c/src/tests/mptests/mp02/node2/Makefile.in +++ b/c/src/tests/mptests/mp02/node2/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp02/node2 +top_builddir = ../.. +subdir = mp02/node2 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp03/Makefile.in b/c/src/tests/mptests/mp03/Makefile.in index 66000d3be3..4b4fa81d11 100644 --- a/c/src/tests/mptests/mp03/Makefile.in +++ b/c/src/tests/mptests/mp03/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = mptests/mp03 +top_builddir = .. +subdir = mp03 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp03/node1/Makefile.in b/c/src/tests/mptests/mp03/node1/Makefile.in index a54a3f3419..34917a23cf 100644 --- a/c/src/tests/mptests/mp03/node1/Makefile.in +++ b/c/src/tests/mptests/mp03/node1/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp03/node1 +top_builddir = ../.. +subdir = mp03/node1 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp03/node2/Makefile.in b/c/src/tests/mptests/mp03/node2/Makefile.in index 437fe51a6a..f244286fea 100644 --- a/c/src/tests/mptests/mp03/node2/Makefile.in +++ b/c/src/tests/mptests/mp03/node2/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp03/node2 +top_builddir = ../.. +subdir = mp03/node2 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp04/Makefile.in b/c/src/tests/mptests/mp04/Makefile.in index 2190242058..8b6e2a6aed 100644 --- a/c/src/tests/mptests/mp04/Makefile.in +++ b/c/src/tests/mptests/mp04/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = mptests/mp04 +top_builddir = .. +subdir = mp04 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp04/node1/Makefile.in b/c/src/tests/mptests/mp04/node1/Makefile.in index 16b289b939..6592d85432 100644 --- a/c/src/tests/mptests/mp04/node1/Makefile.in +++ b/c/src/tests/mptests/mp04/node1/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp04/node1 +top_builddir = ../.. +subdir = mp04/node1 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp04/node2/Makefile.in b/c/src/tests/mptests/mp04/node2/Makefile.in index 4427705124..a0fce95bba 100644 --- a/c/src/tests/mptests/mp04/node2/Makefile.in +++ b/c/src/tests/mptests/mp04/node2/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp04/node2 +top_builddir = ../.. +subdir = mp04/node2 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp05/Makefile.in b/c/src/tests/mptests/mp05/Makefile.in index 67f33619d3..c982b7bda2 100644 --- a/c/src/tests/mptests/mp05/Makefile.in +++ b/c/src/tests/mptests/mp05/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = mptests/mp05 +top_builddir = .. +subdir = mp05 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp05/node1/Makefile.in b/c/src/tests/mptests/mp05/node1/Makefile.in index 62817407fc..7aee677123 100644 --- a/c/src/tests/mptests/mp05/node1/Makefile.in +++ b/c/src/tests/mptests/mp05/node1/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp05/node1 +top_builddir = ../.. +subdir = mp05/node1 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp05/node2/Makefile.in b/c/src/tests/mptests/mp05/node2/Makefile.in index db94f9257e..ece1d73bfe 100644 --- a/c/src/tests/mptests/mp05/node2/Makefile.in +++ b/c/src/tests/mptests/mp05/node2/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp05/node2 +top_builddir = ../.. +subdir = mp05/node2 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp06/Makefile.in b/c/src/tests/mptests/mp06/Makefile.in index f9c96d3add..4700f675c8 100644 --- a/c/src/tests/mptests/mp06/Makefile.in +++ b/c/src/tests/mptests/mp06/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = mptests/mp06 +top_builddir = .. +subdir = mp06 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp06/node1/Makefile.in b/c/src/tests/mptests/mp06/node1/Makefile.in index 88b14eb07e..7d485705a9 100644 --- a/c/src/tests/mptests/mp06/node1/Makefile.in +++ b/c/src/tests/mptests/mp06/node1/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp06/node1 +top_builddir = ../.. +subdir = mp06/node1 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp06/node2/Makefile.in b/c/src/tests/mptests/mp06/node2/Makefile.in index bee2138fc1..36e40c297c 100644 --- a/c/src/tests/mptests/mp06/node2/Makefile.in +++ b/c/src/tests/mptests/mp06/node2/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp06/node2 +top_builddir = ../.. +subdir = mp06/node2 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp07/Makefile.in b/c/src/tests/mptests/mp07/Makefile.in index 37bdd3dc16..1be1b1596a 100644 --- a/c/src/tests/mptests/mp07/Makefile.in +++ b/c/src/tests/mptests/mp07/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = mptests/mp07 +top_builddir = .. +subdir = mp07 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp07/node1/Makefile.in b/c/src/tests/mptests/mp07/node1/Makefile.in index 92cb99f0f9..4591a16c5e 100644 --- a/c/src/tests/mptests/mp07/node1/Makefile.in +++ b/c/src/tests/mptests/mp07/node1/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp07/node1 +top_builddir = ../.. +subdir = mp07/node1 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp07/node2/Makefile.in b/c/src/tests/mptests/mp07/node2/Makefile.in index ae31e36736..f4f00ae6b6 100644 --- a/c/src/tests/mptests/mp07/node2/Makefile.in +++ b/c/src/tests/mptests/mp07/node2/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp07/node2 +top_builddir = ../.. +subdir = mp07/node2 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp08/Makefile.in b/c/src/tests/mptests/mp08/Makefile.in index fead5fcc95..968184beeb 100644 --- a/c/src/tests/mptests/mp08/Makefile.in +++ b/c/src/tests/mptests/mp08/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = mptests/mp08 +top_builddir = .. +subdir = mp08 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp08/node1/Makefile.in b/c/src/tests/mptests/mp08/node1/Makefile.in index 63da5eb1b7..0a62bbc43c 100644 --- a/c/src/tests/mptests/mp08/node1/Makefile.in +++ b/c/src/tests/mptests/mp08/node1/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp08/node1 +top_builddir = ../.. +subdir = mp08/node1 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp08/node2/Makefile.in b/c/src/tests/mptests/mp08/node2/Makefile.in index c5282b0ce0..82d9c4d4f7 100644 --- a/c/src/tests/mptests/mp08/node2/Makefile.in +++ b/c/src/tests/mptests/mp08/node2/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp08/node2 +top_builddir = ../.. +subdir = mp08/node2 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp09/Makefile.in b/c/src/tests/mptests/mp09/Makefile.in index 8d34d1d92f..7b597bb03b 100644 --- a/c/src/tests/mptests/mp09/Makefile.in +++ b/c/src/tests/mptests/mp09/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = mptests/mp09 +top_builddir = .. +subdir = mp09 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp09/node1/Makefile.in b/c/src/tests/mptests/mp09/node1/Makefile.in index df8056a6b0..c9bca4ff1d 100644 --- a/c/src/tests/mptests/mp09/node1/Makefile.in +++ b/c/src/tests/mptests/mp09/node1/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp09/node1 +top_builddir = ../.. +subdir = mp09/node1 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp09/node2/Makefile.in b/c/src/tests/mptests/mp09/node2/Makefile.in index f3ebeaebdd..abc9384f6b 100644 --- a/c/src/tests/mptests/mp09/node2/Makefile.in +++ b/c/src/tests/mptests/mp09/node2/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp09/node2 +top_builddir = ../.. +subdir = mp09/node2 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp10/Makefile.in b/c/src/tests/mptests/mp10/Makefile.in index 4b956caac8..9b31d660c0 100644 --- a/c/src/tests/mptests/mp10/Makefile.in +++ b/c/src/tests/mptests/mp10/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = mptests/mp10 +top_builddir = .. +subdir = mp10 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp10/node1/Makefile.in b/c/src/tests/mptests/mp10/node1/Makefile.in index a59cf45538..439de8d09e 100644 --- a/c/src/tests/mptests/mp10/node1/Makefile.in +++ b/c/src/tests/mptests/mp10/node1/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp10/node1 +top_builddir = ../.. +subdir = mp10/node1 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp10/node2/Makefile.in b/c/src/tests/mptests/mp10/node2/Makefile.in index 0ad36f835c..37f73a6bb0 100644 --- a/c/src/tests/mptests/mp10/node2/Makefile.in +++ b/c/src/tests/mptests/mp10/node2/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp10/node2 +top_builddir = ../.. +subdir = mp10/node2 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp11/Makefile.in b/c/src/tests/mptests/mp11/Makefile.in index 245485cb33..37f7e4181b 100644 --- a/c/src/tests/mptests/mp11/Makefile.in +++ b/c/src/tests/mptests/mp11/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = mptests/mp11 +top_builddir = .. +subdir = mp11 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp11/node1/Makefile.in b/c/src/tests/mptests/mp11/node1/Makefile.in index 30e0424712..8be819263c 100644 --- a/c/src/tests/mptests/mp11/node1/Makefile.in +++ b/c/src/tests/mptests/mp11/node1/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp11/node1 +top_builddir = ../.. +subdir = mp11/node1 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp11/node2/Makefile.in b/c/src/tests/mptests/mp11/node2/Makefile.in index c0586559ed..2433cc1306 100644 --- a/c/src/tests/mptests/mp11/node2/Makefile.in +++ b/c/src/tests/mptests/mp11/node2/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp11/node2 +top_builddir = ../.. +subdir = mp11/node2 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp12/Makefile.in b/c/src/tests/mptests/mp12/Makefile.in index 8bb9210950..94131edd23 100644 --- a/c/src/tests/mptests/mp12/Makefile.in +++ b/c/src/tests/mptests/mp12/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = mptests/mp12 +top_builddir = .. +subdir = mp12 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp12/node1/Makefile.in b/c/src/tests/mptests/mp12/node1/Makefile.in index d24e183273..3bfb6f561c 100644 --- a/c/src/tests/mptests/mp12/node1/Makefile.in +++ b/c/src/tests/mptests/mp12/node1/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp12/node1 +top_builddir = ../.. +subdir = mp12/node1 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp12/node2/Makefile.in b/c/src/tests/mptests/mp12/node2/Makefile.in index 7db0596f22..060844c2c1 100644 --- a/c/src/tests/mptests/mp12/node2/Makefile.in +++ b/c/src/tests/mptests/mp12/node2/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp12/node2 +top_builddir = ../.. +subdir = mp12/node2 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp13/Makefile.in b/c/src/tests/mptests/mp13/Makefile.in index db2dfbca8f..87244ff769 100644 --- a/c/src/tests/mptests/mp13/Makefile.in +++ b/c/src/tests/mptests/mp13/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = mptests/mp13 +top_builddir = .. +subdir = mp13 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp13/node1/Makefile.in b/c/src/tests/mptests/mp13/node1/Makefile.in index b495306917..31bbc67e88 100644 --- a/c/src/tests/mptests/mp13/node1/Makefile.in +++ b/c/src/tests/mptests/mp13/node1/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp13/node1 +top_builddir = ../.. +subdir = mp13/node1 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp13/node2/Makefile.in b/c/src/tests/mptests/mp13/node2/Makefile.in index 7e356ef1ca..11cb805a68 100644 --- a/c/src/tests/mptests/mp13/node2/Makefile.in +++ b/c/src/tests/mptests/mp13/node2/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp13/node2 +top_builddir = ../.. +subdir = mp13/node2 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp14/Makefile.in b/c/src/tests/mptests/mp14/Makefile.in index c373911f4d..0dd9b0a7c9 100644 --- a/c/src/tests/mptests/mp14/Makefile.in +++ b/c/src/tests/mptests/mp14/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = mptests/mp14 +top_builddir = .. +subdir = mp14 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp14/node1/Makefile.in b/c/src/tests/mptests/mp14/node1/Makefile.in index d20cee329a..2ec95c2d24 100644 --- a/c/src/tests/mptests/mp14/node1/Makefile.in +++ b/c/src/tests/mptests/mp14/node1/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp14/node1 +top_builddir = ../.. +subdir = mp14/node1 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/mptests/mp14/node2/Makefile.in b/c/src/tests/mptests/mp14/node2/Makefile.in index 7ee324778a..4de5504959 100644 --- a/c/src/tests/mptests/mp14/node2/Makefile.in +++ b/c/src/tests/mptests/mp14/node2/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = mptests/mp14/node2 +top_builddir = ../.. +subdir = mp14/node2 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/Makefile.in b/c/src/tests/psxtests/Makefile.in index a599b1cb26..82314c0222 100644 --- a/c/src/tests/psxtests/Makefile.in +++ b/c/src/tests/psxtests/Makefile.in @@ -1,30 +1,417 @@ +# Makefile.in generated automatically by automake 1.4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + # -# $Id$ +# $Id$ # -@SET_MAKE@ + + + +SHELL = @SHELL@ + srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = psxtests +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include -VPATH = @srcdir@ +DESTDIR = + +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg +top_builddir = . +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_alias = @build_alias@ +build_triplet = @build@ +host_alias = @host_alias@ +host_triplet = @host@ +target_alias = @target_alias@ +target_triplet = @target@ +BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@ +BARE_CPU_MODEL = @BARE_CPU_MODEL@ +CC = @CC@ +CC_CFLAGS_DEBUG_V = @CC_CFLAGS_DEBUG_V@ +CC_CFLAGS_DEFAULT = @CC_CFLAGS_DEFAULT@ +CC_CFLAGS_PROFILE_V = @CC_CFLAGS_PROFILE_V@ +CC_FOR_TARGET = @CC_FOR_TARGET@ +CC_LDFLAGS_PROFILE_V = @CC_LDFLAGS_PROFILE_V@ +CPP = @CPP@ +GCCSED = @GCCSED@ INSTALL_CHANGE = @INSTALL_CHANGE@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +PACKAGE = @PACKAGE@ +PACKHEX = @PACKHEX@ +PROJECT_ROOT = @PROJECT_ROOT@ +RTEMS_BSP = @RTEMS_BSP@ +RTEMS_CPU = @RTEMS_CPU@ +RTEMS_HOST = @RTEMS_HOST@ +RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@ +RTEMS_ROOT = @RTEMS_ROOT@ +RTEMS_TOPdir = @RTEMS_TOPdir@ +RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@ +RTEMS_USE_MACROS = @RTEMS_USE_MACROS@ +VERSION = @VERSION@ + +AUTOMAKE_OPTIONS = foreign 1.4 +ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal + +project_bspdir = $(PROJECT_ROOT)/@RTEMS_BSP@ + +PREINSTALLDIRS = $(project_bspdir)/tests/screens/psxtests + +POSIX_DIRS = psxhdrs psx01 psx02 psx03 psx04 psx05 psx06 psx07 psx08 psx09 psx10 psx11 psx12 psxtime psxtimer -POSIX_DIRS = psxhdrs psx01 psx02 psx03 psx04 psx05 psx06 psx07 psx08 psx09 \ - psx10 psx11 psx12 psxtime psxtimer POSIX_FILES_DIRS = psxfile01 psxreaddir psxstat psxmount psx13 -SUB_DIRS = support $(POSIX_DIRS) $(POSIX_FILES_DIRS) +SUBDIRS = . support $(POSIX_DIRS) $(POSIX_FILES_DIRS) +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs +CONFIG_CLEAN_FILES = +DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in + -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = tar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../automake/subdirs.am $(top_srcdir)/../../../../automake/local.am + cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. + +@SET_MAKE@ + +all-recursive install-data-recursive install-exec-recursive \ +installdirs-recursive install-recursive uninstall-recursive \ +check-recursive installcheck-recursive info-recursive dvi-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ + rev="$$subdir $$rev"; \ + test "$$subdir" = "." && dot_seen=yes; \ + done; \ + test "$$dot_seen" = "no" && rev=". $$rev"; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + -rm -rf $(distdir) + GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz + mkdir $(distdir)/=build + mkdir $(distdir)/=inst + dc_install_base=`cd $(distdir)/=inst && pwd`; \ + cd $(distdir)/=build \ + && ../configure --srcdir=.. --prefix=$$dc_install_base \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) dist + -rm -rf $(distdir) + @banner="$(distdir).tar.gz is ready for distribution"; \ + dashes=`echo "$$banner" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + echo "$$dashes" +dist: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +dist-all: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +distdir: $(DISTFILES) + -rm -rf $(distdir) + mkdir $(distdir) + -chmod 777 $(distdir) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done + for subdir in $(SUBDIRS); do \ + if test "$$subdir" = .; then :; else \ + test -d $(distdir)/$$subdir \ + || mkdir $(distdir)/$$subdir \ + || exit 1; \ + chmod 777 $(distdir)/$$subdir; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ + || exit 1; \ + fi; \ + done +info-am: +info: info-recursive +dvi-am: +dvi: dvi-recursive +check-am: all-am +check: check-recursive +installcheck-am: +installcheck: installcheck-recursive +install-exec-am: +install-exec: install-exec-recursive + +install-data-am: +install-data: install-data-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-recursive +uninstall-am: +uninstall: uninstall-recursive +all-am: Makefile all-local +all-redirect: all-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: installdirs-recursive +installdirs-am: + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-tags mostlyclean-generic + +mostlyclean: mostlyclean-recursive + +clean-am: clean-tags clean-generic mostlyclean-am + +clean: clean-recursive + +distclean-am: distclean-tags distclean-generic clean-am + +distclean: distclean-recursive + -rm -f config.status + +maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-recursive + -rm -f config.status + +.PHONY: install-data-recursive uninstall-data-recursive \ +install-exec-recursive uninstall-exec-recursive installdirs-recursive \ +uninstalldirs-recursive all-recursive check-recursive \ +installcheck-recursive info-recursive dvi-recursive \ +mostlyclean-recursive distclean-recursive clean-recursive \ +maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ +distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-local all-redirect all-am all installdirs-am \ +installdirs mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + +$(PREINSTALLDIRS): + @$(mkinstalldirs) $@ + +all-local: $(PREINSTALLDIRS) + +depend-recursive \ +preinstall-recursive \ +debug-recursive \ +profile-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +debug: debug-recursive +.PHONY: debug-recursive + +profile: profile-recursive +.PHONY: profile-recursive + +preinstall: preinstall-recursive +.PHONY: preinstall-recursive + +depend: depend-recursive +.PHONY: depend-recursive + +debug-am: +debug: debug-am +.PHONY: debug debug-am + +profile-am: +profile: profile-am +.PHONY: profile profile-am + +preinstall-am: +preinstall: preinstall-am +.PHONY: preinstall preinstall-am + +depend-am: +depend: depend-am +.PHONY: depend depend-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/c/src/tests/psxtests/psx01/Makefile.in b/c/src/tests/psxtests/psx01/Makefile.in index d5310af37b..d828162ae5 100644 --- a/c/src/tests/psxtests/psx01/Makefile.in +++ b/c/src/tests/psxtests/psx01/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psx01 +top_builddir = .. +subdir = psx01 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psx02/Makefile.in b/c/src/tests/psxtests/psx02/Makefile.in index fcf548c8a4..b3b8583e2e 100644 --- a/c/src/tests/psxtests/psx02/Makefile.in +++ b/c/src/tests/psxtests/psx02/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psx02 +top_builddir = .. +subdir = psx02 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psx03/Makefile.in b/c/src/tests/psxtests/psx03/Makefile.in index de7b93c132..80b1fdd240 100644 --- a/c/src/tests/psxtests/psx03/Makefile.in +++ b/c/src/tests/psxtests/psx03/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psx03 +top_builddir = .. +subdir = psx03 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psx04/Makefile.in b/c/src/tests/psxtests/psx04/Makefile.in index b356df0e1a..091d71be68 100644 --- a/c/src/tests/psxtests/psx04/Makefile.in +++ b/c/src/tests/psxtests/psx04/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psx04 +top_builddir = .. +subdir = psx04 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psx05/Makefile.in b/c/src/tests/psxtests/psx05/Makefile.in index 34015299ff..6f84686729 100644 --- a/c/src/tests/psxtests/psx05/Makefile.in +++ b/c/src/tests/psxtests/psx05/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psx05 +top_builddir = .. +subdir = psx05 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psx06/Makefile.in b/c/src/tests/psxtests/psx06/Makefile.in index 165bd25597..baa69872cd 100644 --- a/c/src/tests/psxtests/psx06/Makefile.in +++ b/c/src/tests/psxtests/psx06/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psx06 +top_builddir = .. +subdir = psx06 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psx07/Makefile.in b/c/src/tests/psxtests/psx07/Makefile.in index 26a0ab4d5d..bc2e75ead7 100644 --- a/c/src/tests/psxtests/psx07/Makefile.in +++ b/c/src/tests/psxtests/psx07/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psx07 +top_builddir = .. +subdir = psx07 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psx08/Makefile.in b/c/src/tests/psxtests/psx08/Makefile.in index 94a826584d..1b24852a5a 100644 --- a/c/src/tests/psxtests/psx08/Makefile.in +++ b/c/src/tests/psxtests/psx08/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psx08 +top_builddir = .. +subdir = psx08 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psx09/Makefile.in b/c/src/tests/psxtests/psx09/Makefile.in index d75c0994d2..d265ed2194 100644 --- a/c/src/tests/psxtests/psx09/Makefile.in +++ b/c/src/tests/psxtests/psx09/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psx09 +top_builddir = .. +subdir = psx09 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psx10/Makefile.in b/c/src/tests/psxtests/psx10/Makefile.in index 5a872dc19c..86d3621642 100644 --- a/c/src/tests/psxtests/psx10/Makefile.in +++ b/c/src/tests/psxtests/psx10/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psx10 +top_builddir = .. +subdir = psx10 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psx11/Makefile.in b/c/src/tests/psxtests/psx11/Makefile.in index 2487622c35..05ea8dcd69 100644 --- a/c/src/tests/psxtests/psx11/Makefile.in +++ b/c/src/tests/psxtests/psx11/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psx11 +top_builddir = .. +subdir = psx11 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psx12/Makefile.in b/c/src/tests/psxtests/psx12/Makefile.in index 4f8a2815f0..dca5be1b37 100644 --- a/c/src/tests/psxtests/psx12/Makefile.in +++ b/c/src/tests/psxtests/psx12/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psx12 +top_builddir = .. +subdir = psx12 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psx13/Makefile.in b/c/src/tests/psxtests/psx13/Makefile.in index bd42a00ce4..6c88cfd19a 100644 --- a/c/src/tests/psxtests/psx13/Makefile.in +++ b/c/src/tests/psxtests/psx13/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psx13 +top_builddir = .. +subdir = psx13 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psxfile01/Makefile.in b/c/src/tests/psxtests/psxfile01/Makefile.in index de86892ea8..0d6821dec2 100644 --- a/c/src/tests/psxtests/psxfile01/Makefile.in +++ b/c/src/tests/psxtests/psxfile01/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psxfile01 +top_builddir = .. +subdir = psxfile01 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psxfile02/Makefile.in b/c/src/tests/psxtests/psxfile02/Makefile.in index 645c262163..e62dc19de4 100644 --- a/c/src/tests/psxtests/psxfile02/Makefile.in +++ b/c/src/tests/psxtests/psxfile02/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psxfile02 +top_builddir = .. +subdir = psxfile02 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psxhdrs/Makefile.in b/c/src/tests/psxtests/psxhdrs/Makefile.in index c7190f73d1..0a1bbd3bcf 100644 --- a/c/src/tests/psxtests/psxhdrs/Makefile.in +++ b/c/src/tests/psxtests/psxhdrs/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psxhdrs +top_builddir = .. +subdir = psxhdrs RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psxmount/Makefile.in b/c/src/tests/psxtests/psxmount/Makefile.in index f8ce43fecf..d98e954af6 100644 --- a/c/src/tests/psxtests/psxmount/Makefile.in +++ b/c/src/tests/psxtests/psxmount/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psxmount +top_builddir = .. +subdir = psxmount RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psxreaddir/Makefile.in b/c/src/tests/psxtests/psxreaddir/Makefile.in index 20466eacb2..838b6da70d 100644 --- a/c/src/tests/psxtests/psxreaddir/Makefile.in +++ b/c/src/tests/psxtests/psxreaddir/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psxreaddir +top_builddir = .. +subdir = psxreaddir RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psxstat/Makefile.in b/c/src/tests/psxtests/psxstat/Makefile.in index 7d6bf4844b..6e9a626838 100644 --- a/c/src/tests/psxtests/psxstat/Makefile.in +++ b/c/src/tests/psxtests/psxstat/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psxstat +top_builddir = .. +subdir = psxstat RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psxtime/Makefile.in b/c/src/tests/psxtests/psxtime/Makefile.in index 26a9b4a24b..d3ac6ca6fe 100644 --- a/c/src/tests/psxtests/psxtime/Makefile.in +++ b/c/src/tests/psxtests/psxtime/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psxtime +top_builddir = .. +subdir = psxtime RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/psxtimer/Makefile.in b/c/src/tests/psxtests/psxtimer/Makefile.in index 29318cbeba..031959aa8a 100644 --- a/c/src/tests/psxtests/psxtimer/Makefile.in +++ b/c/src/tests/psxtests/psxtimer/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/psxtimer +top_builddir = .. +subdir = psxtimer RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/support/Makefile.in b/c/src/tests/psxtests/support/Makefile.in index 67ede534e3..9f9e019079 100644 --- a/c/src/tests/psxtests/support/Makefile.in +++ b/c/src/tests/psxtests/support/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = psxtests/support +top_builddir = .. +subdir = support RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/psxtests/support/include/Makefile.in b/c/src/tests/psxtests/support/include/Makefile.in index ae37b6991b..2de3d5598a 100644 --- a/c/src/tests/psxtests/support/include/Makefile.in +++ b/c/src/tests/psxtests/support/include/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = psxtests/support/include +top_builddir = ../.. +subdir = support/include RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/samples/Makefile.in b/c/src/tests/samples/Makefile.in index a277743c55..e86b7325e9 100644 --- a/c/src/tests/samples/Makefile.in +++ b/c/src/tests/samples/Makefile.in @@ -1,40 +1,423 @@ +# Makefile.in generated automatically by automake 1.4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + # -# $Id$ +# $Id$ # -@SET_MAKE@ + + + +SHELL = @SHELL@ + srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = samples +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include -VPATH = @srcdir@ +DESTDIR = + +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg +top_builddir = . +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_alias = @build_alias@ +build_triplet = @build@ +host_alias = @host_alias@ +host_triplet = @host@ +target_alias = @target_alias@ +target_triplet = @target@ +CC = @CC@ +CC_FOR_TARGET = @CC_FOR_TARGET@ +CPP = @CPP@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXX_FOR_TARGET = @CXX_FOR_TARGET@ +GCCSED = @GCCSED@ +HAS_CPLUSPLUS = @HAS_CPLUSPLUS@ +HAS_MP = @HAS_MP@ +HAS_POSIX_API = @HAS_POSIX_API@ INSTALL_CHANGE = @INSTALL_CHANGE@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +PACKAGE = @PACKAGE@ +PACKHEX = @PACKHEX@ +PROJECT_ROOT = @PROJECT_ROOT@ +RTEMS_BSP = @RTEMS_BSP@ +RTEMS_CPU = @RTEMS_CPU@ +RTEMS_HAS_MULTIPROCESSING = @RTEMS_HAS_MULTIPROCESSING@ +RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@ +RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@ +RTEMS_HOST = @RTEMS_HOST@ +RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@ +RTEMS_ROOT = @RTEMS_ROOT@ +RTEMS_TOPdir = @RTEMS_TOPdir@ +RTEMS_USE_MACROS = @RTEMS_USE_MACROS@ +VERSION = @VERSION@ -# cdtest is a C++ constructor/destructor test -# We only build it if HAS_CPLUSCPLUS was defined +AUTOMAKE_OPTIONS = foreign 1.4 +ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal -CPLUSPLUS_TESTS_yes_V = cdtest -CPLUSPLUS_TESTS = $(CPLUSPLUS_TESTS_$(HAS_CPLUSPLUS)_V) +project_bspdir = $(PROJECT_ROOT)/@RTEMS_BSP@ -# base_mp is a sample multiprocessing test -# We only build it if HAS_MP was defined +PREINSTALLDIRS = $(project_bspdir)/samples $(project_bspdir)/tests + +CPLUSPLUS_TESTS = cdtest -MP_TESTS_yes_V = base_mp -MP_TESTS = $(MP_TESTS_$(HAS_MP)_V) +# base_mp is a sample multiprocessing test +MP_TESTS = base_mp FP_TESTS = paranoia -SUB_DIRS = hello ticker base_sp unlimited minimum $(MP_TESTS) \ - $(CPLUSPLUS_TESTS) $(FP_TESTS) +SUBDIRS = . hello ticker base_sp unlimited minimum $(MP_TESTS) $(CPLUSPLUS_TESTS) $(FP_TESTS) + +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs +CONFIG_CLEAN_FILES = +DIST_COMMON = README Makefile.am Makefile.in aclocal.m4 configure \ +configure.in + -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = tar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../automake/subdirs.am $(top_srcdir)/../../../../automake/local.am + cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. + +@SET_MAKE@ + +all-recursive install-data-recursive install-exec-recursive \ +installdirs-recursive install-recursive uninstall-recursive \ +check-recursive installcheck-recursive info-recursive dvi-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ + rev="$$subdir $$rev"; \ + test "$$subdir" = "." && dot_seen=yes; \ + done; \ + test "$$dot_seen" = "no" && rev=". $$rev"; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + -rm -rf $(distdir) + GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz + mkdir $(distdir)/=build + mkdir $(distdir)/=inst + dc_install_base=`cd $(distdir)/=inst && pwd`; \ + cd $(distdir)/=build \ + && ../configure --srcdir=.. --prefix=$$dc_install_base \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) dist + -rm -rf $(distdir) + @banner="$(distdir).tar.gz is ready for distribution"; \ + dashes=`echo "$$banner" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + echo "$$dashes" +dist: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +dist-all: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +distdir: $(DISTFILES) + -rm -rf $(distdir) + mkdir $(distdir) + -chmod 777 $(distdir) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done + for subdir in $(SUBDIRS); do \ + if test "$$subdir" = .; then :; else \ + test -d $(distdir)/$$subdir \ + || mkdir $(distdir)/$$subdir \ + || exit 1; \ + chmod 777 $(distdir)/$$subdir; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ + || exit 1; \ + fi; \ + done +info-am: +info: info-recursive +dvi-am: +dvi: dvi-recursive +check-am: all-am +check: check-recursive +installcheck-am: +installcheck: installcheck-recursive +install-exec-am: +install-exec: install-exec-recursive + +install-data-am: +install-data: install-data-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-recursive +uninstall-am: +uninstall: uninstall-recursive +all-am: Makefile all-local +all-redirect: all-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: installdirs-recursive +installdirs-am: + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-tags mostlyclean-generic + +mostlyclean: mostlyclean-recursive + +clean-am: clean-tags clean-generic mostlyclean-am + +clean: clean-recursive + +distclean-am: distclean-tags distclean-generic clean-am + +distclean: distclean-recursive + -rm -f config.status + +maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-recursive + -rm -f config.status + +.PHONY: install-data-recursive uninstall-data-recursive \ +install-exec-recursive uninstall-exec-recursive installdirs-recursive \ +uninstalldirs-recursive all-recursive check-recursive \ +installcheck-recursive info-recursive dvi-recursive \ +mostlyclean-recursive distclean-recursive clean-recursive \ +maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ +distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-local all-redirect all-am all installdirs-am \ +installdirs mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + +$(PREINSTALLDIRS): + @$(mkinstalldirs) $@ + +all-local: $(PREINSTALLDIRS) + +depend-recursive \ +preinstall-recursive \ +debug-recursive \ +profile-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +debug: debug-recursive +.PHONY: debug-recursive + +profile: profile-recursive +.PHONY: profile-recursive + +preinstall: preinstall-recursive +.PHONY: preinstall-recursive + +depend: depend-recursive +.PHONY: depend-recursive + +debug-am: +debug: debug-am +.PHONY: debug debug-am + +profile-am: +profile: profile-am +.PHONY: profile profile-am + +preinstall-am: +preinstall: preinstall-am +.PHONY: preinstall preinstall-am + +depend-am: +depend: depend-am +.PHONY: depend depend-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/c/src/tests/samples/base_mp/Makefile.in b/c/src/tests/samples/base_mp/Makefile.in index 710c3f4d52..601afedf7d 100644 --- a/c/src/tests/samples/base_mp/Makefile.in +++ b/c/src/tests/samples/base_mp/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = samples/base_mp +top_builddir = .. +subdir = base_mp RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/samples/base_mp/node1/Makefile.in b/c/src/tests/samples/base_mp/node1/Makefile.in index fd489d6ce0..9477d76b71 100644 --- a/c/src/tests/samples/base_mp/node1/Makefile.in +++ b/c/src/tests/samples/base_mp/node1/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = samples/base_mp/node1 +top_builddir = ../.. +subdir = base_mp/node1 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -21,7 +21,7 @@ MANAGERS = io mp # C source names, if any, go here -- minus the .c C_PIECES = init apptask -C_FILES = $(C_PIECES:%=%.c) +C_FILES = @HAS_MP_TRUE@$(C_PIECES:%=%.c) C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) H_FILES = system.h @@ -62,9 +62,10 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/samples +#HACK: AM_CONDITIONAL +all: @HAS_MP_TRUE@${ARCH} $(SRCS) $(PGM) +@HAS_MP_TRUE@ @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests +@HAS_MP_TRUE@ @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/samples ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/samples/base_mp/node2/Makefile.in b/c/src/tests/samples/base_mp/node2/Makefile.in index 57297f33cc..48ef02c4af 100644 --- a/c/src/tests/samples/base_mp/node2/Makefile.in +++ b/c/src/tests/samples/base_mp/node2/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = samples/base_mp/node2 +top_builddir = ../.. +subdir = base_mp/node2 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -21,7 +21,7 @@ MANAGERS = io mp # C source names, if any, go here -- minus the .c C_PIECES = init apptask -C_FILES = $(C_PIECES:%=%.c) +C_FILES = @HAS_MP_TRUE@$(C_PIECES:%=%.c) C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) H_FILES = system.h @@ -62,9 +62,9 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/samples +all: @HAS_MP_TRUE@${ARCH} $(SRCS) $(PGM) +@HAS_MP_TRUE@ @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests +@HAS_MP_TRUE@ @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/samples ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/samples/base_sp/Makefile.in b/c/src/tests/samples/base_sp/Makefile.in index 4d01dcc2d6..fb821f4de0 100644 --- a/c/src/tests/samples/base_sp/Makefile.in +++ b/c/src/tests/samples/base_sp/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = samples/base_sp +top_builddir = .. +subdir = base_sp RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -62,8 +62,8 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/samples + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/samples ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/samples/cdtest/Makefile.in b/c/src/tests/samples/cdtest/Makefile.in index 9dd4b05520..71da922768 100644 --- a/c/src/tests/samples/cdtest/Makefile.in +++ b/c/src/tests/samples/cdtest/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = samples/cdtest +top_builddir = .. +subdir = cdtest RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -20,12 +20,12 @@ MANAGERS = all # C source names, if any, go here -- minus the .c C_PIECES = init -C_FILES = $(C_PIECES:%=%.c) +C_FILES = @HAS_CXX_TRUE@$(C_PIECES:%=%.c) C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) # C++ source names, if any, go here -- minus the .cc CC_PIECES = main -CC_FILES = $(CC_PIECES:%=%.cc) +CC_FILES = @HAS_CXX_TRUE@$(CC_PIECES:%=%.cc) CC_O_FILES = $(CC_PIECES:%=${ARCH}/%.o) H_FILES = system.h @@ -67,9 +67,9 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/samples +all: @HAS_CXX_TRUE@ ${ARCH} $(SRCS) $(PGM) +@HAS_CXX_TRUE@ @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests +@HAS_CXX_TRUE@ @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/samples ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/samples/hello/Makefile.in b/c/src/tests/samples/hello/Makefile.in index cc3397e694..73536be20d 100644 --- a/c/src/tests/samples/hello/Makefile.in +++ b/c/src/tests/samples/hello/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = samples/hello +top_builddir = .. +subdir = hello RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -64,8 +64,8 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/samples + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/samples ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/samples/minimum/Makefile.in b/c/src/tests/samples/minimum/Makefile.in index 5b2296091e..d8b9c37834 100644 --- a/c/src/tests/samples/minimum/Makefile.in +++ b/c/src/tests/samples/minimum/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = samples/minimum +top_builddir = .. +subdir = minimum RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/samples/paranoia/Makefile.in b/c/src/tests/samples/paranoia/Makefile.in index 62d72e18c6..b00435434e 100644 --- a/c/src/tests/samples/paranoia/Makefile.in +++ b/c/src/tests/samples/paranoia/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = samples/paranoia +top_builddir = .. +subdir = paranoia RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -66,8 +66,8 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/samples + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/samples ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/samples/ticker/Makefile.in b/c/src/tests/samples/ticker/Makefile.in index 284043aa64..9071219885 100644 --- a/c/src/tests/samples/ticker/Makefile.in +++ b/c/src/tests/samples/ticker/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = samples/ticker +top_builddir = .. +subdir = ticker RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -64,8 +64,8 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/samples + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/samples ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/samples/unlimited/Makefile.in b/c/src/tests/samples/unlimited/Makefile.in index 7f816daaec..8b1a63c95a 100644 --- a/c/src/tests/samples/unlimited/Makefile.in +++ b/c/src/tests/samples/unlimited/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = samples/unlimited +top_builddir = .. +subdir = unlimited RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -64,8 +64,8 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/samples + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/samples ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/sptests/Makefile.in b/c/src/tests/sptests/Makefile.in index d17c062da7..85e2870749 100644 --- a/c/src/tests/sptests/Makefile.in +++ b/c/src/tests/sptests/Makefile.in @@ -1,29 +1,415 @@ +# Makefile.in generated automatically by automake 1.4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + # # $Id$ # -@SET_MAKE@ + + + +SHELL = @SHELL@ + srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = sptests +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include -VPATH = @srcdir@ +DESTDIR = + +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg +top_builddir = . +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_alias = @build_alias@ +build_triplet = @build@ +host_alias = @host_alias@ +host_triplet = @host@ +target_alias = @target_alias@ +target_triplet = @target@ +BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@ +BARE_CPU_MODEL = @BARE_CPU_MODEL@ +CC = @CC@ +CC_CFLAGS_DEBUG_V = @CC_CFLAGS_DEBUG_V@ +CC_CFLAGS_DEFAULT = @CC_CFLAGS_DEFAULT@ +CC_CFLAGS_PROFILE_V = @CC_CFLAGS_PROFILE_V@ +CC_FOR_TARGET = @CC_FOR_TARGET@ +CC_LDFLAGS_PROFILE_V = @CC_LDFLAGS_PROFILE_V@ +CPP = @CPP@ +GCCSED = @GCCSED@ INSTALL_CHANGE = @INSTALL_CHANGE@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +PACKAGE = @PACKAGE@ +PACKHEX = @PACKHEX@ +PROJECT_ROOT = @PROJECT_ROOT@ +RTEMS_BSP = @RTEMS_BSP@ +RTEMS_CPU = @RTEMS_CPU@ +RTEMS_HOST = @RTEMS_HOST@ +RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@ +RTEMS_ROOT = @RTEMS_ROOT@ +RTEMS_TOPdir = @RTEMS_TOPdir@ +RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@ +RTEMS_USE_MACROS = @RTEMS_USE_MACROS@ +VERSION = @VERSION@ -all: README +AUTOMAKE_OPTIONS = foreign 1.4 +ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal -# sp10 is not included for now -SUB_DIRS = sp01 sp02 sp03 sp04 sp05 sp06 sp07 sp08 sp09 sp11 sp12 sp13 sp14 \ - sp15 sp16 sp17 sp19 sp20 sp21 sp22 sp23 sp24 sp25 spsize +project_bspdir = $(PROJECT_ROOT)/@RTEMS_BSP@ -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +PREINSTALLDIRS = $(project_bspdir)/tests/screens/sptests + +# sp10 and spfatal are not included for now +SUBDIRS = . sp01 sp02 sp03 sp04 sp05 sp06 sp07 sp08 sp09 sp11 sp12 sp13 sp14 sp15 sp16 sp17 sp19 sp20 sp21 sp22 sp23 sp24 sp25 spsize + +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs +CONFIG_CLEAN_FILES = +DIST_COMMON = README Makefile.am Makefile.in aclocal.m4 configure \ +configure.in + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = tar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../automake/subdirs.am $(top_srcdir)/../../../../automake/local.am + cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. + +@SET_MAKE@ + +all-recursive install-data-recursive install-exec-recursive \ +installdirs-recursive install-recursive uninstall-recursive \ +check-recursive installcheck-recursive info-recursive dvi-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ + rev="$$subdir $$rev"; \ + test "$$subdir" = "." && dot_seen=yes; \ + done; \ + test "$$dot_seen" = "no" && rev=". $$rev"; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + -rm -rf $(distdir) + GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz + mkdir $(distdir)/=build + mkdir $(distdir)/=inst + dc_install_base=`cd $(distdir)/=inst && pwd`; \ + cd $(distdir)/=build \ + && ../configure --srcdir=.. --prefix=$$dc_install_base \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) dist + -rm -rf $(distdir) + @banner="$(distdir).tar.gz is ready for distribution"; \ + dashes=`echo "$$banner" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + echo "$$dashes" +dist: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +dist-all: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +distdir: $(DISTFILES) + -rm -rf $(distdir) + mkdir $(distdir) + -chmod 777 $(distdir) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done + for subdir in $(SUBDIRS); do \ + if test "$$subdir" = .; then :; else \ + test -d $(distdir)/$$subdir \ + || mkdir $(distdir)/$$subdir \ + || exit 1; \ + chmod 777 $(distdir)/$$subdir; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ + || exit 1; \ + fi; \ + done +info-am: +info: info-recursive +dvi-am: +dvi: dvi-recursive +check-am: all-am +check: check-recursive +installcheck-am: +installcheck: installcheck-recursive +install-exec-am: +install-exec: install-exec-recursive + +install-data-am: +install-data: install-data-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-recursive +uninstall-am: +uninstall: uninstall-recursive +all-am: Makefile all-local +all-redirect: all-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: installdirs-recursive +installdirs-am: + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-tags mostlyclean-generic + +mostlyclean: mostlyclean-recursive + +clean-am: clean-tags clean-generic mostlyclean-am + +clean: clean-recursive + +distclean-am: distclean-tags distclean-generic clean-am + +distclean: distclean-recursive + -rm -f config.status + +maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-recursive + -rm -f config.status + +.PHONY: install-data-recursive uninstall-data-recursive \ +install-exec-recursive uninstall-exec-recursive installdirs-recursive \ +uninstalldirs-recursive all-recursive check-recursive \ +installcheck-recursive info-recursive dvi-recursive \ +mostlyclean-recursive distclean-recursive clean-recursive \ +maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ +distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-local all-redirect all-am all installdirs-am \ +installdirs mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + +$(PREINSTALLDIRS): + @$(mkinstalldirs) $@ + +all-local: $(PREINSTALLDIRS) + +depend-recursive \ +preinstall-recursive \ +debug-recursive \ +profile-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +debug: debug-recursive +.PHONY: debug-recursive + +profile: profile-recursive +.PHONY: profile-recursive + +preinstall: preinstall-recursive +.PHONY: preinstall-recursive + +depend: depend-recursive +.PHONY: depend-recursive + +debug-am: +debug: debug-am +.PHONY: debug debug-am + +profile-am: +profile: profile-am +.PHONY: profile profile-am + +preinstall-am: +preinstall: preinstall-am +.PHONY: preinstall preinstall-am + +depend-am: +depend: depend-am +.PHONY: depend depend-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/c/src/tests/sptests/sp01/Makefile.in b/c/src/tests/sptests/sp01/Makefile.in index e04226b272..38c68c68d6 100644 --- a/c/src/tests/sptests/sp01/Makefile.in +++ b/c/src/tests/sptests/sp01/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp01 +top_builddir = .. +subdir = sp01 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp02/Makefile.in b/c/src/tests/sptests/sp02/Makefile.in index 63fb0d067e..a6d9e1fabe 100644 --- a/c/src/tests/sptests/sp02/Makefile.in +++ b/c/src/tests/sptests/sp02/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp02 +top_builddir = .. +subdir = sp02 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp03/Makefile.in b/c/src/tests/sptests/sp03/Makefile.in index 6fcc0a44f1..a62b58ed8b 100644 --- a/c/src/tests/sptests/sp03/Makefile.in +++ b/c/src/tests/sptests/sp03/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp03 +top_builddir = .. +subdir = sp03 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp04/Makefile.in b/c/src/tests/sptests/sp04/Makefile.in index 71f83ba9cf..70a3c5f575 100644 --- a/c/src/tests/sptests/sp04/Makefile.in +++ b/c/src/tests/sptests/sp04/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp04 +top_builddir = .. +subdir = sp04 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp05/Makefile.in b/c/src/tests/sptests/sp05/Makefile.in index 12afa8bc5e..e8a6f2420b 100644 --- a/c/src/tests/sptests/sp05/Makefile.in +++ b/c/src/tests/sptests/sp05/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp05 +top_builddir = .. +subdir = sp05 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp06/Makefile.in b/c/src/tests/sptests/sp06/Makefile.in index c3f348459c..7f2b48b47f 100644 --- a/c/src/tests/sptests/sp06/Makefile.in +++ b/c/src/tests/sptests/sp06/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp06 +top_builddir = .. +subdir = sp06 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp07/Makefile.in b/c/src/tests/sptests/sp07/Makefile.in index 6e9588fb18..b6d1d34691 100644 --- a/c/src/tests/sptests/sp07/Makefile.in +++ b/c/src/tests/sptests/sp07/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp07 +top_builddir = .. +subdir = sp07 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp08/Makefile.in b/c/src/tests/sptests/sp08/Makefile.in index 81bcc9cc19..2358ecc183 100644 --- a/c/src/tests/sptests/sp08/Makefile.in +++ b/c/src/tests/sptests/sp08/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp08 +top_builddir = .. +subdir = sp08 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp09/Makefile.in b/c/src/tests/sptests/sp09/Makefile.in index 207a454e73..49c29b7f3d 100644 --- a/c/src/tests/sptests/sp09/Makefile.in +++ b/c/src/tests/sptests/sp09/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp09 +top_builddir = .. +subdir = sp09 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp11/Makefile.in b/c/src/tests/sptests/sp11/Makefile.in index 77cc4f1636..0172fe73f1 100644 --- a/c/src/tests/sptests/sp11/Makefile.in +++ b/c/src/tests/sptests/sp11/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp11 +top_builddir = .. +subdir = sp11 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp12/Makefile.in b/c/src/tests/sptests/sp12/Makefile.in index 68ac62db9d..aa18a3bb65 100644 --- a/c/src/tests/sptests/sp12/Makefile.in +++ b/c/src/tests/sptests/sp12/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp12 +top_builddir = .. +subdir = sp12 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp13/Makefile.in b/c/src/tests/sptests/sp13/Makefile.in index 2a68e742ee..a8a81f5860 100644 --- a/c/src/tests/sptests/sp13/Makefile.in +++ b/c/src/tests/sptests/sp13/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp13 +top_builddir = .. +subdir = sp13 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp14/Makefile.in b/c/src/tests/sptests/sp14/Makefile.in index a70f34e859..bfa7e595a7 100644 --- a/c/src/tests/sptests/sp14/Makefile.in +++ b/c/src/tests/sptests/sp14/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp14 +top_builddir = .. +subdir = sp14 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp15/Makefile.in b/c/src/tests/sptests/sp15/Makefile.in index 22965b273d..9a570730ec 100644 --- a/c/src/tests/sptests/sp15/Makefile.in +++ b/c/src/tests/sptests/sp15/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp15 +top_builddir = .. +subdir = sp15 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp16/Makefile.in b/c/src/tests/sptests/sp16/Makefile.in index ebdf10cde8..d5b63a5c3b 100644 --- a/c/src/tests/sptests/sp16/Makefile.in +++ b/c/src/tests/sptests/sp16/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp16 +top_builddir = .. +subdir = sp16 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp17/Makefile.in b/c/src/tests/sptests/sp17/Makefile.in index 46958568bd..699bf03e9c 100644 --- a/c/src/tests/sptests/sp17/Makefile.in +++ b/c/src/tests/sptests/sp17/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp17 +top_builddir = .. +subdir = sp17 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp19/Makefile.in b/c/src/tests/sptests/sp19/Makefile.in index 69cb3ad98a..8f406e1070 100644 --- a/c/src/tests/sptests/sp19/Makefile.in +++ b/c/src/tests/sptests/sp19/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp19 +top_builddir = .. +subdir = sp19 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp20/Makefile.in b/c/src/tests/sptests/sp20/Makefile.in index 033c953fe4..511b91e727 100644 --- a/c/src/tests/sptests/sp20/Makefile.in +++ b/c/src/tests/sptests/sp20/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp20 +top_builddir = .. +subdir = sp20 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp21/Makefile.in b/c/src/tests/sptests/sp21/Makefile.in index 45b8772931..27a3c5be8b 100644 --- a/c/src/tests/sptests/sp21/Makefile.in +++ b/c/src/tests/sptests/sp21/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp21 +top_builddir = .. +subdir = sp21 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -55,7 +55,7 @@ CPPFLAGS += CFLAGS += LD_PATHS += -LD_LIBS += +LD_LIBS += $(PROJECT_RELEASE)/lib/libtest$(LIBSUFFIX_VA) LDFLAGS += # diff --git a/c/src/tests/sptests/sp22/Makefile.in b/c/src/tests/sptests/sp22/Makefile.in index 64d3414708..baf20f4805 100644 --- a/c/src/tests/sptests/sp22/Makefile.in +++ b/c/src/tests/sptests/sp22/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp22 +top_builddir = .. +subdir = sp22 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp23/Makefile.in b/c/src/tests/sptests/sp23/Makefile.in index 8439c2d5c4..faebc1dba9 100644 --- a/c/src/tests/sptests/sp23/Makefile.in +++ b/c/src/tests/sptests/sp23/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp23 +top_builddir = .. +subdir = sp23 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp24/Makefile.in b/c/src/tests/sptests/sp24/Makefile.in index 8c2a81316f..b4363a84e2 100644 --- a/c/src/tests/sptests/sp24/Makefile.in +++ b/c/src/tests/sptests/sp24/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp24 +top_builddir = .. +subdir = sp24 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/sp25/Makefile.in b/c/src/tests/sptests/sp25/Makefile.in index af4fa8036e..6ed67efd27 100644 --- a/c/src/tests/sptests/sp25/Makefile.in +++ b/c/src/tests/sptests/sp25/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/sp25 +top_builddir = .. +subdir = sp25 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/spfatal/Makefile.in b/c/src/tests/sptests/spfatal/Makefile.in index a0bf9ab062..76afbdffa2 100644 --- a/c/src/tests/sptests/spfatal/Makefile.in +++ b/c/src/tests/sptests/spfatal/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/spfatal +top_builddir = .. +subdir = spfatal RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/sptests/spsize/Makefile.in b/c/src/tests/sptests/spsize/Makefile.in index dcd352f1cd..7a5aca9aff 100644 --- a/c/src/tests/sptests/spsize/Makefile.in +++ b/c/src/tests/sptests/spsize/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = sptests/spsize +top_builddir = .. +subdir = spsize RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/support/Makefile.in b/c/src/tests/support/Makefile.in index e72f7e1337..55144dec24 100644 --- a/c/src/tests/support/Makefile.in +++ b/c/src/tests/support/Makefile.in @@ -1,25 +1,399 @@ +# Makefile.in generated automatically by automake 1.4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + # -# $Id$ +# $Id$ # -@SET_MAKE@ + + + +SHELL = @SHELL@ + srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = support +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include -VPATH = @srcdir@ +DESTDIR = -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = . + +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_alias = @build_alias@ +build_triplet = @build@ +host_alias = @host_alias@ +host_triplet = @host@ +target_alias = @target_alias@ +target_triplet = @target@ +BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@ +BARE_CPU_MODEL = @BARE_CPU_MODEL@ +CC = @CC@ +CC_FOR_TARGET = @CC_FOR_TARGET@ +CPP = @CPP@ +GCCSED = @GCCSED@ +HAS_MP = @HAS_MP@ +HAS_POSIX_API = @HAS_POSIX_API@ INSTALL_CHANGE = @INSTALL_CHANGE@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +PACKAGE = @PACKAGE@ +PACKHEX = @PACKHEX@ +PROJECT_ROOT = @PROJECT_ROOT@ +RTEMS_BSP = @RTEMS_BSP@ +RTEMS_CPU = @RTEMS_CPU@ +RTEMS_HOST = @RTEMS_HOST@ +RTEMS_ROOT = @RTEMS_ROOT@ +RTEMS_TOPdir = @RTEMS_TOPdir@ +VERSION = @VERSION@ + +AUTOMAKE_OPTIONS = foreign 1.4 +ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal + +SUBDIRS = include stubdr wrapup +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs +CONFIG_CLEAN_FILES = +DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in + -SUB_DIRS = include stubdr wrapup +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +TAR = tar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../automake/subdirs.am $(top_srcdir)/../../../../automake/local.am + cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. + +@SET_MAKE@ + +all-recursive install-data-recursive install-exec-recursive \ +installdirs-recursive install-recursive uninstall-recursive \ +check-recursive installcheck-recursive info-recursive dvi-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ + rev="$$subdir $$rev"; \ + test "$$subdir" = "." && dot_seen=yes; \ + done; \ + test "$$dot_seen" = "no" && rev=". $$rev"; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + -rm -rf $(distdir) + GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz + mkdir $(distdir)/=build + mkdir $(distdir)/=inst + dc_install_base=`cd $(distdir)/=inst && pwd`; \ + cd $(distdir)/=build \ + && ../configure --srcdir=.. --prefix=$$dc_install_base \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) dist + -rm -rf $(distdir) + @banner="$(distdir).tar.gz is ready for distribution"; \ + dashes=`echo "$$banner" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + echo "$$dashes" +dist: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +dist-all: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +distdir: $(DISTFILES) + -rm -rf $(distdir) + mkdir $(distdir) + -chmod 777 $(distdir) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done + for subdir in $(SUBDIRS); do \ + if test "$$subdir" = .; then :; else \ + test -d $(distdir)/$$subdir \ + || mkdir $(distdir)/$$subdir \ + || exit 1; \ + chmod 777 $(distdir)/$$subdir; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ + || exit 1; \ + fi; \ + done +info-am: +info: info-recursive +dvi-am: +dvi: dvi-recursive +check-am: all-am +check: check-recursive +installcheck-am: +installcheck: installcheck-recursive +install-exec-am: +install-exec: install-exec-recursive + +install-data-am: +install-data: install-data-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-recursive +uninstall-am: +uninstall: uninstall-recursive +all-am: Makefile +all-redirect: all-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: installdirs-recursive +installdirs-am: + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-tags mostlyclean-generic + +mostlyclean: mostlyclean-recursive + +clean-am: clean-tags clean-generic mostlyclean-am + +clean: clean-recursive + +distclean-am: distclean-tags distclean-generic clean-am + +distclean: distclean-recursive + -rm -f config.status + +maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-recursive + -rm -f config.status + +.PHONY: install-data-recursive uninstall-data-recursive \ +install-exec-recursive uninstall-exec-recursive installdirs-recursive \ +uninstalldirs-recursive all-recursive check-recursive \ +installcheck-recursive info-recursive dvi-recursive \ +mostlyclean-recursive distclean-recursive clean-recursive \ +maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ +distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-redirect all-am all installdirs-am \ +installdirs mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +depend-recursive \ +preinstall-recursive \ +debug-recursive \ +profile-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +debug: debug-recursive +.PHONY: debug-recursive + +profile: profile-recursive +.PHONY: profile-recursive + +preinstall: preinstall-recursive +.PHONY: preinstall-recursive + +depend: depend-recursive +.PHONY: depend-recursive + +debug-am: +debug: debug-am +.PHONY: debug debug-am + +profile-am: +profile: profile-am +.PHONY: profile profile-am + +preinstall-am: +preinstall: preinstall-am +.PHONY: preinstall preinstall-am + +depend-am: +depend: depend-am +.PHONY: depend depend-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/c/src/tests/support/include/Makefile.in b/c/src/tests/support/include/Makefile.in index 2c69332a93..a07d291210 100644 --- a/c/src/tests/support/include/Makefile.in +++ b/c/src/tests/support/include/Makefile.in @@ -1,42 +1,267 @@ +# Makefile.in generated automatically by automake 1.4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + # # $Id$ # -@SET_MAKE@ + + +SHELL = @SHELL@ + srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = support/include +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include -VPATH = @srcdir@ +DESTDIR = -H_FILES = $(srcdir)/tmacros.h +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ -SYS_H_FILES = +top_builddir = .. -SRCS = $(H_FILES) $(SYS_H_FILES) +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +transform = @program_transform_name@ +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_alias = @build_alias@ +build_triplet = @build@ +host_alias = @host_alias@ +host_triplet = @host@ +target_alias = @target_alias@ +target_triplet = @target@ +BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@ +BARE_CPU_MODEL = @BARE_CPU_MODEL@ +CC = @CC@ +CC_FOR_TARGET = @CC_FOR_TARGET@ +CPP = @CPP@ +GCCSED = @GCCSED@ +HAS_MP = @HAS_MP@ +HAS_POSIX_API = @HAS_POSIX_API@ INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +PACKAGE = @PACKAGE@ +PACKHEX = @PACKHEX@ +PROJECT_ROOT = @PROJECT_ROOT@ +RTEMS_BSP = @RTEMS_BSP@ +RTEMS_CPU = @RTEMS_CPU@ +RTEMS_HOST = @RTEMS_HOST@ +RTEMS_ROOT = @RTEMS_ROOT@ +RTEMS_TOPdir = @RTEMS_TOPdir@ +VERSION = @VERSION@ + +AUTOMAKE_OPTIONS = foreign 1.4 + +project_bspdir = $(PROJECT_ROOT)/@RTEMS_BSP@ -INSTALLDIRS = $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/sys +noinst_HEADERS = tmacros.h -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) +TMPINSTALLDIRS = $(project_bspdir)/lib/include -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += +TMPINSTALLFILES = $(project_bspdir)/lib/include/tmacros.h -all: $(SRCS) - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE) - @$(INSTALL_CHANGE) -m 644 $(SYS_H_FILES) $(PROJECT_INCLUDE)/sys +CLEANFILES = $(TMPINSTALLFILES) +mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs +CONFIG_CLEAN_FILES = +HEADERS = $(noinst_HEADERS) -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +DIST_COMMON = Makefile.am Makefile.in + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = tar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../automake/local.am + cd $(top_srcdir) && $(AUTOMAKE) --foreign include/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) + +subdir = include + +distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign include/Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: +install-exec: install-exec-am + +install-data-am: +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: +uninstall: uninstall-am +all-am: Makefile $(HEADERS) +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: + + +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-tags mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-tags clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-tags distclean-generic clean-am + +distclean: distclean-am + +maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + +.PHONY: tags mostlyclean-tags distclean-tags clean-tags \ +maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \ +installcheck-am installcheck install-exec-am install-exec \ +install-data-am install-data install-am install uninstall-am uninstall \ +all-redirect all-am all installdirs mostlyclean-generic \ +distclean-generic clean-generic maintainer-clean-generic clean \ +mostlyclean distclean maintainer-clean + + +$(TMPINSTALLDIRS): + $(mkinstalldirs) $@ + +$(project_bspdir)/lib/include/tmacros.h: tmacros.h + $(INSTALL_DATA) $< $@ + +install-tmp: $(TMPINSTALLFILES) + +all: install-tmp +debug: install-tmp +profile: install-tmp + +debug-am: +debug: debug-am +.PHONY: debug debug-am + +profile-am: +profile: profile-am +.PHONY: profile profile-am + +preinstall-am: +preinstall: preinstall-am +.PHONY: preinstall preinstall-am + +depend-am: +depend: depend-am +.PHONY: depend depend-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/c/src/tests/support/stubdr/Makefile.in b/c/src/tests/support/stubdr/Makefile.in index aa4202016c..6fb632948a 100644 --- a/c/src/tests/support/stubdr/Makefile.in +++ b/c/src/tests/support/stubdr/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = support/stubdr +top_builddir = .. +subdir = stubdr RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/support/wrapup/Makefile.in b/c/src/tests/support/wrapup/Makefile.in index c9e04cbc1c..142fac2dca 100644 --- a/c/src/tests/support/wrapup/Makefile.in +++ b/c/src/tests/support/wrapup/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = support/wrapup +top_builddir = .. +subdir = wrapup RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/tests/tmtests/Makefile.in b/c/src/tests/tmtests/Makefile.in index f8cbfe21fb..365f001ba1 100644 --- a/c/src/tests/tmtests/Makefile.in +++ b/c/src/tests/tmtests/Makefile.in @@ -1,29 +1,406 @@ +# Makefile.in generated automatically by automake 1.4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + # # $Id$ # -@SET_MAKE@ + + + +SHELL = @SHELL@ + srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = tmtests +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include -VPATH = @srcdir@ +DESTDIR = -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = . + +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_alias = @build_alias@ +build_triplet = @build@ +host_alias = @host_alias@ +host_triplet = @host@ +target_alias = @target_alias@ +target_triplet = @target@ +BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@ +BARE_CPU_MODEL = @BARE_CPU_MODEL@ +CC = @CC@ +CC_CFLAGS_DEBUG_V = @CC_CFLAGS_DEBUG_V@ +CC_CFLAGS_DEFAULT = @CC_CFLAGS_DEFAULT@ +CC_CFLAGS_PROFILE_V = @CC_CFLAGS_PROFILE_V@ +CC_FOR_TARGET = @CC_FOR_TARGET@ +CC_LDFLAGS_PROFILE_V = @CC_LDFLAGS_PROFILE_V@ +CPP = @CPP@ +GCCSED = @GCCSED@ INSTALL_CHANGE = @INSTALL_CHANGE@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +PACKAGE = @PACKAGE@ +PACKHEX = @PACKHEX@ +PROJECT_ROOT = @PROJECT_ROOT@ +RTEMS_BSP = @RTEMS_BSP@ +RTEMS_CPU = @RTEMS_CPU@ +RTEMS_HOST = @RTEMS_HOST@ +RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@ +RTEMS_ROOT = @RTEMS_ROOT@ +RTEMS_TOPdir = @RTEMS_TOPdir@ +RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@ +RTEMS_USE_MACROS = @RTEMS_USE_MACROS@ +VERSION = @VERSION@ + +AUTOMAKE_OPTIONS = foreign 1.4 +ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal + +SUBDIRS = include tmck tmoverhd tm01 tm02 tm03 tm04 tm05 tm06 tm07 tm08 tm09 tm10 tm11 tm12 tm13 tm14 tm15 tm16 tm17 tm18 tm19 tm20 tm21 tm22 tm23 tm24 tm25 tm26 tm27 tm28 tm29 + +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs +CONFIG_CLEAN_FILES = +DIST_COMMON = README Makefile.am Makefile.in aclocal.m4 configure \ +configure.in -all: README -SUB_DIRS = include tmck tmoverhd tm01 tm02 tm03 tm04 tm05 tm06 tm07 tm08 \ - tm09 tm10 tm11 tm12 tm13 tm14 tm15 tm16 tm17 tm18 tm19 tm20 tm21 tm22 \ - tm23 tm24 tm25 tm26 tm27 tm28 tm29 +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +TAR = tar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../automake/subdirs.am $(top_srcdir)/../../../../automake/local.am + cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. + +@SET_MAKE@ + +all-recursive install-data-recursive install-exec-recursive \ +installdirs-recursive install-recursive uninstall-recursive \ +check-recursive installcheck-recursive info-recursive dvi-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ + rev="$$subdir $$rev"; \ + test "$$subdir" = "." && dot_seen=yes; \ + done; \ + test "$$dot_seen" = "no" && rev=". $$rev"; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + -rm -rf $(distdir) + GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz + mkdir $(distdir)/=build + mkdir $(distdir)/=inst + dc_install_base=`cd $(distdir)/=inst && pwd`; \ + cd $(distdir)/=build \ + && ../configure --srcdir=.. --prefix=$$dc_install_base \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) dist + -rm -rf $(distdir) + @banner="$(distdir).tar.gz is ready for distribution"; \ + dashes=`echo "$$banner" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + echo "$$dashes" +dist: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +dist-all: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +distdir: $(DISTFILES) + -rm -rf $(distdir) + mkdir $(distdir) + -chmod 777 $(distdir) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done + for subdir in $(SUBDIRS); do \ + if test "$$subdir" = .; then :; else \ + test -d $(distdir)/$$subdir \ + || mkdir $(distdir)/$$subdir \ + || exit 1; \ + chmod 777 $(distdir)/$$subdir; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ + || exit 1; \ + fi; \ + done +info-am: +info: info-recursive +dvi-am: +dvi: dvi-recursive +check-am: all-am +check: check-recursive +installcheck-am: +installcheck: installcheck-recursive +install-exec-am: +install-exec: install-exec-recursive + +install-data-am: +install-data: install-data-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-recursive +uninstall-am: +uninstall: uninstall-recursive +all-am: Makefile +all-redirect: all-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: installdirs-recursive +installdirs-am: + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-tags mostlyclean-generic + +mostlyclean: mostlyclean-recursive + +clean-am: clean-tags clean-generic mostlyclean-am + +clean: clean-recursive + +distclean-am: distclean-tags distclean-generic clean-am + +distclean: distclean-recursive + -rm -f config.status + +maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-recursive + -rm -f config.status + +.PHONY: install-data-recursive uninstall-data-recursive \ +install-exec-recursive uninstall-exec-recursive installdirs-recursive \ +uninstalldirs-recursive all-recursive check-recursive \ +installcheck-recursive info-recursive dvi-recursive \ +mostlyclean-recursive distclean-recursive clean-recursive \ +maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ +distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-redirect all-am all installdirs-am \ +installdirs mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +depend-recursive \ +preinstall-recursive \ +debug-recursive \ +profile-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +debug: debug-recursive +.PHONY: debug-recursive + +profile: profile-recursive +.PHONY: profile-recursive + +preinstall: preinstall-recursive +.PHONY: preinstall-recursive + +depend: depend-recursive +.PHONY: depend-recursive + +debug-am: +debug: debug-am +.PHONY: debug debug-am + +profile-am: +profile: profile-am +.PHONY: profile profile-am + +preinstall-am: +preinstall: preinstall-am +.PHONY: preinstall preinstall-am + +depend-am: +depend: depend-am +.PHONY: depend depend-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/c/src/tests/tmtests/include/Makefile.in b/c/src/tests/tmtests/include/Makefile.in index 4c6c51b9aa..a6932b72be 100644 --- a/c/src/tests/tmtests/include/Makefile.in +++ b/c/src/tests/tmtests/include/Makefile.in @@ -1,42 +1,251 @@ +# Makefile.in generated automatically by automake 1.4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + # # $Id$ # -@SET_MAKE@ + + +SHELL = @SHELL@ + srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/include +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include -VPATH = @srcdir@ +DESTDIR = -H_FILES = $(srcdir)/timesys.h +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ -SYS_H_FILES = +top_builddir = .. -SRCS = $(H_FILES) $(SYS_H_FILES) +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +transform = @program_transform_name@ +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_alias = @build_alias@ +build_triplet = @build@ +host_alias = @host_alias@ +host_triplet = @host@ +target_alias = @target_alias@ +target_triplet = @target@ +BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@ +BARE_CPU_MODEL = @BARE_CPU_MODEL@ +CC = @CC@ +CC_CFLAGS_DEBUG_V = @CC_CFLAGS_DEBUG_V@ +CC_CFLAGS_DEFAULT = @CC_CFLAGS_DEFAULT@ +CC_CFLAGS_PROFILE_V = @CC_CFLAGS_PROFILE_V@ +CC_FOR_TARGET = @CC_FOR_TARGET@ +CC_LDFLAGS_PROFILE_V = @CC_LDFLAGS_PROFILE_V@ +CPP = @CPP@ +GCCSED = @GCCSED@ INSTALL_CHANGE = @INSTALL_CHANGE@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +PACKAGE = @PACKAGE@ +PACKHEX = @PACKHEX@ +PROJECT_ROOT = @PROJECT_ROOT@ +RTEMS_BSP = @RTEMS_BSP@ +RTEMS_CPU = @RTEMS_CPU@ +RTEMS_HOST = @RTEMS_HOST@ +RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@ +RTEMS_ROOT = @RTEMS_ROOT@ +RTEMS_TOPdir = @RTEMS_TOPdir@ +RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@ +RTEMS_USE_MACROS = @RTEMS_USE_MACROS@ +VERSION = @VERSION@ -INSTALLDIRS = $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/sys +AUTOMAKE_OPTIONS = foreign 1.4 -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) +noinst_HEADERS = timesys.h +mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs +CONFIG_CLEAN_FILES = +HEADERS = $(noinst_HEADERS) -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += +DIST_COMMON = Makefile.am Makefile.in -all: $(SRCS) - @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE) - @$(INSTALL_CHANGE) -m 644 $(SYS_H_FILES) $(PROJECT_INCLUDE)/sys -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = tar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../automake/local.am + cd $(top_srcdir) && $(AUTOMAKE) --foreign include/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) + +subdir = include + +distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign include/Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: +install-exec: install-exec-am + +install-data-am: +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: +uninstall: uninstall-am +all-am: Makefile $(HEADERS) +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-tags mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-tags clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-tags distclean-generic clean-am + +distclean: distclean-am + +maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + +.PHONY: tags mostlyclean-tags distclean-tags clean-tags \ +maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \ +installcheck-am installcheck install-exec-am install-exec \ +install-data-am install-data install-am install uninstall-am uninstall \ +all-redirect all-am all installdirs mostlyclean-generic \ +distclean-generic clean-generic maintainer-clean-generic clean \ +mostlyclean distclean maintainer-clean + + +debug-am: +debug: debug-am +.PHONY: debug debug-am + +profile-am: +profile: profile-am +.PHONY: profile profile-am + +preinstall-am: +preinstall: preinstall-am +.PHONY: preinstall preinstall-am + +depend-am: +depend: depend-am +.PHONY: depend depend-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/c/src/tests/tmtests/tm01/Makefile.in b/c/src/tests/tmtests/tm01/Makefile.in index 2964f098b8..49ab921ea6 100644 --- a/c/src/tests/tmtests/tm01/Makefile.in +++ b/c/src/tests/tmtests/tm01/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm01 +top_builddir = .. +subdir = tm01 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm02/Makefile.in b/c/src/tests/tmtests/tm02/Makefile.in index 868a10389e..a400a70a07 100644 --- a/c/src/tests/tmtests/tm02/Makefile.in +++ b/c/src/tests/tmtests/tm02/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm02 +top_builddir = .. +subdir = tm02 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm03/Makefile.in b/c/src/tests/tmtests/tm03/Makefile.in index 719c0f8993..ed6426d3ff 100644 --- a/c/src/tests/tmtests/tm03/Makefile.in +++ b/c/src/tests/tmtests/tm03/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm03 +top_builddir = .. +subdir = tm03 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm04/Makefile.in b/c/src/tests/tmtests/tm04/Makefile.in index 206ec74e60..05b5f3f776 100644 --- a/c/src/tests/tmtests/tm04/Makefile.in +++ b/c/src/tests/tmtests/tm04/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm04 +top_builddir = .. +subdir = tm04 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm05/Makefile.in b/c/src/tests/tmtests/tm05/Makefile.in index 786e4ed540..0d65ed930d 100644 --- a/c/src/tests/tmtests/tm05/Makefile.in +++ b/c/src/tests/tmtests/tm05/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm05 +top_builddir = .. +subdir = tm05 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm06/Makefile.in b/c/src/tests/tmtests/tm06/Makefile.in index 39ef6cb14e..76ebd502f3 100644 --- a/c/src/tests/tmtests/tm06/Makefile.in +++ b/c/src/tests/tmtests/tm06/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm06 +top_builddir = .. +subdir = tm06 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm07/Makefile.in b/c/src/tests/tmtests/tm07/Makefile.in index 03ec6487d8..ddd37cd9ea 100644 --- a/c/src/tests/tmtests/tm07/Makefile.in +++ b/c/src/tests/tmtests/tm07/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm07 +top_builddir = .. +subdir = tm07 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm08/Makefile.in b/c/src/tests/tmtests/tm08/Makefile.in index 56ea332c2b..b4b07f5d22 100644 --- a/c/src/tests/tmtests/tm08/Makefile.in +++ b/c/src/tests/tmtests/tm08/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm08 +top_builddir = .. +subdir = tm08 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm09/Makefile.in b/c/src/tests/tmtests/tm09/Makefile.in index 0831dc4052..5c0df5cf2e 100644 --- a/c/src/tests/tmtests/tm09/Makefile.in +++ b/c/src/tests/tmtests/tm09/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm09 +top_builddir = .. +subdir = tm09 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm10/Makefile.in b/c/src/tests/tmtests/tm10/Makefile.in index 6434f3f2a8..16beda922f 100644 --- a/c/src/tests/tmtests/tm10/Makefile.in +++ b/c/src/tests/tmtests/tm10/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm10 +top_builddir = .. +subdir = tm10 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm11/Makefile.in b/c/src/tests/tmtests/tm11/Makefile.in index 75e21e1ae4..026231d1cb 100644 --- a/c/src/tests/tmtests/tm11/Makefile.in +++ b/c/src/tests/tmtests/tm11/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm11 +top_builddir = .. +subdir = tm11 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm12/Makefile.in b/c/src/tests/tmtests/tm12/Makefile.in index 11258ff426..9680f20a9b 100644 --- a/c/src/tests/tmtests/tm12/Makefile.in +++ b/c/src/tests/tmtests/tm12/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm12 +top_builddir = .. +subdir = tm12 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm13/Makefile.in b/c/src/tests/tmtests/tm13/Makefile.in index d8ffeb83ff..9b0f478a72 100644 --- a/c/src/tests/tmtests/tm13/Makefile.in +++ b/c/src/tests/tmtests/tm13/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm13 +top_builddir = .. +subdir = tm13 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += diff --git a/c/src/tests/tmtests/tm14/Makefile.in b/c/src/tests/tmtests/tm14/Makefile.in index 086f207f87..c4dc7f8dce 100644 --- a/c/src/tests/tmtests/tm14/Makefile.in +++ b/c/src/tests/tmtests/tm14/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm14 +top_builddir = .. +subdir = tm14 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm15/Makefile.in b/c/src/tests/tmtests/tm15/Makefile.in index 6828d7f9d9..5348ca98ef 100644 --- a/c/src/tests/tmtests/tm15/Makefile.in +++ b/c/src/tests/tmtests/tm15/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm15 +top_builddir = .. +subdir = tm15 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm16/Makefile.in b/c/src/tests/tmtests/tm16/Makefile.in index 6d779d984e..a2339ff234 100644 --- a/c/src/tests/tmtests/tm16/Makefile.in +++ b/c/src/tests/tmtests/tm16/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm16 +top_builddir = .. +subdir = tm16 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm17/Makefile.in b/c/src/tests/tmtests/tm17/Makefile.in index 5139ea4ea9..a929059363 100644 --- a/c/src/tests/tmtests/tm17/Makefile.in +++ b/c/src/tests/tmtests/tm17/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm17 +top_builddir = .. +subdir = tm17 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm18/Makefile.in b/c/src/tests/tmtests/tm18/Makefile.in index 4bcc2f9f00..ba5e34683f 100644 --- a/c/src/tests/tmtests/tm18/Makefile.in +++ b/c/src/tests/tmtests/tm18/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm18 +top_builddir = .. +subdir = tm18 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm19/Makefile.in b/c/src/tests/tmtests/tm19/Makefile.in index 4e89841e42..fbaa2f5820 100644 --- a/c/src/tests/tmtests/tm19/Makefile.in +++ b/c/src/tests/tmtests/tm19/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm19 +top_builddir = .. +subdir = tm19 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm20/Makefile.in b/c/src/tests/tmtests/tm20/Makefile.in index 0869ecd550..98b35bc665 100644 --- a/c/src/tests/tmtests/tm20/Makefile.in +++ b/c/src/tests/tmtests/tm20/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm20 +top_builddir = .. +subdir = tm20 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,11 +45,11 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += -LD_LIBS += +LD_LIBS += $(PROJECT_RELEASE)/lib/libtest$(LIBSUFFIX_VA) LDFLAGS += # @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm21/Makefile.in b/c/src/tests/tmtests/tm21/Makefile.in index 61fc99d57f..1b1a353611 100644 --- a/c/src/tests/tmtests/tm21/Makefile.in +++ b/c/src/tests/tmtests/tm21/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm21 +top_builddir = .. +subdir = tm21 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm22/Makefile.in b/c/src/tests/tmtests/tm22/Makefile.in index da41ab89f6..14abb7154f 100644 --- a/c/src/tests/tmtests/tm22/Makefile.in +++ b/c/src/tests/tmtests/tm22/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm22 +top_builddir = .. +subdir = tm22 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm23/Makefile.in b/c/src/tests/tmtests/tm23/Makefile.in index 0556ed5ead..c8af01b913 100644 --- a/c/src/tests/tmtests/tm23/Makefile.in +++ b/c/src/tests/tmtests/tm23/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm23 +top_builddir = .. +subdir = tm23 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm24/Makefile.in b/c/src/tests/tmtests/tm24/Makefile.in index b3b7dbbfcb..b6ec1af485 100644 --- a/c/src/tests/tmtests/tm24/Makefile.in +++ b/c/src/tests/tmtests/tm24/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm24 +top_builddir = .. +subdir = tm24 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm25/Makefile.in b/c/src/tests/tmtests/tm25/Makefile.in index 3a493c07db..f254d75e7b 100644 --- a/c/src/tests/tmtests/tm25/Makefile.in +++ b/c/src/tests/tmtests/tm25/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm25 +top_builddir = .. +subdir = tm25 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm26/Makefile.in b/c/src/tests/tmtests/tm26/Makefile.in index 4963b66592..d59c5265e5 100644 --- a/c/src/tests/tmtests/tm26/Makefile.in +++ b/c/src/tests/tmtests/tm26/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm26 +top_builddir = .. +subdir = tm26 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm27/Makefile.in b/c/src/tests/tmtests/tm27/Makefile.in index bfd36aee53..05392f7003 100644 --- a/c/src/tests/tmtests/tm27/Makefile.in +++ b/c/src/tests/tmtests/tm27/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm27 +top_builddir = .. +subdir = tm27 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include # since we essentially are building an interrupt handler, must use CFLAGS_OS_V @@ -66,7 +66,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm28/Makefile.in b/c/src/tests/tmtests/tm28/Makefile.in index df35b2f8d9..6e858b22ae 100644 --- a/c/src/tests/tmtests/tm28/Makefile.in +++ b/c/src/tests/tmtests/tm28/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm28 +top_builddir = .. +subdir = tm28 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tm29/Makefile.in b/c/src/tests/tmtests/tm29/Makefile.in index 6c50dbe331..c0f0f551fd 100644 --- a/c/src/tests/tmtests/tm29/Makefile.in +++ b/c/src/tests/tmtests/tm29/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tm29 +top_builddir = .. +subdir = tm29 RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tmck/Makefile.in b/c/src/tests/tmtests/tmck/Makefile.in index 1d84f21f97..40e7539ff1 100644 --- a/c/src/tests/tmtests/tmck/Makefile.in +++ b/c/src/tests/tmtests/tmck/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tmck +top_builddir = .. +subdir = tmck RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += @@ -63,7 +63,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests + @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests ${PGM}: $(OBJS) $(LINK_FILES) $(make-exe) diff --git a/c/src/tests/tmtests/tmoverhd/Makefile.in b/c/src/tests/tmtests/tmoverhd/Makefile.in index 71fbdd23f5..2e198e95fc 100644 --- a/c/src/tests/tmtests/tmoverhd/Makefile.in +++ b/c/src/tests/tmtests/tmoverhd/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = tmtests/tmoverhd +top_builddir = .. +subdir = tmoverhd RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -45,7 +45,7 @@ PACKHEX = @PACKHEX@ # DEFINES += -CPPFLAGS += +CPPFLAGS += -I$(srcdir)/../include CFLAGS += LD_PATHS += diff --git a/c/src/tests/tools/Makefile.in b/c/src/tests/tools/Makefile.in index fe58f49bd2..71b2dd5d82 100644 --- a/c/src/tests/tools/Makefile.in +++ b/c/src/tests/tools/Makefile.in @@ -1,25 +1,396 @@ +# Makefile.in generated automatically by automake 1.4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + # -# $Id$ +# $Id$ # -@SET_MAKE@ + + + +SHELL = @SHELL@ + srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = tools +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include -VPATH = @srcdir@ +DESTDIR = -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/directory.cfg +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = . + +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_alias = @build_alias@ +build_triplet = @build@ +host_alias = @host_alias@ +host_triplet = @host@ +target_alias = @target_alias@ +target_triplet = @target@ INSTALL_CHANGE = @INSTALL_CHANGE@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +PACKAGE = @PACKAGE@ +PACKHEX = @PACKHEX@ +PROJECT_ROOT = @PROJECT_ROOT@ +RTEMS_CPU = @RTEMS_CPU@ +RTEMS_ROOT = @RTEMS_ROOT@ +RTEMS_TOPdir = @RTEMS_TOPdir@ +VERSION = @VERSION@ +program_prefix = @program_prefix@ +project_bindir = @project_bindir@ +project_includedir = @project_includedir@ +project_libdir = @project_libdir@ +rtems_bspdir = @rtems_bspdir@ +rtems_makedir = @rtems_makedir@ +tooldir = @tooldir@ + +AUTOMAKE_OPTIONS = foreign 1.4 +ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal + +SUBDIRS = @subdirs@ +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs +CONFIG_CLEAN_FILES = +DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in + -SUB_DIRS = generic $(wildcard $(RTEMS_CPU)) +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +TAR = tar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../automake/subdirs.am $(top_srcdir)/../../../../automake/local.am + cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. + +@SET_MAKE@ + +all-recursive install-data-recursive install-exec-recursive \ +installdirs-recursive install-recursive uninstall-recursive \ +check-recursive installcheck-recursive info-recursive dvi-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ + rev="$$subdir $$rev"; \ + test "$$subdir" = "." && dot_seen=yes; \ + done; \ + test "$$dot_seen" = "no" && rev=". $$rev"; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + -rm -rf $(distdir) + GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz + mkdir $(distdir)/=build + mkdir $(distdir)/=inst + dc_install_base=`cd $(distdir)/=inst && pwd`; \ + cd $(distdir)/=build \ + && ../configure --srcdir=.. --prefix=$$dc_install_base \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) dist + -rm -rf $(distdir) + @banner="$(distdir).tar.gz is ready for distribution"; \ + dashes=`echo "$$banner" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + echo "$$dashes" +dist: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +dist-all: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +distdir: $(DISTFILES) + -rm -rf $(distdir) + mkdir $(distdir) + -chmod 777 $(distdir) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done + for subdir in $(SUBDIRS); do \ + if test "$$subdir" = .; then :; else \ + test -d $(distdir)/$$subdir \ + || mkdir $(distdir)/$$subdir \ + || exit 1; \ + chmod 777 $(distdir)/$$subdir; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ + || exit 1; \ + fi; \ + done +info-am: +info: info-recursive +dvi-am: +dvi: dvi-recursive +check-am: all-am +check: check-recursive +installcheck-am: +installcheck: installcheck-recursive +install-exec-am: +install-exec: install-exec-recursive + +install-data-am: +install-data: install-data-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-recursive +uninstall-am: +uninstall: uninstall-recursive +all-am: Makefile +all-redirect: all-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: installdirs-recursive +installdirs-am: + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-tags mostlyclean-generic + +mostlyclean: mostlyclean-recursive + +clean-am: clean-tags clean-generic mostlyclean-am + +clean: clean-recursive + +distclean-am: distclean-tags distclean-generic clean-am + +distclean: distclean-recursive + -rm -f config.status + +maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-recursive + -rm -f config.status + +.PHONY: install-data-recursive uninstall-data-recursive \ +install-exec-recursive uninstall-exec-recursive installdirs-recursive \ +uninstalldirs-recursive all-recursive check-recursive \ +installcheck-recursive info-recursive dvi-recursive \ +mostlyclean-recursive distclean-recursive clean-recursive \ +maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ +distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-redirect all-am all installdirs-am \ +installdirs mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +depend-recursive \ +preinstall-recursive \ +debug-recursive \ +profile-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +debug: debug-recursive +.PHONY: debug-recursive + +profile: profile-recursive +.PHONY: profile-recursive + +preinstall: preinstall-recursive +.PHONY: preinstall-recursive + +depend: depend-recursive +.PHONY: depend-recursive + +debug-am: +debug: debug-am +.PHONY: debug debug-am + +profile-am: +profile: profile-am +.PHONY: profile profile-am + +preinstall-am: +preinstall: preinstall-am +.PHONY: preinstall preinstall-am + +depend-am: +depend: depend-am +.PHONY: depend depend-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/c/src/tests/tools/generic/Makefile.am b/c/src/tests/tools/generic/Makefile.am index 7406624ef4..ef28bd6ca2 100644 --- a/c/src/tests/tools/generic/Makefile.am +++ b/c/src/tests/tools/generic/Makefile.am @@ -5,12 +5,25 @@ AUTOMAKE_OPTIONS = foreign 1.4 ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal -noinst_SCRIPTS=difftest sorttimes +noinst_SCRIPTS = difftest sorttimes + +project_bspdir = $(PROJECT_ROOT)/@RTEMS_BSP@ + +PREINSTALL_DIRS = $(project_bspdir)/tests +PREINSTALL_FILES = \ + $(project_bspdir)/tests/difftest \ + $(project_bspdir)/tests/sorttimes + +$(PREINSTALL_DIRS): + @$(mkinstalldirs) $@ + +$(project_bspdir)/tests/difftest: difftest + $(INSTALL_SCRIPT) $< $@ + +$(project_bspdir)/tests/sorttimes: sorttimes + $(INSTALL_SCRIPT) $< $@ # HACK: install to build-tree -all-local: $(SCRIPTS) - $(mkinstalldirs) $(PROJECT_ROOT)/@RTEMS_BSP@/tests - $(INSTALL_SCRIPT) difftest $(PROJECT_ROOT)/@RTEMS_BSP@/tests - $(INSTALL_SCRIPT) sorttimes $(PROJECT_ROOT)/@RTEMS_BSP@/tests +all-local: $(PREINSTALL_DIRS) $(PREINSTALL_FILES) include $(top_srcdir)/../../../../../automake/local.am diff --git a/c/src/tests/tools/generic/Makefile.in b/c/src/tests/tools/generic/Makefile.in index cb18baf662..a5ed204a40 100644 --- a/c/src/tests/tools/generic/Makefile.in +++ b/c/src/tests/tools/generic/Makefile.in @@ -85,6 +85,12 @@ AUTOMAKE_OPTIONS = foreign 1.4 ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal noinst_SCRIPTS = difftest sorttimes + +project_bspdir = $(PROJECT_ROOT)/@RTEMS_BSP@ + +PREINSTALL_DIRS = $(project_bspdir)/tests +PREINSTALL_FILES = $(project_bspdir)/tests/difftest $(project_bspdir)/tests/sorttimes + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../mkinstalldirs CONFIG_CLEAN_FILES = difftest sorttimes @@ -238,11 +244,17 @@ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean +$(PREINSTALL_DIRS): + @$(mkinstalldirs) $@ + +$(project_bspdir)/tests/difftest: difftest + $(INSTALL_SCRIPT) $< $@ + +$(project_bspdir)/tests/sorttimes: sorttimes + $(INSTALL_SCRIPT) $< $@ + # HACK: install to build-tree -all-local: $(SCRIPTS) - $(mkinstalldirs) $(PROJECT_ROOT)/@RTEMS_BSP@/tests - $(INSTALL_SCRIPT) difftest $(PROJECT_ROOT)/@RTEMS_BSP@/tests - $(INSTALL_SCRIPT) sorttimes $(PROJECT_ROOT)/@RTEMS_BSP@/tests +all-local: $(PREINSTALL_DIRS) $(PREINSTALL_FILES) debug-am: debug: debug-am diff --git a/make/Templates/Makefile.am b/make/Templates/Makefile.am index 947edad3a1..fe35e32c92 100644 --- a/make/Templates/Makefile.am +++ b/make/Templates/Makefile.am @@ -6,9 +6,7 @@ AUTOMAKE_OPTIONS = foreign 1.4 EXTRA_DIST = \ Makefile.dir \ -Makefile.inc.in \ Makefile.leaf \ Makefile.lib -# ------------------------------------------------------- include $(top_srcdir)/automake/local.am diff --git a/make/Templates/Makefile.in b/make/Templates/Makefile.in index 2bafd8f7f2..b179f335f8 100644 --- a/make/Templates/Makefile.in +++ b/make/Templates/Makefile.in @@ -87,7 +87,7 @@ target_subdirs = @target_subdirs@ AUTOMAKE_OPTIONS = foreign 1.4 -EXTRA_DIST = Makefile.dir Makefile.inc.in Makefile.leaf Makefile.lib +EXTRA_DIST = Makefile.dir Makefile.leaf Makefile.lib mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = @@ -208,8 +208,6 @@ depend-am: depend: depend-am .PHONY: depend depend-am -# ------------------------------------------------------- - # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/make/Templates/Makefile.inc.in b/make/Templates/Makefile.inc.in deleted file mode 100644 index a763dae999..0000000000 --- a/make/Templates/Makefile.inc.in +++ /dev/null @@ -1,48 +0,0 @@ -# -# -# Target specific settings. To be included in application Makefiles. -# - -prefix = @prefix@ - -CC_FOR_TARGET = @program_prefix@gcc -AS_FOR_TARGET = @program_prefix@as -AR_FOR_TARGET = @program_prefix@ar -NM_FOR_TARGET = @program_prefix@nm -LD_FOR_TARGET = @program_prefix@ld -SIZE_FOR_TARGET = @program_prefix@size -OBJCOPY_FOR_TARGET = @program_prefix@objcopy - -CC= $(CC_FOR_TARGET) -AS= $(AS_FOR_TARGET) -LD= $(LD_FOR_TARGET) -NM= $(NM_FOR_TARGET) -AR= $(AR_FOR_TARGET) -SIZE= $(SIZE_FOR_TARGET) -OBJCOPY= $(OBJCOPY_FOR_TARGET) - -export CC -export AS -export LD -export NM -export AR -export SIZE -export OBJCOPY - -RTEMS_HOST = @RTEMS_HOST@ -RTEMS_CUSTOM = $(prefix)/make/custom/$(RTEMS_BSP).cfg -PROJECT_ROOT = $(prefix)/ -RTEMS_USE_OWN_PDIR = no -RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@ -RTEMS_USE_MACROS = @RTEMS_USE_MACROS@ -RTEMS_HAS_CPLUSPLUS = @RTEMS_HAS_CPLUSPLUS@ -RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@ -RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@ - -export RTEMS_BSP -export RTEMS_CUSTOM -export PROJECT_ROOT - -# FIXME: The following shouldn't be here -RTEMS_ROOT = $(PROJECT_ROOT) -export RTEMS_ROOT diff --git a/make/compilers/gcc-target-default.cfg b/make/compilers/gcc-target-default.cfg index 49f1326f78..835b22c558 100644 --- a/make/compilers/gcc-target-default.cfg +++ b/make/compilers/gcc-target-default.cfg @@ -87,10 +87,7 @@ endif # Define this to yes if C++ is included in the development environment. # This requires that at least the GNU C++ compiler and libg++ be installed. ifeq ($(RTEMS_HAS_CPLUSPLUS),yes) -HAS_CPLUSPLUS=yes CPLUS_LD_LIBS += $(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA) -else -HAS_CPLUSPLUS=no endif # debug flag; @@ -287,15 +284,13 @@ endif LINK_OBJS =\ $(CONSTRUCTOR) \ $(OBJS) \ - $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel) \ - $(PROJECT_RELEASE)/lib/libtest$(LIBSUFFIX_VA) + $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel) LINK_FILES =\ $(START_FILE) \ $(CONSTRUCTOR) \ $(OBJS) \ $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel) \ - $(PROJECT_RELEASE)/lib/libtest$(LIBSUFFIX_VA) \ $(PROJECT_RELEASE)/lib/librtemsall$(LIBSUFFIX_VA) ifeq ($(RTEMS_USE_GCC272),yes) diff --git a/make/custom/FreeBSD-posix.cfg b/make/custom/FreeBSD-posix.cfg index bae94800df..c0f79df4f5 100644 --- a/make/custom/FreeBSD-posix.cfg +++ b/make/custom/FreeBSD-posix.cfg @@ -26,18 +26,10 @@ LIBC_DEFINES += -DHEAPSPACE_MB=1 # Define this to yes if C++ is included in the development environment # This requires that at least the GNU C++ compiler and libg++ be installed. -ifeq ($(RTEMS_HAS_CPLUSPLUS),yes) -HAS_CPLUSPLUS=yes +ifeq ($(HAS_CPLUSPLUS),yes) CPLUS_LD_LIBS += $(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA) endif -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - -# This target does NOT support the POSIX API. -HAS_POSIX_API=no - # optimize flag: typically -0, could use -O4 or -fast # -O4 is ok for RTEMS CFLAGS_OPTIMIZE_V = -O2 diff --git a/make/custom/HPUX9-posix.cfg b/make/custom/HPUX9-posix.cfg index 16340c4b40..3af91c55d2 100644 --- a/make/custom/HPUX9-posix.cfg +++ b/make/custom/HPUX9-posix.cfg @@ -33,13 +33,6 @@ LIBC_DEFINES=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED -DRTEMS_DEBUG LIBC_DEFINES += -DWORKSPACE_MB=2 LIBC_DEFINES += -DHEAPSPACE_MB=1 -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - -# This target does NOT support the POSIX API. -HAS_POSIX_API=no - # optimize flag: typically -0, could use -O4 or -fast # -O4 is ok for RTEMS CFLAGS_OPTIMIZE_V = -O2 diff --git a/make/custom/Linux-posix.cfg b/make/custom/Linux-posix.cfg index 6768b36590..ad78430c6e 100644 --- a/make/custom/Linux-posix.cfg +++ b/make/custom/Linux-posix.cfg @@ -27,18 +27,10 @@ LIBC_DEFINES += -DHEAPSPACE_MB=1 # Define this to yes if C++ is included in the development environment # This requires that at least the GNU C++ compiler and libg++ be installed. -ifeq ($(RTEMS_HAS_CPLUSPLUS),yes) -HAS_CPLUSPLUS=yes +ifeq ($(HAS_CPLUSPLUS),yes) CPLUS_LD_LIBS += $(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA) endif -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - -# This target does NOT support the POSIX API. -HAS_POSIX_API=no - # optimize flag: typically -0, could use -O4 or -fast # -O4 is ok for RTEMS CFLAGS_OPTIMIZE_V = -O2 diff --git a/make/custom/Solaris-posix.cfg b/make/custom/Solaris-posix.cfg index 23043ebd1b..0547a9fd3f 100644 --- a/make/custom/Solaris-posix.cfg +++ b/make/custom/Solaris-posix.cfg @@ -25,18 +25,10 @@ DEFINES += -D__EXTENSIONS__ -Dsolaris2 # Define this to yes if C++ is included in the development environment # This requires that at least the GNU C++ compiler and libg++ be installed. -ifeq ($(RTEMS_HAS_CPLUSPLUS),yes) -HAS_CPLUSPLUS=yes +ifeq ($(HAS_CPLUSPLUS),yes) CPLUS_LD_LIBS=$(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA) endif -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - -# This target does NOT support the POSIX API. -HAS_POSIX_API=no - # optimize flag: typically -0, could use -O4 or -fast # -O4 is ok for RTEMS CFLAGS_OPTIMIZE_V = -O2 diff --git a/make/custom/cvme961.cfg b/make/custom/cvme961.cfg index 64615e70de..aee9b9ab36 100644 --- a/make/custom/cvme961.cfg +++ b/make/custom/cvme961.cfg @@ -25,10 +25,6 @@ CPU_CFLAGS=-mca # -O4 is ok for RTEMS CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # This section makes the target dependent options file. # NDEBUG (C library) diff --git a/make/custom/default.cfg b/make/custom/default.cfg index 918032b765..c6628f8068 100644 --- a/make/custom/default.cfg +++ b/make/custom/default.cfg @@ -40,34 +40,6 @@ CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg ## GCC specs extension file location RTEMS_BSP_SPECS = $(PROJECT_ROOT)/$(RTEMS_BSP)/lib/bsp_specs -## LIBC support -## Specify the one you want here and fill in the blanks. -## Currently CYGNUS newlib is supported. -## NOTE: RTEMS libcsupport.a includes RTEMS versions of stuff like -## malloc, gettimeofday, etc. - -# Define this to yes if C++ is included in the development environment. -# This requires that at least the GNU C++ compiler and libg++ be installed. -ifeq ($(RTEMS_HAS_CPLUSPLUS),yes) -HAS_CPLUSPLUS=yes -else -HAS_CPLUSPLUS=no -endif - -# Define this to yes if this target wants the TCP/IP stack -ifeq ($(RTEMS_HAS_NETWORKING),yes) -HAS_NETWORKING=yes -else -HAS_NETWORKING=no -endif - -# Define this to yes if this target wants the posix api -ifeq ($(RTEMS_HAS_POSIX_API),yes) -HAS_POSIX_API=yes -else -HAS_POSIX_API=no -endif - # Base name of start file START_BASE=start diff --git a/make/custom/dmv152.cfg b/make/custom/dmv152.cfg index d20884314f..84c63061ec 100644 --- a/make/custom/dmv152.cfg +++ b/make/custom/dmv152.cfg @@ -23,10 +23,6 @@ CPU_CFLAGS = # -O4 is ok for RTEMS CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # This section makes the target dependent options file. # NDEBUG (C library) # if defined asserts do not generate code. This is commonly used diff --git a/make/custom/efi332.cfg b/make/custom/efi332.cfg index 67a7c0c602..289b9bdde3 100644 --- a/make/custom/efi332.cfg +++ b/make/custom/efi332.cfg @@ -19,10 +19,6 @@ CPU_CFLAGS = -mcpu32 # optimize flag: typically -0, could use -O4 or -fast, -O4 is ok for RTEMS CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # Override default start file START_BASE=start332 diff --git a/make/custom/efi68k.cfg b/make/custom/efi68k.cfg index e2f3b6280f..c6ae12be30 100644 --- a/make/custom/efi68k.cfg +++ b/make/custom/efi68k.cfg @@ -21,10 +21,6 @@ CPU_CFLAGS = -m68000 -msoft-float # -O4 is ok for RTEMS CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # Override default start file START_BASE=start68k diff --git a/make/custom/force386.cfg b/make/custom/force386.cfg index fc5190c4c4..33d790a117 100644 --- a/make/custom/force386.cfg +++ b/make/custom/force386.cfg @@ -22,10 +22,6 @@ CPU_CFLAGS = # -fomit-frame-pointer breaks debugging and C++ exceptions CFLAGS_OPTIMIZE_V=-O4 -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # This section makes the target dependent options file. # NDEBUG (C library) diff --git a/make/custom/gen68302.cfg b/make/custom/gen68302.cfg index 484eef596b..265c5b22a4 100644 --- a/make/custom/gen68302.cfg +++ b/make/custom/gen68302.cfg @@ -22,10 +22,6 @@ CPU_CFLAGS=-m68302 -msoft-float # -O4 is ok for RTEMS CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # This section makes the target dependent options file. # NDEBUG (C library) diff --git a/make/custom/gensh1.cfg b/make/custom/gensh1.cfg index 792d7d1e26..9961f08c8e 100644 --- a/make/custom/gensh1.cfg +++ b/make/custom/gensh1.cfg @@ -24,10 +24,6 @@ RTEMS_BSP_FAMILY=gensh1 # CPU_CFLAGS=-m1 -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # debug flags: typically none, but we use -O1 as it produces better code CFLAGS_DEBUG_V = -O1 diff --git a/make/custom/go32.cfg b/make/custom/go32.cfg index 30a5d6e4e3..16e1caa5ff 100644 --- a/make/custom/go32.cfg +++ b/make/custom/go32.cfg @@ -54,10 +54,6 @@ endif # i486dx # -fomit-frame-pointer breaks debugging and C++ exceptions CFLAGS_OPTIMIZE_V=-O4 -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # Base name of start file # go32 does not use the rtems start file START_BASE= diff --git a/make/custom/helas403.cfg b/make/custom/helas403.cfg index f5a908b9d1..e78f93a954 100644 --- a/make/custom/helas403.cfg +++ b/make/custom/helas403.cfg @@ -22,10 +22,6 @@ RTEMS_BSP_FAMILY=helas403 #CPU_DEFINES=-DPPC_ABI=PPC_ABI_POWEROPEN \ # -DPPC_ASM=PPC_ASM_ELF -DPPC_VECTOR_FILE_BASE=0x0100 -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # This section makes the target dependent options file. # NDEBUG (C library) diff --git a/make/custom/idp.cfg b/make/custom/idp.cfg index 1250d61aab..af34965f40 100644 --- a/make/custom/idp.cfg +++ b/make/custom/idp.cfg @@ -12,10 +12,6 @@ RTEMS_CPU_MODEL=m68ec040 # This is the actual bsp directory used during the build process. RTEMS_BSP_FAMILY=idp -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # This section makes the target dependent options file. # NDEBUG (C library) diff --git a/make/custom/mvme136.cfg b/make/custom/mvme136.cfg index 3a5bd6f8e2..e41efc479e 100644 --- a/make/custom/mvme136.cfg +++ b/make/custom/mvme136.cfg @@ -22,10 +22,6 @@ CPU_CFLAGS = # -O4 is ok for RTEMS CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # This section makes the target dependent options file. # NDEBUG (C library) diff --git a/make/custom/mvme147.cfg b/make/custom/mvme147.cfg index e1d23df1a0..bb6b567e0d 100644 --- a/make/custom/mvme147.cfg +++ b/make/custom/mvme147.cfg @@ -19,10 +19,6 @@ CPU_CFLAGS= # -O4 is ok for RTEMS CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # This section makes the target dependent options file. # NDEBUG (C library) diff --git a/make/custom/mvme162.cfg b/make/custom/mvme162.cfg index e59dcef250..e770662b2e 100644 --- a/make/custom/mvme162.cfg +++ b/make/custom/mvme162.cfg @@ -42,10 +42,6 @@ endif # mc68lc040 # -O4 is ok for RTEMS CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # This section makes the target dependent options file. # NDEBUG (C library) diff --git a/make/custom/mvme167.cfg b/make/custom/mvme167.cfg index 45eef32a8a..bef2e23f34 100644 --- a/make/custom/mvme167.cfg +++ b/make/custom/mvme167.cfg @@ -23,10 +23,6 @@ CPU_CFLAGS = -m68040 # -O4 is ok for RTEMS CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer -# This target does NOT support the TCP/IP stack (yet) so ignore requests -# to enable it. -HAS_NETWORKING=no - # This section makes the target dependent options file. # NDEBUG (C library) # if defined asserts do not generate code. This is commonly used diff --git a/make/custom/no_bsp.cfg b/make/custom/no_bsp.cfg index fb89f3131d..3c196d8861 100644 --- a/make/custom/no_bsp.cfg +++ b/make/custom/no_bsp.cfg @@ -20,8 +20,4 @@ RTEMS_BSP_FAMILY=no_bsp # HAS_CPLUSPLUS=no -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # Miscellaneous additions go here diff --git a/make/custom/ods68302.cfg b/make/custom/ods68302.cfg index 7f7ae47230..325fc9170e 100644 --- a/make/custom/ods68302.cfg +++ b/make/custom/ods68302.cfg @@ -33,10 +33,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # debugging please CFLAGS_DEBUG_V+=-g -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # Define this to yes if C++ is included in the development environment. # This requires that at least the GNU C++ compiler and libg++ be installed. ifeq ($(RTEMS_HAS_CPLUSPLUS),yes) diff --git a/make/custom/p4000.cfg b/make/custom/p4000.cfg index 8776cf0418..2869217207 100644 --- a/make/custom/p4000.cfg +++ b/make/custom/p4000.cfg @@ -14,10 +14,6 @@ CPU_DEFINES+=-DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3 # This is the actual bsp directory used during the build process. RTEMS_BSP_FAMILY=p4000 -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # This section makes the target dependent options file. # NDEBUG (C library) diff --git a/make/custom/p4600.cfg b/make/custom/p4600.cfg index b7965a9297..52c2b11e90 100644 --- a/make/custom/p4600.cfg +++ b/make/custom/p4600.cfg @@ -21,10 +21,6 @@ START_BASE=idt_csu CPU_DEFINES+=-DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3 -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # This section makes the target dependent options file. # NDEBUG (C library) diff --git a/make/custom/p4650.cfg b/make/custom/p4650.cfg index 5b91995d4c..5c586a08ab 100644 --- a/make/custom/p4650.cfg +++ b/make/custom/p4650.cfg @@ -20,10 +20,6 @@ START_BASE=idt_csu CPU_DEFINES+=-DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3 -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # This section makes the target dependent options file. # NDEBUG (C library) diff --git a/make/custom/papyrus.cfg b/make/custom/papyrus.cfg index a04f4f3d30..b65536675c 100644 --- a/make/custom/papyrus.cfg +++ b/make/custom/papyrus.cfg @@ -16,10 +16,6 @@ RTEMS_BSP_FAMILY=papyrus #CPU_DEFINES=-DPPC_ABI=PPC_ABI_POWEROPEN \ # -DPPC_ASM=PPC_ASM_ELF -DPPC_VECTOR_FILE_BASE=0x0100 -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # This section makes the target dependent options file. # NDEBUG (C library) diff --git a/make/custom/portsw.cfg b/make/custom/portsw.cfg index e65ead7118..8d499f56df 100644 --- a/make/custom/portsw.cfg +++ b/make/custom/portsw.cfg @@ -4,9 +4,9 @@ # $Id$ # -# Specify here the host and target "architectures" -HOST_ARCH=o-$(RTEMS_HOST) -TARGET_ARCH=o-$(RTEMS_BSP) +# Note: This file is broken for sure + +include $(RTEMS_ROOT)/make/custom/default.cfg RTEMS_CPU=a29k RTEMS_CPU_MODEL=a29205 @@ -14,42 +14,43 @@ RTEMS_CPU_MODEL=a29205 # This is the actual bsp directory used during the build process. RTEMS_BSP_FAMILY=portsw -# use the inline functions instead of the macros -# ref: src/exec/generic/Makefile -# Need INLINE_UPCASE set to uppercase value of INLINE variable -# ref: make/compilers/gcc-force386.cfg -INLINE=macros -INLINE_UPCASE= - -# The makefiles all use PROJECT_xxx for variables. -# Ie: $(PROJECT_RELEASE) is the install point. -# Externally, we think of these as "RTEMS" variables. -# Here is where we convert from RTEMS forms to PROJECT forms -# See also make/main.cfg, which derives some more. -PROJECT_ROOT=$(RTEMS_ROOT)/c - -# HOST Compiler config file -# You may also want to specify where the compiler resides here. -CC_$(HOST_ARCH)_DIR=$(RTEMS_GNUTOOLS_HOST) -CONFIG.$(HOST_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc.cfg - -## Target compiler config file, if any -CC_$(TARGET_ARCH)_DIR=$(RTEMS_GNUTOOLS) -CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-$(RTEMS_BSP).cfg - -# Define this to yes if C++ is included in the development environment. -# This requires that at least the GNU C++ compiler and libg++ be installed. +# This section makes the target dependent options file. + +# NDEBUG (C library) +# if defined asserts do not generate code. This is commonly used +# as a command line option. # -# Need "main" in BSP so can't link C++ sample test or you will get -# duplicate symbol errors for main +# RTEMS_TEST_NO_PAUSE (RTEMS tests) +# do not pause between screens of output in the rtems tests +# +# RTEMS_DEBUG (RTEMS) +# If defined, debug checks in RTEMS and support library code are enabled. # -HAS_CPLUSPLUS=no - -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no -# Define this to yes if this target wants the posix api -HAS_POSIX_API=no +define make-target-options + @echo "/* #define NDEBUG 1 */ " >>$@ + @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ + @echo "/* #define RTEMS_DEBUG 1 */" >>$@ +endef + + +ifeq ($(RTEMS_USE_GCC272),yes) +define make-exe + $(LD) $(LDFLAGS) -N -e _start \ + -T$(PROJECT_RELEASE)/lib/linkcmds\ + -o $(basename $@).exe \ + $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group + $(NM) -n $(basename $@).exe > $(basename $@).num + $(SIZE) $(basename $@).exe +endef +else +define make-exe + $(CC) $(CPPFLAGS) -Wl,-Map,$(basename $@).map \ + $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe \ + $(LINK_OBJS) $(LINK_LIBS) + $(NM) -n $(basename $@).exe > $(basename $@).num + $(SIZE) $(basename $@).exe +endef +endif # Miscellaneous additions go here diff --git a/make/custom/psim.cfg b/make/custom/psim.cfg index 42b5a456ad..c53a227bc9 100644 --- a/make/custom/psim.cfg +++ b/make/custom/psim.cfg @@ -79,10 +79,6 @@ CPU_CFLAGS = -mcpu=603 # NOTE: some level of -O may be actually required by inline assembler CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions -# This target does not support the TCP/IP stack so ignore requests -# to enable it. -# HAS_NETWORKING=no - # The following is a linkcmds file which will work without using the # -specs system in gcc 2.8. # $(LD) $(XLDFLAGS) -T $(LINKCMDS) \ diff --git a/make/custom/score603e.cfg b/make/custom/score603e.cfg index 24e94b5688..a069cf0220 100644 --- a/make/custom/score603e.cfg +++ b/make/custom/score603e.cfg @@ -120,10 +120,6 @@ CPU_CFLAGS = -mcpu=603 CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions # CFLAGS_OPTIMIZE_V=-O0 -# This target does not support the ka9q tcp/ip stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # The following is a linkcmds file which will work without using the # -specs system in gcc 2.8. # $(LD) $(XLDFLAGS) -T $(LINKCMDS) \ diff --git a/make/custom/simhppa.cfg b/make/custom/simhppa.cfg index 60a93d5954..93e25b0f9c 100644 --- a/make/custom/simhppa.cfg +++ b/make/custom/simhppa.cfg @@ -35,10 +35,6 @@ CFLAGS_DEFAULT = $(CPU_CFLAGS) -Wall -ansi -fasm -mgas # NOTE: some level of -O may be actually required by inline assembler CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions -# This target does NOT support the TCP/IP stack so ignore requests -# to enable it. -HAS_NETWORKING=no - # This makes the target dependent options file. # NDEBUG (C library) diff --git a/make/host.cfg.in b/make/host.cfg.in index 18ddc85d8b..c048042977 100644 --- a/make/host.cfg.in +++ b/make/host.cfg.in @@ -47,11 +47,6 @@ GCCSED = @GCCSED@ # reliable but late model ksh's are usually OK. KSH=@KSH@ -# -# RCS support -# -RCS_CLEAN=$(PROJECT_BIN)/rcs-clean - # # Rule to install a shell script with the proper shell to run it. # diff --git a/make/leaf.cfg b/make/leaf.cfg index 0106dc19ce..b02af689fd 100644 --- a/make/leaf.cfg +++ b/make/leaf.cfg @@ -6,10 +6,6 @@ # Make(1) configuration file include'd by all leaf-node Makefiles # -# get most stuff done - -# include $(RTEMS_ROOT)/make/main.cfg - # # list of all known managers # This list is used, along with $(MANAGERS) (set by app makefile) @@ -112,7 +108,6 @@ LIBSUFFIX_VA = $(LIB_VARIANT).a clean-am: clean-generic -$(RM) -r $(CLEAN_OS) $(CLEAN_CC) $(CLEAN_DEPEND) -$(RM) -r $(VARIANTS) -# -$(RM) -r $(IMPORT_SOURCE) distclean-am: distclean-generic clean-am -$(RM) -r $(CLOBBER_OS) $(CLOBBER_CC) $(CLOBBER_DEPEND) diff --git a/testsuites/tools/generic/Makefile.am b/testsuites/tools/generic/Makefile.am index 7406624ef4..ef28bd6ca2 100644 --- a/testsuites/tools/generic/Makefile.am +++ b/testsuites/tools/generic/Makefile.am @@ -5,12 +5,25 @@ AUTOMAKE_OPTIONS = foreign 1.4 ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal -noinst_SCRIPTS=difftest sorttimes +noinst_SCRIPTS = difftest sorttimes + +project_bspdir = $(PROJECT_ROOT)/@RTEMS_BSP@ + +PREINSTALL_DIRS = $(project_bspdir)/tests +PREINSTALL_FILES = \ + $(project_bspdir)/tests/difftest \ + $(project_bspdir)/tests/sorttimes + +$(PREINSTALL_DIRS): + @$(mkinstalldirs) $@ + +$(project_bspdir)/tests/difftest: difftest + $(INSTALL_SCRIPT) $< $@ + +$(project_bspdir)/tests/sorttimes: sorttimes + $(INSTALL_SCRIPT) $< $@ # HACK: install to build-tree -all-local: $(SCRIPTS) - $(mkinstalldirs) $(PROJECT_ROOT)/@RTEMS_BSP@/tests - $(INSTALL_SCRIPT) difftest $(PROJECT_ROOT)/@RTEMS_BSP@/tests - $(INSTALL_SCRIPT) sorttimes $(PROJECT_ROOT)/@RTEMS_BSP@/tests +all-local: $(PREINSTALL_DIRS) $(PREINSTALL_FILES) include $(top_srcdir)/../../../../../automake/local.am diff --git a/tools/update/acpolish b/tools/update/acpolish index 307f2ab0be..9b1fc59edd 100755 --- a/tools/update/acpolish +++ b/tools/update/acpolish @@ -186,6 +186,11 @@ sub subst_line $line .= "\n" ; $_ = "$line" ; } + if ( /^(.*)RTEMS_HAS_([A-Z]+)(.*)$/o ) + { + print STDERR "WARNING: Replacing RTEMS_HAS_$2 with HAS_$2\n" ; + $_ = "$1HAS_$2$3\n" ; + } if ( /^.*\$\(make\-exe\).*$/o ) { $make_exe_seen = 1 ; -- cgit v1.2.3