newlib: libc: merge sys/ trampoline up a level

The sys/{configure,Makefile} files exist to fan out to the specific
sys/$arch/ subdir, and to possibly generate a crt0.  We already have
all that same info in the libc/ dir itself, so by moving the recursive
configure and make calls into it, we can cut off some of this logic
entirely and save the overhead.

For arches that don't have a sys subdir, it means they can skip the
logic entirely.

The sys subdir itself is kept for the crt0 logic, for now.  We'll try
and clean that up next.
This commit is contained in:
Mike Frysinger 2022-01-22 23:10:46 -05:00
parent db2ef77287
commit fbfeebc221
32 changed files with 266 additions and 16002 deletions

View File

@ -38,9 +38,12 @@ endif
# The order of SUBDIRS is important for the integrated documentation. # The order of SUBDIRS is important for the integrated documentation.
# Do not change the order without considering the doc impact. # Do not change the order without considering the doc impact.
SUBDIRS = argz stdlib ctype search $(STDIO_SUBDIR) $(STDIO64_SUBDIR) string $(SIGNAL_SUBDIR) time locale sys reent \ SUBDIRS = argz stdlib ctype search $(STDIO_SUBDIR) $(STDIO64_SUBDIR) string $(SIGNAL_SUBDIR) sys time locale reent \
errno misc $(UNIX_SUBDIR) $(POSIX_SUBDIR) $(SYSCALLS_SUBDIR) $(NEWLIB_ICONV_DIRS) \ errno misc $(UNIX_SUBDIR) $(POSIX_SUBDIR) $(SYSCALLS_SUBDIR) $(NEWLIB_ICONV_DIRS) \
$(XDR_SUBDIR) ssp $(XDR_SUBDIR) ssp
if HAVE_SYS_DIR
SUBDIRS += $(SYS_DIR)
endif
if HAVE_LIBC_MACHINE_DIR if HAVE_LIBC_MACHINE_DIR
SUBDIRS += $(LIBC_MACHINE_DIR) SUBDIRS += $(LIBC_MACHINE_DIR)
endif endif

View File

@ -90,7 +90,8 @@ PRE_UNINSTALL = :
POST_UNINSTALL = : POST_UNINSTALL = :
build_triplet = @build@ build_triplet = @build@
host_triplet = @host@ host_triplet = @host@
@HAVE_LIBC_MACHINE_DIR_TRUE@am__append_1 = $(LIBC_MACHINE_DIR) @HAVE_SYS_DIR_TRUE@am__append_1 = $(SYS_DIR)
@HAVE_LIBC_MACHINE_DIR_TRUE@am__append_2 = $(LIBC_MACHINE_DIR)
subdir = . subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../config/depstand.m4 \ am__aclocal_m4_deps = $(top_srcdir)/../../config/depstand.m4 \
@ -305,8 +306,8 @@ ETAGS = etags
CTAGS = ctags CTAGS = ctags
CSCOPE = cscope CSCOPE = cscope
DIST_SUBDIRS = argz stdlib ctype search stdio stdio64 string signal \ DIST_SUBDIRS = argz stdlib ctype search stdio stdio64 string signal \
time locale sys reent errno misc unix posix syscalls iconv xdr \ sys time locale reent errno misc unix posix syscalls iconv xdr \
ssp @LIBC_MACHINE_DIR@ . ssp @SYS_DIR@ @LIBC_MACHINE_DIR@ .
ACLOCAL = @ACLOCAL@ ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@ AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
@ -390,6 +391,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@
@ -468,9 +470,10 @@ top_srcdir = @top_srcdir@
# NB: This must come last to avoid parallel build issues with current lib.a # NB: This must come last to avoid parallel build issues with current lib.a
# accumulation logic. # accumulation logic.
SUBDIRS = argz stdlib ctype search $(STDIO_SUBDIR) $(STDIO64_SUBDIR) \ SUBDIRS = argz stdlib ctype search $(STDIO_SUBDIR) $(STDIO64_SUBDIR) \
string $(SIGNAL_SUBDIR) time locale sys reent errno misc \ string $(SIGNAL_SUBDIR) sys time locale reent errno misc \
$(UNIX_SUBDIR) $(POSIX_SUBDIR) $(SYSCALLS_SUBDIR) \ $(UNIX_SUBDIR) $(POSIX_SUBDIR) $(SYSCALLS_SUBDIR) \
$(NEWLIB_ICONV_DIRS) $(XDR_SUBDIR) ssp $(am__append_1) . $(NEWLIB_ICONV_DIRS) $(XDR_SUBDIR) ssp $(am__append_1) \
$(am__append_2) .
noinst_DATA = $(CRT0) noinst_DATA = $(CRT0)
@USE_LIBTOOL_TRUE@noinst_LTLIBRARIES = libc.la @USE_LIBTOOL_TRUE@noinst_LTLIBRARIES = libc.la
@USE_LIBTOOL_FALSE@SUBLIBS = \ @USE_LIBTOOL_FALSE@SUBLIBS = \

