summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-03-06 10:48:49 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-03-06 10:48:49 +0100
commit8d303eddfcf979371b693d3bc418211b484d9a19 (patch)
tree898471ad343b15636e95f2a5cfb226221fabfff3
parent743e66a3469af27819bcd0e3e1694d2a4c523c6b (diff)
downloaddabmux-8d303eddfcf979371b693d3bc418211b484d9a19.tar.gz
dabmux-8d303eddfcf979371b693d3bc418211b484d9a19.tar.bz2
dabmux-8d303eddfcf979371b693d3bc418211b484d9a19.zip
Fix odr-zmq2farsync compilation with RAW disabled
-rw-r--r--src/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 1ecaf16..2d3ee24 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -30,7 +30,11 @@ FEC_FLAGS =
FEC_LIBS =-lfec
if HAVE_ZEROMQ_TEST
-bin_PROGRAMS=odr-dabmux odr-bridgetest zmqinput-keygen odr-zmq2farsync
+bin_PROGRAMS=odr-dabmux odr-bridgetest zmqinput-keygen
+
+if HAVE_OUTPUT_RAW_TEST
+bin_PROGRAMS+=odr-zmq2farsync
+endif
ZMQ_LIBS =-lzmq
else
@@ -119,7 +123,6 @@ zmqinput_keygen_SOURCES = zmqinput-keygen.c
zmqinput_keygen_LDADD = $(ZMQ_LIBS)
zmqinput_keygen_CFLAGS = -Wall $(GITVERSION_FLAGS)
-if HAVE_OUTPUT_RAW_TEST
odr_zmq2farsync_SOURCES = zmq2farsync/zmq2farsync.cpp \
dabOutput/dabOutput.h \
dabOutput/dabOutputRaw.cpp \
@@ -128,4 +131,3 @@ odr_zmq2farsync_SOURCES = zmq2farsync/zmq2farsync.cpp \
odr_zmq2farsync_LDADD = $(ZMQ_LIBS)
odr_zmq2farsync_CFLAGS = -Wall $(GITVERSION_FLAGS) -I$(FARSYNC_DIR)
odr_zmq2farsync_CXXFLAGS = -Wall $(GITVERSION_FLAGS) -I$(FARSYNC_DIR)
-endif