2000-02-18 03:39:52 +08:00
|
|
|
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
|
|
|
|
|
|
|
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
|
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
|
|
|
|
SHELL = @SHELL@
|
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
|
|
|
|
bindir = @bindir@
|
|
|
|
sbindir = @sbindir@
|
|
|
|
libexecdir = @libexecdir@
|
|
|
|
datadir = @datadir@
|
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
sharedstatedir = @sharedstatedir@
|
|
|
|
localstatedir = @localstatedir@
|
|
|
|
libdir = @libdir@
|
|
|
|
infodir = @infodir@
|
|
|
|
mandir = @mandir@
|
|
|
|
includedir = @includedir@
|
|
|
|
oldincludedir = /usr/include
|
|
|
|
|
|
|
|
DESTDIR =
|
|
|
|
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
|
|
|
|
top_builddir = .
|
|
|
|
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
|
|
AUTOCONF = @AUTOCONF@
|
|
|
|
AUTOMAKE = @AUTOMAKE@
|
|
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
transform = @program_transform_name@
|
|
|
|
|
|
|
|
NORMAL_INSTALL = :
|
|
|
|
PRE_INSTALL = :
|
|
|
|
POST_INSTALL = :
|
|
|
|
NORMAL_UNINSTALL = :
|
|
|
|
PRE_UNINSTALL = :
|
|
|
|
POST_UNINSTALL = :
|
2002-04-25 04:53:30 +08:00
|
|
|
build_alias = @build_alias@
|
|
|
|
build_triplet = @build@
|
2000-02-18 03:39:52 +08:00
|
|
|
host_alias = @host_alias@
|
|
|
|
host_triplet = @host@
|
2002-04-25 04:53:30 +08:00
|
|
|
target_alias = @target_alias@
|
|
|
|
target_triplet = @target@
|
2000-02-18 03:39:52 +08:00
|
|
|
AR = @AR@
|
|
|
|
AS = @AS@
|
2001-12-14 07:50:11 +08:00
|
|
|
AWK = @AWK@
|
2000-02-18 03:39:52 +08:00
|
|
|
CC = @CC@
|
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@
|
2000-02-18 03:39:52 +08:00
|
|
|
CPP = @CPP@
|
|
|
|
CRT0 = @CRT0@
|
|
|
|
CRT0_DIR = @CRT0_DIR@
|
2002-04-05 06:41:11 +08:00
|
|
|
CRT1 = @CRT1@
|
|
|
|
CRT1_DIR = @CRT1_DIR@
|
2002-06-08 05:59:57 +08:00
|
|
|
CXX = @CXX@
|
|
|
|
CXXCPP = @CXXCPP@
|
2001-12-14 07:50:11 +08:00
|
|
|
DLLTOOL = @DLLTOOL@
|
2000-02-18 03:39:52 +08:00
|
|
|
EXEEXT = @EXEEXT@
|
2002-06-08 05:59:57 +08:00
|
|
|
GCJ = @GCJ@
|
|
|
|
GCJFLAGS = @GCJFLAGS@
|
2001-12-14 07:50:11 +08:00
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBM_MACHINE_OBJECTLIST = @LIBM_MACHINE_OBJECTLIST@
|
|
|
|
LIBTOOL = @LIBTOOL@
|
|
|
|
LN_S = @LN_S@
|
|
|
|
MACHINE_OBJECTLIST = @MACHINE_OBJECTLIST@
|
2000-02-18 03:39:52 +08:00
|
|
|
MAINT = @MAINT@
|
|
|
|
MAKEINFO = @MAKEINFO@
|
|
|
|
NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
|
2001-12-14 07:50:11 +08:00
|
|
|
OBJDUMP = @OBJDUMP@
|
2002-06-08 05:59:57 +08:00
|
|
|
OBJEXT = @OBJEXT@
|
2000-02-18 03:39:52 +08:00
|
|
|
PACKAGE = @PACKAGE@
|
2001-12-14 07:50:11 +08:00
|
|
|
POSIX_OBJECTLIST = @POSIX_OBJECTLIST@
|
2000-02-18 03:39:52 +08:00
|
|
|
RANLIB = @RANLIB@
|
2001-12-14 07:50:11 +08:00
|
|
|
SIGNAL_OBJECTLIST = @SIGNAL_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@
|
2001-12-14 07:50:11 +08:00
|
|
|
aext = @aext@
|
|
|
|
libm_machine_dir = @libm_machine_dir@
|
2000-02-18 03:39:52 +08:00
|
|
|
machine_dir = @machine_dir@
|
|
|
|
newlib_basedir = @newlib_basedir@
|
2001-12-14 07:50:11 +08:00
|
|
|
oext = @oext@
|
2000-02-18 03:39:52 +08:00
|
|
|
sys_dir = @sys_dir@
|
|
|
|
|
2002-04-25 04:53:30 +08:00
|
|
|
AUTOMAKE_OPTIONS = cygnus dejagnu
|
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
|
|
|
|
@NEWLIB_HW_FP_TRUE@MATHDIR = @NEWLIB_HW_FP_TRUE@mathfp
|
|
|
|
@NEWLIB_HW_FP_FALSE@MATHDIR = @NEWLIB_HW_FP_FALSE@math
|
|
|
|
|
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.
|
|
|
|
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)" \
|
2002-05-23 02:25:12 +08:00
|
|
|
"top_toollibdir=$(toollibdir)" \
|
2000-02-18 03:39:52 +08:00
|
|
|
"AR=$(AR)" \
|
|
|
|
"AS=$(AS)" \
|
2002-04-27 04:18:52 +08:00
|
|
|
"CC=$(CC_FOR_NEWLIB)" \
|
2000-02-18 03:39:52 +08:00
|
|
|
"LD=$(LD)" \
|
|
|
|
"LIBCFLAGS=$(LIBCFLAGS)" \
|
|
|
|
"NM=$(NM)" \
|
|
|
|
"PICFLAG=$(PICFLAG)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"DESTDIR=$(DESTDIR)"
|
|
|
|
|
|
|
|
|
2000-12-09 05:31:08 +08:00
|
|
|
FLAGS_TO_PASS = $(AM_MAKEFLAGS)
|
|
|
|
@HAVE_DOC_TRUE@DOCDIR = @HAVE_DOC_TRUE@doc
|
2001-12-19 06:52:52 +08:00
|
|
|
@HAVE_DOC_FALSE@DOCDIR =
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2002-04-04 06:46:21 +08:00
|
|
|
SUBDIRS = libc libm \
|
|
|
|
$(DOCDIR) .
|
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
tooldir = $(exec_prefix)/$(host_alias)
|
|
|
|
toollibdir = $(tooldir)/lib$(MULTISUBDIR)
|
|
|
|
|
|
|
|
AR_FLAGS = rc
|
|
|
|
|
2002-04-04 06:46:21 +08:00
|
|
|
@USE_LIBTOOL_TRUE@toollib_LTLIBRARIES = @USE_LIBTOOL_TRUE@libm.la \
|
|
|
|
@USE_LIBTOOL_TRUE@ libc.la
|
|
|
|
@USE_LIBTOOL_FALSE@toollib_LIBRARIES = @USE_LIBTOOL_FALSE@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.
|
|
|
|
MATHOBJS_IN_LIBC = \
|
2001-12-14 07:50:11 +08:00
|
|
|
s_isinf.$(oext) sf_isinf.$(oext) \
|
|
|
|
s_isnan.$(oext) sf_isnan.$(oext) \
|
|
|
|
s_ldexp.$(oext) sf_ldexp.$(oext) \
|
|
|
|
s_frexp.$(oext) sf_frexp.$(oext) \
|
|
|
|
s_modf.$(oext) \
|
|
|
|
sf_modf.$(oext) s_scalbn.$(oext) \
|
|
|
|
sf_scalbn.$(oext) \
|
|
|
|
s_finite.$(oext) sf_finite.$(oext) \
|
|
|
|
s_copysign.$(oext) sf_copysign.$(oext) \
|
|
|
|
s_infconst.$(oext)
|
|
|
|
|
|
|
|
|
|
|
|
LIBC_OBJECTLISTS = \
|
|
|
|
$(POSIX_OBJECTLIST) \
|
|
|
|
$(SIGNAL_OBJECTLIST) \
|
|
|
|
$(SYSCALL_OBJECTLIST) \
|
|
|
|
$(UNIX_OBJECTLIST) \
|
2002-06-15 04:51:09 +08:00
|
|
|
libc/argz/objectlist.awk.in \
|
2001-12-14 07:50:11 +08:00
|
|
|
libc/stdlib/objectlist.awk.in \
|
|
|
|
libc/time/objectlist.awk.in \
|
|
|
|
libc/ctype/objectlist.awk.in \
|
2002-06-21 03:51:40 +08:00
|
|
|
libc/search/objectlist.awk.in \
|
2001-12-14 07:50:11 +08:00
|
|
|
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) \
|
2002-04-04 06:46:21 +08:00
|
|
|
$(SYS_OBJECTLIST) \
|
|
|
|
$(SYS_MACH_OBJECTLIST)
|
2001-12-14 07:50:11 +08:00
|
|
|
|
|
|
|
|
|
|
|
LIBM_OBJECTLISTS = \
|
|
|
|
libm/$(MATHDIR)/objectlist.awk.in \
|
|
|
|
libm/common/objectlist.awk.in \
|
|
|
|
$(LIBM_MACHINE_OBJECTLIST)
|
|
|
|
|
|
|
|
|
2002-06-08 05:59:57 +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 -objectlist libm-libtool-objectlist
|
2001-12-14 07:50:11 +08:00
|
|
|
|
2002-06-08 05:59:57 +08:00
|
|
|
libc_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib -no-undefined -Xcompiler -nostdlib -Xlinker --version-script=$(srcdir)/libc/sys/linux/shared.ld -objectlist libc-libtool-objectlist
|
2001-12-14 07:50:11 +08:00
|
|
|
|
|
|
|
@USE_LIBTOOL_TRUE@libm_la_SOURCES =
|
|
|
|
@USE_LIBTOOL_TRUE@libm_la_DEPENDENCIES = @USE_LIBTOOL_TRUE@libm-libtool-objectlist
|
|
|
|
|
|
|
|
@USE_LIBTOOL_TRUE@libc_la_SOURCES =
|
|
|
|
@USE_LIBTOOL_TRUE@libc_la_DEPENDENCIES = @USE_LIBTOOL_TRUE@libc-libtool-objectlist
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
CLEANFILES = targ-include stmp-targ-include
|
|
|
|
|
|
|
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|
|
|
|
|
|
|
|
MAKEOVERRIDES =
|
2002-04-25 04:53:30 +08:00
|
|
|
|
|
|
|
# dejagnu support
|
|
|
|
|
|
|
|
RUNTESTFLAGS =
|
2000-02-18 03:39:52 +08:00
|
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
|
|
|
CONFIG_CLEAN_FILES =
|
|
|
|
LIBRARIES = $(toollib_LIBRARIES)
|
|
|
|
|
|
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir)
|
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
LIBS = @LIBS@
|
|
|
|
libm_a_LIBADD =
|
|
|
|
libm_a_SOURCES = libm.a.c
|
2002-06-08 05:59:57 +08:00
|
|
|
libm_a_OBJECTS = libm.a.$(OBJEXT)
|
2000-02-18 03:39:52 +08:00
|
|
|
libc_a_LIBADD =
|
|
|
|
libc_a_SOURCES = libc.a.c
|
2002-06-08 05:59:57 +08:00
|
|
|
libc_a_OBJECTS = libc.a.$(OBJEXT)
|
2001-12-14 07:50:11 +08:00
|
|
|
LTLIBRARIES = $(toollib_LTLIBRARIES)
|
|
|
|
|
|
|
|
libm_la_LIBADD =
|
|
|
|
@USE_LIBTOOL_TRUE@libm_la_OBJECTS =
|
|
|
|
libc_la_LIBADD =
|
|
|
|
@USE_LIBTOOL_TRUE@libc_la_OBJECTS =
|
2000-02-18 03:39:52 +08:00
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
2001-12-14 07:50:11 +08:00
|
|
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
2000-02-18 03:39:52 +08:00
|
|
|
CCLD = $(CC)
|
2001-12-14 07:50:11 +08:00
|
|
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
2000-02-18 03:39:52 +08:00
|
|
|
DATA = $(noinst_DATA) $(toollib_DATA)
|
|
|
|
|
|
|
|
DIST_COMMON = README ChangeLog Makefile.am Makefile.in NEWS \
|
|
|
|
acinclude.m4 aclocal.m4 configure configure.in
|
|
|
|
|
|
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
|
2000-09-06 02:39:58 +08:00
|
|
|
TAR = gtar
|
2000-02-18 03:39:52 +08:00
|
|
|
GZIP_ENV = --best
|
|
|
|
DIST_SUBDIRS = libc libm doc .
|
2002-04-25 04:53:30 +08:00
|
|
|
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`
|
2001-12-14 07:50:11 +08:00
|
|
|
SOURCES = libm.a.c libc.a.c $(libm_la_SOURCES) $(libc_la_SOURCES)
|
2002-06-08 05:59:57 +08:00
|
|
|
OBJECTS = libm.a.$(OBJEXT) libc.a.$(OBJEXT) $(libm_la_OBJECTS) $(libc_la_OBJECTS)
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
all: all-redirect
|
|
|
|
.SUFFIXES:
|
2002-06-08 05:59:57 +08:00
|
|
|
.SUFFIXES: .S .c .lo .o .obj .s
|
2000-02-18 03:39:52 +08:00
|
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
|
|
cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
|
|
|
|
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
|
|
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
|
|
|
|
cd $(srcdir) && $(ACLOCAL)
|
|
|
|
|
|
|
|
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
|
|
$(SHELL) ./config.status --recheck
|
|
|
|
$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
|
|
|
cd $(srcdir) && $(AUTOCONF)
|
|
|
|
|
|
|
|
mostlyclean-toollibLIBRARIES:
|
|
|
|
|
|
|
|
clean-toollibLIBRARIES:
|
|
|
|
-test -z "$(toollib_LIBRARIES)" || rm -f $(toollib_LIBRARIES)
|
|
|
|
|
|
|
|
distclean-toollibLIBRARIES:
|
|
|
|
|
|
|
|
maintainer-clean-toollibLIBRARIES:
|
|
|
|
|
|
|
|
install-toollibLIBRARIES: $(toollib_LIBRARIES)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(toollibdir)
|
|
|
|
@list='$(toollib_LIBRARIES)'; for p in $$list; do \
|
|
|
|
if test -f $$p; then \
|
|
|
|
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p"; \
|
|
|
|
$(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p; \
|
|
|
|
else :; fi; \
|
|
|
|
done
|
|
|
|
@$(POST_INSTALL)
|
|
|
|
@list='$(toollib_LIBRARIES)'; for p in $$list; do \
|
|
|
|
if test -f $$p; then \
|
|
|
|
echo " $(RANLIB) $(DESTDIR)$(toollibdir)/$$p"; \
|
|
|
|
$(RANLIB) $(DESTDIR)$(toollibdir)/$$p; \
|
|
|
|
else :; fi; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-toollibLIBRARIES:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
|
|
|
list='$(toollib_LIBRARIES)'; for p in $$list; do \
|
|
|
|
rm -f $(DESTDIR)$(toollibdir)/$$p; \
|
|
|
|
done
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
$(COMPILE) -c $<
|
|
|
|
|
2002-06-08 05:59:57 +08:00
|
|
|
# FIXME: We should only use cygpath when building on Windows,
|
|
|
|
# and only if it is available.
|
|
|
|
.c.obj:
|
|
|
|
$(COMPILE) -c `cygpath -w $<`
|
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
.s.o:
|
|
|
|
$(COMPILE) -c $<
|
|
|
|
|
|
|
|
.S.o:
|
|
|
|
$(COMPILE) -c $<
|
|
|
|
|
|
|
|
mostlyclean-compile:
|
|
|
|
-rm -f *.o core *.core
|
2002-06-08 05:59:57 +08:00
|
|
|
-rm -f *.$(OBJEXT)
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
clean-compile:
|
|
|
|
|
|
|
|
distclean-compile:
|
|
|
|
-rm -f *.tab.c
|
|
|
|
|
|
|
|
maintainer-clean-compile:
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
.c.lo:
|
|
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
|
|
|
|
.s.lo:
|
|
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
|
|
|
|
.S.lo:
|
|
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
|
|
|
|
mostlyclean-libtool:
|
|
|
|
-rm -f *.lo
|
|
|
|
|
|
|
|
clean-libtool:
|
|
|
|
-rm -rf .libs _libs
|
|
|
|
|
|
|
|
distclean-libtool:
|
|
|
|
|
|
|
|
maintainer-clean-libtool:
|
|
|
|
|
|
|
|
mostlyclean-toollibLTLIBRARIES:
|
|
|
|
|
|
|
|
clean-toollibLTLIBRARIES:
|
|
|
|
-test -z "$(toollib_LTLIBRARIES)" || rm -f $(toollib_LTLIBRARIES)
|
|
|
|
|
|
|
|
distclean-toollibLTLIBRARIES:
|
|
|
|
|
|
|
|
maintainer-clean-toollibLTLIBRARIES:
|
|
|
|
|
|
|
|
install-toollibLTLIBRARIES: $(toollib_LTLIBRARIES)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(toollibdir)
|
|
|
|
@list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
|
|
|
|
if test -f $$p; then \
|
|
|
|
echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toollibdir)/$$p"; \
|
|
|
|
$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toollibdir)/$$p; \
|
|
|
|
else :; fi; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-toollibLTLIBRARIES:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
|
|
|
list='$(toollib_LTLIBRARIES)'; for p in $$list; do \
|
|
|
|
$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toollibdir)/$$p; \
|
|
|
|
done
|
|
|
|
|
|
|
|
libm.la: $(libm_la_OBJECTS) $(libm_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(toollibdir) $(libm_la_LDFLAGS) $(libm_la_OBJECTS) $(libm_la_LIBADD) $(LIBS)
|
|
|
|
|
|
|
|
libc.la: $(libc_la_OBJECTS) $(libc_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(toollibdir) $(libc_la_LDFLAGS) $(libc_la_OBJECTS) $(libc_la_LIBADD) $(LIBS)
|
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
install-toollibDATA: $(toollib_DATA)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(toollibdir)
|
|
|
|
@list='$(toollib_DATA)'; for p in $$list; do \
|
|
|
|
if test -f $(srcdir)/$$p; then \
|
|
|
|
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(toollibdir)/$$p"; \
|
|
|
|
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(toollibdir)/$$p; \
|
|
|
|
else if test -f $$p; then \
|
|
|
|
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p"; \
|
|
|
|
$(INSTALL_DATA) $$p $(DESTDIR)$(toollibdir)/$$p; \
|
|
|
|
fi; fi; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-toollibDATA:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
|
|
|
list='$(toollib_DATA)'; for p in $$list; do \
|
|
|
|
rm -f $(DESTDIR)$(toollibdir)/$$p; \
|
|
|
|
done
|
|
|
|
|
|
|
|
# This directory's subdirectories are mostly independent; you can cd
|
|
|
|
# into them and run `make' without going through this Makefile.
|
|
|
|
# To change the values of `make' variables: instead of editing Makefiles,
|
|
|
|
# (1) if the variable is set in `config.status', edit `config.status'
|
|
|
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
|
|
|
# (2) otherwise, pass the desired values on the `make' command line.
|
|
|
|
|
|
|
|
@SET_MAKE@
|
|
|
|
|
|
|
|
all-recursive install-data-recursive install-exec-recursive \
|
|
|
|
installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
|
|
|
|
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
|
|
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
|
|
|
dot_seen=no; \
|
|
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
echo "Making $$target in $$subdir"; \
|
|
|
|
if test "$$subdir" = "."; then \
|
|
|
|
dot_seen=yes; \
|
|
|
|
local_target="$$target-am"; \
|
|
|
|
else \
|
|
|
|
local_target="$$target"; \
|
|
|
|
fi; \
|
|
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
|
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|
|
|
done; \
|
|
|
|
if test "$$dot_seen" = "no"; then \
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
|
|
|
fi; test -z "$$fail"
|
|
|
|
|
|
|
|
mostlyclean-recursive clean-recursive distclean-recursive \
|
|
|
|
maintainer-clean-recursive:
|
|
|
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
|
|
|
dot_seen=no; \
|
|
|
|
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
rev="$$subdir $$rev"; \
|
|
|
|
test "$$subdir" = "." && dot_seen=yes; \
|
|
|
|
done; \
|
|
|
|
test "$$dot_seen" = "no" && rev=". $$rev"; \
|
|
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
|
|
for subdir in $$rev; do \
|
|
|
|
echo "Making $$target in $$subdir"; \
|
|
|
|
if test "$$subdir" = "."; then \
|
|
|
|
local_target="$$target-am"; \
|
|
|
|
else \
|
|
|
|
local_target="$$target"; \
|
|
|
|
fi; \
|
|
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
|
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|
|
|
done && test -z "$$fail"
|
|
|
|
tags-recursive:
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
|
|
|
done
|
|
|
|
|
|
|
|
tags: TAGS
|
|
|
|
|
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
|
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
|
|
awk ' { files[$$0] = 1; } \
|
|
|
|
END { for (i in files) print i; }'`; \
|
|
|
|
here=`pwd` && cd $(srcdir) \
|
|
|
|
&& mkid -f$$here/ID $$unique $(LISP)
|
|
|
|
|
|
|
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
|
|
|
tags=; \
|
|
|
|
here=`pwd`; \
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
if test "$$subdir" = .; then :; else \
|
|
|
|
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
|
|
|
fi; \
|
|
|
|
done; \
|
|
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
|
|
awk ' { files[$$0] = 1; } \
|
|
|
|
END { for (i in files) print i; }'`; \
|
|
|
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
|
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
|
|
|
|
|
|
|
mostlyclean-tags:
|
|
|
|
|
|
|
|
clean-tags:
|
|
|
|
|
|
|
|
distclean-tags:
|
|
|
|
-rm -f TAGS ID
|
|
|
|
|
|
|
|
maintainer-clean-tags:
|
|
|
|
|
|
|
|
distdir = $(PACKAGE)-$(VERSION)
|
|
|
|
top_distdir = $(distdir)
|
|
|
|
|
|
|
|
# This target untars the dist file and tries a VPATH configuration. Then
|
|
|
|
# it guarantees that the distribution is self-contained by making another
|
|
|
|
# tarfile.
|
|
|
|
distcheck: dist
|
|
|
|
-rm -rf $(distdir)
|
|
|
|
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
|
|
|
|
mkdir $(distdir)/=build
|
|
|
|
mkdir $(distdir)/=inst
|
|
|
|
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
|
|
|
cd $(distdir)/=build \
|
|
|
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dist
|
|
|
|
-rm -rf $(distdir)
|
|
|
|
@banner="$(distdir).tar.gz is ready for distribution"; \
|
|
|
|
dashes=`echo "$$banner" | sed s/./=/g`; \
|
|
|
|
echo "$$dashes"; \
|
|
|
|
echo "$$banner"; \
|
|
|
|
echo "$$dashes"
|
|
|
|
dist: distdir
|
|
|
|
-chmod -R a+r $(distdir)
|
|
|
|
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
|
|
-rm -rf $(distdir)
|
|
|
|
dist-all: distdir
|
|
|
|
-chmod -R a+r $(distdir)
|
|
|
|
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
|
|
-rm -rf $(distdir)
|
|
|
|
distdir: $(DISTFILES)
|
|
|
|
-rm -rf $(distdir)
|
|
|
|
mkdir $(distdir)
|
|
|
|
-chmod 777 $(distdir)
|
|
|
|
@for file in $(DISTFILES); do \
|
|
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
|
|
|
if test -d $$d/$$file; then \
|
2000-12-09 05:31:08 +08:00
|
|
|
cp -pr $$d/$$file $(distdir)/$$file; \
|
2000-02-18 03:39:52 +08:00
|
|
|
else \
|
|
|
|
test -f $(distdir)/$$file \
|
|
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
for subdir in $(DIST_SUBDIRS); do \
|
|
|
|
if test "$$subdir" = .; then :; else \
|
|
|
|
test -d $(distdir)/$$subdir \
|
|
|
|
|| mkdir $(distdir)/$$subdir \
|
|
|
|
|| exit 1; \
|
|
|
|
chmod 777 $(distdir)/$$subdir; \
|
|
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|
|
|
|
|| exit 1; \
|
|
|
|
fi; \
|
|
|
|
done
|
2002-04-25 04:53:30 +08:00
|
|
|
|
|
|
|
DEJATOOL = $(PACKAGE)
|
|
|
|
|
|
|
|
RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
|
2000-02-18 03:39:52 +08:00
|
|
|
info-am:
|
|
|
|
info: info-recursive
|
|
|
|
dvi-am:
|
|
|
|
dvi: dvi-recursive
|
|
|
|
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
|
|
|
|
installcheck-am:
|
|
|
|
installcheck: installcheck-recursive
|
|
|
|
install-info-am:
|
|
|
|
install-info: install-info-recursive
|
|
|
|
install-exec-am:
|
|
|
|
install-exec: install-exec-recursive
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
install-data-am: install-toollibLIBRARIES install-toollibLTLIBRARIES \
|
|
|
|
install-toollibDATA install-data-local
|
2000-02-18 03:39:52 +08:00
|
|
|
install-data: install-data-recursive
|
|
|
|
|
|
|
|
install-am: all-am
|
|
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
install: install-recursive
|
2001-12-14 07:50:11 +08:00
|
|
|
uninstall-am: uninstall-toollibLIBRARIES uninstall-toollibLTLIBRARIES \
|
|
|
|
uninstall-toollibDATA
|
2000-02-18 03:39:52 +08:00
|
|
|
uninstall: uninstall-recursive
|
2001-12-14 07:50:11 +08:00
|
|
|
all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA)
|
2000-02-18 03:39:52 +08:00
|
|
|
all-redirect: all-recursive
|
|
|
|
install-strip:
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
|
|
|
installdirs: installdirs-recursive
|
|
|
|
installdirs-am:
|
2001-12-14 07:50:11 +08:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(toollibdir) $(DESTDIR)$(toollibdir) \
|
|
|
|
$(DESTDIR)$(toollibdir)
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
|
|
|
|
mostlyclean-generic:
|
|
|
|
|
|
|
|
clean-generic:
|
|
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
|
|
|
|
distclean-generic:
|
|
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
|
|
|
|
|
|
maintainer-clean-generic:
|
|
|
|
mostlyclean-am: mostlyclean-toollibLIBRARIES mostlyclean-compile \
|
2001-12-14 07:50:11 +08:00
|
|
|
mostlyclean-libtool mostlyclean-toollibLTLIBRARIES \
|
2000-02-18 03:39:52 +08:00
|
|
|
mostlyclean-tags mostlyclean-generic
|
|
|
|
|
|
|
|
mostlyclean: mostlyclean-recursive
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
clean-am: clean-toollibLIBRARIES clean-compile clean-libtool \
|
|
|
|
clean-toollibLTLIBRARIES clean-tags clean-generic \
|
2000-02-18 03:39:52 +08:00
|
|
|
mostlyclean-am
|
|
|
|
|
|
|
|
clean: clean-recursive
|
|
|
|
|
|
|
|
distclean-am: distclean-toollibLIBRARIES distclean-compile \
|
2001-12-14 07:50:11 +08:00
|
|
|
distclean-libtool distclean-toollibLTLIBRARIES \
|
2000-02-18 03:39:52 +08:00
|
|
|
distclean-tags distclean-generic clean-am
|
2001-12-14 07:50:11 +08:00
|
|
|
-rm -f libtool
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
distclean: distclean-recursive
|
|
|
|
-rm -f config.status
|
|
|
|
|
|
|
|
maintainer-clean-am: maintainer-clean-toollibLIBRARIES \
|
2001-12-14 07:50:11 +08:00
|
|
|
maintainer-clean-compile maintainer-clean-libtool \
|
|
|
|
maintainer-clean-toollibLTLIBRARIES \
|
|
|
|
maintainer-clean-tags maintainer-clean-generic \
|
|
|
|
distclean-am
|
2000-02-18 03:39:52 +08:00
|
|
|
@echo "This command is intended for maintainers to use;"
|
|
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
|
|
|
|
maintainer-clean: maintainer-clean-recursive
|
|
|
|
-rm -f config.status
|
|
|
|
|
|
|
|
.PHONY: mostlyclean-toollibLIBRARIES distclean-toollibLIBRARIES \
|
|
|
|
clean-toollibLIBRARIES maintainer-clean-toollibLIBRARIES \
|
|
|
|
uninstall-toollibLIBRARIES install-toollibLIBRARIES mostlyclean-compile \
|
|
|
|
distclean-compile clean-compile maintainer-clean-compile \
|
2001-12-14 07:50:11 +08:00
|
|
|
mostlyclean-libtool distclean-libtool clean-libtool \
|
|
|
|
maintainer-clean-libtool mostlyclean-toollibLTLIBRARIES \
|
|
|
|
distclean-toollibLTLIBRARIES clean-toollibLTLIBRARIES \
|
|
|
|
maintainer-clean-toollibLTLIBRARIES uninstall-toollibLTLIBRARIES \
|
|
|
|
install-toollibLTLIBRARIES uninstall-toollibDATA install-toollibDATA \
|
|
|
|
install-data-recursive uninstall-data-recursive install-exec-recursive \
|
2000-02-18 03:39:52 +08:00
|
|
|
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
|
|
|
|
all-recursive check-recursive installcheck-recursive info-recursive \
|
|
|
|
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
|
|
|
|
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
2002-04-25 04:53:30 +08:00
|
|
|
distclean-tags clean-tags maintainer-clean-tags distdir check-DEJAGNU \
|
|
|
|
info-am info dvi-am dvi check check-am installcheck-am installcheck \
|
|
|
|
install-info-am install-info install-exec-am install-exec \
|
|
|
|
install-data-local install-data-am install-data install-am install \
|
|
|
|
uninstall-am uninstall all-redirect all-am all installdirs-am \
|
|
|
|
installdirs mostlyclean-generic distclean-generic clean-generic \
|
|
|
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
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 $@
|
2002-04-18 03:13:11 +08:00
|
|
|
ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \
|
|
|
|
|| cp $(CRT0_DIR)$(CRT0) $@
|
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
|
|
|
|
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
|
|
|
|
mkdir targ-include targ-include/sys targ-include/machine
|
|
|
|
-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
|
|
|
|
-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
|
|
|
|
-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
|
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
|
2000-02-18 03:39:52 +08:00
|
|
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
|
|
|
|
-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; \
|
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; \
|
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; \
|
|
|
|
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 ; \
|
|
|
|
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 ; \
|
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 ; \
|
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
|
|
|
|
|
|
|
|
all-multi:
|
|
|
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
|
2002-05-02 04:26:05 +08:00
|
|
|
check-multi:
|
|
|
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=check multi-do
|
2000-02-18 03:39:52 +08:00
|
|
|
mostlyclean-multi:
|
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
|
|
|
|
clean-multi:
|
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
|
|
|
|
distclean-multi:
|
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
|
|
|
|
maintainer-clean-multi:
|
|
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
|
|
|
|
|
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
|
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
|
|
|
|
|
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:
|