mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-16 03:19:54 +08:00
554f33c48d
aeabi_memmove. * libc/machine/arm/aeabi_memmove-soft.S: Ditto. * libc/machine/arm/aeabi_memmove-arm.S: Ditto. * libc/machine/arm/aeabi_memmove-thumb.S: Ditto. * libc/machine/arm/aeabi_memmove-thumb2.S: Ditto. * libc/machine/arm/Makefile.am: Add dependencies. * libc/machine/arm/Makefile.in: Regenerated.
80 lines
1.7 KiB
Makefile
80 lines
1.7 KiB
Makefile
## 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
|
|
|
|
if HAVE_THUMB1
|
|
if OPT_SIZE
|
|
STRLEN_SRC=strlen.c
|
|
STRLEN_OBJ=$(lpfx)strlen.o
|
|
else
|
|
STRLEN_SRC=
|
|
STRLEN_OBJ=
|
|
endif
|
|
else
|
|
STRLEN_SRC=strlen.c
|
|
STRLEN_OBJ=$(lpfx)strlen.o
|
|
endif
|
|
|
|
if HAVE_ARMV7
|
|
MEMCHR_SRC=memchr.S
|
|
MEMCHR_OBJ=$(lpfx)memchr.o
|
|
else
|
|
MEMCHR_SRC=
|
|
MEMCHR_OBJ=
|
|
endif
|
|
|
|
if OPT_SIZE
|
|
MEMCPY_SRC=
|
|
MEMCPY_OBJ=
|
|
else
|
|
if HAVE_ARMV7A
|
|
MEMCPY_SRC=memcpy.S
|
|
MEMCPY_OBJ=$(lpfx)memcpy.o
|
|
else
|
|
if HAVE_ARMV7M
|
|
MEMCPY_SRC=memcpy.S
|
|
MEMCPY_OBJ=$(lpfx)memcpy.o
|
|
else
|
|
MEMCPY_SRC=
|
|
MEMCPY_OBJ=
|
|
endif !HAVE_ARMV7M
|
|
endif !HAVE_ARMV7A
|
|
endif !OPT_SIZE
|
|
|
|
lib_a_SOURCES = setjmp.S access.c strcmp.S strcpy.c \
|
|
$(MEMCPY_SRC) $(MEMCHR_SRC) $(STRLEN_SRC) \
|
|
strlen-armv7.S aeabi_memcpy.c aeabi_memcpy-armv7a.S \
|
|
aeabi_memmove.c aeabi_memmove-soft.S
|
|
|
|
lib_a_CCASFLAGS=$(AM_CCASFLAGS)
|
|
lib_a_CFLAGS = $(AM_CFLAGS)
|
|
lib_a_LIBADD = $(STRLEN_OBJ) $(MEMCHR_OBJ) $(MEMCPY_OBJ)
|
|
lib_a_DEPENDENCIES = $(STRLEN_OBJ) $(MEMCHR_OBJ) $(MEMCPY_OBJ)
|
|
|
|
ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
|
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|
|
|
|
MEMCPY_DEP=memcpy-armv7a.S memcpy-armv7m.S
|
|
STRCMP_DEP=strcmp-arm-tiny.S strcmp-armv4.S strcmp-armv4t.S strcmp-armv6.S \
|
|
strcmp-armv6m.S strcmp-armv7.S strcmp-armv7m.S
|
|
AEABI_MEMMOVE_DEP=aeabi_memmove-thumb.S aeabi_memmove-thumb2.S \
|
|
aeabi_memmove-arm.S
|
|
|
|
$(lpfx)memcpy.o: $(MEMCPY_DEP)
|
|
|
|
$(lpfx)memcpy.obj: $(MEMCPY_DEP)
|
|
|
|
$(lpfx)strcmp.o: $(STRCMP_DEP)
|
|
|
|
$(lpfx)strcmp.obj: $(STRCMP_DEP)
|
|
|
|
$(lpfx)aeabi_memmove.o: $(AEABI_MEMMOVE_DEP)
|
|
|
|
$(lpfx)aeabi_memmove.obj: $(AEABI_MEMMOVE_DEP)
|