aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-02-07 19:15:15 +0000
committerJeff Johnston <jjohnstn@redhat.com>2002-02-07 19:15:15 +0000
commita2a405aea66a971c692c7a680c3f6c0be113cb7a (patch)
tree44a816a5c2076df027298cdf758500df0afc1bbd /newlib/libc
parent1f64102fa6f67ca0893cc78ee21cfabc20348a72 (diff)
downloadnewlib-a2a405aea66a971c692c7a680c3f6c0be113cb7a.zip
newlib-a2a405aea66a971c692c7a680c3f6c0be113cb7a.tar.gz
newlib-a2a405aea66a971c692c7a680c3f6c0be113cb7a.tar.bz2
2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
* libc/machine/i386/Makefile.am: (mach_add_src): Remove. (mach_add_obj): Conditionally set to setjmp.o or nothing. (LIB_SOURCES): Remove $(mach_add_src). (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src). (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto. * libc/machine/i386/Makefile.in: Regenerate.
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/machine/i386/Makefile.am12
-rw-r--r--newlib/libc/machine/i386/Makefile.in16
2 files changed, 19 insertions, 9 deletions
diff --git a/newlib/libc/machine/i386/Makefile.am b/newlib/libc/machine/i386/Makefile.am
index 100d8c4..20f7520 100644
--- a/newlib/libc/machine/i386/Makefile.am
+++ b/newlib/libc/machine/i386/Makefile.am
@@ -5,24 +5,30 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = -I $(newlib_basedir)/libm/common $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
if MACH_ADD_SETJMP
-mach_add_src=setjmp.S
+mach_add_obj=setjmp.o
else
-mach_add_src=
+mach_add_obj=
endif
LIB_SOURCES = \
memchr.S memcmp.S memcpy.S memset.S strchr.S \
- memmove.S strlen.S $(mach_add_src) i386mach.h
+ memmove.S strlen.S i386mach.h
libi386_la_LDFLAGS = -Xcompiler -nostdlib
if USE_LIBTOOL
noinst_LTLIBRARIES = libi386.la
libi386_la_SOURCES = $(LIB_SOURCES)
+EXTRA_libi386_la_SOURCES = setjmp.S
+libi386_la_LIBADD = $(mach_add_obj)
+libi386_la_DEPENDENCIES = $(mach_add_obj)
noinst_DATA = objectlist.awk.in
else
noinst_LIBRARIES = lib.a
lib_a_SOURCES = $(LIB_SOURCES)
+lib_a_LIBADD = $(mach_add_obj)
+lib_a_DEPENDENCIES = $(mach_add_obj)
+EXTRA_lib_a_SOURCES = setjmp.S
noinst_DATA =
endif # USE_LIBTOOL
diff --git a/newlib/libc/machine/i386/Makefile.in b/newlib/libc/machine/i386/Makefile.in
index 7866af9..ada1506 100644
--- a/newlib/libc/machine/i386/Makefile.in
+++ b/newlib/libc/machine/i386/Makefile.in
@@ -86,22 +86,28 @@ sys_dir = @sys_dir@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = -I $(newlib_basedir)/libm/common $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-@MACH_ADD_SETJMP_TRUE@mach_add_src = @MACH_ADD_SETJMP_TRUE@setjmp.S
-@MACH_ADD_SETJMP_FALSE@mach_add_src =
+@MACH_ADD_SETJMP_TRUE@mach_add_obj = @MACH_ADD_SETJMP_TRUE@setjmp.o
+@MACH_ADD_SETJMP_FALSE@mach_add_obj =
LIB_SOURCES = \
memchr.S memcmp.S memcpy.S memset.S strchr.S \
- memmove.S strlen.S $(mach_add_src) i386mach.h
+ memmove.S strlen.S i386mach.h
libi386_la_LDFLAGS = -Xcompiler -nostdlib
@USE_LIBTOOL_TRUE@noinst_LTLIBRARIES = @USE_LIBTOOL_TRUE@libi386.la
@USE_LIBTOOL_TRUE@libi386_la_SOURCES = @USE_LIBTOOL_TRUE@$(LIB_SOURCES)
+@USE_LIBTOOL_TRUE@EXTRA_libi386_la_SOURCES = @USE_LIBTOOL_TRUE@setjmp.S
+@USE_LIBTOOL_TRUE@libi386_la_LIBADD = @USE_LIBTOOL_TRUE@$(mach_add_obj)
+@USE_LIBTOOL_TRUE@libi386_la_DEPENDENCIES = @USE_LIBTOOL_TRUE@$(mach_add_obj)
@USE_LIBTOOL_TRUE@noinst_DATA = @USE_LIBTOOL_TRUE@objectlist.awk.in
@USE_LIBTOOL_FALSE@noinst_DATA =
@USE_LIBTOOL_FALSE@noinst_LIBRARIES = @USE_LIBTOOL_FALSE@lib.a
@USE_LIBTOOL_FALSE@lib_a_SOURCES = @USE_LIBTOOL_FALSE@$(LIB_SOURCES)
+@USE_LIBTOOL_FALSE@lib_a_LIBADD = @USE_LIBTOOL_FALSE@$(mach_add_obj)
+@USE_LIBTOOL_FALSE@lib_a_DEPENDENCIES = @USE_LIBTOOL_FALSE@$(mach_add_obj)
+@USE_LIBTOOL_FALSE@EXTRA_lib_a_SOURCES = @USE_LIBTOOL_FALSE@setjmp.S
ACLOCAL_AMFLAGS = -I ../../..
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
@@ -114,12 +120,10 @@ LIBRARIES = $(noinst_LIBRARIES)
DEFS = @DEFS@ -I. -I$(srcdir)
CPPFLAGS = @CPPFLAGS@
LIBS = @LIBS@
-lib_a_LIBADD =
@USE_LIBTOOL_FALSE@lib_a_OBJECTS = memchr.o memcmp.o memcpy.o memset.o \
@USE_LIBTOOL_FALSE@strchr.o memmove.o strlen.o
LTLIBRARIES = $(noinst_LTLIBRARIES)
-libi386_la_LIBADD =
@USE_LIBTOOL_TRUE@libi386_la_OBJECTS = memchr.lo memcmp.lo memcpy.lo \
@USE_LIBTOOL_TRUE@memset.lo strchr.lo memmove.lo strlen.lo
CFLAGS = @CFLAGS@
@@ -136,7 +140,7 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
GZIP_ENV = --best
-SOURCES = $(lib_a_SOURCES) $(libi386_la_SOURCES)
+SOURCES = $(lib_a_SOURCES) $(EXTRA_lib_a_SOURCES) $(libi386_la_SOURCES) $(EXTRA_libi386_la_SOURCES)
OBJECTS = $(lib_a_OBJECTS) $(libi386_la_OBJECTS)
all: all-redirect