tests: fix linking for --enable-fixed-point on ARM

This commit is contained in:
Tristan Matthews 2014-10-12 15:12:52 -04:00
parent 32ff38bc8a
commit fd562eefa2
3 changed files with 14 additions and 0 deletions

View file

@ -106,12 +106,22 @@ celt_tests_test_unit_laplace_LDADD = $(LIBM)
celt_tests_test_unit_mathops_SOURCES = celt/tests/test_unit_mathops.c
celt_tests_test_unit_mathops_LDADD = $(LIBM)
if CPU_ARM
if OPUS_ARM_EXTERNAL_ASM
celt_tests_test_unit_mathops_LDADD += libopus.la
endif
endif
celt_tests_test_unit_mdct_SOURCES = celt/tests/test_unit_mdct.c
celt_tests_test_unit_mdct_LDADD = $(LIBM)
celt_tests_test_unit_rotation_SOURCES = celt/tests/test_unit_rotation.c
celt_tests_test_unit_rotation_LDADD = $(LIBM)
if CPU_ARM
if OPUS_ARM_EXTERNAL_ASM
celt_tests_test_unit_rotation_LDADD += libopus.la
endif
endif
celt_tests_test_unit_types_SOURCES = celt/tests/test_unit_types.c
celt_tests_test_unit_types_LDADD = $(LIBM)

View file

@ -56,6 +56,8 @@
#include "x86/celt_lpc_sse.c"
#endif
#include "x86/x86_celt_map.c"
#elif defined(OPUS_ARM_ASM) && defined(FIXED_POINT)
#include "arm/arm_celt_map.c"
#endif
#ifdef FIXED_POINT

View file

@ -54,6 +54,8 @@
#include "x86/celt_lpc_sse.c"
#endif
#include "x86/x86_celt_map.c"
#elif defined(OPUS_ARM_ASM) && defined(FIXED_POINT)
#include "arm/arm_celt_map.c"
#endif
#define MAX_SIZE 100