From df0ff9bcbd62482a08038c3f573e461f93e4c602 Mon Sep 17 00:00:00 2001 From: Toni Date: Sun, 12 Jun 2022 21:00:41 +0200 Subject: Added gprof CPU/HEAP profiling support. (#1592) * Some small auto{conf,make} improvements Signed-off-by: lns --- example/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example') 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@ -- cgit v1.2.3