Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-12-19 12:22:35 +0300
committerCorinna Vinschen <corinna@vinschen.de>2001-12-19 12:22:35 +0300
commit13b918be74379ab8ad7b87e1639829a8c9f1f690 (patch)
treeb2cc6fdd1739be1f00fac5c64c4bcb5561125b0a /newlib/libm
parentaa053fd4618972cf579150ddb3ca5412639de2c7 (diff)
* libm/machine/Makefile.am: Change rules to create correct lib.a.
* libm/machine/Makefile.in: Regenerated through automake.
Diffstat (limited to 'newlib/libm')
-rw-r--r--newlib/libm/machine/Makefile.am9
-rw-r--r--newlib/libm/machine/Makefile.in30
2 files changed, 25 insertions, 14 deletions
diff --git a/newlib/libm/machine/Makefile.am b/newlib/libm/machine/Makefile.am
index d452c7fb3..f72a8ee77 100644
--- a/newlib/libm/machine/Makefile.am
+++ b/newlib/libm/machine/Makefile.am
@@ -7,11 +7,16 @@ SUBDIRS = $(libm_machine_dir) .
if USE_LIBTOOL
else
noinst_LIBRARIES = lib.a
-lib_a_SOURCES =
-lib_a_LIBADD = $(machlib)
+
+lib.a: $(libm_machine_dir)/lib.a
+ rm -f $@
+ ln $(libm_machine_dir)/lib.a $@ >/dev/null 2>/dev/null || \
+ cp $(libm_machine_dir)/lib.a $@
endif # USE_LIBTOOL
ACLOCAL_AMFLAGS = -I ../..
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
+$(libm_machine_dir)/lib.a:
+
doc:
diff --git a/newlib/libm/machine/Makefile.in b/newlib/libm/machine/Makefile.in
index 82e207f8a..0b8964fd1 100644
--- a/newlib/libm/machine/Makefile.in
+++ b/newlib/libm/machine/Makefile.in
@@ -87,9 +87,7 @@ AUTOMAKE_OPTIONS = cygnus
SUBDIRS = $(libm_machine_dir) .
-@USE_LIBTOOL_FALSE@noinst_LIBRARIES = @USE_LIBTOOL_FALSE@lib.a
-@USE_LIBTOOL_FALSE@lib_a_SOURCES =
-@USE_LIBTOOL_FALSE@lib_a_LIBADD = @USE_LIBTOOL_FALSE@$(machlib)
+@USE_LIBTOOL_FALSE@noinst_LIBRARIES = lib.a
ACLOCAL_AMFLAGS = -I ../..
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
@@ -102,8 +100,14 @@ LIBRARIES = $(noinst_LIBRARIES)
DEFS = @DEFS@ -I. -I$(srcdir)
CPPFLAGS = @CPPFLAGS@
LIBS = @LIBS@
-@USE_LIBTOOL_FALSE@lib_a_DEPENDENCIES =
-@USE_LIBTOOL_FALSE@lib_a_OBJECTS =
+lib_a_LIBADD =
+lib_a_SOURCES = lib.a.c
+lib_a_OBJECTS = lib.a.o
+CFLAGS = @CFLAGS@
+COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in
@@ -111,8 +115,8 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
GZIP_ENV = --best
-SOURCES = $(lib_a_SOURCES)
-OBJECTS = $(lib_a_OBJECTS)
+SOURCES = lib.a.c
+OBJECTS = lib.a.o
all: all-redirect
.SUFFIXES:
@@ -180,11 +184,6 @@ distclean-libtool:
maintainer-clean-libtool:
-lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES)
- -rm -f lib.a
- $(AR) cru lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
- $(RANLIB) lib.a
-
# 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,
@@ -418,6 +417,13 @@ clean-generic maintainer-clean-generic clean mostlyclean distclean \
maintainer-clean
+@USE_LIBTOOL_FALSE@lib.a: $(libm_machine_dir)/lib.a
+@USE_LIBTOOL_FALSE@ rm -f $@
+@USE_LIBTOOL_FALSE@ ln $(libm_machine_dir)/lib.a $@ >/dev/null 2>/dev/null || \
+@USE_LIBTOOL_FALSE@ cp $(libm_machine_dir)/lib.a $@
+
+$(libm_machine_dir)/lib.a:
+
doc:
# Tell versions [3.59,3.63) of GNU make to not export all variables.