diff --git a/Makefile b/Makefile index 46abb868a..27fe22aac 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,22 @@ ifeq (cleveldb,$(findstring cleveldb,$(TENDERMINT_BUILD_OPTIONS))) BUILD_TAGS += cleveldb endif +# handle badgerdb +ifeq (badgerdb,$(findstring badgerdb,$(TENDERMINT_BUILD_OPTIONS))) + BUILD_TAGS += badgerdb +endif + +# handle rocksdb +ifeq (rocksdb,$(findstring rocksdb,$(TENDERMINT_BUILD_OPTIONS))) + CGO_ENABLED=1 + BUILD_TAGS += rocksdb +endif + +# handle boltdb +ifeq (boltdb,$(findstring boltdb,$(TENDERMINT_BUILD_OPTIONS))) + BUILD_TAGS += boltdb +endif + # allow users to pass additional flags via the conventional LDFLAGS variable LD_FLAGS += $(LDFLAGS)