Added DPDK support to ndpiReader
This commit is contained in:
+4
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user