aboutsummaryrefslogtreecommitdiff
path: root/tests/dga/Makefile.in
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2021-08-09 16:14:37 +0200
committerToni Uhlig <matzeton@googlemail.com>2021-08-10 00:39:27 +0200
commit2fca31ccc14c0655a21bdc9058096107cd38a42c (patch)
tree8adea7d4a40a9521c897bd22db79021724725061 /tests/dga/Makefile.in
parent729ff21d0cbc74cc0b100d95998d59e082b3b2e4 (diff)
Fixed Mingw64 build.improved/sonarcloud-ci
* adapted to SonarCloud-CI workflow * removed broken and incomplete Windows example (tested on VS2017/VS2019) * removed unnecessary include (e.g. pthread.h for the library which does not make use of it) Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'tests/dga/Makefile.in')
-rw-r--r--tests/dga/Makefile.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/dga/Makefile.in b/tests/dga/Makefile.in
index fc94ed7e7..2376abbbe 100644
--- a/tests/dga/Makefile.in
+++ b/tests/dga/Makefile.in
@@ -1,5 +1,6 @@
CC=@CC@
CXX=@CXX@
+BUILD_MINGW=@BUILD_MINGW@
SRCHOME=../../src
@@ -10,6 +11,12 @@ HEADERS=$(SRCHOME)/include/ndpi_api.h $(SRCHOME)/include/ndpi_typedefs.h $(SRCHO
OBJS=dga_evaluate
PREFIX?=@prefix@
+ifneq ($(BUILD_MINGW),)
+all:
+ @echo 'DGA test disabled due to mingw build.'
+
+else
+
all: dga_evaluate
EXECUTABLE_SOURCES := dga_evaluate.c
@@ -34,3 +41,5 @@ distdir:
distclean: clean
/bin/rm -f Makefile
+
+endif