status-go/vendor/github.com/siphiuel/lc-proxy-wrapper/Makefile.vars

16 lines
445 B
Makefile

NIMBUS_ETH1_PATH ?= $(CURDIR)/../nimbus-eth1
NIMBASE_H_PATH ?= $(NIMBUS_ETH1_PATH)/vendor/nimbus-build-system/vendor/Nim-csources-v1/c_code/
VERIF_PROXY_OUT_PATH ?= $(NIMBUS_ETH1_PATH)/build/libverifproxy
CGO_CFLAGS += -I$(VERIF_PROXY_OUT_PATH) -I$(NIMBASE_H_PATH)
EXTLDFLAGS=-lverifproxy -L$(VERIF_PROXY_OUT_PATH)
ifeq (, $(findstring darwin, $(OS)))
EXTLDFLAGS += -framework Security
endif
LDFLAGS ?= '-v "-extldflags=$(EXTLDFLAGS)"'