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 --- tests/dga/Makefile.in | 2 +- tests/performance/Makefile.in | 2 +- tests/unit/Makefile.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/dga/Makefile.in b/tests/dga/Makefile.in index 4bd6711bc..52fdea113 100644 --- a/tests/dga/Makefile.in +++ b/tests/dga/Makefile.in @@ -9,7 +9,7 @@ CFLAGS+=-fPIC -DPIC endif CFLAGS+=-g -I$(SRCHOME)/include @CFLAGS@ LIBNDPI=$(SRCHOME)/lib/libndpi.a -LIBS=$(LIBNDPI) @LIBS@ @ADDITIONAL_LIBS@ -lpthread +LIBS=$(LIBNDPI) @ADDITIONAL_LIBS@ -lpthread @LIBS@ LDFLAGS=@LDFLAGS@ HEADERS=$(SRCHOME)/include/ndpi_api.h $(SRCHOME)/include/ndpi_typedefs.h $(SRCHOME)/include/ndpi_protocol_ids.h OBJS=dga_evaluate diff --git a/tests/performance/Makefile.in b/tests/performance/Makefile.in index 28f3dbc72..54c5e9fd9 100644 --- a/tests/performance/Makefile.in +++ b/tests/performance/Makefile.in @@ -1,5 +1,5 @@ INC=-I ../../src/include/ -I ../../src/lib/third_party/include/ -LIB=../../src/lib/libndpi.a @ADDITIONAL_LIBS@ +LIB=../../src/lib/libndpi.a @ADDITIONAL_LIBS@ @LIBS@ TOOLS=substringsearch patriciasearch gcrypt-int gcrypt-gnu TESTS=substring_test patricia_test diff --git a/tests/unit/Makefile.in b/tests/unit/Makefile.in index 36f8bec3e..9185c9031 100644 --- a/tests/unit/Makefile.in +++ b/tests/unit/Makefile.in @@ -10,7 +10,7 @@ CFLAGS+=-fPIC -DPIC endif CFLAGS+=-g -I$(SRCHOME)/include @JSONC_CFLAGS@ @PCAP_INC@ @CFLAGS@ LIBNDPI=$(SRCHOME)/lib/libndpi.a -LIBS=$(LIBNDPI) @PCAP_LIB@ @LIBS@ @ADDITIONAL_LIBS@ @JSONC_LIBS@ -lpthread +LIBS=$(LIBNDPI) @PCAP_LIB@ @ADDITIONAL_LIBS@ @JSONC_LIBS@ @LIBS@ LDFLAGS=@LDFLAGS@ HEADERS=$(SRCHOME)/include/ndpi_api.h $(SRCHOME)/include/ndpi_typedefs.h $(SRCHOME)/include/ndpi_protocol_ids.h OBJS=unit -- cgit v1.2.3