From 906e49ff7200f15d99d0bd2f9d87f484738929b0 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 16 Nov 2015 16:22:41 -0800 Subject: Add make option ZT_ENABLE_CLUSTER and disable it in default Linux build. --- make-linux.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'make-linux.mk') diff --git a/make-linux.mk b/make-linux.mk index 37e7b7ef..339b548d 100644 --- a/make-linux.mk +++ b/make-linux.mk @@ -29,7 +29,7 @@ endif UNAME_M=$(shell $(CC) -dumpmachine | cut -d '-' -f 1) INCLUDES= -DEFS=-DZT_ENABLE_CLUSTER +DEFS= LDLIBS?= include objects.mk @@ -70,6 +70,11 @@ ifeq ($(ZT_ENABLE_NETWORK_CONTROLLER),1) OBJS+=controller/SqliteNetworkController.o endif +# Build with ZT_ENABLE_CLUSTER=1 to build with cluster support +ifeq ($(ZT_ENABLE_CLUSTER),1) + DEFS+=-DZT_ENABLE_CLUSTER +endif + # "make debug" is a shortcut for this ifeq ($(ZT_DEBUG),1) DEFS+=-DZT_TRACE -- cgit v1.2.3