summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-07-15 14:03:34 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-07-29 20:01:50 -0700
commit7a68627f577dd312181e8cf0784d36a95522ec43 (patch)
treebda496030fc6da53df412005c9706d507903aa70
parente1fe3564a83c0d83334e184924a6e42b4487aee0 (diff)
downloadsbc-7a68627f577dd312181e8cf0784d36a95522ec43.tar.gz
build: Add support for building SBC library
-rw-r--r--Makefile.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 3821da8..b1db13d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,20 @@
AM_MAKEFLAGS = --no-print-directory
+sbc_sources = sbc/sbc.h sbc/sbc.c sbc/sbc_math.h sbc/sbc_tables.h \
+ sbc/sbc_primitives.h sbc/sbc_primitives.c \
+ sbc/sbc_primitives_mmx.h sbc/sbc_primitives_mmx.c \
+ sbc/sbc_primitives_iwmmxt.h sbc/sbc_primitives_iwmmxt.c \
+ sbc/sbc_primitives_neon.h sbc/sbc_primitives_neon.c \
+ sbc/sbc_primitives_armv6.h sbc/sbc_primitives_armv6.c
+
+lib_LTLIBRARIES = sbc/libsbc.la
+
+sbc_libsbc_la_SOURCES = $(sbc_sources)
+
+AM_CFLAGS = -finline-functions -fgcse-after-reload \
+ -funswitch-loops -funroll-loops
+
MAINTAINERCLEANFILES = Makefile.in \
aclocal.m4 configure config.h.in config.sub config.guess \
ltmain.sh depcomp compile missing install-sh mkinstalldirs