summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNedeljko Babic <nbabic@mips.com>2012-02-25 11:42:47 +0100
committerNedeljko Babic <nbabic@mips.com>2012-04-03 15:32:28 +0200
commit0af0758a1bf9db571f7dcd8d8ffd89fb992955b2 (patch)
tree041f55d3ad0089140e455cfab32fa9e596a7b96b
parent573f45abae5a4c1cbc33f95f215f007ee5c48cfb (diff)
downloadtremor-0af0758a1bf9db571f7dcd8d8ffd89fb992955b2.tar.gz
Add support for MIPS in automake
-rw-r--r--Makefile.am10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index b58fb74..f79e73a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,13 +7,17 @@ pkgconfig_DATA = vorbisidec.pc
lib_LTLIBRARIES = libvorbisidec.la
+TARGET_SPECIFIC_SOURCES =
+
if ARM_TARGET
# Build both low and full accuracy versions and the linker will only
# include the appropriate versions.
-TARGET_SPECIFIC_SOURCES = mdctARM.s mdctLARM.s floor1ARM.s floor1LARM.s \
+TARGET_SPECIFIC_SOURCES += mdctARM.s mdctLARM.s floor1ARM.s floor1LARM.s \
bitwiseARM.s
-else
-TARGET_SPECIFIC_SOURCES =
+endif
+
+if MIPS_TARGET
+TARGET_SPECIFIC_SOURCES += mips-dspr1/mdct_backwardMIPS.S mips-dspr1/decode_mapMIPS.S mips-dspr1/floor1_inverse2MIPS.S
endif
libvorbisidec_la_SOURCES = mdct.c dsp.c info.c misc.c \