aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorToni <matzeton@googlemail.com>2022-06-12 21:00:41 +0200
committerGitHub <noreply@github.com>2022-06-12 21:00:41 +0200
commitdf0ff9bcbd62482a08038c3f573e461f93e4c602 (patch)
tree978e973f082f6c94df3ccb9565ac619fad889992 /example
parent341f58fd8043649b65df737354b35df56c70ce54 (diff)
Added gprof CPU/HEAP profiling support. (#1592)
* Some small auto{conf,make} improvements Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'example')
-rw-r--r--example/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/Makefile.in b/example/Makefile.in
index 355c917e3..f8f68efa7 100644
--- a/example/Makefile.in
+++ b/example/Makefile.in
@@ -9,10 +9,10 @@ SRCHOME=../src
ifneq ($(OS),Windows_NT)
CFLAGS+=-fPIC -DPIC
endif
-CFLAGS+=-g -I$(SRCHOME)/include @PCAP_INC@ @CFLAGS@
+CFLAGS+=-I$(SRCHOME)/include @PCAP_INC@ @CFLAGS@ @GPROF_CFLAGS@
LDFLAGS=@LDFLAGS@
LIBNDPI=$(SRCHOME)/lib/libndpi.a
-LIBS=$(LIBNDPI) @PCAP_LIB@ @LIBS@ @ADDITIONAL_LIBS@
+LIBS=$(LIBNDPI) @PCAP_LIB@ @ADDITIONAL_LIBS@ @LIBS@ @GPROF_LIBS@
HEADERS=reader_util.h $(SRCHOME)/include/ndpi_api.h \
$(SRCHOME)/include/ndpi_typedefs.h $(SRCHOME)/include/ndpi_protocol_ids.h
PREFIX?=@prefix@