aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am25
1 files changed, 18 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index 8d8f54e..1f40010 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -50,12 +50,7 @@ dabplus_enc_LDADD_JACK =
endif
-dabplus_enc_LDFLAGS = -no-install
-dabplus_enc_LDADD = libfdk-aac.la -lfec -lzmq -lasound \
- -lrt -lboost_thread $(dabplus_enc_LDADD_JACK)
-dabplus_enc_CPPFLAGS = $(AM_CPPFLAGS) $(GITVERSION_FLAGS) -ggdb
-dabplus_enc_SOURCES = src/dabplus-enc.cpp \
- src/FileInput.cpp \
+COMMON_STUFF = src/FileInput.cpp \
src/FileInput.h \
src/AlsaInput.cpp \
src/AlsaInput.h \
@@ -69,6 +64,21 @@ dabplus_enc_SOURCES = src/dabplus-enc.cpp \
src/utils.h \
src/wavreader.c
+dabplus_enc_LDFLAGS = -no-install
+dabplus_enc_LDADD = libfdk-aac.la -lfec -lzmq -lasound \
+ -lrt -lboost_thread $(dabplus_enc_LDADD_JACK)
+dabplus_enc_CPPFLAGS = $(AM_CPPFLAGS) $(GITVERSION_FLAGS) -ggdb
+dabplus_enc_SOURCES = src/dabplus-enc.cpp \
+ $(COMMON_STUFF)
+
+enctest_LDFLAGS = -no-install
+enctest_LDADD = libfdk-aac.la -lfec -lzmq -lasound \
+ -lrt -lboost_thread $(dabplus_enc_LDADD_JACK)
+enctest_CPPFLAGS = $(AM_CPPFLAGS) $(GITVERSION_FLAGS) -ggdb
+enctest_SOURCES = src/enctest.cpp \
+ $(COMMON_STUFF)
+
+
mot_encoder_CXXFLAGS = $(GITVERSION_FLAGS) @MAGICKWAND_CFLAGS@ -Icontrib
mot_encoder_LDADD = @MAGICKWAND_LDADD@
mot_encoder_SOURCES = src/mot-encoder.cpp \
@@ -76,7 +86,8 @@ mot_encoder_SOURCES = src/mot-encoder.cpp \
contrib/lib_crc.c
bin_PROGRAMS = dabplus-enc$(EXEEXT) \
- mot-encoder$(EXEEXT)
+ mot-encoder$(EXEEXT) \
+ enctest$(EXEEXT)
noinst_HEADERS = src/wavreader.h