~linaro-toolchain-dev/cortex-strings/trunk

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Michael Hope
  • Date: 2012-12-12 02:34:13 UTC
  • Revision ID: michael.hope@linaro.org-20121212023413-87r846mrh8tosr1q
Add aarch64 implementations of memcpy, memset and strcmp to
cortex-strings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
## Test suite
37
37
check_PROGRAMS = \
38
38
        tests/test-memchr \
39
 
        tests/test-memcmp \
40
39
        tests/test-memcpy \
41
 
        tests/test-memmove \
42
40
        tests/test-memset \
43
41
        tests/test-strchr \
44
42
        tests/test-strcmp \
45
43
        tests/test-strcpy \
46
 
        tests/test-strlen \
47
 
        tests/test-strncmp
 
44
        tests/test-strlen
48
45
 
49
46
# Options for the tests
50
47
tests_cflags = -I$(srcdir)/tests $(AM_CFLAGS)
51
48
tests_ldadd = libcortex-strings.la
52
49
tests_test_memchr_LDADD = $(tests_ldadd)
53
50
tests_test_memchr_CFLAGS = $(tests_cflags)
54
 
tests_test_memcmp_LDADD = $(tests_ldadd)
55
 
tests_test_memcmp_CFLAGS = $(tests_cflags)
56
51
tests_test_memcpy_LDADD = $(tests_ldadd)
57
52
tests_test_memcpy_CFLAGS = $(tests_cflags)
58
 
tests_test_memmove_LDADD = $(tests_ldadd)
59
 
tests_test_memmove_CFLAGS = $(tests_cflags)
60
53
tests_test_memset_LDADD = $(tests_ldadd)
61
54
tests_test_memset_CFLAGS = $(tests_cflags)
62
55
tests_test_strchr_LDADD = $(tests_ldadd)
67
60
tests_test_strcpy_CFLAGS = $(tests_cflags)
68
61
tests_test_strlen_LDADD = $(tests_ldadd)
69
62
tests_test_strlen_CFLAGS = $(tests_cflags)
70
 
tests_test_strncmp_LDADD = $(tests_ldadd)
71
 
tests_test_strncmp_CFLAGS = $(tests_cflags)
72
63
 
73
64
TESTS = $(check_PROGRAMS)
74
65
 
267
258
 
268
259
libcortex_strings_la_SOURCES = \
269
260
        src/aarch64/memcpy.S \
270
 
        src/aarch64/memmove.S \
271
261
        src/aarch64/memset.S \
272
 
        src/aarch64/strcmp.S \
273
 
        src/aarch64/strlen.S \
274
 
        src/aarch64/strncmp.S
 
262
        src/aarch64/strcmp.S
275
263
 
276
264
endif
277
265
 
284
272
 
285
273
if WITH_SUBMACHINE
286
274
AM_CFLAGS += \
287
 
        -mtune=$(submachine)
 
275
        -mtune=$submachine
288
276
endif
289
277
 
290
278
EXTRA_DIST = \