aboutsummaryrefslogtreecommitdiff
path: root/example/Makefile.in
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2021-04-26 18:17:11 +0200
committerToni Uhlig <matzeton@googlemail.com>2021-04-26 18:17:11 +0200
commitcec61ed81c32603e316adc468e243b7ed15cde01 (patch)
tree45f4b1adea7e4ceece56a0ea4d35c7d4f5582471 /example/Makefile.in
parent87ad2b58dc4f9355ba6c3a728b8aedb0a0c86516 (diff)
Check for common ALPNs and set a flow risk if not known.add/tls-check-common-alpn
* Increased risk bitmask to 64bit (instead of 32bit). * Removed annoying "Unknown datalink" error message for fuzzers. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'example/Makefile.in')
-rw-r--r--example/Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/example/Makefile.in b/example/Makefile.in
index ec44acbe3..e70bff36c 100644
--- a/example/Makefile.in
+++ b/example/Makefile.in
@@ -1,6 +1,7 @@
CC=@CC@
CXX=@CXX@
BUILD_MINGW=@BUILD_MINGW@
+BUILD_FUZZTARGETS=@BUILD_FUZZTARGETS@
SRCHOME=../src
CFLAGS=-g -fPIC -DPIC -I$(SRCHOME)/include @PCAP_INC@ @CFLAGS@
LIBNDPI=$(SRCHOME)/lib/libndpi.a
@@ -10,6 +11,10 @@ HEADERS=intrusion_detection.h reader_util.h $(SRCHOME)/include/ndpi_api.h \
OBJS=ndpiReader.o reader_util.o intrusion_detection.o
PREFIX?=@prefix@
+ifneq ($(BUILD_FUZZTARGETS),)
+CFLAGS += -DBUILD_FUZZTARGETS=1
+endif
+
ifneq ($(BUILD_MINGW),)
all:
@echo 'Examples disabled due to mingw build.'