2012-12-21 05:10:27 +08:00
|
|
|
# Makefile.in generated by automake 1.11.6 from Makefile.am.
|
2006-04-12 03:02:16 +08:00
|
|
|
# @configure_input@
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
2012-12-21 05:10:27 +08:00
|
|
|
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
|
|
|
|
# Foundation, Inc.
|
2000-02-18 03:39:52 +08:00
|
|
|
# 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.
|
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
@SET_MAKE@
|
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
VPATH = @srcdir@
|
2012-12-21 05:10:27 +08:00
|
|
|
am__make_dryrun = \
|
|
|
|
{ \
|
|
|
|
am__dry=no; \
|
|
|
|
case $$MAKEFLAGS in \
|
|
|
|
*\\[\ \ ]*) \
|
|
|
|
echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
|
|
|
|
| grep '^AM OK$$' >/dev/null || am__dry=yes;; \
|
|
|
|
*) \
|
|
|
|
for am__flg in $$MAKEFLAGS; do \
|
|
|
|
case $$am__flg in \
|
|
|
|
*=*|--*) ;; \
|
|
|
|
*n*) am__dry=yes; break;; \
|
|
|
|
esac; \
|
|
|
|
done;; \
|
|
|
|
esac; \
|
|
|
|
test $$am__dry = yes; \
|
|
|
|
}
|
2000-02-18 03:39:52 +08:00
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
2009-10-21 06:44:28 +08:00
|
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
|
|
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
2006-04-12 03:02:16 +08:00
|
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
|
|
|
install_sh_PROGRAM = $(install_sh) -c
|
|
|
|
install_sh_SCRIPT = $(install_sh) -c
|
|
|
|
INSTALL_HEADER = $(INSTALL_DATA)
|
|
|
|
transform = $(program_transform_name)
|
2000-02-18 03:39:52 +08:00
|
|
|
NORMAL_INSTALL = :
|
|
|
|
PRE_INSTALL = :
|
|
|
|
POST_INSTALL = :
|
|
|
|
NORMAL_UNINSTALL = :
|
|
|
|
PRE_UNINSTALL = :
|
|
|
|
POST_UNINSTALL = :
|
2002-04-25 04:53:30 +08:00
|
|
|
build_triplet = @build@
|
2000-02-18 03:39:52 +08:00
|
|
|
host_triplet = @host@
|
2006-04-12 03:02:16 +08:00
|
|
|
subdir = .
|
2009-10-21 06:44:28 +08:00
|
|
|
DIST_COMMON = NEWS README ChangeLog $(srcdir)/Makefile.in \
|
|
|
|
$(srcdir)/Makefile.am $(top_srcdir)/configure \
|
|
|
|
$(am__configure_deps) acconfig.h $(srcdir)/newlib.hin \
|
|
|
|
$(srcdir)/../mkinstalldirs
|
2006-04-12 03:02:16 +08:00
|
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
2007-05-25 01:33:42 +08:00
|
|
|
am__aclocal_m4_deps = $(top_srcdir)/../libtool.m4 \
|
|
|
|
$(top_srcdir)/../ltoptions.m4 $(top_srcdir)/../ltsugar.m4 \
|
2008-09-29 23:40:48 +08:00
|
|
|
$(top_srcdir)/../ltversion.m4 $(top_srcdir)/../lt~obsolete.m4 \
|
2009-10-21 06:44:28 +08:00
|
|
|
$(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
|
2006-04-12 03:02:16 +08:00
|
|
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|
|
|
$(ACLOCAL_M4)
|
|
|
|
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
2009-10-21 06:44:28 +08:00
|
|
|
configure.lineno config.status.lineno
|
2006-04-12 03:02:16 +08:00
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
|
|
|
CONFIG_HEADER = newlib.h
|
|
|
|
CONFIG_CLEAN_FILES =
|
2009-10-21 06:44:28 +08:00
|
|
|
CONFIG_CLEAN_VPATH_FILES =
|
2006-04-12 03:02:16 +08:00
|
|
|
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
|
|
|
am__vpath_adj = case $$p in \
|
|
|
|
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
|
|
|
*) f=$$p;; \
|
|
|
|
esac;
|
2009-10-21 06:44:28 +08:00
|
|
|
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
|
|
|
am__install_max = 40
|
|
|
|
am__nobase_strip_setup = \
|
|
|
|
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
|
|
|
am__nobase_strip = \
|
|
|
|
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
|
|
|
am__nobase_list = $(am__nobase_strip_setup); \
|
|
|
|
for p in $$list; do echo "$$p $$p"; done | \
|
|
|
|
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
|
|
|
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
|
|
|
if (++n[$$2] == $(am__install_max)) \
|
|
|
|
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
|
|
|
END { for (dir in files) print dir, files[dir] }'
|
|
|
|
am__base_list = \
|
|
|
|
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
|
|
|
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
2012-12-21 05:10:27 +08:00
|
|
|
am__uninstall_files_from_dir = { \
|
|
|
|
test -z "$$files" \
|
|
|
|
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|
|
|
|
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
|
|
|
|
$(am__cd) "$$dir" && rm -f $$files; }; \
|
|
|
|
}
|
2006-04-12 03:02:16 +08:00
|
|
|
am__installdirs = "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)" \
|
|
|
|
"$(DESTDIR)$(toollibdir)"
|
|
|
|
LIBRARIES = $(toollib_LIBRARIES)
|
|
|
|
ARFLAGS = cru
|
|
|
|
libc_a_AR = $(AR) $(ARFLAGS)
|
|
|
|
libc_a_LIBADD =
|
|
|
|
libc_a_SOURCES = libc.c
|
|
|
|
libc_a_OBJECTS = libc.$(OBJEXT)
|
|
|
|
libm_a_AR = $(AR) $(ARFLAGS)
|
|
|
|
libm_a_LIBADD =
|
|
|
|
libm_a_SOURCES = libm.c
|
|
|
|
libm_a_OBJECTS = libm.$(OBJEXT)
|
|
|
|
LTLIBRARIES = $(toollib_LTLIBRARIES)
|
|
|
|
libc_la_LIBADD =
|
|
|
|
am_libc_la_OBJECTS =
|
|
|
|
libc_la_OBJECTS = $(am_libc_la_OBJECTS)
|
2009-10-21 06:44:28 +08:00
|
|
|
libc_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
|
|
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(libc_la_LDFLAGS) \
|
|
|
|
$(LDFLAGS) -o $@
|
2006-04-12 03:02:16 +08:00
|
|
|
@USE_LIBTOOL_TRUE@am_libc_la_rpath = -rpath $(toollibdir)
|
|
|
|
libm_la_LIBADD =
|
|
|
|
am_libm_la_OBJECTS =
|
|
|
|
libm_la_OBJECTS = $(am_libm_la_OBJECTS)
|
2009-10-21 06:44:28 +08:00
|
|
|
libm_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
|
|
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(libm_la_LDFLAGS) \
|
|
|
|
$(LDFLAGS) -o $@
|
2006-04-12 03:02:16 +08:00
|
|
|
@USE_LIBTOOL_TRUE@am_libm_la_rpath = -rpath $(toollibdir)
|
2009-10-21 06:44:28 +08:00
|
|
|
DEFAULT_INCLUDES = -I.@am__isrc@
|
2006-04-12 03:02:16 +08:00
|
|
|
depcomp =
|
|
|
|
am__depfiles_maybe =
|
|
|
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
|
|
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
2009-10-21 06:44:28 +08:00
|
|
|
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
|
|
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
2006-04-12 03:02:16 +08:00
|
|
|
CCLD = $(CC)
|
2009-10-21 06:44:28 +08:00
|
|
|
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
|
|
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
|
|
|
|
$(LDFLAGS) -o $@
|
2006-04-12 03:02:16 +08:00
|
|
|
SOURCES = libc.c libm.c $(libc_la_SOURCES) $(libm_la_SOURCES)
|
|
|
|
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
|
|
|
html-recursive info-recursive install-data-recursive \
|
2009-10-21 06:44:28 +08:00
|
|
|
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 uninstall-recursive
|
2012-12-21 05:10:27 +08:00
|
|
|
am__can_run_installinfo = \
|
|
|
|
case $$AM_UPDATE_INFO_DIR in \
|
|
|
|
n|no|NO) false;; \
|
|
|
|
*) (install-info --version) >/dev/null 2>&1;; \
|
|
|
|
esac
|
2006-04-12 03:02:16 +08:00
|
|
|
DATA = $(noinst_DATA) $(toollib_DATA)
|
2009-10-21 06:44:28 +08:00
|
|
|
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
|
|
|
distclean-recursive maintainer-clean-recursive
|
|
|
|
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
|
|
|
|
$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS
|
2006-04-12 03:02:16 +08:00
|
|
|
ETAGS = etags
|
|
|
|
CTAGS = ctags
|
|
|
|
DEJATOOL = $(PACKAGE)
|
|
|
|
RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
|
|
|
|
EXPECT = `if test -f $(top_builddir)/../expect/expect; then \
|
|
|
|
echo $(top_builddir)/../expect/expect; \
|
|
|
|
else \
|
|
|
|
echo expect; \
|
|
|
|
fi`
|
|
|
|
RUNTEST = `if test -f $(top_srcdir)/../dejagnu/runtest; then \
|
|
|
|
echo $(top_srcdir)/../dejagnu/runtest; \
|
|
|
|
else \
|
|
|
|
echo runtest; \
|
|
|
|
fi`
|
|
|
|
DIST_SUBDIRS = libc libm doc . @EXTRA_DIRS@
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
|
|
AMTAR = @AMTAR@
|
2000-02-18 03:39:52 +08:00
|
|
|
AR = @AR@
|
|
|
|
AS = @AS@
|
2006-04-12 03:02:16 +08:00
|
|
|
AUTOCONF = @AUTOCONF@
|
|
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
AUTOMAKE = @AUTOMAKE@
|
2001-12-14 07:50:11 +08:00
|
|
|
AWK = @AWK@
|
2000-02-18 03:39:52 +08:00
|
|
|
CC = @CC@
|
2006-04-12 03:02:16 +08:00
|
|
|
CCAS = @CCAS@
|
|
|
|
CCASFLAGS = @CCASFLAGS@
|
|
|
|
CCDEPMODE = @CCDEPMODE@
|
2001-12-14 07:50:11 +08:00
|
|
|
CC_FOR_BUILD = @CC_FOR_BUILD@
|
2002-04-27 04:18:52 +08:00
|
|
|
CC_FOR_NEWLIB = @CC_FOR_NEWLIB@
|
2006-04-12 03:02:16 +08:00
|
|
|
CFLAGS = @CFLAGS@
|
2007-05-25 01:33:42 +08:00
|
|
|
CPP = @CPP@
|
2006-04-12 03:02:16 +08:00
|
|
|
CPPFLAGS = @CPPFLAGS@
|
2000-02-18 03:39:52 +08:00
|
|
|
CRT0 = @CRT0@
|
|
|
|
CRT0_DIR = @CRT0_DIR@
|
2002-04-05 06:41:11 +08:00
|
|
|
CRT1 = @CRT1@
|
|
|
|
CRT1_DIR = @CRT1_DIR@
|
2006-04-12 03:02:16 +08:00
|
|
|
CYGPATH_W = @CYGPATH_W@
|
|
|
|
DEFS = @DEFS@
|
|
|
|
DEPDIR = @DEPDIR@
|
2007-05-25 01:33:42 +08:00
|
|
|
DLLTOOL = @DLLTOOL@
|
2008-09-29 23:40:48 +08:00
|
|
|
DSYMUTIL = @DSYMUTIL@
|
2007-05-25 01:33:42 +08:00
|
|
|
DUMPBIN = @DUMPBIN@
|
2006-04-12 03:02:16 +08:00
|
|
|
ECHO_C = @ECHO_C@
|
|
|
|
ECHO_N = @ECHO_N@
|
|
|
|
ECHO_T = @ECHO_T@
|
2007-05-25 01:33:42 +08:00
|
|
|
EGREP = @EGREP@
|
2000-02-18 03:39:52 +08:00
|
|
|
EXEEXT = @EXEEXT@
|
2002-10-08 07:10:13 +08:00
|
|
|
EXTRA_DIRS = @EXTRA_DIRS@
|
2007-05-25 01:33:42 +08:00
|
|
|
FGREP = @FGREP@
|
|
|
|
GREP = @GREP@
|
2009-10-21 06:44:28 +08:00
|
|
|
INSTALL = @INSTALL@
|
2006-04-12 03:02:16 +08:00
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
2007-05-25 01:33:42 +08:00
|
|
|
LD = @LD@
|
2001-12-14 07:50:11 +08:00
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBM_MACHINE_OBJECTLIST = @LIBM_MACHINE_OBJECTLIST@
|
2006-04-12 03:02:16 +08:00
|
|
|
LIBOBJS = @LIBOBJS@
|
|
|
|
LIBS = @LIBS@
|
2001-12-14 07:50:11 +08:00
|
|
|
LIBTOOL = @LIBTOOL@
|
2008-09-29 23:40:48 +08:00
|
|
|
LIPO = @LIPO@
|
2001-12-14 07:50:11 +08:00
|
|
|
LN_S = @LN_S@
|
2006-04-12 03:02:16 +08:00
|
|
|
LTLIBOBJS = @LTLIBOBJS@
|
2001-12-14 07:50:11 +08:00
|
|
|
MACHINE_OBJECTLIST = @MACHINE_OBJECTLIST@
|
2000-02-18 03:39:52 +08:00
|
|
|
MAINT = @MAINT@
|
|
|
|
MAKEINFO = @MAKEINFO@
|
2009-10-21 06:44:28 +08:00
|
|
|
MKDIR_P = @MKDIR_P@
|
2000-02-18 03:39:52 +08:00
|
|
|
NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
|
2007-05-25 01:33:42 +08:00
|
|
|
NM = @NM@
|
2008-09-29 23:40:48 +08:00
|
|
|
NMEDIT = @NMEDIT@
|
2011-01-13 06:24:06 +08:00
|
|
|
NO_INCLUDE_LIST = @NO_INCLUDE_LIST@
|
2007-05-25 01:33:42 +08:00
|
|
|
OBJDUMP = @OBJDUMP@
|
2002-06-08 05:59:57 +08:00
|
|
|
OBJEXT = @OBJEXT@
|
2008-09-29 23:40:48 +08:00
|
|
|
OTOOL = @OTOOL@
|
|
|
|
OTOOL64 = @OTOOL64@
|
2000-02-18 03:39:52 +08:00
|
|
|
PACKAGE = @PACKAGE@
|
2006-04-12 03:02:16 +08:00
|
|
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
|
|
|
PACKAGE_NAME = @PACKAGE_NAME@
|
|
|
|
PACKAGE_STRING = @PACKAGE_STRING@
|
|
|
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
2010-12-17 05:59:17 +08:00
|
|
|
PACKAGE_URL = @PACKAGE_URL@
|
2006-04-12 03:02:16 +08:00
|
|
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
|
|
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
2001-12-14 07:50:11 +08:00
|
|
|
POSIX_OBJECTLIST = @POSIX_OBJECTLIST@
|
2000-02-18 03:39:52 +08:00
|
|
|
RANLIB = @RANLIB@
|
2006-08-01 07:01:28 +08:00
|
|
|
READELF = @READELF@
|
2007-05-25 01:33:42 +08:00
|
|
|
SED = @SED@
|
2006-04-12 03:02:16 +08:00
|
|
|
SET_MAKE = @SET_MAKE@
|
|
|
|
SHELL = @SHELL@
|
2001-12-14 07:50:11 +08:00
|
|
|
SIGNAL_OBJECTLIST = @SIGNAL_OBJECTLIST@
|
2002-08-27 02:56:09 +08:00
|
|
|
STDIO64_OBJECTLIST = @STDIO64_OBJECTLIST@
|
2002-06-08 05:59:57 +08:00
|
|
|
STRIP = @STRIP@
|
2001-12-14 07:50:11 +08:00
|
|
|
SYSCALL_OBJECTLIST = @SYSCALL_OBJECTLIST@
|
2002-04-04 06:46:21 +08:00
|
|
|
SYS_MACH_OBJECTLIST = @SYS_MACH_OBJECTLIST@
|
2001-12-14 07:50:11 +08:00
|
|
|
SYS_OBJECTLIST = @SYS_OBJECTLIST@
|
|
|
|
UNIX_OBJECTLIST = @UNIX_OBJECTLIST@
|
2000-02-18 03:39:52 +08:00
|
|
|
VERSION = @VERSION@
|
2009-10-21 06:44:28 +08:00
|
|
|
abs_builddir = @abs_builddir@
|
|
|
|
abs_srcdir = @abs_srcdir@
|
|
|
|
abs_top_builddir = @abs_top_builddir@
|
|
|
|
abs_top_srcdir = @abs_top_srcdir@
|
2006-04-12 03:02:16 +08:00
|
|
|
ac_ct_CC = @ac_ct_CC@
|
2007-05-25 01:33:42 +08:00
|
|
|
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
2001-12-14 07:50:11 +08:00
|
|
|
aext = @aext@
|
2006-04-12 03:02:16 +08:00
|
|
|
am__include = @am__include@
|
|
|
|
am__leading_dot = @am__leading_dot@
|
|
|
|
am__quote = @am__quote@
|
|
|
|
am__tar = @am__tar@
|
|
|
|
am__untar = @am__untar@
|
|
|
|
bindir = @bindir@
|
|
|
|
build = @build@
|
|
|
|
build_alias = @build_alias@
|
|
|
|
build_cpu = @build_cpu@
|
|
|
|
build_os = @build_os@
|
|
|
|
build_vendor = @build_vendor@
|
2009-10-21 06:44:28 +08:00
|
|
|
builddir = @builddir@
|
2006-04-12 03:02:16 +08:00
|
|
|
datadir = @datadir@
|
2009-10-21 06:44:28 +08:00
|
|
|
datarootdir = @datarootdir@
|
|
|
|
docdir = @docdir@
|
|
|
|
dvidir = @dvidir@
|
2006-04-12 03:02:16 +08:00
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
host = @host@
|
|
|
|
host_alias = @host_alias@
|
|
|
|
host_cpu = @host_cpu@
|
|
|
|
host_os = @host_os@
|
|
|
|
host_vendor = @host_vendor@
|
2009-10-21 06:44:28 +08:00
|
|
|
htmldir = @htmldir@
|
2006-04-12 03:02:16 +08:00
|
|
|
includedir = @includedir@
|
|
|
|
infodir = @infodir@
|
|
|
|
install_sh = @install_sh@
|
2013-12-24 04:45:10 +08:00
|
|
|
libc_cv_cc_loop_to_function = @libc_cv_cc_loop_to_function@
|
2005-01-08 02:04:39 +08:00
|
|
|
libc_cv_initfinit_array = @libc_cv_initfinit_array@
|
2006-04-12 03:02:16 +08:00
|
|
|
libdir = @libdir@
|
|
|
|
libexecdir = @libexecdir@
|
2001-12-14 07:50:11 +08:00
|
|
|
libm_machine_dir = @libm_machine_dir@
|
2009-10-21 06:44:28 +08:00
|
|
|
localedir = @localedir@
|
2006-04-12 03:02:16 +08:00
|
|
|
localstatedir = @localstatedir@
|
|
|
|
lpfx = @lpfx@
|
2000-02-18 03:39:52 +08:00
|
|
|
machine_dir = @machine_dir@
|
2006-04-12 03:02:16 +08:00
|
|
|
mandir = @mandir@
|
|
|
|
mkdir_p = @mkdir_p@
|
2000-02-18 03:39:52 +08:00
|
|
|
newlib_basedir = @newlib_basedir@
|
2001-12-14 07:50:11 +08:00
|
|
|
oext = @oext@
|
2006-04-12 03:02:16 +08:00
|
|
|
oldincludedir = @oldincludedir@
|
2009-10-21 06:44:28 +08:00
|
|
|
pdfdir = @pdfdir@
|
2006-04-12 03:02:16 +08:00
|
|
|
prefix = @prefix@
|
|
|
|
program_transform_name = @program_transform_name@
|
2009-10-21 06:44:28 +08:00
|
|
|
psdir = @psdir@
|
2006-04-12 03:02:16 +08:00
|
|
|
sbindir = @sbindir@
|
|
|
|
sharedstatedir = @sharedstatedir@
|
2009-10-21 06:44:28 +08:00
|
|
|
srcdir = @srcdir@
|
2006-04-12 03:02:16 +08:00
|
|
|
subdirs = @subdirs@
|
2000-02-18 03:39:52 +08:00
|
|
|
sys_dir = @sys_dir@
|
2006-04-12 03:02:16 +08:00
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
target_alias = @target_alias@
|
2009-10-21 06:44:28 +08:00
|
|
|
top_build_prefix = @top_build_prefix@
|
|
|
|
top_builddir = @top_builddir@
|
|
|
|
top_srcdir = @top_srcdir@
|
2002-04-25 04:53:30 +08:00
|
|
|
AUTOMAKE_OPTIONS = cygnus dejagnu
|
2007-05-25 01:33:42 +08:00
|
|
|
ACLOCAL_AMFLAGS = -I . -I ..
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
# Multilib support variables.
|
|
|
|
MULTISRCTOP =
|
|
|
|
MULTIBUILDTOP =
|
|
|
|
MULTIDIRS =
|
|
|
|
MULTISUBDIR =
|
|
|
|
MULTIDO = true
|
|
|
|
MULTICLEAN = true
|
2001-12-14 07:50:11 +08:00
|
|
|
LIBTOOL_VERSION_INFO = 0:0:0
|
2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
* acinclude.m4 (--enable-newlib-iconv): New configuration option.
(--enable-newlib-builtin-converters): Ditto.
* configure.in: Add code to set _ICONV_ENABLED flag.
Set _MB_LEN_MAX to 1 if not mb enabled.
* configure: Regenerated.
* aclocal.m4: Ditto.
* Makefile.in: Ditto.
* newlib.hin: Add _ICONV_ENABLED flag.
* libc/Makefile.am: Add support for iconv.
* libc/configure.in: Ditto.
* libc/Makefile.in: Regenerated.
* libc/aclocal.m4: Ditto.
* libc/configure: Ditto.
* libc/libc.texinfo: Add iconv documentation.
* libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
libc/iconv/README.TODO, libc/iconv/charset.aliases,
libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
libc/iconv/ccs/binary/big5.cct,
libc/iconv/ccs/binary/cns11643_plane1.cct,
libc/iconv/ccs/binary/cns11643_plane14.cct,
libc/iconv/ccs/binary/cns11643_plane2.cct,
libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
libc/iconv/ccs/binary/iso_8859_1.cct,
libc/iconv/ccs/binary/iso_8859_15.cct,
libc/iconv/ccs/binary/iso_8859_2.cct,
libc/iconv/ccs/binary/iso_8859_4.cct,
libc/iconv/ccs/binary/iso_8859_5.cct,
libc/iconv/ccs/binary/jis_x0201.cct,
libc/iconv/ccs/binary/jis_x0208_1983.cct,
libc/iconv/ccs/binary/jis_x0212_1990.cct,
libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
libc/iconv/ccs/binary/ksx1001.cct,
libc/iconv/ccs/binary/shift_jis.cct,
libc/iconv/ccs/binary/us_ascii.cct,
libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
libc/iconv/lib/local.h, libc/include/iconv.h: New files.
* libc/sys/linux/include/iconv.h: Ditto.
* libc/include/sys/_types.h (_iconv_t): Added.
* doc/aclocal.m4: Regenerated.
* doc/configure: Ditto.
* doc/Makefile.in: Ditto.
* iconvdata/Makefile.in: Ditto.
* iconvdata/aclocal.m4: Ditto.
* iconvdata/configure: Ditto.
* libc/*aclocal.m4: Ditto.
* libc/*Makefile.in: Ditto.
* libc/*configure: Ditto.
* libm/*aclocal.m4: Ditto.
* libm/*Makefile.in: Ditto.
* libm/*configure: Ditto.
2004-01-24 05:37:46 +08:00
|
|
|
@NEWLIB_HW_FP_FALSE@MATHDIR = math
|
2012-10-25 05:01:39 +08:00
|
|
|
|
|
|
|
# The newlib hardware floating-point routines have been disabled due to
|
|
|
|
# inaccuracy. If you wish to work on them, you will need to edit the
|
|
|
|
# configure.in file to re-enable the configuration option. By default,
|
|
|
|
# the NEWLIB_HW_FP variable will always be false.
|
2006-04-12 03:02:16 +08:00
|
|
|
@NEWLIB_HW_FP_TRUE@MATHDIR = mathfp
|
2001-12-14 07:50:11 +08:00
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
# Work around what appears to be a GNU make bug handling MAKEFLAGS
|
|
|
|
# values defined in terms of make variables, as is the case for CC and
|
|
|
|
# friends when we are called from the top level Makefile.
|
2006-04-12 03:02:16 +08:00
|
|
|
AM_MAKEFLAGS = \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
|
|
|
|
"CFLAGS=$(CFLAGS)" \
|
2006-06-06 01:42:57 +08:00
|
|
|
"CCASFLAGS=$(CCASFLAGS)" \
|
2006-04-12 03:02:16 +08:00
|
|
|
"CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
|
|
|
|
"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
|
|
|
|
"INSTALL=$(INSTALL)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"LIBCFLAGS=$(LIBCFLAGS)" \
|
|
|
|
"LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
|
|
|
|
"MAKE=$(MAKE)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
|
|
|
|
"PICFLAG=$(PICFLAG)" \
|
|
|
|
"PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
|
|
|
|
"SHELL=$(SHELL)" \
|
|
|
|
"EXPECT=$(EXPECT)" \
|
|
|
|
"RUNTEST=$(RUNTEST)" \
|
|
|
|
"RUNTESTFLAGS=$(RUNTESTFLAGS)" \
|
|
|
|
"exec_prefix=$(exec_prefix)" \
|
|
|
|
"infodir=$(infodir)" \
|
|
|
|
"libdir=$(libdir)" \
|
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"tooldir=$(tooldir)" \
|
|
|
|
"top_toollibdir=$(toollibdir)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AS=$(AS)" \
|
|
|
|
"CC=$(CC_FOR_NEWLIB)" \
|
|
|
|
"LD=$(LD)" \
|
|
|
|
"LIBCFLAGS=$(LIBCFLAGS)" \
|
|
|
|
"NM=$(NM)" \
|
|
|
|
"PICFLAG=$(PICFLAG)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"DESTDIR=$(DESTDIR)"
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2000-12-09 05:31:08 +08:00
|
|
|
FLAGS_TO_PASS = $(AM_MAKEFLAGS)
|
2001-12-19 06:52:52 +08:00
|
|
|
@HAVE_DOC_FALSE@DOCDIR =
|
2006-04-12 03:02:16 +08:00
|
|
|
@HAVE_DOC_TRUE@DOCDIR = doc
|
|
|
|
SUBDIRS = libc libm \
|
|
|
|
$(DOCDIR) . $(EXTRA_DIRS)
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
tooldir = $(exec_prefix)/$(host_alias)
|
|
|
|
toollibdir = $(tooldir)/lib$(MULTISUBDIR)
|
|
|
|
AR_FLAGS = rc
|
2006-04-12 03:02:16 +08:00
|
|
|
@USE_LIBTOOL_TRUE@toollib_LTLIBRARIES = libm.la \
|
|
|
|
@USE_LIBTOOL_TRUE@ libc.la
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
@USE_LIBTOOL_FALSE@toollib_LIBRARIES = libm.a \
|
|
|
|
@USE_LIBTOOL_FALSE@ libc.a
|
2001-12-14 07:50:11 +08:00
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
noinst_DATA = stmp-targ-include
|
2002-04-05 06:41:11 +08:00
|
|
|
toollib_DATA = $(CRT0) $(CRT1)
|
2001-12-14 07:50:11 +08:00
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
# The functions ldexp, frexp and modf are traditionally supplied in
|
|
|
|
# both libc.a and libm.a. We build them in libm.a and copy them over,
|
|
|
|
# along with some required supporting routines.
|
2006-04-12 03:02:16 +08:00
|
|
|
MATHOBJS_IN_LIBC = \
|
2009-06-24 00:04:33 +08:00
|
|
|
$(lpfx)s_fpclassify.$(oext) $(lpfx)sf_fpclassify.$(oext) \
|
2006-04-12 03:02:16 +08:00
|
|
|
$(lpfx)s_isinf.$(oext) $(lpfx)sf_isinf.$(oext) \
|
|
|
|
$(lpfx)s_isnan.$(oext) $(lpfx)sf_isnan.$(oext) \
|
|
|
|
$(lpfx)s_isinfd.$(oext) $(lpfx)sf_isinff.$(oext) \
|
|
|
|
$(lpfx)s_isnand.$(oext) $(lpfx)sf_isnanf.$(oext) \
|
|
|
|
$(lpfx)s_nan.$(oext) $(lpfx)sf_nan.$(oext) \
|
|
|
|
$(lpfx)s_ldexp.$(oext) $(lpfx)sf_ldexp.$(oext) \
|
|
|
|
$(lpfx)s_frexp.$(oext) $(lpfx)sf_frexp.$(oext) \
|
|
|
|
$(lpfx)s_modf.$(oext) \
|
|
|
|
$(lpfx)sf_modf.$(oext) $(lpfx)s_scalbn.$(oext) \
|
|
|
|
$(lpfx)sf_scalbn.$(oext) \
|
|
|
|
$(lpfx)s_finite.$(oext) $(lpfx)sf_finite.$(oext) \
|
|
|
|
$(lpfx)s_copysign.$(oext) $(lpfx)sf_copysign.$(oext) \
|
|
|
|
$(lpfx)s_infconst.$(oext)
|
|
|
|
|
|
|
|
LIBC_OBJECTLISTS = \
|
|
|
|
$(POSIX_OBJECTLIST) \
|
|
|
|
$(SIGNAL_OBJECTLIST) \
|
|
|
|
$(SYSCALL_OBJECTLIST) \
|
|
|
|
$(UNIX_OBJECTLIST) \
|
|
|
|
$(STDIO64_OBJECTLIST) \
|
|
|
|
libc/argz/objectlist.awk.in \
|
|
|
|
libc/stdlib/objectlist.awk.in \
|
|
|
|
libc/time/objectlist.awk.in \
|
|
|
|
libc/ctype/objectlist.awk.in \
|
|
|
|
libc/search/objectlist.awk.in \
|
|
|
|
libc/string/objectlist.awk.in \
|
|
|
|
libc/locale/objectlist.awk.in \
|
|
|
|
libc/misc/objectlist.awk.in \
|
|
|
|
libc/reent/objectlist.awk.in \
|
|
|
|
libc/errno/objectlist.awk.in \
|
|
|
|
libc/stdio/objectlist.awk.in \
|
|
|
|
$(MACHINE_OBJECTLIST) \
|
|
|
|
$(SYS_OBJECTLIST) \
|
|
|
|
$(SYS_MACH_OBJECTLIST)
|
|
|
|
|
|
|
|
LIBM_OBJECTLISTS = \
|
|
|
|
libm/$(MATHDIR)/objectlist.awk.in \
|
|
|
|
libm/common/objectlist.awk.in \
|
|
|
|
$(LIBM_MACHINE_OBJECTLIST)
|
2001-12-14 07:50:11 +08:00
|
|
|
|
2004-12-04 07:46:28 +08:00
|
|
|
libm_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib -no-undefined -Xcompiler -nostdlib -Xlinker --version-script=$(srcdir)/libc/sys/linux/shared.ld -lgcc -objectlist libm-libtool-objectlist
|
|
|
|
libc_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib -no-undefined -Xcompiler -nostdlib -Xlinker --version-script=$(srcdir)/libc/sys/linux/shared.ld -lgcc -objectlist libc-libtool-objectlist
|
2001-12-14 07:50:11 +08:00
|
|
|
@USE_LIBTOOL_TRUE@libm_la_SOURCES =
|
2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
* acinclude.m4 (--enable-newlib-iconv): New configuration option.
(--enable-newlib-builtin-converters): Ditto.
* configure.in: Add code to set _ICONV_ENABLED flag.
Set _MB_LEN_MAX to 1 if not mb enabled.
* configure: Regenerated.
* aclocal.m4: Ditto.
* Makefile.in: Ditto.
* newlib.hin: Add _ICONV_ENABLED flag.
* libc/Makefile.am: Add support for iconv.
* libc/configure.in: Ditto.
* libc/Makefile.in: Regenerated.
* libc/aclocal.m4: Ditto.
* libc/configure: Ditto.
* libc/libc.texinfo: Add iconv documentation.
* libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
libc/iconv/README.TODO, libc/iconv/charset.aliases,
libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
libc/iconv/ccs/binary/big5.cct,
libc/iconv/ccs/binary/cns11643_plane1.cct,
libc/iconv/ccs/binary/cns11643_plane14.cct,
libc/iconv/ccs/binary/cns11643_plane2.cct,
libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
libc/iconv/ccs/binary/iso_8859_1.cct,
libc/iconv/ccs/binary/iso_8859_15.cct,
libc/iconv/ccs/binary/iso_8859_2.cct,
libc/iconv/ccs/binary/iso_8859_4.cct,
libc/iconv/ccs/binary/iso_8859_5.cct,
libc/iconv/ccs/binary/jis_x0201.cct,
libc/iconv/ccs/binary/jis_x0208_1983.cct,
libc/iconv/ccs/binary/jis_x0212_1990.cct,
libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
libc/iconv/ccs/binary/ksx1001.cct,
libc/iconv/ccs/binary/shift_jis.cct,
libc/iconv/ccs/binary/us_ascii.cct,
libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
libc/iconv/lib/local.h, libc/include/iconv.h: New files.
* libc/sys/linux/include/iconv.h: Ditto.
* libc/include/sys/_types.h (_iconv_t): Added.
* doc/aclocal.m4: Regenerated.
* doc/configure: Ditto.
* doc/Makefile.in: Ditto.
* iconvdata/Makefile.in: Ditto.
* iconvdata/aclocal.m4: Ditto.
* iconvdata/configure: Ditto.
* libc/*aclocal.m4: Ditto.
* libc/*Makefile.in: Ditto.
* libc/*configure: Ditto.
* libm/*aclocal.m4: Ditto.
* libm/*Makefile.in: Ditto.
* libm/*configure: Ditto.
2004-01-24 05:37:46 +08:00
|
|
|
@USE_LIBTOOL_TRUE@libm_la_DEPENDENCIES = libm-libtool-objectlist
|
2001-12-14 07:50:11 +08:00
|
|
|
@USE_LIBTOOL_TRUE@libc_la_SOURCES =
|
2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
* acinclude.m4 (--enable-newlib-iconv): New configuration option.
(--enable-newlib-builtin-converters): Ditto.
* configure.in: Add code to set _ICONV_ENABLED flag.
Set _MB_LEN_MAX to 1 if not mb enabled.
* configure: Regenerated.
* aclocal.m4: Ditto.
* Makefile.in: Ditto.
* newlib.hin: Add _ICONV_ENABLED flag.
* libc/Makefile.am: Add support for iconv.
* libc/configure.in: Ditto.
* libc/Makefile.in: Regenerated.
* libc/aclocal.m4: Ditto.
* libc/configure: Ditto.
* libc/libc.texinfo: Add iconv documentation.
* libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
libc/iconv/README.TODO, libc/iconv/charset.aliases,
libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
libc/iconv/ccs/binary/big5.cct,
libc/iconv/ccs/binary/cns11643_plane1.cct,
libc/iconv/ccs/binary/cns11643_plane14.cct,
libc/iconv/ccs/binary/cns11643_plane2.cct,
libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
libc/iconv/ccs/binary/iso_8859_1.cct,
libc/iconv/ccs/binary/iso_8859_15.cct,
libc/iconv/ccs/binary/iso_8859_2.cct,
libc/iconv/ccs/binary/iso_8859_4.cct,
libc/iconv/ccs/binary/iso_8859_5.cct,
libc/iconv/ccs/binary/jis_x0201.cct,
libc/iconv/ccs/binary/jis_x0208_1983.cct,
libc/iconv/ccs/binary/jis_x0212_1990.cct,
libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
libc/iconv/ccs/binary/ksx1001.cct,
libc/iconv/ccs/binary/shift_jis.cct,
libc/iconv/ccs/binary/us_ascii.cct,
libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
libc/iconv/lib/local.h, libc/include/iconv.h: New files.
* libc/sys/linux/include/iconv.h: Ditto.
* libc/include/sys/_types.h (_iconv_t): Added.
* doc/aclocal.m4: Regenerated.
* doc/configure: Ditto.
* doc/Makefile.in: Ditto.
* iconvdata/Makefile.in: Ditto.
* iconvdata/aclocal.m4: Ditto.
* iconvdata/configure: Ditto.
* libc/*aclocal.m4: Ditto.
* libc/*Makefile.in: Ditto.
* libc/*configure: Ditto.
* libm/*aclocal.m4: Ditto.
* libm/*Makefile.in: Ditto.
* libm/*configure: Ditto.
2004-01-24 05:37:46 +08:00
|
|
|
@USE_LIBTOOL_TRUE@libc_la_DEPENDENCIES = libc-libtool-objectlist
|
2011-01-06 06:48:56 +08:00
|
|
|
CLEANFILES = stmp-targ-include
|
2000-02-18 03:39:52 +08:00
|
|
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|
|
|
|
MAKEOVERRIDES =
|
2002-04-25 04:53:30 +08:00
|
|
|
|
|
|
|
# dejagnu support
|
|
|
|
RUNTESTFLAGS =
|
2006-04-12 03:02:16 +08:00
|
|
|
all: newlib.h
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
.SUFFIXES:
|
2006-04-12 03:02:16 +08:00
|
|
|
.SUFFIXES: .c .lo .o .obj
|
2012-12-21 05:10:27 +08:00
|
|
|
am--refresh: Makefile
|
2006-04-12 03:02:16 +08:00
|
|
|
@:
|
|
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
|
|
|
|
@for dep in $?; do \
|
|
|
|
case '$(am__configure_deps)' in \
|
|
|
|
*$$dep*) \
|
2009-10-21 06:44:28 +08:00
|
|
|
echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus'; \
|
|
|
|
$(am__cd) $(srcdir) && $(AUTOMAKE) --cygnus \
|
2006-04-12 03:02:16 +08:00
|
|
|
&& exit 0; \
|
|
|
|
exit 1;; \
|
|
|
|
esac; \
|
|
|
|
done; \
|
2009-10-21 06:44:28 +08:00
|
|
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile'; \
|
|
|
|
$(am__cd) $(top_srcdir) && \
|
|
|
|
$(AUTOMAKE) --cygnus Makefile
|
2006-04-12 03:02:16 +08:00
|
|
|
.PRECIOUS: Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
|
@case '$?' in \
|
|
|
|
*config.status*) \
|
|
|
|
echo ' $(SHELL) ./config.status'; \
|
|
|
|
$(SHELL) ./config.status;; \
|
|
|
|
*) \
|
|
|
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
|
|
|
esac;
|
|
|
|
|
|
|
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
2000-02-18 03:39:52 +08:00
|
|
|
$(SHELL) ./config.status --recheck
|
2006-04-12 03:02:16 +08:00
|
|
|
|
|
|
|
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
2009-10-21 06:44:28 +08:00
|
|
|
$(am__cd) $(srcdir) && $(AUTOCONF)
|
2006-04-12 03:02:16 +08:00
|
|
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
2009-10-21 06:44:28 +08:00
|
|
|
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
|
|
|
$(am__aclocal_m4_deps):
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
newlib.h: stamp-h1
|
2012-12-21 05:10:27 +08:00
|
|
|
@if test ! -f $@; then rm -f stamp-h1; else :; fi
|
|
|
|
@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
|
2002-08-28 04:27:35 +08:00
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
stamp-h1: $(srcdir)/newlib.hin $(top_builddir)/config.status
|
|
|
|
@rm -f stamp-h1
|
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status newlib.h
|
2002-08-28 04:27:35 +08:00
|
|
|
|
|
|
|
distclean-hdr:
|
2006-04-12 03:02:16 +08:00
|
|
|
-rm -f newlib.h stamp-h1
|
2000-02-18 03:39:52 +08:00
|
|
|
install-toollibLIBRARIES: $(toollib_LIBRARIES)
|
|
|
|
@$(NORMAL_INSTALL)
|
2009-10-21 06:44:28 +08:00
|
|
|
@list='$(toollib_LIBRARIES)'; test -n "$(toollibdir)" || list=; \
|
|
|
|
list2=; for p in $$list; do \
|
2000-02-18 03:39:52 +08:00
|
|
|
if test -f $$p; then \
|
2009-10-21 06:44:28 +08:00
|
|
|
list2="$$list2 $$p"; \
|
2000-02-18 03:39:52 +08:00
|
|
|
else :; fi; \
|
2009-10-21 06:44:28 +08:00
|
|
|
done; \
|
|
|
|
test -z "$$list2" || { \
|
2012-12-21 05:10:27 +08:00
|
|
|
echo " $(MKDIR_P) '$(DESTDIR)$(toollibdir)'"; \
|
|
|
|
$(MKDIR_P) "$(DESTDIR)$(toollibdir)" || exit 1; \
|
2009-10-21 06:44:28 +08:00
|
|
|
echo " $(INSTALL_DATA) $$list2 '$(DESTDIR)$(toollibdir)'"; \
|
|
|
|
$(INSTALL_DATA) $$list2 "$(DESTDIR)$(toollibdir)" || exit $$?; }
|
2000-02-18 03:39:52 +08:00
|
|
|
@$(POST_INSTALL)
|
2009-10-21 06:44:28 +08:00
|
|
|
@list='$(toollib_LIBRARIES)'; test -n "$(toollibdir)" || list=; \
|
|
|
|
for p in $$list; do \
|
2000-02-18 03:39:52 +08:00
|
|
|
if test -f $$p; then \
|
2009-10-21 06:44:28 +08:00
|
|
|
$(am__strip_dir) \
|
|
|
|
echo " ( cd '$(DESTDIR)$(toollibdir)' && $(RANLIB) $$f )"; \
|
|
|
|
( cd "$(DESTDIR)$(toollibdir)" && $(RANLIB) $$f ) || exit $$?; \
|
2000-02-18 03:39:52 +08:00
|
|
|
else :; fi; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-toollibLIBRARIES:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
2009-10-21 06:44:28 +08:00
|
|
|
@list='$(toollib_LIBRARIES)'; test -n "$(toollibdir)" || list=; \
|
|
|
|
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
2012-12-21 05:10:27 +08:00
|
|
|
dir='$(DESTDIR)$(toollibdir)'; $(am__uninstall_files_from_dir)
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
clean-toollibLIBRARIES:
|
|
|
|
-test -z "$(toollib_LIBRARIES)" || rm -f $(toollib_LIBRARIES)
|
2012-12-21 05:10:27 +08:00
|
|
|
@USE_LIBTOOL_TRUE@libc.a: $(libc_a_OBJECTS) $(libc_a_DEPENDENCIES) $(EXTRA_libc_a_DEPENDENCIES)
|
2006-04-12 03:02:16 +08:00
|
|
|
@USE_LIBTOOL_TRUE@ -rm -f libc.a
|
|
|
|
@USE_LIBTOOL_TRUE@ $(libc_a_AR) libc.a $(libc_a_OBJECTS) $(libc_a_LIBADD)
|
|
|
|
@USE_LIBTOOL_TRUE@ $(RANLIB) libc.a
|
2012-12-21 05:10:27 +08:00
|
|
|
@USE_LIBTOOL_TRUE@libm.a: $(libm_a_OBJECTS) $(libm_a_DEPENDENCIES) $(EXTRA_libm_a_DEPENDENCIES)
|
2006-04-12 03:02:16 +08:00
|
|
|
@USE_LIBTOOL_TRUE@ -rm -f libm.a
|
|
|
|
@USE_LIBTOOL_TRUE@ $(libm_a_AR) libm.a $(libm_a_OBJECTS) $(libm_a_LIBADD)
|
|
|
|
@USE_LIBTOOL_TRUE@ $(RANLIB) libm.a
|
|
|
|
install-toollibLTLIBRARIES: $(toollib_LTLIBRARIES)
|
|
|
|
@$(NORMAL_INSTALL)
|
2009-10-21 06:44:28 +08:00
|
|
|
@list='$(toollib_LTLIBRARIES)'; test -n "$(toollibdir)" || list=; \
|
|
|
|
list2=; for p in $$list; do \
|
2006-04-12 03:02:16 +08:00
|
|
|
if test -f $$p; then \
|
2009-10-21 06:44:28 +08:00
|
|
|
list2="$$list2 $$p"; \
|
2006-04-12 03:02:16 +08:00
|
|
|
else :; fi; \
|
2009-10-21 06:44:28 +08:00
|
|
|
done; \
|
|
|
|
test -z "$$list2" || { \
|
2012-12-21 05:10:27 +08:00
|
|
|
echo " $(MKDIR_P) '$(DESTDIR)$(toollibdir)'"; \
|
|
|
|
$(MKDIR_P) "$(DESTDIR)$(toollibdir)" || exit 1; \
|
2009-10-21 06:44:28 +08:00
|
|
|
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toollibdir)'"; \
|
|
|
|
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toollibdir)"; \
|
|
|
|
}
|
2002-06-08 05:59:57 +08:00
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
uninstall-toollibLTLIBRARIES:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
2009-10-21 06:44:28 +08:00
|
|
|
@list='$(toollib_LTLIBRARIES)'; test -n "$(toollibdir)" || list=; \
|
|
|
|
for p in $$list; do \
|
|
|
|
$(am__strip_dir) \
|
|
|
|
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(toollibdir)/$$f'"; \
|
|
|
|
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(toollibdir)/$$f"; \
|
2006-04-12 03:02:16 +08:00
|
|
|
done
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
clean-toollibLTLIBRARIES:
|
|
|
|
-test -z "$(toollib_LTLIBRARIES)" || rm -f $(toollib_LTLIBRARIES)
|
|
|
|
@list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
|
|
|
|
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
|
|
|
test "$$dir" != "$$p" || dir=.; \
|
|
|
|
echo "rm -f \"$${dir}/so_locations\""; \
|
|
|
|
rm -f "$${dir}/so_locations"; \
|
|
|
|
done
|
2012-12-21 05:10:27 +08:00
|
|
|
libc.la: $(libc_la_OBJECTS) $(libc_la_DEPENDENCIES) $(EXTRA_libc_la_DEPENDENCIES)
|
2009-10-21 06:44:28 +08:00
|
|
|
$(libc_la_LINK) $(am_libc_la_rpath) $(libc_la_OBJECTS) $(libc_la_LIBADD) $(LIBS)
|
2012-12-21 05:10:27 +08:00
|
|
|
libm.la: $(libm_la_OBJECTS) $(libm_la_DEPENDENCIES) $(EXTRA_libm_la_DEPENDENCIES)
|
2009-10-21 06:44:28 +08:00
|
|
|
$(libm_la_LINK) $(am_libm_la_rpath) $(libm_la_OBJECTS) $(libm_la_LIBADD) $(LIBS)
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
mostlyclean-compile:
|
2002-06-08 05:59:57 +08:00
|
|
|
-rm -f *.$(OBJEXT)
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
distclean-compile:
|
|
|
|
-rm -f *.tab.c
|
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
.c.o:
|
|
|
|
$(COMPILE) -c $<
|
2001-12-14 07:50:11 +08:00
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
.c.obj:
|
|
|
|
$(COMPILE) -c `$(CYGPATH_W) '$<'`
|
2001-12-14 07:50:11 +08:00
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
.c.lo:
|
|
|
|
$(LTCOMPILE) -c -o $@ $<
|
2001-12-14 07:50:11 +08:00
|
|
|
|
|
|
|
mostlyclean-libtool:
|
|
|
|
-rm -f *.lo
|
|
|
|
|
|
|
|
clean-libtool:
|
|
|
|
-rm -rf .libs _libs
|
|
|
|
|
|
|
|
distclean-libtool:
|
2009-10-21 06:44:28 +08:00
|
|
|
-rm -f libtool config.lt
|
2000-02-18 03:39:52 +08:00
|
|
|
install-toollibDATA: $(toollib_DATA)
|
|
|
|
@$(NORMAL_INSTALL)
|
2009-10-21 06:44:28 +08:00
|
|
|
@list='$(toollib_DATA)'; test -n "$(toollibdir)" || list=; \
|
2012-12-21 05:10:27 +08:00
|
|
|
if test -n "$$list"; then \
|
|
|
|
echo " $(MKDIR_P) '$(DESTDIR)$(toollibdir)'"; \
|
|
|
|
$(MKDIR_P) "$(DESTDIR)$(toollibdir)" || exit 1; \
|
|
|
|
fi; \
|
2009-10-21 06:44:28 +08:00
|
|
|
for p in $$list; do \
|
2006-04-12 03:02:16 +08:00
|
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
2009-10-21 06:44:28 +08:00
|
|
|
echo "$$d$$p"; \
|
|
|
|
done | $(am__base_list) | \
|
|
|
|
while read files; do \
|
|
|
|
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(toollibdir)'"; \
|
|
|
|
$(INSTALL_DATA) $$files "$(DESTDIR)$(toollibdir)" || exit $$?; \
|
2000-02-18 03:39:52 +08:00
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-toollibDATA:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
2009-10-21 06:44:28 +08:00
|
|
|
@list='$(toollib_DATA)'; test -n "$(toollibdir)" || list=; \
|
|
|
|
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
2012-12-21 05:10:27 +08:00
|
|
|
dir='$(DESTDIR)$(toollibdir)'; $(am__uninstall_files_from_dir)
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
# 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.
|
2006-04-12 03:02:16 +08:00
|
|
|
$(RECURSIVE_TARGETS):
|
2010-02-25 05:00:08 +08:00
|
|
|
@fail= failcom='exit 1'; \
|
2006-04-12 03:02:16 +08:00
|
|
|
for f in x $$MAKEFLAGS; do \
|
|
|
|
case $$f in \
|
|
|
|
*=* | --[!k]*);; \
|
|
|
|
*k*) failcom='fail=yes';; \
|
|
|
|
esac; \
|
|
|
|
done; \
|
2000-02-18 03:39:52 +08:00
|
|
|
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; \
|
2009-10-21 06:44:28 +08:00
|
|
|
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
2006-04-12 03:02:16 +08:00
|
|
|
|| eval $$failcom; \
|
2000-02-18 03:39:52 +08:00
|
|
|
done; \
|
|
|
|
if test "$$dot_seen" = "no"; then \
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
|
|
|
fi; test -z "$$fail"
|
|
|
|
|
2009-10-21 06:44:28 +08:00
|
|
|
$(RECURSIVE_CLEAN_TARGETS):
|
2010-02-25 05:00:08 +08:00
|
|
|
@fail= failcom='exit 1'; \
|
2006-04-12 03:02:16 +08:00
|
|
|
for f in x $$MAKEFLAGS; do \
|
|
|
|
case $$f in \
|
|
|
|
*=* | --[!k]*);; \
|
|
|
|
*k*) failcom='fail=yes';; \
|
|
|
|
esac; \
|
|
|
|
done; \
|
2000-02-18 03:39:52 +08:00
|
|
|
dot_seen=no; \
|
2006-04-12 03:02:16 +08:00
|
|
|
case "$@" in \
|
|
|
|
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
|
|
|
*) list='$(SUBDIRS)' ;; \
|
|
|
|
esac; \
|
|
|
|
rev=''; for subdir in $$list; do \
|
|
|
|
if test "$$subdir" = "."; then :; else \
|
|
|
|
rev="$$subdir $$rev"; \
|
|
|
|
fi; \
|
2000-02-18 03:39:52 +08:00
|
|
|
done; \
|
2006-04-12 03:02:16 +08:00
|
|
|
rev="$$rev ."; \
|
2000-02-18 03:39:52 +08:00
|
|
|
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; \
|
2009-10-21 06:44:28 +08:00
|
|
|
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
2006-04-12 03:02:16 +08:00
|
|
|
|| eval $$failcom; \
|
2000-02-18 03:39:52 +08:00
|
|
|
done && test -z "$$fail"
|
|
|
|
tags-recursive:
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
2009-10-21 06:44:28 +08:00
|
|
|
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
2000-02-18 03:39:52 +08:00
|
|
|
done
|
2006-04-12 03:02:16 +08:00
|
|
|
ctags-recursive:
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
2009-10-21 06:44:28 +08:00
|
|
|
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
2006-04-12 03:02:16 +08:00
|
|
|
done
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
|
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|
|
|
unique=`for i in $$list; do \
|
|
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
|
|
done | \
|
2009-10-21 06:44:28 +08:00
|
|
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
2006-04-12 03:02:16 +08:00
|
|
|
mkid -fID $$unique
|
|
|
|
tags: TAGS
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) newlib.hin $(TAGS_DEPENDENCIES) \
|
|
|
|
$(TAGS_FILES) $(LISP)
|
2009-10-21 06:44:28 +08:00
|
|
|
set x; \
|
2000-02-18 03:39:52 +08:00
|
|
|
here=`pwd`; \
|
2006-04-12 03:02:16 +08:00
|
|
|
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
|
|
|
include_option=--etags-include; \
|
|
|
|
empty_fix=.; \
|
|
|
|
else \
|
|
|
|
include_option=--include; \
|
|
|
|
empty_fix=; \
|
|
|
|
fi; \
|
2000-02-18 03:39:52 +08:00
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
2006-04-12 03:02:16 +08:00
|
|
|
if test "$$subdir" = .; then :; else \
|
|
|
|
test ! -f $$subdir/TAGS || \
|
2009-10-21 06:44:28 +08:00
|
|
|
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
2006-04-12 03:02:16 +08:00
|
|
|
fi; \
|
2000-02-18 03:39:52 +08:00
|
|
|
done; \
|
2006-04-12 03:02:16 +08:00
|
|
|
list='$(SOURCES) $(HEADERS) newlib.hin $(LISP) $(TAGS_FILES)'; \
|
|
|
|
unique=`for i in $$list; do \
|
|
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
|
|
done | \
|
2009-10-21 06:44:28 +08:00
|
|
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
|
|
|
shift; \
|
|
|
|
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
2006-04-12 03:02:16 +08:00
|
|
|
test -n "$$unique" || unique=$$empty_fix; \
|
2009-10-21 06:44:28 +08:00
|
|
|
if test $$# -gt 0; then \
|
|
|
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
|
|
"$$@" $$unique; \
|
|
|
|
else \
|
|
|
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
|
|
$$unique; \
|
|
|
|
fi; \
|
2006-04-12 03:02:16 +08:00
|
|
|
fi
|
|
|
|
ctags: CTAGS
|
|
|
|
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) newlib.hin $(TAGS_DEPENDENCIES) \
|
|
|
|
$(TAGS_FILES) $(LISP)
|
|
|
|
list='$(SOURCES) $(HEADERS) newlib.hin $(LISP) $(TAGS_FILES)'; \
|
|
|
|
unique=`for i in $$list; do \
|
|
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
|
|
done | \
|
2009-10-21 06:44:28 +08:00
|
|
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
|
|
|
test -z "$(CTAGS_ARGS)$$unique" \
|
2006-04-12 03:02:16 +08:00
|
|
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
2009-10-21 06:44:28 +08:00
|
|
|
$$unique
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
GTAGS:
|
|
|
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
2009-10-21 06:44:28 +08:00
|
|
|
&& $(am__cd) $(top_srcdir) \
|
|
|
|
&& gtags -i $(GTAGS_ARGS) "$$here"
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
distclean-tags:
|
2006-04-12 03:02:16 +08:00
|
|
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
2002-04-25 04:53:30 +08:00
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
distclean-DEJAGNU:
|
|
|
|
-rm -f site.exp site.bak
|
|
|
|
-l='$(DEJATOOL)'; for tool in $$l; do \
|
|
|
|
rm -f $$tool.sum $$tool.log; \
|
|
|
|
done
|
2000-02-18 03:39:52 +08:00
|
|
|
check-am:
|
2002-04-25 04:53:30 +08:00
|
|
|
$(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
|
2000-02-18 03:39:52 +08:00
|
|
|
check: check-recursive
|
2006-04-12 03:02:16 +08:00
|
|
|
all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA) newlib.h
|
|
|
|
installdirs: installdirs-recursive
|
|
|
|
installdirs-am:
|
|
|
|
for dir in "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)" "$(DESTDIR)$(toollibdir)"; do \
|
2009-10-21 06:44:28 +08:00
|
|
|
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
2006-04-12 03:02:16 +08:00
|
|
|
done
|
|
|
|
install: install-recursive
|
2000-02-18 03:39:52 +08:00
|
|
|
install-exec: install-exec-recursive
|
|
|
|
install-data: install-data-recursive
|
2006-04-12 03:02:16 +08:00
|
|
|
uninstall: uninstall-recursive
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
install-am: all-am
|
|
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
installcheck: installcheck-recursive
|
|
|
|
install-strip:
|
2012-12-21 05:10:27 +08:00
|
|
|
if test -z '$(STRIP)'; then \
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
|
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
|
|
|
install; \
|
|
|
|
else \
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
|
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
|
|
|
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
|
|
|
fi
|
2000-02-18 03:39:52 +08:00
|
|
|
mostlyclean-generic:
|
|
|
|
|
|
|
|
clean-generic:
|
|
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
|
|
|
|
distclean-generic:
|
2006-04-12 03:02:16 +08:00
|
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
2009-10-21 06:44:28 +08:00
|
|
|
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
maintainer-clean-generic:
|
2006-04-12 03:02:16 +08:00
|
|
|
@echo "This command is intended for maintainers to use"
|
|
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
clean: clean-recursive
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2011-01-06 06:48:56 +08:00
|
|
|
clean-am: clean-generic clean-libtool clean-local \
|
|
|
|
clean-toollibLIBRARIES clean-toollibLTLIBRARIES mostlyclean-am
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
distclean: distclean-recursive
|
|
|
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
|
|
|
-rm -f Makefile
|
|
|
|
distclean-am: clean-am distclean-DEJAGNU distclean-compile \
|
|
|
|
distclean-generic distclean-hdr distclean-libtool \
|
|
|
|
distclean-tags
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
dvi: dvi-recursive
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
dvi-am:
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
html: html-recursive
|
|
|
|
|
2009-10-21 06:44:28 +08:00
|
|
|
html-am:
|
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
info: info-recursive
|
|
|
|
|
|
|
|
info-am:
|
|
|
|
|
|
|
|
install-data-am: install-data-local install-toollibDATA \
|
|
|
|
install-toollibLIBRARIES install-toollibLTLIBRARIES
|
|
|
|
|
2009-10-21 06:44:28 +08:00
|
|
|
install-dvi: install-dvi-recursive
|
|
|
|
|
|
|
|
install-dvi-am:
|
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
install-exec-am:
|
|
|
|
|
2009-10-21 06:44:28 +08:00
|
|
|
install-html: install-html-recursive
|
|
|
|
|
|
|
|
install-html-am:
|
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
install-info: install-info-recursive
|
|
|
|
|
2009-10-21 06:44:28 +08:00
|
|
|
install-info-am:
|
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
install-man:
|
|
|
|
|
2009-10-21 06:44:28 +08:00
|
|
|
install-pdf: install-pdf-recursive
|
|
|
|
|
|
|
|
install-pdf-am:
|
|
|
|
|
|
|
|
install-ps: install-ps-recursive
|
|
|
|
|
|
|
|
install-ps-am:
|
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
installcheck-am:
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
maintainer-clean: maintainer-clean-recursive
|
2006-04-12 03:02:16 +08:00
|
|
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
|
|
|
-rm -rf $(top_srcdir)/autom4te.cache
|
|
|
|
-rm -f Makefile
|
|
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
|
|
|
|
|
|
|
mostlyclean: mostlyclean-recursive
|
|
|
|
|
|
|
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
|
|
|
mostlyclean-libtool
|
|
|
|
|
|
|
|
pdf: pdf-recursive
|
|
|
|
|
|
|
|
pdf-am:
|
|
|
|
|
|
|
|
ps: ps-recursive
|
|
|
|
|
|
|
|
ps-am:
|
|
|
|
|
|
|
|
uninstall-am: uninstall-toollibDATA uninstall-toollibLIBRARIES \
|
|
|
|
uninstall-toollibLTLIBRARIES
|
|
|
|
|
2009-10-21 06:44:28 +08:00
|
|
|
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
|
|
|
|
ctags-recursive install-am install-strip tags-recursive
|
2006-04-12 03:02:16 +08:00
|
|
|
|
2009-10-21 06:44:28 +08:00
|
|
|
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
|
|
|
all all-am am--refresh check check-DEJAGNU check-am clean \
|
2011-01-06 06:48:56 +08:00
|
|
|
clean-generic clean-libtool clean-local clean-toollibLIBRARIES \
|
2006-04-12 03:02:16 +08:00
|
|
|
clean-toollibLTLIBRARIES ctags ctags-recursive distclean \
|
|
|
|
distclean-DEJAGNU distclean-compile distclean-generic \
|
2009-10-21 06:44:28 +08:00
|
|
|
distclean-hdr distclean-libtool distclean-tags dvi dvi-am html \
|
|
|
|
html-am info info-am install install-am install-data \
|
|
|
|
install-data-am install-data-local install-dvi install-dvi-am \
|
|
|
|
install-exec install-exec-am install-html install-html-am \
|
|
|
|
install-info install-info-am install-man install-pdf \
|
|
|
|
install-pdf-am install-ps install-ps-am install-strip \
|
|
|
|
install-toollibDATA install-toollibLIBRARIES \
|
|
|
|
install-toollibLTLIBRARIES installcheck installcheck-am \
|
|
|
|
installdirs installdirs-am maintainer-clean \
|
|
|
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
|
|
|
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
|
|
|
tags tags-recursive uninstall uninstall-am \
|
|
|
|
uninstall-toollibDATA uninstall-toollibLIBRARIES \
|
|
|
|
uninstall-toollibLTLIBRARIES
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
# objects listed later in LIBM_OBJECTLISTS will override those listed earlier
|
|
|
|
@USE_LIBTOOL_TRUE@libm-libtool-objectlist: $(LIBM_OBJECTLISTS)
|
|
|
|
@USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) | $(AWK) '{ libm[$$1] = $$2 }; END { for (x in libm) printf ("%s\n", libm[x]) }' > $@
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
# objects listed later in LIBM_OBJECTLISTS and LIBC_OBJECTLISTS will override those listed earlier
|
|
|
|
@USE_LIBTOOL_TRUE@libc-libtool-objectlist: $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS)
|
|
|
|
@USE_LIBTOOL_TRUE@ cat $(LIBM_OBJECTLISTS) $(LIBC_OBJECTLISTS) | $(AWK) '{ libc[$$1] = $$2 }; END { for (x in libc) printf ("%s\n", libc[x]) }' > $@
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
@USE_LIBTOOL_FALSE@libc.a: libc/libc.a libm.a
|
|
|
|
@USE_LIBTOOL_FALSE@ rm -rf libc.a libg.a tmp
|
|
|
|
@USE_LIBTOOL_FALSE@ mkdir tmp
|
|
|
|
@USE_LIBTOOL_FALSE@ cd tmp; \
|
|
|
|
@USE_LIBTOOL_FALSE@ $(AR) x ../libm.a $(MATHOBJS_IN_LIBC) ; \
|
|
|
|
@USE_LIBTOOL_FALSE@ $(AR) x ../libc/libc.a ; \
|
|
|
|
@USE_LIBTOOL_FALSE@ $(AR) $(AR_FLAGS) ../$@ *.o
|
|
|
|
@USE_LIBTOOL_FALSE@ $(RANLIB) libc.a
|
|
|
|
@USE_LIBTOOL_FALSE@ ln libc.a libg.a >/dev/null 2>/dev/null || cp libc.a libg.a
|
|
|
|
@USE_LIBTOOL_FALSE@ rm -rf tmp
|
|
|
|
|
|
|
|
@USE_LIBTOOL_FALSE@libc/libc.a: ; @true
|
|
|
|
|
|
|
|
@USE_LIBTOOL_FALSE@libm.a: libm/libm.a
|
|
|
|
@USE_LIBTOOL_FALSE@ rm -f $@
|
|
|
|
@USE_LIBTOOL_FALSE@ ln libm/libm.a $@ >/dev/null 2>/dev/null || cp libm/libm.a $@
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
@USE_LIBTOOL_FALSE@libm/libm.a: ; @true
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2002-04-18 03:13:11 +08:00
|
|
|
crt0.o: $(CRT0_DIR)$(CRT0)
|
2000-02-18 03:39:52 +08:00
|
|
|
rm -f $@
|
2002-04-18 03:13:11 +08:00
|
|
|
ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \
|
|
|
|
|| cp $(CRT0_DIR)$(CRT0) $@
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2002-04-18 03:13:11 +08:00
|
|
|
$(CRT0_DIR)$(CRT0): ; @true
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2002-04-18 03:13:11 +08:00
|
|
|
crt1.o: $(CRT1_DIR)$(CRT1)
|
2002-04-05 06:41:11 +08:00
|
|
|
rm -f $@
|
2008-01-22 02:29:17 +08:00
|
|
|
ln $< $@ >/dev/null 2>/dev/null \
|
|
|
|
|| cp $< $@
|
2002-04-05 06:41:11 +08:00
|
|
|
|
2002-04-18 03:13:11 +08:00
|
|
|
$(CRT1_DIR)$(CRT1): ; @true
|
2002-04-05 06:41:11 +08:00
|
|
|
|
2009-08-19 05:48:05 +08:00
|
|
|
$(srcdir)/newlib.hin:
|
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
all-recursive: stmp-targ-include
|
|
|
|
|
|
|
|
# The targ-include directory just holds the includes files for the
|
|
|
|
# particular system and machine we have been configured for. It is
|
|
|
|
# used while building.
|
|
|
|
stmp-targ-include: config.status
|
|
|
|
-rm -rf targ-include stmp-targ-include
|
2005-07-05 08:11:50 +08:00
|
|
|
mkdir targ-include targ-include/sys targ-include/machine targ-include/bits
|
2002-08-28 04:27:35 +08:00
|
|
|
cp newlib.h targ-include/newlib.h
|
2000-02-18 03:39:52 +08:00
|
|
|
-for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
|
|
|
|
if [ -f $$i ]; then \
|
|
|
|
cp $$i targ-include/machine/`basename $$i`; \
|
|
|
|
else true; fi ; \
|
|
|
|
done
|
2004-10-06 03:34:25 +08:00
|
|
|
-for i in $(srcdir)/libc/machine/$(machine_dir)/sys/*.h; do \
|
|
|
|
if [ -f $$i ]; then \
|
|
|
|
cp $$i targ-include/sys/`basename $$i`; \
|
|
|
|
else true; fi ; \
|
|
|
|
done
|
2005-01-28 03:13:54 +08:00
|
|
|
-for i in $(srcdir)/libc/machine/$(machine_dir)/include/*.h; do \
|
|
|
|
if [ -f $$i ]; then \
|
|
|
|
cp $$i targ-include/`basename $$i`; \
|
|
|
|
else true; fi ; \
|
|
|
|
done
|
2000-02-18 03:39:52 +08:00
|
|
|
-for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
|
|
|
|
if [ -f $$i ]; then \
|
|
|
|
cp $$i targ-include/`basename $$i`; \
|
|
|
|
else true; fi ; \
|
|
|
|
done
|
2010-12-15 06:35:27 +08:00
|
|
|
-for i in $(srcdir)/libc/sys/$(sys_dir)/include/*; do \
|
|
|
|
if [ -d $$i ]; then \
|
|
|
|
for j in $$i/*.h; do \
|
2010-12-17 05:59:17 +08:00
|
|
|
if [ ! -d targ-include/`basename $$i` ]; then \
|
|
|
|
mkdir targ-include/`basename $$i`; \
|
|
|
|
fi; \
|
2010-12-15 06:35:27 +08:00
|
|
|
cp $$j targ-include/`basename $$i`/`basename $$j`; \
|
|
|
|
done \
|
|
|
|
else true; fi ; \
|
|
|
|
done
|
2000-02-18 03:39:52 +08:00
|
|
|
-for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
|
|
|
|
if [ -f $$i ]; then \
|
|
|
|
cp $$i targ-include/sys/`basename $$i`; \
|
|
|
|
else true; fi ; \
|
|
|
|
done
|
2005-07-05 08:11:50 +08:00
|
|
|
-for i in $(srcdir)/libc/sys/$(sys_dir)/bits/*.h; do \
|
|
|
|
if [ -f $$i ]; then \
|
|
|
|
cp $$i targ-include/bits/`basename $$i`; \
|
|
|
|
else true; fi ; \
|
|
|
|
done
|
2002-11-08 03:27:36 +08:00
|
|
|
-for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
|
|
|
|
if [ -f $$i ]; then \
|
|
|
|
cp $$i targ-include/machine/`basename $$i`; \
|
|
|
|
else true; fi ; \
|
|
|
|
done
|
2002-04-04 06:46:21 +08:00
|
|
|
-for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/*.h; do \
|
|
|
|
if [ -f $$i ]; then \
|
|
|
|
cp $$i targ-include/machine/`basename $$i`; \
|
|
|
|
else true; fi ; \
|
|
|
|
done
|
2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
* Makefile.am: Copy and install headers from sys/machine/include
directory. Also pass $toollibdir to lower-level directories.
* Makefile.in: Regenerated.
* libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
stderr to use _REENT macro instead of _impure_ptr directly.
* libc/include/sys/config.h[__i386__][__linux__]: Define
__DYNAMIC_REENT__.
* libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
call to __getreent() function if !__SINGLE_THREAD__ and
__DYNAMIC_REENT__ is set.
* libc/reent/Makefile.am: Add support for getreent.c.
* libc/reent/Makefile.in: Regenerated.
* libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
* libc/sys/linux/Makefile.am: Add support for new files.
* libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/configure: Ditto.
* libc/sys/linux/io.c: Add poll syscall. Also weak-alias
__close, __read, __write, __poll, __open, __lseek, __fcntl from
their __libc_ counterparts.
* libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
and weak-alias to regular names.
* libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
to pread64 and __pread64.
* libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
* libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
weak-alias to pwrite64.
* libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
__libc_sched_getscheduler, __libc_sched_get_priority_max,
__libc_sched_get_priority_min, and __libc_sched_setschedule to
name with __ instead of __libc_.
* libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
* libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
to raise.
* libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
__libc_send to __send.
* libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
__gettimeofday.
* libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
* libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
type and typedef __jmp_buf to jmp_buf.
* libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
setjmp.S.
* libc/sys/linux/machine/i386/Makefile.in: Regenerated.
* libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
section.
* libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
prefix for function macros and then use weak_alias() to regular names.
* libc/sys/linux/machine/i386/syscall.h: Ditto.
* libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
* libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
to be flockfile() and funlockfile() respectively.
* libc/sys/linux/sys/types.h
* libc/reent/getreent.c: New file.
* libc/sys/linux/flockfile.c: Ditto.
* libc/sys/linux/funlockfile.c: Ditto.
* libc/sys/linux/getreent.c: Ditto.
* libc/sys/linux/pread.c: Ditto.
* libc/sys/linux/pwrite.c: Ditto.
* libc/sys/linux/raise.c: Ditto.
* libc/sys/linux/system.c: Ditto.
* libc/sys/linux/tcdrain.c: Ditto.
* libc/sys/linux/machine/i386/i386mach.h: Ditto.
* libc/sys/linux/machine/i386/setjmp.S: Ditto.
* libc/sys/linux/machine/i386/syscalls.c: Ditto.
* libc/sys/linux/machine/i386/weakalias.h: Ditto.
* libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
2002-05-18 07:39:39 +08:00
|
|
|
-for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/include/*.h; do \
|
|
|
|
if [ -f $$i ]; then \
|
|
|
|
cp $$i targ-include/machine/`basename $$i`; \
|
|
|
|
else true; fi ; \
|
|
|
|
done
|
2000-02-18 03:39:52 +08:00
|
|
|
touch $@
|
|
|
|
|
2000-09-07 04:46:27 +08:00
|
|
|
install-data-local: install-toollibLIBRARIES
|
2001-12-14 07:50:11 +08:00
|
|
|
@USE_LIBTOOL_FALSE@ rm -f $(DESTDIR)$(toollibdir)/libg.a
|
|
|
|
@USE_LIBTOOL_FALSE@ ln $(DESTDIR)$(toollibdir)/libc.a $(DESTDIR)$(toollibdir)/libg.a >/dev/null 2>/dev/null || cp $(DESTDIR)$(toollibdir)/libc.a $(DESTDIR)$(toollibdir)/libg.a
|
2003-10-16 01:33:32 +08:00
|
|
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do # $(MAKE)
|
2000-02-18 03:39:52 +08:00
|
|
|
-if [ -z "$(MULTISUBDIR)" ]; then \
|
2000-12-14 03:32:45 +08:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include; \
|
2000-02-18 03:39:52 +08:00
|
|
|
for i in $(srcdir)/libc/include/*.h; do \
|
2000-09-07 04:46:27 +08:00
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
|
2000-02-18 03:39:52 +08:00
|
|
|
done; \
|
2002-08-29 08:22:10 +08:00
|
|
|
$(INSTALL_DATA) newlib.h $(DESTDIR)$(tooldir)/include/newlib.h; \
|
2000-12-14 03:32:45 +08:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/machine; \
|
2000-02-18 03:39:52 +08:00
|
|
|
for i in $(srcdir)/libc/include/machine/*.h; do \
|
2000-09-07 04:46:27 +08:00
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
|
2000-02-18 03:39:52 +08:00
|
|
|
done; \
|
|
|
|
for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
|
|
|
|
if [ -f $$i ]; then \
|
2000-09-07 04:46:27 +08:00
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
|
2000-02-18 03:39:52 +08:00
|
|
|
else true; fi ; \
|
|
|
|
done; \
|
2010-03-02 20:05:18 +08:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/rpc; \
|
|
|
|
for i in $(srcdir)/libc/include/rpc/*.h; do \
|
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/rpc/`basename $$i`; \
|
|
|
|
done; \
|
2000-12-14 03:32:45 +08:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/sys; \
|
2000-02-18 03:39:52 +08:00
|
|
|
for i in $(srcdir)/libc/include/sys/*.h; do \
|
2000-09-07 04:46:27 +08:00
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
|
2000-02-18 03:39:52 +08:00
|
|
|
done; \
|
2004-10-06 03:34:25 +08:00
|
|
|
for i in $(srcdir)/libc/machine/$(machine_dir)/sys/*.h; do \
|
|
|
|
if [ -f $$i ]; then \
|
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
|
|
|
|
else true; fi ; \
|
|
|
|
done ; \
|
2005-01-28 03:13:54 +08:00
|
|
|
for i in $(srcdir)/libc/machine/$(machine_dir)/include/*.h; do \
|
|
|
|
if [ -f $$i ]; then \
|
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
|
|
|
|
else true; fi ; \
|
|
|
|
done ; \
|
2000-02-18 03:39:52 +08:00
|
|
|
for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
|
|
|
|
if [ -f $$i ]; then \
|
2000-09-07 04:46:27 +08:00
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \
|
2000-02-18 03:39:52 +08:00
|
|
|
else true; fi ; \
|
|
|
|
done ; \
|
2005-09-09 06:45:53 +08:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/bits; \
|
2005-07-05 08:11:50 +08:00
|
|
|
for i in $(srcdir)/libc/sys/$(sys_dir)/bits/*.h; do \
|
|
|
|
if [ -f $$i ]; then \
|
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/bits/`basename $$i`; \
|
|
|
|
else true; fi ; \
|
|
|
|
done ; \
|
2002-11-08 03:27:36 +08:00
|
|
|
for i in $(srcdir)/libc/sys/$(sys_dir)/machine/*.h; do \
|
|
|
|
if [ -f $$i ]; then \
|
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
|
|
|
|
else true; fi ; \
|
|
|
|
done ; \
|
2000-02-18 03:39:52 +08:00
|
|
|
for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
|
|
|
|
if [ -f $$i ]; then \
|
2000-09-07 04:46:27 +08:00
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \
|
2000-02-18 03:39:52 +08:00
|
|
|
else true; fi ; \
|
|
|
|
done ; \
|
2010-12-15 06:35:27 +08:00
|
|
|
for i in $(srcdir)/libc/sys/$(sys_dir)/include/*; do \
|
|
|
|
if [ -d $$i ]; then \
|
|
|
|
for j in $$i/*.h; do \
|
|
|
|
$(INSTALL_DATA) $$j $(DESTDIR)$(tooldir)/include/`basename $$i`/`basename $$j`; \
|
|
|
|
done ; \
|
|
|
|
else true; fi ; \
|
|
|
|
done ; \
|
2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
* Makefile.am: Copy and install headers from sys/machine/include
directory. Also pass $toollibdir to lower-level directories.
* Makefile.in: Regenerated.
* libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
stderr to use _REENT macro instead of _impure_ptr directly.
* libc/include/sys/config.h[__i386__][__linux__]: Define
__DYNAMIC_REENT__.
* libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
call to __getreent() function if !__SINGLE_THREAD__ and
__DYNAMIC_REENT__ is set.
* libc/reent/Makefile.am: Add support for getreent.c.
* libc/reent/Makefile.in: Regenerated.
* libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
* libc/sys/linux/Makefile.am: Add support for new files.
* libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/configure: Ditto.
* libc/sys/linux/io.c: Add poll syscall. Also weak-alias
__close, __read, __write, __poll, __open, __lseek, __fcntl from
their __libc_ counterparts.
* libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
and weak-alias to regular names.
* libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
to pread64 and __pread64.
* libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
* libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
weak-alias to pwrite64.
* libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
__libc_sched_getscheduler, __libc_sched_get_priority_max,
__libc_sched_get_priority_min, and __libc_sched_setschedule to
name with __ instead of __libc_.
* libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
* libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
to raise.
* libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
__libc_send to __send.
* libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
__gettimeofday.
* libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
* libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
type and typedef __jmp_buf to jmp_buf.
* libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
setjmp.S.
* libc/sys/linux/machine/i386/Makefile.in: Regenerated.
* libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
section.
* libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
prefix for function macros and then use weak_alias() to regular names.
* libc/sys/linux/machine/i386/syscall.h: Ditto.
* libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
* libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
to be flockfile() and funlockfile() respectively.
* libc/sys/linux/sys/types.h
* libc/reent/getreent.c: New file.
* libc/sys/linux/flockfile.c: Ditto.
* libc/sys/linux/funlockfile.c: Ditto.
* libc/sys/linux/getreent.c: Ditto.
* libc/sys/linux/pread.c: Ditto.
* libc/sys/linux/pwrite.c: Ditto.
* libc/sys/linux/raise.c: Ditto.
* libc/sys/linux/system.c: Ditto.
* libc/sys/linux/tcdrain.c: Ditto.
* libc/sys/linux/machine/i386/i386mach.h: Ditto.
* libc/sys/linux/machine/i386/setjmp.S: Ditto.
* libc/sys/linux/machine/i386/syscalls.c: Ditto.
* libc/sys/linux/machine/i386/weakalias.h: Ditto.
* libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
2002-05-18 07:39:39 +08:00
|
|
|
for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/include/*.h; do \
|
|
|
|
if [ -f $$i ]; then \
|
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
|
|
|
|
else true; fi ; \
|
|
|
|
done ; \
|
2011-01-13 06:24:06 +08:00
|
|
|
for i in $(NO_INCLUDE_LIST); do \
|
2011-05-19 14:04:59 +08:00
|
|
|
if [ -f $(DESTDIR)$(tooldir)/include/$$i ]; then \
|
|
|
|
rm $(DESTDIR)$(tooldir)/include/$$i; \
|
2011-01-13 06:24:06 +08:00
|
|
|
else true; fi ; \
|
|
|
|
done ; \
|
2000-02-18 03:39:52 +08:00
|
|
|
else true; fi
|
|
|
|
|
|
|
|
# Force makedoc to be built before building info files.
|
|
|
|
info-recursive: doc/makedoc
|
|
|
|
dvi-recursive: doc/makedoc
|
|
|
|
doc/makedoc:
|
|
|
|
cd doc && $(MAKE) all
|
|
|
|
|
|
|
|
# Multilib support.
|
2002-05-02 04:26:05 +08:00
|
|
|
.PHONY: all-multi check-multi mostlyclean-multi clean-multi distclean-multi \
|
2000-02-18 03:39:52 +08:00
|
|
|
maintainer-clean-multi
|
|
|
|
|
|
|
|
all-recursive: all-multi
|
2002-05-02 04:26:05 +08:00
|
|
|
check-recursive: check-multi
|
2000-02-18 03:39:52 +08:00
|
|
|
mostlyclean-recursive: mostlyclean-multi
|
|
|
|
clean-recursive: clean-multi
|
|
|
|
distclean-recursive: distclean-multi
|
|
|
|
maintainer-clean-recursive: maintainer-clean-multi
|
|
|
|
|
2003-10-16 01:33:32 +08:00
|
|
|
# The $(MAKE) comments below are to enable parallel building.
|
2000-02-18 03:39:52 +08:00
|
|
|
all-multi:
|
2003-10-16 01:33:32 +08:00
|
|
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE)
|
2002-05-02 04:26:05 +08:00
|
|
|
check-multi:
|
2003-10-16 01:33:32 +08:00
|
|
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=check multi-do # $(MAKE)
|
2000-02-18 03:39:52 +08:00
|
|
|
mostlyclean-multi:
|
2003-10-16 01:33:32 +08:00
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean # $(MAKE)
|
2000-02-18 03:39:52 +08:00
|
|
|
clean-multi:
|
2003-10-16 01:33:32 +08:00
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean # $(MAKE)
|
2000-02-18 03:39:52 +08:00
|
|
|
distclean-multi:
|
2003-10-16 01:33:32 +08:00
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean # $(MAKE)
|
2000-02-18 03:39:52 +08:00
|
|
|
maintainer-clean-multi:
|
2003-10-16 01:33:32 +08:00
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean # $(MAKE)
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2002-04-25 04:53:30 +08:00
|
|
|
site.exp: Makefile
|
|
|
|
@echo 'Making a new site.exp file...'
|
|
|
|
@test ! -f site.bak || rm -f site.bak
|
|
|
|
@echo '## these variables are automatically generated by make ##' > $@-t
|
|
|
|
@echo '# Do not edit here. If you wish to override these values' >> $@-t
|
|
|
|
@echo '# edit the last section' >> $@-t
|
|
|
|
@echo 'set tool $(DEJATOOL)' >> $@-t
|
|
|
|
@echo 'set tool_version $(VERSION)' >> $@-t
|
|
|
|
@echo 'set srcdir $(srcdir)/testsuite' >> $@-t
|
|
|
|
@echo 'set objdir' `pwd` >> $@-t
|
2005-07-05 08:11:50 +08:00
|
|
|
@echo 'set tmpdir' `pwd`/testsuite >> $@-t
|
2002-05-02 01:05:44 +08:00
|
|
|
@echo 'set multibuildtop ./$(MULTIBUILDTOP)' >> $@-t
|
2002-05-01 06:38:07 +08:00
|
|
|
@echo 'set host_alias $(build_alias)' >> $@-t
|
|
|
|
@echo 'set host_triplet $(build_triplet)' >> $@-t
|
2002-04-25 04:53:30 +08:00
|
|
|
@echo 'set target_alias $(host_alias)' >> $@-t
|
|
|
|
@echo 'set target_triplet $(host_triplet)' >> $@-t
|
|
|
|
@echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
|
|
|
|
@test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
|
|
|
|
@test ! -f site.exp || mv site.exp site.bak
|
|
|
|
@mv $@-t site.exp
|
|
|
|
|
|
|
|
check-DEJAGNU: site.exp
|
|
|
|
@if [ -d testsuite ] ; then \
|
|
|
|
true ; \
|
|
|
|
else \
|
|
|
|
mkdir testsuite ; \
|
|
|
|
fi
|
|
|
|
@rm -f testsuite/site.exp
|
|
|
|
@cp site.exp testsuite/site.exp
|
|
|
|
@rootme=`pwd` ; \
|
|
|
|
export rootme ; \
|
|
|
|
srcdir=`cd ${srcdir}; pwd` ; \
|
|
|
|
export srcdir ; \
|
|
|
|
EXPECT=`if [ -f $${rootme}/${MULTIBUILDTOP}../../expect/expect ] ; then \
|
|
|
|
echo $${rootme}/${MULTIBUILDTOP}../../expect/expect ; \
|
|
|
|
else \
|
|
|
|
echo expect ; \
|
|
|
|
fi` ; \
|
|
|
|
export EXPECT ; \
|
|
|
|
echo "Found expect: $${EXPECT}" ; \
|
|
|
|
if [ -f $(top_builddir)/$(MULTIBUILDTOP)../../expect/expect ] ; then \
|
|
|
|
TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd` ; \
|
|
|
|
export TCL_LIBRARY ; \
|
|
|
|
echo "Found TCL library directory: $${TCL_LIBRARY}" ; \
|
|
|
|
fi ; \
|
|
|
|
RUNTEST=`if [ -f $${srcdir}/../dejagnu/runtest ] ; then \
|
|
|
|
echo $${srcdir}/../dejagnu/runtest ; \
|
|
|
|
else \
|
|
|
|
echo runtest ; \
|
|
|
|
fi` ; \
|
|
|
|
export RUNTEST ; \
|
|
|
|
echo "Found runtest: $${RUNTEST}" ; \
|
|
|
|
cd testsuite ; \
|
|
|
|
if $(SHELL) -c "$$RUNTEST --version" > /dev/null 2>&1 ; then \
|
2002-05-02 04:26:05 +08:00
|
|
|
$$RUNTEST --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite $(RUNTESTFLAGS) ; \
|
|
|
|
: ; \
|
2002-04-25 04:53:30 +08:00
|
|
|
else \
|
|
|
|
echo "WARNING: could not find \`runtest'" 1>&2 ; \
|
|
|
|
fi
|
2009-10-21 06:44:28 +08:00
|
|
|
|
2011-01-06 06:48:56 +08:00
|
|
|
clean-local:
|
|
|
|
-rm -rf targ-include
|
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
# 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:
|