View File

@ -300,6 +300,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

126
newlib/libc/configure vendored
View File

@ -643,6 +643,10 @@ ENABLE_NEWLIB_ICONV_TRUE
HAVE_LONG_DOUBLE_FALSE HAVE_LONG_DOUBLE_FALSE
HAVE_LONG_DOUBLE_TRUE HAVE_LONG_DOUBLE_TRUE
LIBC_SYS_LIB LIBC_SYS_LIB
HAVE_SYS_DIR_FALSE
HAVE_SYS_DIR_TRUE
SYS_DIR
subdirs
HAVE_UNIX_DIR_FALSE HAVE_UNIX_DIR_FALSE
HAVE_UNIX_DIR_TRUE HAVE_UNIX_DIR_TRUE
LIBC_UNIX_LIB LIBC_UNIX_LIB
@ -670,7 +674,6 @@ HAVE_SIGNAL_DIR_TRUE
LIBC_SIGNAL_DEF LIBC_SIGNAL_DEF
LIBC_SIGNAL_LIB LIBC_SIGNAL_LIB
CRT0 CRT0
subdirs
CPP CPP
OTOOL64 OTOOL64
OTOOL OTOOL
@ -854,7 +857,34 @@ LDFLAGS
LIBS LIBS
CPPFLAGS CPPFLAGS
CPP' CPP'
ac_subdirs_all='sys ac_subdirs_all='sys/a29khif
sys/amdgcn
sys/arm
sys/d10v
sys/decstation
sys/epiphany
sys/h8300hms
sys/h8500hms
sys/linux
sys/m88kbug
sys/mmixware
sys/netware
sys/or1k
sys/phoenix
sys/rdos
sys/rtems
sys/sh
sys/sparc64
sys/sun4
sys/sysmec
sys/sysnec810
sys/sysnecv850
sys/sysvi386
sys/sysvnecv70
sys/tic80
sys/tirtos
sys/w65
sys/z8ksim
machine/a29k machine/a29k
machine/aarch64 machine/aarch64
machine/amdgcn machine/amdgcn
@ -11754,7 +11784,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF cat > conftest.$ac_ext <<_LT_EOF
#line 11757 "configure" #line 11787 "configure"
#include "confdefs.h" #include "confdefs.h"
#if HAVE_DLFCN_H #if HAVE_DLFCN_H
@ -11860,7 +11890,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF cat > conftest.$ac_ext <<_LT_EOF
#line 11863 "configure" #line 11893 "configure"
#include "confdefs.h" #include "confdefs.h"
#if HAVE_DLFCN_H #if HAVE_DLFCN_H
@ -12099,11 +12129,6 @@ CC="$lt_save_CC"
fi fi
subdirs="$subdirs sys"
CRT0= CRT0=
if test "x${have_crt0}" = "xyes"; then if test "x${have_crt0}" = "xyes"; then
CRT0=crt0.o CRT0=crt0.o
@ -12255,13 +12280,85 @@ fi
LIBC_SYS_LIB= LIBC_SYS_LIB=
if test -n "${sys_dir}"; then if test -n "${sys_dir}"; then
case ${sys_dir} in
a29khif)
subdirs="$subdirs sys/a29khif"
;;
amdgcn) subdirs="$subdirs sys/amdgcn"
;;
arm) subdirs="$subdirs sys/arm"
;;
d10v) subdirs="$subdirs sys/d10v"
;;
decstation) subdirs="$subdirs sys/decstation"
;;
epiphany) subdirs="$subdirs sys/epiphany"
;;
h8300hms) subdirs="$subdirs sys/h8300hms"
;;
h8500hms) subdirs="$subdirs sys/h8500hms"
;;
linux) subdirs="$subdirs sys/linux"
;;
m88kbug) subdirs="$subdirs sys/m88kbug"
;;
mmixware) subdirs="$subdirs sys/mmixware"
;;
netware) subdirs="$subdirs sys/netware"
;;
or1k) subdirs="$subdirs sys/or1k"
;;
phoenix) subdirs="$subdirs sys/phoenix"
;;
rdos) subdirs="$subdirs sys/rdos"
;;
rtems) subdirs="$subdirs sys/rtems"
;;
sh) subdirs="$subdirs sys/sh"
;;
sparc64) subdirs="$subdirs sys/sparc64"
;;
sun4) subdirs="$subdirs sys/sun4"
;;
sysmec) subdirs="$subdirs sys/sysmec"
;;
sysnec810) subdirs="$subdirs sys/sysnec810"
;;
sysnecv850) subdirs="$subdirs sys/sysnecv850"
;;
sysvi386) subdirs="$subdirs sys/sysvi386"
;;
sysvnecv70) subdirs="$subdirs sys/sysvnecv70"
;;
tic80) subdirs="$subdirs sys/tic80"
;;
tirtos) subdirs="$subdirs sys/tirtos"
;;
w65) subdirs="$subdirs sys/w65"
;;
z8ksim) subdirs="$subdirs sys/z8ksim"
;;
*) as_fn_error $? "unsupported sys_dir \"${sys_dir}\"" "$LINENO" 5 ;;
esac
SYS_DIR=sys/${sys_dir}
if test "${use_libtool}" = "yes"; then if test "${use_libtool}" = "yes"; then
LIBC_SYS_LIB=sys/${sys_dir}/lib${sys_dir}.${aext} LIBC_SYS_LIB=${SYS_DIR}/lib${sys_dir}.${aext}
else else
LIBC_SYS_LIB=sys/lib.${aext} LIBC_SYS_LIB=${SYS_DIR}/lib.${aext}
fi fi
fi fi
if test x${sys_dir} != x; then
HAVE_SYS_DIR_TRUE=
HAVE_SYS_DIR_FALSE='#'
else
HAVE_SYS_DIR_TRUE='#'
HAVE_SYS_DIR_FALSE=
fi
@ -12468,7 +12565,7 @@ fi
ac_config_files="$ac_config_files Makefile argz/Makefile ctype/Makefile errno/Makefile locale/Makefile misc/Makefile reent/Makefile search/Makefile stdio/Makefile stdio64/Makefile stdlib/Makefile string/Makefile time/Makefile posix/Makefile signal/Makefile syscalls/Makefile unix/Makefile iconv/Makefile iconv/ces/Makefile iconv/ccs/Makefile iconv/ccs/binary/Makefile iconv/lib/Makefile ssp/Makefile xdr/Makefile" ac_config_files="$ac_config_files Makefile argz/Makefile ctype/Makefile errno/Makefile locale/Makefile misc/Makefile reent/Makefile search/Makefile stdio/Makefile stdio64/Makefile stdlib/Makefile string/Makefile time/Makefile posix/Makefile signal/Makefile syscalls/Makefile unix/Makefile iconv/Makefile iconv/ces/Makefile iconv/ccs/Makefile iconv/ccs/binary/Makefile iconv/lib/Makefile ssp/Makefile sys/Makefile xdr/Makefile"
cat >confcache <<\_ACEOF cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure # This file is a shell script that caches the results of configure
@ -12715,6 +12812,10 @@ if test -z "${HAVE_UNIX_DIR_TRUE}" && test -z "${HAVE_UNIX_DIR_FALSE}"; then
as_fn_error $? "conditional \"HAVE_UNIX_DIR\" was never defined. as_fn_error $? "conditional \"HAVE_UNIX_DIR\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
if test -z "${HAVE_SYS_DIR_TRUE}" && test -z "${HAVE_SYS_DIR_FALSE}"; then
as_fn_error $? "conditional \"HAVE_SYS_DIR\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${HAVE_LONG_DOUBLE_TRUE}" && test -z "${HAVE_LONG_DOUBLE_FALSE}"; then if test -z "${HAVE_LONG_DOUBLE_TRUE}" && test -z "${HAVE_LONG_DOUBLE_FALSE}"; then
as_fn_error $? "conditional \"HAVE_LONG_DOUBLE\" was never defined. as_fn_error $? "conditional \"HAVE_LONG_DOUBLE\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
@ -13588,6 +13689,7 @@ do
"iconv/ccs/binary/Makefile") CONFIG_FILES="$CONFIG_FILES iconv/ccs/binary/Makefile" ;; "iconv/ccs/binary/Makefile") CONFIG_FILES="$CONFIG_FILES iconv/ccs/binary/Makefile" ;;
"iconv/lib/Makefile") CONFIG_FILES="$CONFIG_FILES iconv/lib/Makefile" ;; "iconv/lib/Makefile") CONFIG_FILES="$CONFIG_FILES iconv/lib/Makefile" ;;
"ssp/Makefile") CONFIG_FILES="$CONFIG_FILES ssp/Makefile" ;; "ssp/Makefile") CONFIG_FILES="$CONFIG_FILES ssp/Makefile" ;;
"sys/Makefile") CONFIG_FILES="$CONFIG_FILES sys/Makefile" ;;
"xdr/Makefile") CONFIG_FILES="$CONFIG_FILES xdr/Makefile" ;; "xdr/Makefile") CONFIG_FILES="$CONFIG_FILES xdr/Makefile" ;;
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;

