mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
Patch rtems-rc-19990709-6-diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
applied. This modified many Makefiles and custom files and makes many more settings (network, multiprocessing, etc) gnerated by autoconf.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
dnl $Id$
|
||||
dnl
|
||||
AC_DEFUN(RTEMS_CHECK_RDBG,
|
||||
[dnl
|
||||
AC_REQUIRE([RTEMS_TOP])dnl
|
||||
|
||||
@@ -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
|
||||
|
||||
111
c/src/exec/aclocal.m4
vendored
111
c/src/exec/aclocal.m4
vendored
@@ -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
|
||||
|
||||
323
c/src/exec/configure
vendored
323
c/src/exec/configure
vendored
@@ -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 <<EOF
|
||||
#ifdef __GNUC__
|
||||
yes;
|
||||
#endif
|
||||
EOF
|
||||
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1414: \"$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
|
||||
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 <<EOF
|
||||
int foo( int b )
|
||||
{ return b; }
|
||||
EOF
|
||||
if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:1929: \"$ac_try\") 1>&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 <<EOF
|
||||
#line 2477 "configure"
|
||||
#line 2303 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -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 <<EOF
|
||||
#line 2535 "configure"
|
||||
#line 2361 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -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 <<EOF
|
||||
#line 2583 "configure"
|
||||
#line 2409 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -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 <<EOF
|
||||
#line 2632 "configure"
|
||||
#line 2458 "configure"
|
||||
#include "confdefs.h"
|
||||
extern int not_required_by_rtems() ;
|
||||
int main() {
|
||||
not_required_by_rtems()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2639: \"$ac_link\") 1>&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 <<EOF
|
||||
#line 2650 "configure"
|
||||
#line 2476 "configure"
|
||||
#include "confdefs.h"
|
||||
extern int rtems_provides_crt0 ;
|
||||
int main() {
|
||||
rtems_provides_crt0 = 0
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2657: \"$ac_link\") 1>&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
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
|
||||
98
c/src/lib/aclocal.m4
vendored
98
c/src/lib/aclocal.m4
vendored
@@ -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
|
||||
|
||||
305
c/src/lib/configure
vendored
305
c/src/lib/configure
vendored
@@ -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 <<EOF
|
||||
int foo( int b )
|
||||
{ return b; }
|
||||
EOF
|
||||
if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:1928: \"$ac_try\") 1>&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 <<EOF
|
||||
#line 2485 "configure"
|
||||
#line 2430 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -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 <<EOF
|
||||
#line 2543 "configure"
|
||||
#line 2488 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -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 <<EOF
|
||||
#line 2591 "configure"
|
||||
#line 2536 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -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 <<EOF
|
||||
CONFIG_FILES=\${CONFIG_FILES-"Makefile
|
||||
include/Makefile
|
||||
libbsp/Makefile
|
||||
libbsp/shmdr/Makefile
|
||||
libc/Makefile
|
||||
libcpu/Makefile
|
||||
start/Makefile
|
||||
|
||||
@@ -13,10 +13,8 @@ RTEMS_CANONICAL_TARGET_CPU
|
||||
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
|
||||
@@ -57,6 +55,8 @@ fi
|
||||
|
||||
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
|
||||
RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
|
||||
RTEMS_CHECK_CXX(RTEMS_BSP)
|
||||
RTEMS_CHECK_NETWORKING(RTEMS_BSP)
|
||||
|
||||
RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir)
|
||||
|
||||
@@ -98,6 +98,10 @@ else
|
||||
AC_MSG_ERROR([unable to find libbsp directory ($bspdir) for ${RTEMS_BSP}])
|
||||
fi
|
||||
|
||||
if test "$HAS_MP" = "yes"; then
|
||||
makefiles="$makefiles libbsp/shmdr/Makefile"
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(UNIX,test "$RTEMS_CPU" = "unix")
|
||||
# find all the CPU dependent library Makefiles
|
||||
RTEMS_CHECK_MAKEFILE(libcpu/$RTEMS_CPU)
|
||||
@@ -113,17 +117,6 @@ changequote([,])dnl
|
||||
;;
|
||||
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 :)
|
||||
AC_MSG_ERROR(Macros are not implemented for the POSIX API)
|
||||
fi
|
||||
else
|
||||
inline_dir=inline
|
||||
fi
|
||||
|
||||
# If the TCP/IP stack is enabled, then find all TCP/IP Makefiles
|
||||
AC_MSG_CHECKING([if networking is enabled? ])
|
||||
AC_MSG_RESULT($RTEMS_HAS_NETWORKING)
|
||||
@@ -195,7 +188,6 @@ AC_OUTPUT(
|
||||
Makefile
|
||||
include/Makefile
|
||||
libbsp/Makefile
|
||||
libbsp/shmdr/Makefile
|
||||
libc/Makefile
|
||||
libcpu/Makefile
|
||||
start/Makefile
|
||||
|
||||
@@ -17,10 +17,9 @@ include $(RTEMS_ROOT)/make/leaf.cfg
|
||||
INSTALL_CHANGE = @INSTALL_CHANGE@
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
|
||||
|
||||
INSTALLDIRS = $(PROJECT_INCLUDE)/sys $(PROJECT_INCLUDE)/motorola \
|
||||
$(PROJECT_INCLUDE)/zilog $(LIBRPCdir) $(LIBRDBGdir) \
|
||||
$(LIBRTEMSCPLUSPLUSdir) $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/rtems++ \
|
||||
$(PROJECT_INCLUDE)/rpc $(PROJECT_INCLUDE)/rdbg
|
||||
INSTALLDIRS = $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/sys \
|
||||
$(PROJECT_INCLUDE)/motorola $(PROJECT_INCLUDE)/zilog $(LIBRPCdir) \
|
||||
$(LIBRDBGdir) $(LIBRTEMSCPLUSPLUSdir)
|
||||
|
||||
$(INSTALLDIRS):
|
||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
||||
@@ -80,13 +79,13 @@ preinstall: $(INSTALLDIRS) $(SRCS)
|
||||
@$(INSTALL_CHANGE) -m 644 $(MOTOROLA_H_FILES) $(PROJECT_INCLUDE)/motorola
|
||||
@$(INSTALL_CHANGE) -m 644 $(ZILOG_H_FILES) $(PROJECT_INCLUDE)/zilog
|
||||
@if test "$(HAS_CPLUSPLUS)" = "yes"; then \
|
||||
$(INSTALL_CHANGE) -m 644 $(RTEMSCPLUSPLUS_H_FILES) $(PROJECT_INCLUDE)/rtems++; \
|
||||
$(INSTALL_CHANGE) -m 644 $(RTEMSCPLUSPLUS_H_FILES) $(LIBRTEMSCPLUSPLUSdir); \
|
||||
fi
|
||||
@if test "$(HAS_NETWORKING)" = "yes"; then \
|
||||
$(INSTALL_CHANGE) -m 644 $(RPC_H_FILES) $(PROJECT_INCLUDE)/rpc; \
|
||||
$(INSTALL_CHANGE) -m 644 $(RPC_H_FILES) $(LIBRPCdir); \
|
||||
fi
|
||||
@if test "$(HAS_RDBG)" = "yes"; then \
|
||||
$(INSTALL_CHANGE) -m 644 $(RDBG_H_FILES) $(PROJECT_INCLUDE)/rdbg; \
|
||||
$(INSTALL_CHANGE) -m 644 $(RDBG_H_FILES) $(LIBRDBGdir); \
|
||||
fi
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
|
||||
@@ -13,7 +13,7 @@ PROJECT_ROOT = @PROJECT_ROOT@
|
||||
|
||||
VPATH = @srcdir@
|
||||
|
||||
H_FILES = $(srcdir)/bsp.h
|
||||
H_FILES = $(srcdir)/bsp.h $(srcdir)/coverhd.h
|
||||
|
||||
#
|
||||
# Equate files are for including from assembly preprocessed by
|
||||
|
||||
@@ -67,7 +67,7 @@ CLOBBER_ADDITIONS +=
|
||||
${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ CLOBBER_ADDITIONS +=
|
||||
${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
install: all
|
||||
|
||||
@@ -19,7 +19,7 @@ crtend.o%s crtn.o%s
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} %{qrtems: \
|
||||
%{!qrtems_debug: start.o%s crti.o%s crtbegin.o%s} \
|
||||
%{qrtems_debug: start_g.o%s}}
|
||||
%{qrtems_debug: start_g.o%s crti.o%s crtbegin.o%s}}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e start}
|
||||
|
||||
@@ -70,7 +70,7 @@ CLOBBER_ADDITIONS +=
|
||||
${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ CLOBBER_ADDITIONS +=
|
||||
${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
@$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
@$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
install: all
|
||||
|
||||
@@ -63,7 +63,7 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
install: all
|
||||
|
||||
@@ -63,7 +63,7 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -68,9 +68,9 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds_ROM $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) ${ARCH}/except_vect_332_ROM.o $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds_ROM $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 ${ARCH}/except_vect_332_ROM.o $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(srcdir)/linkcmds.prom $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(srcdir)/linkcmds.prom $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
|
||||
|
||||
@@ -65,8 +65,8 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) $(srcdir)/elflinkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m644 $(srcdir)/elflinkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -68,7 +68,7 @@ $(srcdir)/rom:
|
||||
$(srcdir)/debugger:
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(srcdir)/rom $(srcdir)/debugger $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(srcdir)/rom $(srcdir)/debugger $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/ghlinkcmds $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/ghlinkcmds $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ all: ${ARCH} $(SRCS) $(PGM)
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
install: all
|
||||
$(INSTALL_CHANGE) linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -68,7 +68,7 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -68,7 +68,7 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
install: all
|
||||
|
||||
@@ -63,7 +63,7 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
install: all
|
||||
|
||||
@@ -64,7 +64,7 @@ CLOBBER_ADDITIONS +=
|
||||
|
||||
all: ${ARCH} $(SRCS) $(OBJS)
|
||||
$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
$(PROJECT_RELEASE)/lib/libbsp.a:
|
||||
cd ../wrapup; $(MAKE) $(AM_MAKEFLAGS)
|
||||
|
||||
@@ -64,7 +64,7 @@ CLOBBER_ADDITIONS +=
|
||||
|
||||
all: ${ARCH} $(SRCS) $(OBJS)
|
||||
$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
$(PROJECT_RELEASE)/lib/libbsp.a:
|
||||
cd ../wrapup; $(MAKE) $(AM_MAKEFLAGS)
|
||||
|
||||
@@ -63,7 +63,7 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
install: all
|
||||
|
||||
@@ -72,7 +72,7 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -68,8 +68,8 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) $(srcdir)/device-tree $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/device-tree $(PROJECT_RELEASE)/lib
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -63,7 +63,7 @@ CLEAN_ADDITIONS +=
|
||||
CLOBBER_ADDITIONS +=
|
||||
|
||||
all: ${ARCH} $(SRCS) $(OBJS) $(PGM)
|
||||
$(INSTALL_VARIANT) -m 755 ${PGMS} $(PROJECT_RELEASE)/lib
|
||||
@$(INSTALL_VARIANT) -m 755 ${PGMS} $(PROJECT_RELEASE)/lib
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -68,7 +68,7 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ ${PGM}: ${SRCS} ${OBJS}
|
||||
$(make-rel)
|
||||
|
||||
all: ${ARCH} $(SRCS) $(PGM)
|
||||
$(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
$(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -44,7 +44,7 @@ $(LIB): ${LIBS} $(RELS)
|
||||
$(RANLIB) $@
|
||||
|
||||
all: ${ARCH} $(SRCS) $(LIB)
|
||||
$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
|
||||
@$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -63,7 +63,7 @@ CLEAN_ADDITIONS +=
|
||||
CLOBBER_ADDITIONS +=
|
||||
|
||||
all: ${ARCH} $(SRCS) $(OBJS) $(PGM)
|
||||
$(INSTALL_VARIANT) -m 755 ${PGMS} $(PROJECT_RELEASE)/lib
|
||||
@$(INSTALL_VARIANT) -m 755 ${PGMS} $(PROJECT_RELEASE)/lib
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -44,7 +44,7 @@ $(LIB): ${LIBS} $(RELS)
|
||||
$(RANLIB) $@
|
||||
|
||||
all: ${ARCH} $(SRCS) $(LIB)
|
||||
$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
|
||||
@$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
|
||||
@@ -34,11 +34,6 @@ if MAINTAINER_MODE
|
||||
$(srcdir)/main.cfg.in: $(top_srcdir)/@RTEMS_TOPdir@/make/main.cfg
|
||||
sed -e 's%\$$(RTEMS_BSP)%\@RTEMS_BSP\@%g' < $< >$@
|
||||
|
||||
$(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 $< $@
|
||||
|
||||
|
||||
@@ -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 $< $@
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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@
|
||||
|
||||
74
c/src/make/aclocal.m4
vendored
74
c/src/make/aclocal.m4
vendored
@@ -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
|
||||
])
|
||||
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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)
|
||||
|
||||
60
c/src/make/configure
vendored
60
c/src/make/configure
vendored
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
#
|
||||
|
||||
@@ -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@
|
||||
PROJECT_ROOT = @PROJECT_ROOT@
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(RTEMS_ROOT)/make/directory.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@
|
||||
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@
|
||||
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_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@
|
||||
|
||||
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
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
||||
|
||||
$(INSTALLDIRS):
|
||||
@$(mkinstalldirs) $(INSTALLDIRS)
|
||||
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
|
||||
|
||||
all: README
|
||||
|
||||
# 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)
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
# 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)
|
||||
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
|
||||
|
||||
# wildcard on this lets ALL test suites be optional
|
||||
SUB_DIRS = $(wildcard tools support samples libtests sptests $(MP_TESTS) \
|
||||
$(POSIX_TESTS) tmtests)
|
||||
|
||||
preinstall: $(INSTALLDIRS)
|
||||
|
||||
CLOBBER_ADDITIONS += config.log config.cache
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$@ 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:
|
||||
|
||||
308
c/src/tests/aclocal.m4
vendored
308
c/src/tests/aclocal.m4
vendored
@@ -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 <sys/types.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/sem.h>
|
||||
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 <sys/types.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/shm.h>
|
||||
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 <sys/types.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/msg.h>
|
||||
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
|
||||
])
|
||||
|
||||
|
||||
|
||||
1049
c/src/tests/configure
vendored
1049
c/src/tests/configure
vendored
File diff suppressed because it is too large
Load Diff
@@ -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)
|
||||
)
|
||||
|
||||
@@ -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
|
||||
|
||||
RTEMS_ROOT = @RTEMS_ROOT@
|
||||
PROJECT_ROOT = @PROJECT_ROOT@
|
||||
|
||||
VPATH = @srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(RTEMS_ROOT)/make/directory.cfg
|
||||
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 = .
|
||||
|
||||
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@
|
||||
|
||||
# We only build the tests for the rtems++ library if HAS_CPLUSPLUS was defined
|
||||
LIBRTEMSCPLUSPLUS_yes_V = rtems++
|
||||
LIBRTEMSCPLUSPLUS = $(LIBRTEMSCPLUSPLUS_$(HAS_CPLUSPLUS)_V)
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
||||
|
||||
SUB_DIRS = cpuuse malloctest monitor rtmonuse stackchk termios \
|
||||
$(LIBRTEMSCPLUSPLUS)
|
||||
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
|
||||
|
||||
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-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:
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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
|
||||
|
||||
RTEMS_ROOT = @RTEMS_ROOT@
|
||||
PROJECT_ROOT = @PROJECT_ROOT@
|
||||
|
||||
VPATH = @srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(RTEMS_ROOT)/make/directory.cfg
|
||||
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 = .
|
||||
|
||||
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:
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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@
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user