1
COMPILER = $(shell $(CC) --version 2>&1 | head -n1)
10
src/thumb-2/strcpy.c \
21
libbionic_a_SOURCES = \
22
reference/bionic/memcmp.S \
23
reference/bionic/memcmp16.S \
24
reference/bionic/strlen.c \
25
reference/bionic/memset.S \
26
reference/bionic/memcpy.S
29
reference/csl/memcpy.c \
30
reference/csl/memset.c
32
libglibc_a_SOURCES = \
33
reference/glibc/memmove.S \
34
reference/glibc/memset.S \
35
reference/glibc/strlen.S \
36
reference/glibc/memcpy.S
38
libnewlib_a_SOURCES = \
39
reference/newlib/strcmp.c \
40
reference/newlib/strlen.c \
41
reference/newlib/strcpy.c
43
libplain_a_SOURCES = \
44
reference/plain/memset.c \
45
reference/plain/memcpy.c \
46
reference/plain/strcmp.c \
47
reference/plain/strcpy.c
49
libmulti_a_SOURCES = \
50
benchmarks/multi/harness.c
61
benchmarks/dhry/dhry_1.c \
62
benchmarks/dhry/dhry_2.c
65
try_bionic_LDFLAGS = -lrt
66
try_bionic_LDADD = libmulti.a libbionic.a
68
try_csl_LDFLAGS = -lrt
69
try_csl_LDADD = libmulti.a libcsl.a
71
try_glibc_LDFLAGS = -lrt
72
try_glibc_LDADD = libmulti.a libglibc.a
74
try_newlib_LDFLAGS = -lrt
75
try_newlib_LDADD = libmulti.a libnewlib.a
77
try_plain_LDFLAGS = -lrt
78
try_plain_LDADD = libmulti.a libplain.a
80
dhry_CFLAGS = -Dcompiler="\"$(COMPILER)\"" -Doptions="\"$(CFLAGS)\""
11
82
libcortexcpu_la_SOURCES = $(sources)
13
AM_CFLAGS = -std=gnu99
91
tests_test_memcpy_LDADD = libcortexcpu.la
92
tests_test_memcpy_CFLAGS = -Itests $(AM_CFLAGS)
93
tests_test_memset_LDADD = libcortexcpu.la
94
tests_test_memset_CFLAGS = -Itests $(AM_CFLAGS)
95
tests_test_strcmp_LDADD = libcortexcpu.la
96
tests_test_strcmp_CFLAGS = -Itests $(AM_CFLAGS)
97
tests_test_strcpy_LDADD = libcortexcpu.la
98
tests_test_strcpy_CFLAGS = -Itests $(AM_CFLAGS)
99
tests_test_strlen_LDADD = libcortexcpu.la
100
tests_test_strlen_CFLAGS = -Itests $(AM_CFLAGS)
102
TESTS = $(check_PROGRAMS)
104
AM_CFLAGS = -std=gnu99 -mfpu=neon
105
AM_CPPFLAGS = -mfpu=neon