aboutsummaryrefslogtreecommitdiff
path: root/example/Makefile.in
diff options
context:
space:
mode:
authorToni <matzeton@googlemail.com>2021-04-27 07:22:04 +0200
committerGitHub <noreply@github.com>2021-04-27 07:22:04 +0200
commitda3e6bd61b7eaf54cad432bd737d5d894e6c9bf9 (patch)
treea17150a4de40c385c179202dbd875e0c7f210dfe /example/Makefile.in
parentd5b395f35a10ae22a2f35c087600e249d2c42d0f (diff)
Check for common ALPNs and set a flow risk if not known. (#1175)
* 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.'