View File

@ -58,8 +58,6 @@ if test "${use_libtool}" = "yes"; then
LT_INIT([win32-dll]) LT_INIT([win32-dll])
fi fi
AC_CONFIG_SUBDIRS(sys)
CRT0= CRT0=
if test "x${have_crt0}" = "xyes"; then if test "x${have_crt0}" = "xyes"; then
CRT0=crt0.o CRT0=crt0.o
@ -167,12 +165,47 @@ dnl do. However, we do need to know whether they will produce a library.
LIBC_SYS_LIB= LIBC_SYS_LIB=
if test -n "${sys_dir}"; then if test -n "${sys_dir}"; then
case ${sys_dir} in
a29khif) AC_CONFIG_SUBDIRS(sys/a29khif) ;;
amdgcn) AC_CONFIG_SUBDIRS(sys/amdgcn) ;;
arm) AC_CONFIG_SUBDIRS(sys/arm) ;;
d10v) AC_CONFIG_SUBDIRS(sys/d10v) ;;
decstation) AC_CONFIG_SUBDIRS(sys/decstation) ;;
epiphany) AC_CONFIG_SUBDIRS(sys/epiphany) ;;
h8300hms) AC_CONFIG_SUBDIRS(sys/h8300hms) ;;
h8500hms) AC_CONFIG_SUBDIRS(sys/h8500hms) ;;
linux) AC_CONFIG_SUBDIRS(sys/linux) ;;
m88kbug) AC_CONFIG_SUBDIRS(sys/m88kbug) ;;
mmixware) AC_CONFIG_SUBDIRS(sys/mmixware) ;;
netware) AC_CONFIG_SUBDIRS(sys/netware) ;;
or1k) AC_CONFIG_SUBDIRS(sys/or1k) ;;
phoenix) AC_CONFIG_SUBDIRS(sys/phoenix) ;;
rdos) AC_CONFIG_SUBDIRS(sys/rdos) ;;
rtems) AC_CONFIG_SUBDIRS(sys/rtems) ;;
sh) AC_CONFIG_SUBDIRS(sys/sh) ;;
sparc64) AC_CONFIG_SUBDIRS(sys/sparc64) ;;
sun4) AC_CONFIG_SUBDIRS(sys/sun4) ;;
sysmec) AC_CONFIG_SUBDIRS(sys/sysmec) ;;
sysnec810) AC_CONFIG_SUBDIRS(sys/sysnec810) ;;
sysnecv850) AC_CONFIG_SUBDIRS(sys/sysnecv850) ;;
sysvi386) AC_CONFIG_SUBDIRS(sys/sysvi386) ;;
sysvnecv70) AC_CONFIG_SUBDIRS(sys/sysvnecv70) ;;
tic80) AC_CONFIG_SUBDIRS(sys/tic80) ;;
tirtos) AC_CONFIG_SUBDIRS(sys/tirtos) ;;
w65) AC_CONFIG_SUBDIRS(sys/w65) ;;
z8ksim) AC_CONFIG_SUBDIRS(sys/z8ksim) ;;
*) AC_MSG_ERROR([unsupported sys_dir "${sys_dir}"]) ;;
esac
SYS_DIR=sys/${sys_dir}
if test "${use_libtool}" = "yes"; then if test "${use_libtool}" = "yes"; then
LIBC_SYS_LIB=sys/${sys_dir}/lib${sys_dir}.${aext} LIBC_SYS_LIB=${SYS_DIR}/lib${sys_dir}.${aext}
else else
LIBC_SYS_LIB=sys/lib.${aext} LIBC_SYS_LIB=${SYS_DIR}/lib.${aext}
fi fi
fi fi
AC_SUBST(SYS_DIR)
AM_CONDITIONAL(HAVE_SYS_DIR, test x${sys_dir} != x)
AC_SUBST(LIBC_SYS_LIB) AC_SUBST(LIBC_SYS_LIB)
AC_SUBST(sys_dir) AC_SUBST(sys_dir)
@ -260,5 +293,5 @@ AC_SUBST(LIBC_MACHINE_LIB)
AC_SUBST(machine_dir) AC_SUBST(machine_dir)
AC_SUBST(shared_machine_dir) AC_SUBST(shared_machine_dir)
AC_CONFIG_FILES([Makefile argz/Makefile ctype/Makefile errno/Makefile locale/Makefile misc/Makefile reent/Makefile search/Makefile stdio/Makefile stdio64/Makefile stdlib/Makefile string/Makefile time/Makefile posix/Makefile signal/Makefile syscalls/Makefile unix/Makefile iconv/Makefile iconv/ces/Makefile iconv/ccs/Makefile iconv/ccs/binary/Makefile iconv/lib/Makefile ssp/Makefile xdr/Makefile]) AC_CONFIG_FILES([Makefile argz/Makefile ctype/Makefile errno/Makefile locale/Makefile misc/Makefile reent/Makefile search/Makefile stdio/Makefile stdio64/Makefile stdlib/Makefile string/Makefile time/Makefile posix/Makefile signal/Makefile syscalls/Makefile unix/Makefile iconv/Makefile iconv/ces/Makefile iconv/ccs/Makefile iconv/ccs/binary/Makefile iconv/lib/Makefile ssp/Makefile sys/Makefile xdr/Makefile])
AC_OUTPUT AC_OUTPUT

