feat(venachain):Add venachain support in sdk/protocol
@@ -4,9 +4,9 @@ SOURCES = $(wildcard *.c)
OBJECTS_DIR = $(BOAT_BUILD_DIR)/sdk/protocol
OBJECTS = $(patsubst %.c,$(OBJECTS_DIR)/%.o,$(SOURCES))
-.PHONY: all rotocol_common protocol_ethereum protocol_platon protocol_platone protocol_fiscobcos protocol_hlfabric protocol_hw_bcs protocol_chainmaker
+.PHONY: all rotocol_common protocol_ethereum protocol_platon protocol_platone protocol_fiscobcos protocol_hlfabric protocol_hw_bcs protocol_chainmaker protocol_venachain
-all: protocol_common protocol_ethereum protocol_platon protocol_platone protocol_fiscobcos protocol_hlfabric protocol_hw_bcs protocol_chainmaker $(OBJECTS_DIR) $(OBJECTS)
+all: protocol_common protocol_ethereum protocol_platon protocol_platone protocol_fiscobcos protocol_hlfabric protocol_hw_bcs protocol_chainmaker protocol_venachain $(OBJECTS_DIR) $(OBJECTS)
protocol_common:
@@ -47,6 +47,11 @@ ifeq ($(BOAT_PROTOCOL_USE_CHAINMAKER), 1)
make -C boatchainmaker all
endif
+protocol_venachain:
+ifeq ($(BOAT_PROTOCOL_USE_VENACHAIN), 1)
+ make -C boatvenachain all
+endif
+
$(OBJECTS_DIR):
$(BOAT_MKDIR) -p $(OBJECTS_DIR)
@@ -61,6 +66,7 @@ clean:
make -C boatplaton clean
make -C boatplatone clean
make -C boatfiscobcos clean
+ make -c boatvenachain clean
ifeq ($(BOAT_PROTOCOL_USE_HLFABRIC), 1)
make -C boathlfabric clean
endif
