aboutsummaryrefslogtreecommitdiff
path: root/example/Makefile.in
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2020-01-05 18:42:36 +0100
committerLuca Deri <deri@ntop.org>2020-01-05 18:42:36 +0100
commitd1fb41a161e648b63babc29ee9ecd7aee4f416fc (patch)
treeb5340ded2cb4aec132be8d1b64b11fbc65838c86 /example/Makefile.in
parentef16591f3f9d2673dfacf1c715c2e10dcd1da248 (diff)
Minor cleanup
Diffstat (limited to 'example/Makefile.in')
-rw-r--r--example/Makefile.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/example/Makefile.in b/example/Makefile.in
index 225e5681c..486087521 100644
--- a/example/Makefile.in
+++ b/example/Makefile.in
@@ -1,8 +1,11 @@
CC=@CC@
CXX=@CXX@
-CFLAGS=-g -I../src/include @CFLAGS@
-LIBNDPI=../src/lib/libndpi.a
+SRCHOME=../src
+CFLAGS=-g -I$(SRCHOME)/include @CFLAGS@
+LIBNDPI=$(SRCHOME)/lib/libndpi.a
LDFLAGS=$(LIBNDPI) @PCAP_LIB@ -lpthread -lm @LDFLAGS@
+HEADERS=intrusion_detection.h reader_util.h $(SRCHOME)/include/ndpi_api.h \
+ $(SRCHOME)/include/ndpi_typedefs.h $(SRCHOME)/include/ndpi_protocol_ids.h
OBJS=ndpiReader.o reader_util.o intrusion_detection.o
PREFIX?=@prefix@
@@ -27,7 +30,7 @@ dpdk:
make -f Makefile.dpdk
check:
- cppcheck --template='{file}:{line}:{severity}:{message}' --quiet --enable=all --force -I../src/include *.c
+ cppcheck --template='{file}:{line}:{severity}:{message}' --quiet --enable=all --force -I$(SRCHOME)/include *.c
clean:
/bin/rm -f *.o ndpiReader ndpiReader.dpdk