View File

@ -358,6 +358,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -273,6 +273,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -272,6 +272,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -339,6 +339,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -238,6 +238,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -278,6 +278,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -271,6 +271,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -289,6 +289,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -282,6 +282,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -312,6 +312,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -308,6 +308,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -297,6 +297,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -274,6 +274,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -297,6 +297,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -464,6 +464,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -288,6 +288,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -391,6 +391,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -375,6 +375,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -1,25 +1,7 @@
## Process this file with automake to generate Makefile.in ## Process this file with automake to generate Makefile.in
SUBDIRS = $(sys_dir) .
if HAVE_SYS_DIR
SYSLIB = lib.a
endif
noinst_DATA = $(CRT0) noinst_DATA = $(CRT0)
if USE_LIBTOOL
else
noinst_LIBRARIES = $(SYSLIB)
lib.a: $(sys_dir)/lib.a
rm -f $@
ln $(sys_dir)/lib.a $@ >/dev/null 2>/dev/null \
|| cp $(sys_dir)/lib.a $@
endif # USE_LIBTOOL
$(sys_dir)/libsys.$(aext): ; @true
$(CRT0): $(sys_dir)/$(CRT0) $(CRT0): $(sys_dir)/$(CRT0)
rm -f $@ rm -f $@
ln $(sys_dir)/$(CRT0) $@ >/dev/null 2>/dev/null \ ln $(sys_dir)/$(CRT0) $@ >/dev/null 2>/dev/null \
@ -32,6 +14,3 @@ CLEANFILES = $(CRT0)
doc: doc:
docbook: docbook:
ACLOCAL_AMFLAGS = -I ../.. -I ../../.. -I ../../../config
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host

