summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-09-16 13:03:47 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-09-16 13:03:47 +0200
commit7f79cf98df18905e0240e271fc8a1df83a2a4031 (patch)
tree8471e95de8a700294612756da670bba0f0595fb0 /Makefile.am
parent2fc4dad6f1cd8c2f7798822d07b6918e639ee200 (diff)
downloadODR-AudioEnc-7f79cf98df18905e0240e271fc8a1df83a2a4031.tar.gz
ODR-AudioEnc-7f79cf98df18905e0240e271fc8a1df83a2a4031.tar.bz2
ODR-AudioEnc-7f79cf98df18905e0240e271fc8a1df83a2a4031.zip
Remove libfec dependency
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am28
1 files changed, 19 insertions, 9 deletions
diff --git a/Makefile.am b/Makefile.am
index 691a857..3b39c9e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -64,9 +64,17 @@ else
odr_audioenc_LDADD_ALSA =
endif
+FEC_SOURCES = contrib/fec/char.h \
+ contrib/fec/decode_rs_char.c contrib/fec/decode_rs.h \
+ contrib/fec/encode_rs_char.c contrib/fec/encode_rs.h \
+ contrib/fec/fec.h \
+ contrib/fec/init_rs_char.c contrib/fec/init_rs.h \
+ contrib/fec/rs-common.h
+
+
odr_audioenc_LDFLAGS = -no-install
odr_audioenc_LDADD = libtoolame-dab.la \
- -lfec -lzmq \
+ -lzmq \
-lrt $(odr_audioenc_LDADD_JACK) \
$(odr_audioenc_LDADD_ALSA) \
$(LIBVLC_LIBS)
@@ -92,7 +100,8 @@ odr_audioenc_SOURCES = src/odr-audioenc.cpp \
src/utf8/checked.h \
src/utf8/unchecked.h \
src/utf8/core.h \
- src/common.h
+ src/common.h \
+ $(FEC_SOURCES)
bin_PROGRAMS = odr-audioenc$(EXEEXT)
@@ -122,13 +131,14 @@ libtoolame_dab_la_SOURCES = \
libtoolame-dab/utils.c
-EXTRA_DIST = \
- $(top_srcdir)/bootstrap \
- $(top_srcdir)/NOTICE \
- $(top_srcdir)/README.md \
- $(top_srcdir)/Android.mk \
- $(top_srcdir)/libtoolame-dab.sym \
- $(top_srcdir)/Doxyfile
+EXTRA_DIST = $(top_srcdir)/bootstrap \
+ $(top_srcdir)/NOTICE \
+ $(top_srcdir)/README.md \
+ $(top_srcdir)/Android.mk \
+ $(top_srcdir)/libtoolame-dab.sym \
+ $(top_srcdir)/Doxyfile \
+ $(top_srcdir)/contrib/fec/LICENSE \
+ $(top_srcdir)/contrib/fec/README.md
doc: export PROJECT_NUMBER:=$(shell git describe --dirty)