aboutsummaryrefslogtreecommitdiff
path: root/example/Makefile.in
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2018-11-10 16:10:22 +0100
committerLuca Deri <deri@ntop.org>2018-11-10 16:10:22 +0100
commit71b2c19cf28f72ad2e876719af88c7841c2aea84 (patch)
tree8d5d8c1be904f1b8ff88aaa3adcac0bdcfbbfdff /example/Makefile.in
parent6d929bf4cc48d54db91678a24ef0afb2e20382d7 (diff)
Added DPDK support to ndpiReader
Diffstat (limited to 'example/Makefile.in')
-rw-r--r--example/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/example/Makefile.in b/example/Makefile.in
index 8c18f94dc..a5ca6acce 100644
--- a/example/Makefile.in
+++ b/example/Makefile.in
@@ -5,7 +5,7 @@ LDFLAGS=$(LIBNDPI) -lpcap -lpthread @LDFLAGS@
OBJS=ndpiReader.o ndpi_util.o
PREFIX?=/usr/local
-all: ndpiReader
+all: ndpiReader @DPDK_TARGET@
ndpiReader: $(OBJS) $(LIBNDPI)
$(CXX) $(CFLAGS) $(OBJS) -o $@ $(LDFLAGS)
@@ -16,6 +16,9 @@ ndpiReader: $(OBJS) $(LIBNDPI)
install:
cp ndpiReader $(DESTDIR)$(PREFIX)/bin
+dpdk:
+ make -f Makefile.dpdk
+
clean:
/bin/rm -f *.o ndpiReader