View File

@ -14,7 +14,6 @@
@SET_MAKE@ @SET_MAKE@
VPATH = @srcdir@ VPATH = @srcdir@
am__is_gnu_make = { \ am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \ if test -z '$(MAKELEVEL)'; then \
@ -89,36 +88,23 @@ PRE_UNINSTALL = :
POST_UNINSTALL = : POST_UNINSTALL = :
build_triplet = @build@ build_triplet = @build@
host_triplet = @host@ host_triplet = @host@
subdir = . subdir = sys
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../../config/depstand.m4 \ am__aclocal_m4_deps = $(top_srcdir)/../../config/depstand.m4 \
$(top_srcdir)/../../../config/lead-dot.m4 \ $(top_srcdir)/../../config/lead-dot.m4 \
$(top_srcdir)/../../../config/override.m4 \ $(top_srcdir)/../../config/override.m4 \
$(top_srcdir)/../../../libtool.m4 \ $(top_srcdir)/../../libtool.m4 \
$(top_srcdir)/../../../ltoptions.m4 \ $(top_srcdir)/../../ltoptions.m4 \
$(top_srcdir)/../../../ltsugar.m4 \ $(top_srcdir)/../../ltsugar.m4 \
$(top_srcdir)/../../../ltversion.m4 \ $(top_srcdir)/../../ltversion.m4 \
$(top_srcdir)/../../../lt~obsolete.m4 \ $(top_srcdir)/../../lt~obsolete.m4 \
$(top_srcdir)/../../acinclude.m4 $(top_srcdir)/configure.ac $(top_srcdir)/../acinclude.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4) $(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ DIST_COMMON = $(srcdir)/Makefile.am
$(am__configure_deps) mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(SHELL) $(top_srcdir)/../../../mkinstalldirs
CONFIG_CLEAN_FILES = CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES = CONFIG_CLEAN_VPATH_FILES =
LIBRARIES = $(noinst_LIBRARIES)
ARFLAGS = cru
AM_V_AR = $(am__v_AR_@AM_V@)
am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
am__v_AR_0 = @echo " AR " $@;
am__v_AR_1 =
lib_a_AR = $(AR) $(ARFLAGS)
lib_a_LIBADD =
lib_a_SOURCES = lib.c
lib_a_OBJECTS = lib.$(OBJEXT)
AM_V_P = $(am__v_P_@AM_V@) AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false am__v_P_0 = false
@ -131,75 +117,16 @@ AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @ am__v_at_0 = @
am__v_at_1 = am__v_at_1 =
DEFAULT_INCLUDES = -I.@am__isrc@
depcomp = depcomp =
am__depfiles_maybe = am__depfiles_maybe =
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ SOURCES =
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent
am__v_lt_1 =
LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
$(AM_CFLAGS) $(CFLAGS)
AM_V_CC = $(am__v_CC_@AM_V@)
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
am__v_CC_0 = @echo " CC " $@;
am__v_CC_1 =
CCLD = $(CC)
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
am__v_CCLD_0 = @echo " CCLD " $@;
am__v_CCLD_1 =
SOURCES = lib.c
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
ctags-recursive dvi-recursive html-recursive info-recursive \
install-data-recursive install-dvi-recursive \
install-exec-recursive install-html-recursive \
install-info-recursive install-pdf-recursive \
install-ps-recursive install-recursive installcheck-recursive \
installdirs-recursive pdf-recursive ps-recursive \
tags-recursive uninstall-recursive
am__can_run_installinfo = \ am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \ case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \ n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \ *) (install-info --version) >/dev/null 2>&1;; \
esac esac
DATA = $(noinst_DATA) DATA = $(noinst_DATA)
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
am__recursive_targets = \
$(RECURSIVE_TARGETS) \
$(RECURSIVE_CLEAN_TARGETS) \
$(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates. Input order is
# *not* preserved.
am__uniquify_input = $(AWK) '\
BEGIN { nonempty = 0; } \
{ items[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in items) print i; }; } \
'
# Make sure the list of sources is unique. This is necessary because,
# e.g., the same source file might be shared among _SOURCES variables
# for different programs/libraries.
am__define_uniq_tagged_files = \
list='$(am__tagged_files)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
DIST_SUBDIRS = $(SUBDIRS)
ACLOCAL = @ACLOCAL@ ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@ AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
@ -237,6 +164,21 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LD = @LD@ LD = @LD@
LDFLAGS = @LDFLAGS@ LDFLAGS = @LDFLAGS@
LIBC_MACHINE_DIR = @LIBC_MACHINE_DIR@
LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@
LIBC_POSIX_DEF = @LIBC_POSIX_DEF@
LIBC_POSIX_LIB = @LIBC_POSIX_LIB@
LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@
LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@
LIBC_STDIO64_DEF = @LIBC_STDIO64_DEF@
LIBC_STDIO64_LIB = @LIBC_STDIO64_LIB@
LIBC_STDIO_DEF = @LIBC_STDIO_DEF@
LIBC_STDIO_LIB = @LIBC_STDIO_LIB@
LIBC_SYSCALL_LIB = @LIBC_SYSCALL_LIB@
LIBC_SYS_LIB = @LIBC_SYS_LIB@
LIBC_UNIX_LIB = @LIBC_UNIX_LIB@
LIBC_XDR_DEF = @LIBC_XDR_DEF@
LIBC_XDR_LIB = @LIBC_XDR_LIB@
LIBOBJS = @LIBOBJS@ LIBOBJS = @LIBOBJS@
LIBS = @LIBS@ LIBS = @LIBS@
LIBTOOL = @LIBTOOL@ LIBTOOL = @LIBTOOL@
@ -268,6 +210,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@
@ -329,202 +272,65 @@ target_alias = @target_alias@
top_build_prefix = @top_build_prefix@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@ top_srcdir = @top_srcdir@
SUBDIRS = $(sys_dir) .
@HAVE_SYS_DIR_TRUE@SYSLIB = lib.a
noinst_DATA = $(CRT0) noinst_DATA = $(CRT0)
@USE_LIBTOOL_FALSE@noinst_LIBRARIES = $(SYSLIB)
CLEANFILES = $(CRT0) CLEANFILES = $(CRT0)
ACLOCAL_AMFLAGS = -I ../.. -I ../../.. -I ../../../config all: all-am
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
all: all-recursive
.SUFFIXES: .SUFFIXES:
.SUFFIXES: .c .lo .o .obj
am--refresh: Makefile
@:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \ @for dep in $?; do \
case '$(am__configure_deps)' in \ case '$(am__configure_deps)' in \
*$$dep*) \ *$$dep*) \
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign --ignore-deps'; \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
$(am__cd) $(srcdir) && $(AUTOMAKE) --foreign --ignore-deps \ && { if test -f $@; then exit 0; else break; fi; }; \
&& exit 0; \
exit 1;; \ exit 1;; \
esac; \ esac; \
done; \ done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps Makefile'; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps sys/Makefile'; \
$(am__cd) $(top_srcdir) && \ $(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --foreign --ignore-deps Makefile $(AUTOMAKE) --foreign --ignore-deps sys/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \ @case '$?' in \
*config.status*) \ *config.status*) \
echo ' $(SHELL) ./config.status'; \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
$(SHELL) ./config.status;; \
*) \ *) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac; esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
$(am__cd) $(srcdir) && $(AUTOCONF) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps): $(am__aclocal_m4_deps):
clean-noinstLIBRARIES:
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
@USE_LIBTOOL_TRUE@lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES) $(EXTRA_lib_a_DEPENDENCIES)
@USE_LIBTOOL_TRUE@ $(AM_V_at)-rm -f lib.a
@USE_LIBTOOL_TRUE@ $(AM_V_AR)$(lib_a_AR) lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
@USE_LIBTOOL_TRUE@ $(AM_V_at)$(RANLIB) lib.a
mostlyclean-compile:
-rm -f *.$(OBJEXT)
distclean-compile:
-rm -f *.tab.c
.c.o:
$(AM_V_CC)$(COMPILE) -c -o $@ $<
.c.obj:
$(AM_V_CC)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
.c.lo:
$(AM_V_CC)$(LTCOMPILE) -c -o $@ $<
mostlyclean-libtool: mostlyclean-libtool:
-rm -f *.lo -rm -f *.lo
clean-libtool: clean-libtool:
-rm -rf .libs _libs -rm -rf .libs _libs
tags TAGS:
distclean-libtool: ctags CTAGS:
-rm -f libtool config.lt
# This directory's subdirectories are mostly independent; you can cd cscope cscopelist:
# 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.
$(am__recursive_targets):
@fail=; \
if $(am__make_keepgoing); then \
failcom='fail=yes'; \
else \
failcom='exit 1'; \
fi; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
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; \
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
ID: $(am__tagged_files)
$(am__define_uniq_tagged_files); mkid -fID $$unique
tags: tags-recursive
TAGS: tags
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
include_option=--etags-include; \
empty_fix=.; \
else \
include_option=--include; \
empty_fix=; \
fi; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test ! -f $$subdir/TAGS || \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
$(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
ctags: ctags-recursive
CTAGS: ctags
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
$(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
clean-cscope:
-rm -f cscope.files
cscope.files: clean-cscope cscopelist
cscopelist: cscopelist-recursive
cscopelist-am: $(am__tagged_files)
list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
esac; \
for i in $$list; do \
if test -f "$$i"; then \
echo "$(subdir)/$$i"; \
else \
echo "$$sdir/$$i"; \
fi; \
done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
check-am: all-am check-am: all-am
check: check-recursive check: check-am
all-am: Makefile $(LIBRARIES) $(DATA) all-am: Makefile $(DATA)
installdirs: installdirs-recursive installdirs:
installdirs-am: install: install-am
install: install-recursive install-exec: install-exec-am
install-exec: install-exec-recursive install-data: install-data-am
install-data: install-data-recursive uninstall: uninstall-am
uninstall: uninstall-recursive
install-am: all-am install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-recursive installcheck: installcheck-am
install-strip: install-strip:
if test -z '$(STRIP)'; then \ if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
@ -547,105 +353,89 @@ distclean-generic:
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild." @echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive clean: clean-am
clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \ clean-am: clean-generic clean-libtool mostlyclean-am
mostlyclean-am
distclean: distclean-recursive distclean: distclean-am
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -f Makefile -rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \ distclean-am: clean-am distclean-generic
distclean-libtool distclean-tags
dvi: dvi-recursive dvi: dvi-am
dvi-am: dvi-am:
html: html-recursive html: html-am
html-am: html-am:
info: info-recursive info: info-am
info-am: info-am:
install-data-am: install-data-am:
install-dvi: install-dvi-recursive install-dvi: install-dvi-am
install-dvi-am: install-dvi-am:
install-exec-am: install-exec-am:
install-html: install-html-recursive install-html: install-html-am
install-html-am: install-html-am:
install-info: install-info-recursive install-info: install-info-am
install-info-am: install-info-am:
install-man: install-man:
install-pdf: install-pdf-recursive install-pdf: install-pdf-am
install-pdf-am: install-pdf-am:
install-ps: install-ps-recursive install-ps: install-ps-am
install-ps-am: install-ps-am:
installcheck-am: installcheck-am:
maintainer-clean: maintainer-clean-recursive maintainer-clean: maintainer-clean-am
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
-rm -f Makefile -rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-am: mostlyclean-generic mostlyclean-libtool
mostlyclean-libtool
pdf: pdf-recursive pdf: pdf-am
pdf-am: pdf-am:
ps: ps-recursive ps: ps-am
ps-am: ps-am:
uninstall-am: uninstall-am:
.MAKE: $(am__recursive_targets) install-am install-strip .MAKE: install-am install-strip
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ .PHONY: all all-am check check-am clean clean-generic clean-libtool \
am--refresh check check-am clean clean-cscope clean-generic \ cscopelist-am ctags-am distclean distclean-generic \
clean-libtool clean-noinstLIBRARIES cscope cscopelist-am ctags \ distclean-libtool dvi dvi-am html html-am info info-am install \
ctags-am distclean distclean-compile distclean-generic \ install-am install-data install-data-am install-dvi \
distclean-libtool distclean-tags dvi dvi-am html html-am info \ install-dvi-am install-exec install-exec-am install-html \
info-am install install-am install-data install-data-am \ install-html-am install-info install-info-am install-man \
install-dvi install-dvi-am install-exec install-exec-am \ install-pdf install-pdf-am install-ps install-ps-am \
install-html install-html-am install-info install-info-am \ install-strip installcheck installcheck-am installdirs \
install-man install-pdf install-pdf-am install-ps \ maintainer-clean maintainer-clean-generic mostlyclean \
install-ps-am install-strip installcheck installcheck-am \
installdirs installdirs-am maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
tags tags-am uninstall uninstall-am tags-am uninstall uninstall-am
.PRECIOUS: Makefile .PRECIOUS: Makefile
@USE_LIBTOOL_FALSE@lib.a: $(sys_dir)/lib.a
@USE_LIBTOOL_FALSE@ rm -f $@
@USE_LIBTOOL_FALSE@ ln $(sys_dir)/lib.a $@ >/dev/null 2>/dev/null \
@USE_LIBTOOL_FALSE@ || cp $(sys_dir)/lib.a $@
$(sys_dir)/libsys.$(aext): ; @true
$(CRT0): $(sys_dir)/$(CRT0) $(CRT0): $(sys_dir)/$(CRT0)
rm -f $@ rm -f $@
ln $(sys_dir)/$(CRT0) $@ >/dev/null 2>/dev/null \ ln $(sys_dir)/$(CRT0) $@ >/dev/null 2>/dev/null \

File diff suppressed because it is too large Load Diff

14428
newlib/libc/sys/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1,63 +0,0 @@
dnl This is the newlib/libc/sys configure.in file.
dnl Process this file with autoconf to produce a configure script.
AC_INIT([newlib],[NEWLIB_VERSION])
AC_CONFIG_SRCDIR([a29khif])
dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
AC_CONFIG_AUX_DIR(../../..)
NEWLIB_CONFIGURE(../..)
dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and
dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first
dnl line of the macro which fail because appropriate LDFLAGS are not set.
_LT_DECL_SED
_LT_PROG_ECHO_BACKSLASH
if test "${use_libtool}" = "yes"; then
LT_INIT([win32-dll])
fi
if test -n "${sys_dir}"; then
case ${sys_dir} in
a29khif) AC_CONFIG_SUBDIRS(a29khif) ;;
amdgcn) AC_CONFIG_SUBDIRS(amdgcn) ;;
arm) AC_CONFIG_SUBDIRS(arm) ;;
d10v) AC_CONFIG_SUBDIRS(d10v) ;;
decstation) AC_CONFIG_SUBDIRS(decstation) ;;
epiphany) AC_CONFIG_SUBDIRS(epiphany) ;;
h8300hms) AC_CONFIG_SUBDIRS(h8300hms) ;;
h8500hms) AC_CONFIG_SUBDIRS(h8500hms) ;;
linux) AC_CONFIG_SUBDIRS(linux) ;;
m88kbug) AC_CONFIG_SUBDIRS(m88kbug) ;;
mmixware) AC_CONFIG_SUBDIRS(mmixware) ;;
netware) AC_CONFIG_SUBDIRS(netware) ;;
or1k) AC_CONFIG_SUBDIRS(or1k) ;;
phoenix) AC_CONFIG_SUBDIRS(phoenix) ;;
rdos) AC_CONFIG_SUBDIRS(rdos) ;;
rtems) AC_CONFIG_SUBDIRS(rtems) ;;
sh) AC_CONFIG_SUBDIRS(sh) ;;
sparc64) AC_CONFIG_SUBDIRS(sparc64) ;;
sun4) AC_CONFIG_SUBDIRS(sun4) ;;
sysmec) AC_CONFIG_SUBDIRS(sysmec) ;;
sysnec810) AC_CONFIG_SUBDIRS(sysnec810) ;;
sysnecv850) AC_CONFIG_SUBDIRS(sysnecv850) ;;
sysvi386) AC_CONFIG_SUBDIRS(sysvi386) ;;
sysvnecv70) AC_CONFIG_SUBDIRS(sysvnecv70) ;;
tic80) AC_CONFIG_SUBDIRS(tic80) ;;
tirtos) AC_CONFIG_SUBDIRS(tirtos) ;;
w65) AC_CONFIG_SUBDIRS(w65) ;;
z8ksim) AC_CONFIG_SUBDIRS(z8ksim) ;;
esac;
fi
CRT0=
if test "x${have_crt0}" = "xyes"; then
CRT0=crt0.o
fi
AC_SUBST(CRT0)
AM_CONDITIONAL(HAVE_SYS_DIR, test x${sys_dir} != x)
AC_CONFIG_FILES([Makefile])
AC_OUTPUT

View File

@ -291,6 +291,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -287,6 +287,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -293,6 +293,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@

View File

@ -286,6 +286,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@ SET_MAKE = @SET_MAKE@
SHELL = @SHELL@ SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
SYS_DIR = @SYS_DIR@
VERSION = @VERSION@ VERSION = @VERSION@
abs_builddir = @abs_builddir@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@ abs_srcdir = @abs_srcdir@