summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-07-15 14:05:05 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-07-29 20:01:50 -0700
commit8c7928acddfd2b7d87db3ff89fe6c01d1b93b73a (patch)
treeb66cd8ce61de1cfc166066829658a8591f46bd7f
parent7a68627f577dd312181e8cf0784d36a95522ec43 (diff)
downloadsbc-8c7928acddfd2b7d87db3ff89fe6c01d1b93b73a.tar.gz
build: Add support for building SBC tools
-rw-r--r--.gitignore4
-rw-r--r--Makefile.am12
2 files changed, 16 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 4636032..4ed264c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,3 +22,7 @@ ltmain.sh
missing
stamp-h1
autom4te.cache
+
+src/sbcdec
+src/sbcenc
+src/sbcinfo
diff --git a/Makefile.am b/Makefile.am
index b1db13d..eb5d0f6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,6 +12,18 @@ lib_LTLIBRARIES = sbc/libsbc.la
sbc_libsbc_la_SOURCES = $(sbc_sources)
+noinst_LTLIBRARIES = sbc/libsbc-private.la
+
+sbc_libsbc_private_la_SOURCES = $(sbc_sources)
+
+bin_PROGRAMS = src/sbcinfo src/sbcdec src/sbcenc
+
+src_sbcdec_SOURCES = src/sbcdec.c src/formats.h
+src_sbcdec_LDADD = sbc/libsbc-private.la
+
+src_sbcenc_SOURCES = src/sbcenc.c src/formats.h
+src_sbcenc_LDADD = sbc/libsbc-private.la
+
AM_CFLAGS = -finline-functions -fgcse-after-reload \
-funswitch-loops -funroll-loops