diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-07-19 22:41:11 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-07-19 22:41:11 +0200 |
commit | 14df89ffb00264b014bca355b2f34941fe4f0d03 (patch) | |
tree | 07064045b6685f2319b32f5ecdd81854dea3f488 /tests/unit | |
parent | 32275543c421eae55fd98a5a98e00059a0407953 (diff) |
Added benchmarking support via Google's libbenchmark.add/google-benchmark
* disabled confusing GMake builtin rules which are not used anyway
* updated .gitignore
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/Makefile.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/unit/Makefile.in b/tests/unit/Makefile.in index 88f100ae1..61d468444 100644 --- a/tests/unit/Makefile.in +++ b/tests/unit/Makefile.in @@ -1,11 +1,13 @@ +MAKEFLAGS += --no-builtin-rules + CC=@CC@ CXX=@CXX@ SRCHOME=../../src -CFLAGS=-g -fPIC -DPIC -I$(SRCHOME)/include @JSONC_CFLAGS@ @PCAP_INC@ @CFLAGS@ +CFLAGS=-g -fPIC -DPIC -I$(SRCHOME)/include @PCAP_INC@ @CFLAGS@ LIBNDPI=$(SRCHOME)/lib/libndpi.a -LDFLAGS=$(LIBNDPI) @PCAP_LIB@ @LIBS@ @ADDITIONAL_LIBS@ @JSONC_LIBS@ -lpthread -lm @LDFLAGS@ +LDFLAGS=$(LIBNDPI) @PCAP_LIB@ @LIBS@ @ADDITIONAL_LIBS@ -lpthread -lm @LDFLAGS@ HEADERS=$(SRCHOME)/include/ndpi_api.h $(SRCHOME)/include/ndpi_typedefs.h $(SRCHOME)/include/ndpi_protocol_ids.h OBJS=unit PREFIX?=@prefix@ @@ -30,7 +32,7 @@ install: echo "" distdir: - + find . -maxdepth 1 -type f -name '*.c' -o -name '*.h' -o -name '*.py' | xargs -I'{}' cp '{}' '$(distdir)/{}' distclean: clean /bin/rm -f Makefile |