diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2006-05-01 22:01:07 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2006-05-01 22:01:07 +0000 |
commit | 8f8f1db12f5ac069d7e44c7ea9b2eed55f2b0b96 (patch) | |
tree | 63736be05c366aa4eb54d745238770f758ea659b /newlib/libc/machine/sh | |
parent | 0015de8d38a42066853e29ce2ff543578ad28299 (diff) | |
download | newlib-8f8f1db12f5ac069d7e44c7ea9b2eed55f2b0b96.zip newlib-8f8f1db12f5ac069d7e44c7ea9b2eed55f2b0b96.tar.gz newlib-8f8f1db12f5ac069d7e44c7ea9b2eed55f2b0b96.tar.bz2 |
2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
* libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
be specified instead of object, do so.
* libc/ctype/Makefile.am: Ditto.
* libc/iconv/ccs/Makefile.am: Ditto.
* libc/iconv/ces/Makefile.am: Ditto.
* libc/iconv/lib/Makefile.am: Ditto.
* libc/locale/Makefile.am: Ditto.
* libc/posix/Makefile.am: Ditto.
* libc/reent/Makefile.am: Ditto.
* libc/search/Makefile.am: Ditto.
* libc/stdio/Makefile.am: Ditto.
* libc/stdio64/Makefile.am: Ditto.
* libc/stdlib/Makefile.am: Ditto.
* libc/string/Makefile.am: Ditto.
* libc/syscalls/Makefile.am: Ditto.
* libc/unix/Makefile.am: Ditto.
* libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
prefix added automatically. Any specified rules must use $(lpfx) for
object file names.
* libc/machine/arm/Makefile.am: Ditto.
* libc/machine/cris/Makefile.am: Ditto.
* libc/machine/crx/Makefile.am: Ditto.
* libc/machine/d10v/Makefile.am: Ditto.
* libc/machine/d30v/Makefile.am: Ditto.
* libc/machine/fr30/Makefile.am: Ditto.
* libc/machine/frv/Makefile.am: Ditto.
* libc/machine/h8300/Makefile.am: Ditto.
* libc/machine/h8500/Makefile.am: Ditto.
* libc/machine/hppa/Makefile.am: Ditto.
* libc/machine/i386/Makefile.am: Ditto.
* libc/machine/i960/Makefile.am: Ditto.
* libc/machine/iq2000/Makefile.am: Ditto.
* libc/machine/m32c/Makefile.am: Ditto.
* libc/machine/m32r/Makefile.am: Ditto.
* libc/machine/m68hc11/Makefile.am: Ditto.
* libc/machine/m68k/Makefile.am: Ditto.
* libc/machine/m88k/Makefile.am: Ditto.
* libc/machine/mips/Makefile.am: Ditto.
* libc/machine/mn10200/Makefile.am: Ditto.
* libc/machine/mn10300/Makefile.am: Ditto.
* libc/machine/mt/Makefile.am: Ditto.
* libc/machine/necv70/Makefile.am: Ditto.
* libc/machine/powerpc/Makefile.am: Ditto.
* libc/machine/sh/Makefile.am: Ditto.
* libc/machine/sh/Makefile.in: Ditto.
* libc/machine/sparc/Makefile.am: Ditto.
* libc/machine/tic4x/Makefile.am: Ditto.
* libc/machine/tic80/Makefile.am: Ditto.
* libc/machine/v850/Makefile.am: Ditto.
* libc/machine/w65/Makefile.am: Ditto.
* libc/machine/xscale/Makefile.am: Ditto.
* libc/machine/xstormy16/Makefile.am: Ditto.
* libc/machine/z8k/Makefile.am: Ditto.
* libc/sys/a29khif/Makefile.am: Ditto.
* libc/sys/arm/Makefile.am: Ditto.
* libc/sys/d10v/Makefile.am: Ditto.
* libc/sys/h8300hms/Makefile.am: Ditto.
* libc/sys/h8500hms/Makefile.am: Ditto.
* libc/sys/linux/Makefile.am: Ditto.
* libc/sys/linux/linuxthreads/Makefile.am: Ditto.
* libc/sys/linux/net/Makefile.am: Ditto.
* libc/sys/linux/stdlib/Makefile.am: Ditto.
* libc/sys/m88kbug/Makefile.am: Ditto.
* libc/sys/mmixware/Makefile.am: Ditto.
* libc/sys/rdos/Makefile.am: Ditto.
* libc/sys/rtems/Makefile.am: Ditto.
* libc/sys/sh/Makefile.am: Ditto.
* libc/sys/sun4/Makefile.am: Ditto.
* libc/sys/sysmec/Makefile.am: Ditto.
* libc/sys/sysnec810/Makefile.am: Ditto.
* libc/sys/sysnecv850/Makefile.am: Ditto.
* libc/sys/sysvi386/Makefile.am: Ditto.
* libc/sys/sysvnecv70/Makefile.am: Ditto.
* libc/sys/tic80/Makefile.am: Ditto.
* libc/sys/w65/Makefile.am: Ditto.
* libc/sys/z8ksim/Makefile.am: Ditto.
* libc/machine/necv70/fastmath.S: Renamed from .s file.
* libc/machine/necv70/setjmp.S: Ditto.
* libc/machine/necv70/fastmath.s: Removed.
* libc/machine/necv70/setjmp.s: Ditto.
* libc/machine/w65/*.S: New files renamed from .s files.
* libc/machine/w65/*.s: Renamed and removed.
* libc/sys/a29khif/*.S: New files renamed from .s files.
* libc/sys/a29khif/*.s: Renamed and removed.
* libc/sys/sysvi386/*.S: New files renamed from .s files.
* libc/sys/sysvi386/*.s: Renamed and removed.
* libc/sys/sysvnecv70/*.S: New files renamed from .s files.
* libc/sys/sysvnecv70/*.s: Renamed and removed.
* libc/*Makefile.in: Regenerated as appropriate.
Diffstat (limited to 'newlib/libc/machine/sh')
-rw-r--r-- | newlib/libc/machine/sh/Makefile.am | 15 | ||||
-rw-r--r-- | newlib/libc/machine/sh/Makefile.in | 70 |
2 files changed, 67 insertions, 18 deletions
diff --git a/newlib/libc/machine/sh/Makefile.am b/newlib/libc/machine/sh/Makefile.am index d432ec3..adf81a5 100644 --- a/newlib/libc/machine/sh/Makefile.am +++ b/newlib/libc/machine/sh/Makefile.am @@ -14,12 +14,15 @@ else lib_a_SOURCES = memcpy.S memset.S setjmp.S strcpy.S strlen.S strcmp.S endif -memcpy.o: asm.h -memset.o: asm.h -setjmp.o: asm.h -strcpy.o: asm.h -strcmp.o: asm.h -strncpy.o: asm.h +lib_a_CCASFLAGS=$(AM_CCASFLAGS) +lib_a_CFLAGS=$(AM_CFLAGS) + +$(lpfx)memcpy.o: asm.h +$(lpfx)memset.o: asm.h +$(lpfx)setjmp.o: asm.h +$(lpfx)strcpy.o: asm.h +$(lpfx)strcmp.o: asm.h +$(lpfx)strncpy.o: asm.h ACLOCAL_AMFLAGS = -I ../../.. CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host diff --git a/newlib/libc/machine/sh/Makefile.in b/newlib/libc/machine/sh/Makefile.in index 7cc12b8..67bf721 100644 --- a/newlib/libc/machine/sh/Makefile.in +++ b/newlib/libc/machine/sh/Makefile.in @@ -56,12 +56,14 @@ LIBRARIES = $(noinst_LIBRARIES) ARFLAGS = cru lib_a_AR = $(AR) $(ARFLAGS) lib_a_LIBADD = -@SH64_FALSE@am_lib_a_OBJECTS = memcpy.$(OBJEXT) memset.$(OBJEXT) \ -@SH64_FALSE@ setjmp.$(OBJEXT) strcpy.$(OBJEXT) strlen.$(OBJEXT) \ -@SH64_FALSE@ strcmp.$(OBJEXT) -@SH64_TRUE@am_lib_a_OBJECTS = memcpy.$(OBJEXT) memset.$(OBJEXT) \ -@SH64_TRUE@ setjmp.$(OBJEXT) strcpy.$(OBJEXT) strlen.$(OBJEXT) \ -@SH64_TRUE@ strcmp.$(OBJEXT) strncpy.$(OBJEXT) +@SH64_FALSE@am_lib_a_OBJECTS = lib_a-memcpy.$(OBJEXT) \ +@SH64_FALSE@ lib_a-memset.$(OBJEXT) lib_a-setjmp.$(OBJEXT) \ +@SH64_FALSE@ lib_a-strcpy.$(OBJEXT) lib_a-strlen.$(OBJEXT) \ +@SH64_FALSE@ lib_a-strcmp.$(OBJEXT) +@SH64_TRUE@am_lib_a_OBJECTS = lib_a-memcpy.$(OBJEXT) \ +@SH64_TRUE@ lib_a-memset.$(OBJEXT) lib_a-setjmp.$(OBJEXT) \ +@SH64_TRUE@ lib_a-strcpy.$(OBJEXT) lib_a-strlen.$(OBJEXT) \ +@SH64_TRUE@ lib_a-strcmp.$(OBJEXT) lib_a-strncpy.$(OBJEXT) lib_a_OBJECTS = $(am_lib_a_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) depcomp = @@ -194,6 +196,8 @@ AM_CCASFLAGS = $(INCLUDES) noinst_LIBRARIES = lib.a @SH64_FALSE@lib_a_SOURCES = memcpy.S memset.S setjmp.S strcpy.S strlen.S strcmp.S @SH64_TRUE@lib_a_SOURCES = memcpy.S memset.S setjmp.S strcpy.S strlen.S strcmp.S strncpy.S +lib_a_CCASFLAGS = $(AM_CCASFLAGS) +lib_a_CFLAGS = $(AM_CFLAGS) ACLOCAL_AMFLAGS = -I ../../.. CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host all: all-am @@ -252,6 +256,48 @@ distclean-compile: .S.obj: $(CCASCOMPILE) -c `$(CYGPATH_W) '$<'` + +lib_a-memcpy.o: memcpy.S + $(CCAS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-memcpy.o `test -f 'memcpy.S' || echo '$(srcdir)/'`memcpy.S + +lib_a-memcpy.obj: memcpy.S + $(CCAS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-memcpy.obj `if test -f 'memcpy.S'; then $(CYGPATH_W) 'memcpy.S'; else $(CYGPATH_W) '$(srcdir)/memcpy.S'; fi` + +lib_a-memset.o: memset.S + $(CCAS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-memset.o `test -f 'memset.S' || echo '$(srcdir)/'`memset.S + +lib_a-memset.obj: memset.S + $(CCAS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-memset.obj `if test -f 'memset.S'; then $(CYGPATH_W) 'memset.S'; else $(CYGPATH_W) '$(srcdir)/memset.S'; fi` + +lib_a-setjmp.o: setjmp.S + $(CCAS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-setjmp.o `test -f 'setjmp.S' || echo '$(srcdir)/'`setjmp.S + +lib_a-setjmp.obj: setjmp.S + $(CCAS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-setjmp.obj `if test -f 'setjmp.S'; then $(CYGPATH_W) 'setjmp.S'; else $(CYGPATH_W) '$(srcdir)/setjmp.S'; fi` + +lib_a-strcpy.o: strcpy.S + $(CCAS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-strcpy.o `test -f 'strcpy.S' || echo '$(srcdir)/'`strcpy.S + +lib_a-strcpy.obj: strcpy.S + $(CCAS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-strcpy.obj `if test -f 'strcpy.S'; then $(CYGPATH_W) 'strcpy.S'; else $(CYGPATH_W) '$(srcdir)/strcpy.S'; fi` + +lib_a-strlen.o: strlen.S + $(CCAS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-strlen.o `test -f 'strlen.S' || echo '$(srcdir)/'`strlen.S + +lib_a-strlen.obj: strlen.S + $(CCAS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-strlen.obj `if test -f 'strlen.S'; then $(CYGPATH_W) 'strlen.S'; else $(CYGPATH_W) '$(srcdir)/strlen.S'; fi` + +lib_a-strcmp.o: strcmp.S + $(CCAS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-strcmp.o `test -f 'strcmp.S' || echo '$(srcdir)/'`strcmp.S + +lib_a-strcmp.obj: strcmp.S + $(CCAS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-strcmp.obj `if test -f 'strcmp.S'; then $(CYGPATH_W) 'strcmp.S'; else $(CYGPATH_W) '$(srcdir)/strcmp.S'; fi` + +lib_a-strncpy.o: strncpy.S + $(CCAS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-strncpy.o `test -f 'strncpy.S' || echo '$(srcdir)/'`strncpy.S + +lib_a-strncpy.obj: strncpy.S + $(CCAS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-strncpy.obj `if test -f 'strncpy.S'; then $(CYGPATH_W) 'strncpy.S'; else $(CYGPATH_W) '$(srcdir)/strncpy.S'; fi` uninstall-info-am: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) @@ -391,12 +437,12 @@ uninstall-am: uninstall-am uninstall-info-am -memcpy.o: asm.h -memset.o: asm.h -setjmp.o: asm.h -strcpy.o: asm.h -strcmp.o: asm.h -strncpy.o: asm.h +$(lpfx)memcpy.o: asm.h +$(lpfx)memset.o: asm.h +$(lpfx)setjmp.o: asm.h +$(lpfx)strcpy.o: asm.h +$(lpfx)strcmp.o: asm.h +$(lpfx)strncpy.o: asm.h # 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: |