summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/ggate/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/sbin/ggate/Makefile b/sbin/ggate/Makefile
index da51672..97094d6 100644
--- a/sbin/ggate/Makefile
+++ b/sbin/ggate/Makefile
@@ -1,5 +1,12 @@
# $FreeBSD$
-SUBDIR= ggatel ggatec ggated
+SUBDIR= ${_ggatec} \
+ ${_ggated} \
+ ggatel
+
+.if !defined(NO_LIBPTHREAD)
+_ggatec= ggatec
+_ggated= ggated
+.endif
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud