aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Makefile.in
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 /src/lib/Makefile.in
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 'src/lib/Makefile.in')
-rw-r--r--src/lib/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Makefile.in b/src/lib/Makefile.in
index c7cc22283..2c1894a91 100644
--- a/src/lib/Makefile.in
+++ b/src/lib/Makefile.in
@@ -17,9 +17,9 @@ includedir = ${prefix}/include/ndpi
ifneq ($(OS),Windows_NT)
CFLAGS += -fPIC -DPIC
endif
-CFLAGS += -I../include -Ithird_party/include -DNDPI_LIB_COMPILATION @CFLAGS@ @CUSTOM_NDPI@
+CFLAGS += -I../include -Ithird_party/include -DNDPI_LIB_COMPILATION @CFLAGS@ @GPROF_CFLAGS@ @CUSTOM_NDPI@
LDFLAGS = @LDFLAGS@
-LIBS = @ADDITIONAL_LIBS@ @LIBS@
+LIBS = @ADDITIONAL_LIBS@ @LIBS@ @GPROF_LIBS@
OBJECTS = $(patsubst protocols/%.c, protocols/%.o, $(wildcard protocols/*.c)) $(patsubst third_party/src/%.c, third_party/src/%.o, $(wildcard third_party/src/*.c)) $(patsubst ./%.c, ./%.o, $(wildcard ./*.c))
HEADERS = $(wildcard ../include/*.h)