Line 0
Link Here
|
|
|
1 |
--- make-freebsd.mk.orig 2016-09-03 14:18:11.671935000 +0000 |
2 |
+++ make-freebsd.mk 2016-09-03 14:18:27.316065000 +0000 |
3 |
@@ -18,6 +18,14 @@ |
4 |
DEFS+=-DZT_ENABLE_CLUSTER |
5 |
endif |
6 |
+# Build with ZT_ENABLE_NETWORK_CONTROLLER=1 to build with the Sqlite network controller |
7 |
+ifeq ($(ZT_ENABLE_NETWORK_CONTROLLER),1) |
8 |
+ DEFS+=-DZT_ENABLE_NETWORK_CONTROLLER |
9 |
+ INCLUDES+=-I/usr/local/include |
10 |
+ LDFLAGS+=-L/usr/local/lib -lsqlite3 |
11 |
+ OBJS+=controller/SqliteNetworkController.o |
12 |
+endif |
13 |
+ |
14 |
# "make debug" is a shortcut for this |
15 |
ifeq ($(ZT_DEBUG),1) |
16 |
DEFS+=-DZT_TRACE |
17 |
|