summaryrefslogtreecommitdiff
path: root/newlib/libc/sys
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys')
-rw-r--r--newlib/libc/sys/a29khif/Makefile.am2
-rw-r--r--newlib/libc/sys/a29khif/Makefile.in2
-rw-r--r--newlib/libc/sys/arc/Makefile.am2
-rw-r--r--newlib/libc/sys/arc/Makefile.in2
-rw-r--r--newlib/libc/sys/arm/Makefile.am2
-rw-r--r--newlib/libc/sys/arm/Makefile.in2
-rw-r--r--newlib/libc/sys/d10v/Makefile.am2
-rw-r--r--newlib/libc/sys/d10v/Makefile.in2
-rw-r--r--newlib/libc/sys/decstation/Makefile.am2
-rw-r--r--newlib/libc/sys/decstation/Makefile.in2
-rw-r--r--newlib/libc/sys/h8300hms/Makefile.am2
-rw-r--r--newlib/libc/sys/h8300hms/Makefile.in2
-rw-r--r--newlib/libc/sys/h8500hms/Makefile.am2
-rw-r--r--newlib/libc/sys/h8500hms/Makefile.in2
-rw-r--r--newlib/libc/sys/linux/machine/i386/Makefile.am2
-rw-r--r--newlib/libc/sys/linux/machine/i386/Makefile.in2
-rw-r--r--newlib/libc/sys/m88kbug/Makefile.am2
-rw-r--r--newlib/libc/sys/m88kbug/Makefile.in2
-rw-r--r--newlib/libc/sys/mmixware/Makefile.am2
-rw-r--r--newlib/libc/sys/mmixware/Makefile.in2
-rw-r--r--newlib/libc/sys/netware/Makefile.am2
-rw-r--r--newlib/libc/sys/netware/Makefile.in2
-rw-r--r--newlib/libc/sys/rdos/Makefile.am2
-rw-r--r--newlib/libc/sys/rdos/Makefile.in2
-rw-r--r--newlib/libc/sys/rtems/Makefile.am2
-rw-r--r--newlib/libc/sys/rtems/Makefile.in2
-rw-r--r--newlib/libc/sys/sh/Makefile.am2
-rw-r--r--newlib/libc/sys/sh/Makefile.in2
-rw-r--r--newlib/libc/sys/sparc64/Makefile.am2
-rw-r--r--newlib/libc/sys/sparc64/Makefile.in2
-rw-r--r--newlib/libc/sys/sun4/Makefile.am97
-rw-r--r--newlib/libc/sys/sun4/Makefile.in1
-rw-r--r--newlib/libc/sys/sysmec/Makefile.am2
-rw-r--r--newlib/libc/sys/sysmec/Makefile.in2
-rw-r--r--newlib/libc/sys/sysnec810/Makefile.am2
-rw-r--r--newlib/libc/sys/sysnec810/Makefile.in2
-rw-r--r--newlib/libc/sys/sysnecv850/Makefile.am2
-rw-r--r--newlib/libc/sys/sysnecv850/Makefile.in2
-rw-r--r--newlib/libc/sys/sysvi386/Makefile.am2
-rw-r--r--newlib/libc/sys/sysvi386/Makefile.in2
-rw-r--r--newlib/libc/sys/sysvnecv70/Makefile.am2
-rw-r--r--newlib/libc/sys/sysvnecv70/Makefile.in2
-rw-r--r--newlib/libc/sys/tic80/Makefile.am2
-rw-r--r--newlib/libc/sys/tic80/Makefile.in2
-rw-r--r--newlib/libc/sys/w65/Makefile.am2
-rw-r--r--newlib/libc/sys/w65/Makefile.in2
-rw-r--r--newlib/libc/sys/z8ksim/Makefile.am2
-rw-r--r--newlib/libc/sys/z8ksim/Makefile.in2
48 files changed, 144 insertions, 46 deletions
diff --git a/newlib/libc/sys/a29khif/Makefile.am b/newlib/libc/sys/a29khif/Makefile.am
index 682a89c83a6..1f01b33b475 100644
--- a/newlib/libc/sys/a29khif/Makefile.am
+++ b/newlib/libc/sys/a29khif/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/a29khif/Makefile.in b/newlib/libc/sys/a29khif/Makefile.in
index 7c6d1444c2a..7f24a926e81 100644
--- a/newlib/libc/sys/a29khif/Makefile.in
+++ b/newlib/libc/sys/a29khif/Makefile.in
@@ -192,7 +192,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = \
_alloc.s \
diff --git a/newlib/libc/sys/arc/Makefile.am b/newlib/libc/sys/arc/Makefile.am
index 6cfa2c26163..be3a99b8d37 100644
--- a/newlib/libc/sys/arc/Makefile.am
+++ b/newlib/libc/sys/arc/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/arc/Makefile.in b/newlib/libc/sys/arc/Makefile.in
index 5fd2715e9d2..5671dc7dbe4 100644
--- a/newlib/libc/sys/arc/Makefile.in
+++ b/newlib/libc/sys/arc/Makefile.in
@@ -182,7 +182,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = isatty.c mem-layout.c sbrk.c syscalls.c
ACLOCAL_AMFLAGS = -I ../../..
diff --git a/newlib/libc/sys/arm/Makefile.am b/newlib/libc/sys/arm/Makefile.am
index 14db28496b2..9161407dc43 100644
--- a/newlib/libc/sys/arm/Makefile.am
+++ b/newlib/libc/sys/arm/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/arm/Makefile.in b/newlib/libc/sys/arm/Makefile.in
index e15fef3eade..6690e6aa337 100644
--- a/newlib/libc/sys/arm/Makefile.in
+++ b/newlib/libc/sys/arm/Makefile.in
@@ -182,7 +182,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
@MAY_SUPPLY_SYSCALLS_FALSE@extra_objs =
@MAY_SUPPLY_SYSCALLS_TRUE@extra_objs = libcfunc.o trap.o syscalls.o
diff --git a/newlib/libc/sys/d10v/Makefile.am b/newlib/libc/sys/d10v/Makefile.am
index ee55087864b..e55339a2112 100644
--- a/newlib/libc/sys/d10v/Makefile.am
+++ b/newlib/libc/sys/d10v/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/d10v/Makefile.in b/newlib/libc/sys/d10v/Makefile.in
index 4ea053e75f4..77483343616 100644
--- a/newlib/libc/sys/d10v/Makefile.in
+++ b/newlib/libc/sys/d10v/Makefile.in
@@ -182,7 +182,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = syscalls.c trap.S creat.c
ACLOCAL_AMFLAGS = -I ../../..
diff --git a/newlib/libc/sys/decstation/Makefile.am b/newlib/libc/sys/decstation/Makefile.am
index 43a68bc20ae..dc5ca42f929 100644
--- a/newlib/libc/sys/decstation/Makefile.am
+++ b/newlib/libc/sys/decstation/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/decstation/Makefile.in b/newlib/libc/sys/decstation/Makefile.in
index 26d4b0e015e..d4215044975 100644
--- a/newlib/libc/sys/decstation/Makefile.in
+++ b/newlib/libc/sys/decstation/Makefile.in
@@ -185,7 +185,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
COPYOFILES = \
read.o \
diff --git a/newlib/libc/sys/h8300hms/Makefile.am b/newlib/libc/sys/h8300hms/Makefile.am
index e2a1217cb2b..2062199d567 100644
--- a/newlib/libc/sys/h8300hms/Makefile.am
+++ b/newlib/libc/sys/h8300hms/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/h8300hms/Makefile.in b/newlib/libc/sys/h8300hms/Makefile.in
index 2f9d529d1a7..b3f2afa7819 100644
--- a/newlib/libc/sys/h8300hms/Makefile.in
+++ b/newlib/libc/sys/h8300hms/Makefile.in
@@ -185,7 +185,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = syscalls.c _exit.S sbrk.c misc.c crt1.c \
close.S fstat.S lseek.S open.S read.S stat.S write.S
diff --git a/newlib/libc/sys/h8500hms/Makefile.am b/newlib/libc/sys/h8500hms/Makefile.am
index 9365a3c0d70..45b83f10bed 100644
--- a/newlib/libc/sys/h8500hms/Makefile.am
+++ b/newlib/libc/sys/h8500hms/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/h8500hms/Makefile.in b/newlib/libc/sys/h8500hms/Makefile.in
index 7e886fcaab4..a24fe556dbc 100644
--- a/newlib/libc/sys/h8500hms/Makefile.in
+++ b/newlib/libc/sys/h8500hms/Makefile.in
@@ -181,7 +181,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = syscalls.c misc.c
ACLOCAL_AMFLAGS = -I ../../..
diff --git a/newlib/libc/sys/linux/machine/i386/Makefile.am b/newlib/libc/sys/linux/machine/i386/Makefile.am
index 94a2688a055..9cf5763dba8 100644
--- a/newlib/libc/sys/linux/machine/i386/Makefile.am
+++ b/newlib/libc/sys/linux/machine/i386/Makefile.am
@@ -19,7 +19,7 @@ else
noinst_LIBRARIES = lib.a
lib_a_SOURCES = $(LIB_SOURCES)
lib_a_CFLAGS = $(AM_CFLAGS)
-lib_a_CCASFLAGS = $(AM_CCASFLAGS) $(AM_CFLAGS)
+lib_a_CCASFLAGS = $(AM_CCASFLAGS)
noinst_DATA =
endif # USE_LIBTOOL
diff --git a/newlib/libc/sys/linux/machine/i386/Makefile.in b/newlib/libc/sys/linux/machine/i386/Makefile.in
index 914e7d6af67..6c87bcdcaaa 100644
--- a/newlib/libc/sys/linux/machine/i386/Makefile.in
+++ b/newlib/libc/sys/linux/machine/i386/Makefile.in
@@ -230,7 +230,7 @@ AM_CCASFLAGS = -I$(srcdir)/../.. $(INCLUDES)
@USE_LIBTOOL_FALSE@noinst_LIBRARIES = lib.a
@USE_LIBTOOL_FALSE@lib_a_SOURCES = $(LIB_SOURCES)
@USE_LIBTOOL_FALSE@lib_a_CFLAGS = $(AM_CFLAGS)
-@USE_LIBTOOL_FALSE@lib_a_CCASFLAGS = $(AM_CCASFLAGS) $(AM_CFLAGS)
+@USE_LIBTOOL_FALSE@lib_a_CCASFLAGS = $(AM_CCASFLAGS)
ACLOCAL_AMFLAGS = -I ../../../../..
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
all: all-am
diff --git a/newlib/libc/sys/m88kbug/Makefile.am b/newlib/libc/sys/m88kbug/Makefile.am
index a56994e6d96..91fec69f9c2 100644
--- a/newlib/libc/sys/m88kbug/Makefile.am
+++ b/newlib/libc/sys/m88kbug/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/m88kbug/Makefile.in b/newlib/libc/sys/m88kbug/Makefile.in
index 789805dcbb5..2fcf5b946cd 100644
--- a/newlib/libc/sys/m88kbug/Makefile.in
+++ b/newlib/libc/sys/m88kbug/Makefile.in
@@ -181,7 +181,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = syscalls.c
ACLOCAL_AMFLAGS = -I ../../..
diff --git a/newlib/libc/sys/mmixware/Makefile.am b/newlib/libc/sys/mmixware/Makefile.am
index 9ad93da8fb9..7a421f5a76d 100644
--- a/newlib/libc/sys/mmixware/Makefile.am
+++ b/newlib/libc/sys/mmixware/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/mmixware/Makefile.in b/newlib/libc/sys/mmixware/Makefile.in
index cbc74e7ca8d..84cb62c5816 100644
--- a/newlib/libc/sys/mmixware/Makefile.in
+++ b/newlib/libc/sys/mmixware/Makefile.in
@@ -190,7 +190,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = _exit.c access.c chmod.c chown.c close.c creat.c \
execv.c execve.c fork.c fstat.c getpid.c isatty.c \
diff --git a/newlib/libc/sys/netware/Makefile.am b/newlib/libc/sys/netware/Makefile.am
index 3eda0fb7f4e..74c72160c11 100644
--- a/newlib/libc/sys/netware/Makefile.am
+++ b/newlib/libc/sys/netware/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/netware/Makefile.in b/newlib/libc/sys/netware/Makefile.in
index d2d14a29511..c637c8625e6 100644
--- a/newlib/libc/sys/netware/Makefile.in
+++ b/newlib/libc/sys/netware/Makefile.in
@@ -181,7 +181,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = \
getpid.c \
diff --git a/newlib/libc/sys/rdos/Makefile.am b/newlib/libc/sys/rdos/Makefile.am
index 561137b7e07..028556d29a5 100644
--- a/newlib/libc/sys/rdos/Makefile.am
+++ b/newlib/libc/sys/rdos/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/rdos/Makefile.in b/newlib/libc/sys/rdos/Makefile.in
index 2992e4d6022..ba15e687712 100644
--- a/newlib/libc/sys/rdos/Makefile.in
+++ b/newlib/libc/sys/rdos/Makefile.in
@@ -189,7 +189,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = chown.c close.c execve.c fork.c fstat.c getenv.c \
getpid.c gettod.c isatty.c kill.c link.c lseek.c open.c rdoshelp.c \
diff --git a/newlib/libc/sys/rtems/Makefile.am b/newlib/libc/sys/rtems/Makefile.am
index e88958f7f1c..dc08b82113f 100644
--- a/newlib/libc/sys/rtems/Makefile.am
+++ b/newlib/libc/sys/rtems/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/rtems/Makefile.in b/newlib/libc/sys/rtems/Makefile.in
index 035ff756fc0..61532c70382 100644
--- a/newlib/libc/sys/rtems/Makefile.in
+++ b/newlib/libc/sys/rtems/Makefile.in
@@ -181,7 +181,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = dummysys.c
ACLOCAL_AMFLAGS = -I ../../..
diff --git a/newlib/libc/sys/sh/Makefile.am b/newlib/libc/sys/sh/Makefile.am
index 44095bde208..0e3bf7c72a8 100644
--- a/newlib/libc/sys/sh/Makefile.am
+++ b/newlib/libc/sys/sh/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/sh/Makefile.in b/newlib/libc/sys/sh/Makefile.in
index 2f9d68255b8..d81d97c9765 100644
--- a/newlib/libc/sys/sh/Makefile.in
+++ b/newlib/libc/sys/sh/Makefile.in
@@ -183,7 +183,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = syscalls.c trap.S creat.c ftruncate.c truncate.c
ACLOCAL_AMFLAGS = -I ../../..
diff --git a/newlib/libc/sys/sparc64/Makefile.am b/newlib/libc/sys/sparc64/Makefile.am
index 2aff65d891b..5bf6f762de3 100644
--- a/newlib/libc/sys/sparc64/Makefile.am
+++ b/newlib/libc/sys/sparc64/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/sparc64/Makefile.in b/newlib/libc/sys/sparc64/Makefile.in
index 95652aaa9c4..894361d03b4 100644
--- a/newlib/libc/sys/sparc64/Makefile.in
+++ b/newlib/libc/sys/sparc64/Makefile.in
@@ -205,7 +205,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
# _r.o is for the reentrant syscall stubs.
diff --git a/newlib/libc/sys/sun4/Makefile.am b/newlib/libc/sys/sun4/Makefile.am
new file mode 100644
index 00000000000..227813adf87
--- /dev/null
+++ b/newlib/libc/sys/sun4/Makefile.am
@@ -0,0 +1,97 @@
+## Process this file with automake to generate Makefile.in
+
+AUTOMAKE_OPTIONS = cygnus
+
+INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
+
+AM_CCASFLAGS = $(INCLUDES)
+
+noinst_LIBRARIES = lib.a
+
+COPYOFILES = \
+ Ovfork.o \
+ _exit.o \
+ _sigvec.o \
+ abort.o \
+ access.o \
+ cerror.o \
+ chmod.o \
+ chown.o \
+ close.o \
+ creat.o \
+ dup.o \
+ dup2.o \
+ errlst.o \
+ execl.o \
+ execle.o \
+ execv.o \
+ execve.o \
+ execvp.o \
+ fork.o \
+ fstat.o \
+ getdtablesize.o \
+ getpid.o \
+ getrusage.o \
+ gettimeofday.o \
+ ieee_globals.o \
+ ioctl.o \
+ isatty.o \
+ kill.o \
+ link.o \
+ lseek.o \
+ open.o \
+ pipe.o \
+ popen.o \
+ read.o \
+ sbrk.o \
+ setitimer.o \
+ sigblock.o \
+ signal.o \
+ sigpause.o \
+ sigsetjmp.o \
+ sigsetmask.o \
+ sigtramp.o \
+ sigvec.o \
+ sleep.o \
+ start_float.o \
+ stat.o \
+ time.o \
+ times.o \
+ umask.o \
+ unlink.o \
+ utime.o \
+ utimes.o \
+ wait.o \
+ wait3.o \
+ wait4.o \
+ write.o \
+ rem.o \
+ multiply.o \
+ umultiply.o
+
+# These files are from Sun's libc.a, but the must be renamed because they
+# conflict with other library .o's. They are renamed to xxxS.o.
+COPYRENAMEOFILES = divS.o
+
+COPYOMFILES = ieee_flags.o
+
+lib_a_SOURCES = _main.c ieee.c
+lib_a_LIBADD = $(COPYOFILES) $(COPYOMFILES) $(COPYRENAMEOFILES)
+
+$(COPYOFILES):
+ $(AR) x /lib/libc.a $(COPYOFILES)
+
+$(COPYRENAMEOFILES):
+ $(AR) x /lib/libc.a $(COPYRENAMEFILES:S.o=.o)
+ for f in $(COPYRENAMEOFILES); do mv `basename $$f S.o`.o $$f; done
+
+$(COPYOMFILES):
+ $(AR) x /lib/libm.a $(COPYOMFILES)
+
+all: crt0.o
+
+crt0.o:
+ cp /lib/crt0.o crt0.o
+
+ACLOCAL_AMFLAGS = -I ../../..
+CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
diff --git a/newlib/libc/sys/sun4/Makefile.in b/newlib/libc/sys/sun4/Makefile.in
index 8c2cec457ef..76e2b1188f1 100644
--- a/newlib/libc/sys/sun4/Makefile.in
+++ b/newlib/libc/sys/sun4/Makefile.in
@@ -194,6 +194,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
COPYOFILES = \
Ovfork.o \
diff --git a/newlib/libc/sys/sysmec/Makefile.am b/newlib/libc/sys/sysmec/Makefile.am
index bf519a4f81f..8b5fba6d29d 100644
--- a/newlib/libc/sys/sysmec/Makefile.am
+++ b/newlib/libc/sys/sysmec/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/sysmec/Makefile.in b/newlib/libc/sys/sysmec/Makefile.in
index 624bcad5aad..385b3fcef25 100644
--- a/newlib/libc/sys/sysmec/Makefile.in
+++ b/newlib/libc/sys/sysmec/Makefile.in
@@ -189,7 +189,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = _exit.c access.c chmod.c chown.c close.c creat.c crt1.c \
execv.c execve.c fork.c fstat.c getpid.c isatty.c \
diff --git a/newlib/libc/sys/sysnec810/Makefile.am b/newlib/libc/sys/sysnec810/Makefile.am
index 0dd92ab39a2..34d03d34d9e 100644
--- a/newlib/libc/sys/sysnec810/Makefile.am
+++ b/newlib/libc/sys/sysnec810/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/sysnec810/Makefile.in b/newlib/libc/sys/sysnec810/Makefile.in
index 3b602954be8..d844cb625ca 100644
--- a/newlib/libc/sys/sysnec810/Makefile.in
+++ b/newlib/libc/sys/sysnec810/Makefile.in
@@ -183,7 +183,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = io.s write.c sbrk.c misc.c
ACLOCAL_AMFLAGS = -I ../../..
diff --git a/newlib/libc/sys/sysnecv850/Makefile.am b/newlib/libc/sys/sysnecv850/Makefile.am
index 8edc97105cf..d76e4b5a7b3 100644
--- a/newlib/libc/sys/sysnecv850/Makefile.am
+++ b/newlib/libc/sys/sysnecv850/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/sysnecv850/Makefile.in b/newlib/libc/sys/sysnecv850/Makefile.in
index 514ba818745..ad29316beec 100644
--- a/newlib/libc/sys/sysnecv850/Makefile.in
+++ b/newlib/libc/sys/sysnecv850/Makefile.in
@@ -190,7 +190,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = \
_exit.c access.c chmod.c chown.c close.c creat.c crt1.c \
diff --git a/newlib/libc/sys/sysvi386/Makefile.am b/newlib/libc/sys/sysvi386/Makefile.am
index b5d3a33ec79..564da337cd3 100644
--- a/newlib/libc/sys/sysvi386/Makefile.am
+++ b/newlib/libc/sys/sysvi386/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/sysvi386/Makefile.in b/newlib/libc/sys/sysvi386/Makefile.in
index a4a7d6fe6ca..11bf8a86136 100644
--- a/newlib/libc/sys/sysvi386/Makefile.in
+++ b/newlib/libc/sys/sysvi386/Makefile.in
@@ -201,7 +201,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = \
ioctl.s isatty.c read.s lseek.s close.s sbrk.c fstat.s cerror.s \
diff --git a/newlib/libc/sys/sysvnecv70/Makefile.am b/newlib/libc/sys/sysvnecv70/Makefile.am
index fde1c77de80..14e70b37165 100644
--- a/newlib/libc/sys/sysvnecv70/Makefile.am
+++ b/newlib/libc/sys/sysvnecv70/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/sysvnecv70/Makefile.in b/newlib/libc/sys/sysvnecv70/Makefile.in
index e6c15af0225..54ce7288070 100644
--- a/newlib/libc/sys/sysvnecv70/Makefile.in
+++ b/newlib/libc/sys/sysvnecv70/Makefile.in
@@ -185,7 +185,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = ioctl.s isatty.s read.s lseek.s close.s sbrk.s fstat.s \
cerror.s exit.s write.s sysv60.s fpx.c fps.s open.s
diff --git a/newlib/libc/sys/tic80/Makefile.am b/newlib/libc/sys/tic80/Makefile.am
index 91d18497e96..73a733f9b5c 100644
--- a/newlib/libc/sys/tic80/Makefile.am
+++ b/newlib/libc/sys/tic80/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/tic80/Makefile.in b/newlib/libc/sys/tic80/Makefile.in
index 2de188952ca..330e908bada 100644
--- a/newlib/libc/sys/tic80/Makefile.in
+++ b/newlib/libc/sys/tic80/Makefile.in
@@ -185,7 +185,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
lib_a_SOURCES =
diff --git a/newlib/libc/sys/w65/Makefile.am b/newlib/libc/sys/w65/Makefile.am
index 8fa4d42f92a..f1f686d82ae 100644
--- a/newlib/libc/sys/w65/Makefile.am
+++ b/newlib/libc/sys/w65/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/w65/Makefile.in b/newlib/libc/sys/w65/Makefile.in
index ad478692d87..e75325f609c 100644
--- a/newlib/libc/sys/w65/Makefile.in
+++ b/newlib/libc/sys/w65/Makefile.in
@@ -181,7 +181,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = syscalls.c trap.c
ACLOCAL_AMFLAGS = -I ../../..
diff --git a/newlib/libc/sys/z8ksim/Makefile.am b/newlib/libc/sys/z8ksim/Makefile.am
index 5d4030a9a53..f51e540dea2 100644
--- a/newlib/libc/sys/z8ksim/Makefile.am
+++ b/newlib/libc/sys/z8ksim/Makefile.am
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
diff --git a/newlib/libc/sys/z8ksim/Makefile.in b/newlib/libc/sys/z8ksim/Makefile.in
index e99437186f9..4119957717f 100644
--- a/newlib/libc/sys/z8ksim/Makefile.in
+++ b/newlib/libc/sys/z8ksim/Makefile.in
@@ -181,7 +181,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
-AM_CCASFLAGS = $(AM_CCASFLAGS) $(INCLUDES)
+AM_CCASFLAGS = $(INCLUDES)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = glue.c
ACLOCAL_AMFLAGS = -I ../../..