summaryrefslogtreecommitdiff
path: root/tests/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GNUmakefile')
-rw-r--r--tests/GNUmakefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/GNUmakefile b/tests/GNUmakefile
index ba00e61..e2d4b28 100644
--- a/tests/GNUmakefile
+++ b/tests/GNUmakefile
@@ -1,6 +1,10 @@
TOPDIR = ..
-SUBDIRS = threads port log gettext network daemon service library
+SUBDIRS = port log gettext network daemon service library
+
+ifeq "$(ENABLE_THREADS)" "1"
+SUBDIRS = $(SUBDIRS) threads
+endif
-include $(TOPDIR)/makefiles/gmake/sub.mk