mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 21:33:57 -07:00
Netconf build fixes, schema, etc.
This commit is contained in:
parent
fab951e98a
commit
31bf0a4ea6
10 changed files with 146 additions and 290 deletions
|
@ -7,8 +7,8 @@ DEFS=
|
|||
LIBS=
|
||||
|
||||
include objects.mk
|
||||
OBJS+=osnet/LinuxRoutingTable.o osnet/LinuxEthernetTap.o osnet/LinuxEthernetTapFactory.o
|
||||
TESTNET_OBJS=testnet/SimNet.o testnet/SimNetSocketManager.o testnet/TestEthernetTap.o testnet/TestEthernetTapFactory.o testnet/TestRoutingTable.o
|
||||
OBJS+=osnet/LinuxRoutingTable.o osnet/LinuxEthernetTap.o osnet/LinuxEthernetTapFactory.o
|
||||
TESTNET_OBJS=testnet/SimNet.o testnet/SimNetSocketManager.o testnet/TestEthernetTap.o testnet/TestEthernetTapFactory.o testnet/TestRoutingTable.o
|
||||
|
||||
# Enable SSE-optimized Salsa20 on x86 and x86_64 machines
|
||||
MACHINE=$(shell uname -m)
|
||||
|
@ -34,7 +34,8 @@ endif
|
|||
# Build with ZT_ENABLE_NETCONF_MASTER=1 to build with NetworkConfigMaster enabled
|
||||
ifeq ($(ZT_ENABLE_NETCONF_MASTER),1)
|
||||
DEFS+=-DZT_ENABLE_NETCONF_MASTER
|
||||
LIBS+=-lhiredis
|
||||
LIBS+=-lsqlite3
|
||||
OBJS+=netconf/SqliteNetworkConfigMaster.o
|
||||
endif
|
||||
|
||||
# "make official" is a shortcut for this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue