Line 69... |
Line 69... |
MAINT = @MAINT@
|
MAINT = @MAINT@
|
MAKEINFO = @MAKEINFO@
|
MAKEINFO = @MAKEINFO@
|
NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
|
NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
|
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
VERSION = 1.8.2
|
VERSION = @VERSION@
|
machine_dir = @machine_dir@
|
machine_dir = @machine_dir@
|
newlib_basedir = @newlib_basedir@
|
newlib_basedir = @newlib_basedir@
|
sys_dir = @sys_dir@
|
sys_dir = @sys_dir@
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
AUTOMAKE_OPTIONS = cygnus
|
Line 87... |
Line 87... |
MULTICLEAN = true
|
MULTICLEAN = true
|
|
|
# Work around what appears to be a GNU make bug handling MAKEFLAGS
|
# 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
|
# values defined in terms of make variables, as is the case for CC and
|
# friends when we are called from the top level Makefile.
|
# friends when we are called from the top level Makefile.
|
AM_MAKEFLAGS = \
|
AM_MAKEFLAGS = "AR_FLAGS=$(AR_FLAGS)" "CC_FOR_BUILD=$(CC_FOR_BUILD)" "CFLAGS=$(CFLAGS)" "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" "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)" "AR=$(AR)" "AS=$(AS)" "CC=$(CC)" "LD=$(LD)" "LIBCFLAGS=$(LIBCFLAGS)" "NM=$(NM)" "PICFLAG=$(PICFLAG)" "RANLIB=$(RANLIB)" "DESTDIR=$(DESTDIR)"
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
|
|
"CFLAGS=$(CFLAGS)" \
|
|
"CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
|
|
"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
|
|
"INSTALL=$(INSTALL)" \
|
|
"INSTALL_DATA=$(INSTALL_DATA)" \
|
|
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
|
|
"INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
|
|
"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)" \
|
|
"AR=$(AR)" \
|
|
"AS=$(AS)" \
|
|
"CC=$(CC)" \
|
|
"LD=$(LD)" \
|
|
"LIBCFLAGS=$(LIBCFLAGS)" \
|
|
"NM=$(NM)" \
|
|
"PICFLAG=$(PICFLAG)" \
|
|
"RANLIB=$(RANLIB)" \
|
|
"DESTDIR=$(DESTDIR)"
|
|
|
|
|
|
@HAVE_DOC_TRUE@DOCDIR = \
|
FLAGS_TO_PASS = $(AM_MAKEFLAGS)
|
@HAVE_DOC_TRUE@doc
|
|
|
@HAVE_DOC_TRUE@DOCDIR = doc
|
|
|
SUBDIRS = libc libm $(DOCDIR) .
|
SUBDIRS = libc libm $(DOCDIR) .
|
|
|
tooldir = $(exec_prefix)/$(host_alias)
|
tooldir = $(exec_prefix)/$(host_alias)
|
toollibdir = $(tooldir)/lib$(MULTISUBDIR)
|
toollibdir = $(tooldir)/lib$(MULTISUBDIR)
|
Line 141... |
Line 108... |
noinst_DATA = stmp-targ-include
|
noinst_DATA = stmp-targ-include
|
|
|
# The functions ldexp, frexp and modf are traditionally supplied in
|
# 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,
|
# both libc.a and libm.a. We build them in libm.a and copy them over,
|
# along with some required supporting routines.
|
# along with some required supporting routines.
|
MATHOBJS_IN_LIBC = \
|
MATHOBJS_IN_LIBC = s_isinf.o sf_isinf.o s_isnan.o sf_isnan.o s_ldexp.o sf_ldexp.o s_frexp.o sf_frexp.o s_modf.o sf_modf.o s_scalbn.o sf_scalbn.o s_finite.o sf_finite.o s_copysign.o sf_copysign.o s_infconst.o
|
s_isinf.o sf_isinf.o \
|
|
s_isnan.o sf_isnan.o \
|
|
s_ldexp.o sf_ldexp.o \
|
|
s_frexp.o sf_frexp.o s_modf.o sf_modf.o \
|
|
s_scalbn.o sf_scalbn.o s_finite.o sf_finite.o \
|
|
s_copysign.o sf_copysign.o s_infconst.o
|
|
|
|
|
|
CLEANFILES = targ-include stmp-targ-include
|
CLEANFILES = targ-include stmp-targ-include
|
|
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|
Line 543... |
Line 504... |
# particular system and machine we have been configured for. It is
|
# particular system and machine we have been configured for. It is
|
# used while building.
|
# used while building.
|
stmp-targ-include: config.status
|
stmp-targ-include: config.status
|
-rm -rf targ-include stmp-targ-include
|
-rm -rf targ-include stmp-targ-include
|
mkdir targ-include targ-include/sys targ-include/machine
|
mkdir targ-include targ-include/sys targ-include/machine
|
|
-for i in $(srcdir)/libc/include/*.h; do \
|
|
if [ -f $$i ]; then \
|
|
cp $$i targ-include/`basename $$i`; \
|
|
else true; fi ; \
|
|
done
|
|
-for i in $(srcdir)/libc/include/sys/*.h; do \
|
|
if [ -f $$i ]; then \
|
|
cp $$i targ-include/sys/`basename $$i`; \
|
|
else true; fi ; \
|
|
done
|
|
-for i in $(srcdir)/libc/include/machine/*.h; do \
|
|
if [ -f $$i ]; then \
|
|
cp $$i targ-include/machine/`basename $$i`; \
|
|
else true; fi ; \
|
|
done
|
-for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
|
-for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
|
if [ -f $$i ]; then \
|
if [ -f $$i ]; then \
|
cp $$i targ-include/machine/`basename $$i`; \
|
cp $$i targ-include/machine/`basename $$i`; \
|
else true; fi ; \
|
else true; fi ; \
|
done
|
done
|
Line 561... |
Line 537... |
else true; fi ; \
|
else true; fi ; \
|
done
|
done
|
touch $@
|
touch $@
|
|
|
install-data-local: install-toollibLIBRARIES
|
install-data-local: install-toollibLIBRARIES
|
rm -f $(toollibdir)/libg.a
|
rm -f $(DESTDIR)$(toollibdir)/libg.a
|
ln $(toollibdir)/libc.a $(toollibdir)/libg.a
|
ln $(DESTDIR)$(toollibdir)/libc.a $(DESTDIR)$(toollibdir)/libg.a
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
|
-if [ -z "$(MULTISUBDIR)" ]; then \
|
-if [ -z "$(MULTISUBDIR)" ]; then \
|
|
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include; \
|
for i in $(srcdir)/libc/include/*.h; do \
|
for i in $(srcdir)/libc/include/*.h; do \
|
$(INSTALL_DATA) $$i $(tooldir)/include/`basename $$i`; \
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include; \
|
done; \
|
done; \
|
|
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/machine; \
|
for i in $(srcdir)/libc/include/machine/*.h; do \
|
for i in $(srcdir)/libc/include/machine/*.h; do \
|
$(INSTALL_DATA) $$i $(tooldir)/include/machine/`basename $$i`; \
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine; \
|
done; \
|
done; \
|
for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
|
for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \
|
if [ -f $$i ]; then \
|
if [ -f $$i ]; then \
|
$(INSTALL_DATA) $$i $(tooldir)/include/machine/`basename $$i`; \
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine; \
|
else true; fi ; \
|
else true; fi ; \
|
done; \
|
done; \
|
|
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/sys; \
|
for i in $(srcdir)/libc/include/sys/*.h; do \
|
for i in $(srcdir)/libc/include/sys/*.h; do \
|
$(INSTALL_DATA) $$i $(tooldir)/include/sys/`basename $$i`; \
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys; \
|
done; \
|
done; \
|
for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
|
for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \
|
if [ -f $$i ]; then \
|
if [ -f $$i ]; then \
|
$(INSTALL_DATA) $$i $(tooldir)/include/sys/`basename $$i`; \
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys; \
|
else true; fi ; \
|
else true; fi ; \
|
done ; \
|
done ; \
|
for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
|
for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \
|
if [ -f $$i ]; then \
|
if [ -f $$i ]; then \
|
$(INSTALL_DATA) $$i $(tooldir)/include/`basename $$i`; \
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include; \
|
else true; fi ; \
|
else true; fi ; \
|
done ; \
|
done ; \
|
else true; fi
|
else true; fi
|
|
|
# Force makedoc to be built before building info files.
|
# Force makedoc to be built before building info files.
|