diff options
Diffstat (limited to 'example/Makefile.in')
-rw-r--r-- | example/Makefile.in | 5 |
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.' |