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

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Michael Hope
  • Date: 2010-09-10 01:34:33 UTC
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: michael.hope@linaro.org-20100910013433-3ehxlbloizs3pqwg
Fixed up the Makefile so a 'make dist' includes everything required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
        src/thumb-2/strlen.c
46
46
 
47
47
# Options for the tests
48
 
tests_test_memcpy_LDADD = libcortex-strings.la
49
 
tests_test_memcpy_CFLAGS = -Itests $(AM_CFLAGS)
50
 
tests_test_memset_LDADD = libcortex-strings.la
51
 
tests_test_memset_CFLAGS = -Itests $(AM_CFLAGS)
52
 
tests_test_strcmp_LDADD = libcortex-strings.la
53
 
tests_test_strcmp_CFLAGS = -Itests $(AM_CFLAGS)
54
 
tests_test_strcpy_LDADD = libcortex-strings.la
55
 
tests_test_strcpy_CFLAGS = -Itests $(AM_CFLAGS)
56
 
tests_test_strlen_LDADD = libcortex-strings.la
57
 
tests_test_strlen_CFLAGS = -Itests $(AM_CFLAGS)
 
48
tests_cflags = -I$(srcdir)/tests $(AM_CFLAGS)
 
49
tests_ldadd = libcortex-strings.la
 
50
tests_test_memcpy_LDADD = $(tests_ldadd)
 
51
tests_test_memcpy_CFLAGS = $(tests_cflags)
 
52
tests_test_memset_LDADD = $(tests_ldadd)
 
53
tests_test_memset_CFLAGS = $(tests_cflags)
 
54
tests_test_strcmp_LDADD = $(tests_ldadd)
 
55
tests_test_strcmp_CFLAGS = $(tests_cflags)
 
56
tests_test_strcpy_LDADD = $(tests_ldadd)
 
57
tests_test_strcpy_CFLAGS = $(tests_cflags)
 
58
tests_test_strlen_LDADD = $(tests_ldadd)
 
59
tests_test_strlen_CFLAGS = $(tests_cflags)
58
60
 
59
61
TESTS = $(check_PROGRAMS)
60
62
 
68
70
 
69
71
libcsl_a_SOURCES = \
70
72
        reference/csl/memcpy.c \
71
 
        reference/csl/memset.c
 
73
        reference/csl/memset.c \
 
74
        reference/csl/arm_asm.h
72
75
 
73
76
libglibc_a_SOURCES = \
74
77
        reference/glibc/memmove.S \
79
82
libnewlib_a_SOURCES = \
80
83
        reference/newlib/strcmp.c \
81
84
        reference/newlib/strlen.c \
82
 
        reference/newlib/strcpy.c
 
85
        reference/newlib/strcpy.c \
 
86
        reference/newlib/arm_asm.h
83
87
 
84
88
libplain_a_SOURCES = \
85
89
        reference/plain/memset.c \
118
122
# Good 'ol Dhrystone
119
123
dhry_SOURCES = \
120
124
        benchmarks/dhry/dhry_1.c \
121
 
        benchmarks/dhry/dhry_2.c
 
125
        benchmarks/dhry/dhry_2.c \
 
126
        benchmarks/dhry/dhry.h
122
127
 
123
128
dhry_CFLAGS = -Dcompiler="\"$(COMPILER)\"" -Doptions="\"$(CFLAGS)\""
124
129
dhry_LDADD = libcortex-strings.la
129
134
AM_CPPFLAGS = $(if $(filter yes,$(with_neon)),-mfpu=neon)
130
135
AM_CFLAGS = -std=gnu99 -Wall $(AM_CPPFLAGS)
131
136
 
 
137
EXTRA_DIST = \
 
138
        tests/hp-timing.h \
 
139
        tests/test-string.h \
 
140
        tests/test-skeleton.c
 
141
 
132
142
add_on_dist = add-on-dist
133
143
add_on_dest = $(add_on_dist)/$(PACKAGE)/sysdeps/arm/eabi/arm/$(submachine)
134
144
add_on_dirs = thumb-2 $(submachine) $(if $(filter yes,$(with_neon)),neon)