summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorMatthias P. Braendli (think) <matthias@mpb.li>2013-11-08 18:14:57 +0100
committerMatthias P. Braendli (think) <matthias@mpb.li>2013-11-08 18:14:57 +0100
commitd930ee6b9a52f0eb9939b3fe55afd2361944edb2 (patch)
treea26c6c31bebe6681da54d9acd782c3fe96969da7 /src/Makefile.am
parentc5306f81a9d3b87df7e16c852f2505ac913193ca (diff)
downloaddabmux-d930ee6b9a52f0eb9939b3fe55afd2361944edb2.tar.gz
dabmux-d930ee6b9a52f0eb9939b3fe55afd2361944edb2.tar.bz2
dabmux-d930ee6b9a52f0eb9939b3fe55afd2361944edb2.zip
add support for ZeroMQ output
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index b67a09c..4815e96 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -24,8 +24,14 @@ bin_PROGRAMS=CRC-DabMux CRC-BridgeTest
FEC_FLAGS =
FEC_LIBS =-lfec
+if HAVE_OUTPUT_ZEROMQ_TEST
+ZMQ_LIBS =-lzmq
+else
+ZMQ_LIBS =
+endif
+
CRC_DabMux_CPPFLAGS =-I$(FARSYNC_DIR)
-CRC_DabMux_LDADD =$(FEC_LIBS) -lpthread
+CRC_DabMux_LDADD =$(FEC_LIBS) $(ZMQ_LIBS) -lpthread
CRC_DabMux_SOURCES =DabMux.cpp \
dabInput.h dabInput.cpp \
dabInputBridgeUdp.h dabInputBridgeUdp.cpp \
@@ -53,6 +59,7 @@ CRC_DabMux_SOURCES =DabMux.cpp \
dabOutput/dabOutputSimul.cpp \
dabOutput/dabOutputTcp.cpp \
dabOutput/dabOutputUdp.cpp \
+ dabOutput/dabOutputZMQ.cpp \
bridge.h bridge.c \
utils.cpp utils.h \
MuxElements.cpp MuxElements.h \
@@ -86,4 +93,4 @@ CRC-DabMux-cfg: CRC-DabMux
all: CRC-DabMux-cfg all-am
clean-local:
- rm CRC-DabMux-cfg
+ rm -f CRC-DabMux-cfg