aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/Makefile.in')
-rw-r--r--tests/unit/Makefile.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/unit/Makefile.in b/tests/unit/Makefile.in
index efbd387c8..98a3d67f4 100644
--- a/tests/unit/Makefile.in
+++ b/tests/unit/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=unit
PREFIX?=@prefix@
+ifneq ($(BUILD_MINGW),)
+all:
+ @echo 'Unit tests disabled due to mingw build.'
+
+else
+
all: unit
EXECUTABLE_SOURCES := unit.c
@@ -34,3 +41,5 @@ distdir:
distclean: clean
/bin/rm -f Makefile
+
+endif