aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-10-24 18:59:48 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:17 +0800
commitd8061c0557a43cc1f67ba59a73d13df1d4436a65 (patch)
tree84547a42be163047e9715bb0c8b5af66251d0c86 /Makefile
parent185c358e4e0e430df9cd68f85888e8b142786609 (diff)
downloadgo-tangerine-d8061c0557a43cc1f67ba59a73d13df1d4436a65.tar.gz
go-tangerine-d8061c0557a43cc1f67ba59a73d13df1d4436a65.tar.zst
go-tangerine-d8061c0557a43cc1f67ba59a73d13df1d4436a65.zip
Rename geth -> gdex and fix Dockerfile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile122
1 files changed, 61 insertions, 61 deletions
diff --git a/Makefile b/Makefile
index b19c1e038..e4765fb35 100644
--- a/Makefile
+++ b/Makefile
@@ -2,19 +2,19 @@
# with Go source code. If you know what GOPATH is then you probably
# don't need to bother with make.
-.PHONY: geth android ios geth-cross swarm evm all test clean
-.PHONY: geth-linux geth-linux-386 geth-linux-amd64 geth-linux-mips64 geth-linux-mips64le
-.PHONY: geth-linux-arm geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7 geth-linux-arm64
-.PHONY: geth-darwin geth-darwin-386 geth-darwin-amd64
-.PHONY: geth-windows geth-windows-386 geth-windows-amd64
+.PHONY: gdex android ios gdex-cross swarm evm all test clean
+.PHONY: gdex-linux gdex-linux-386 gdex-linux-amd64 gdex-linux-mips64 gdex-linux-mips64le
+.PHONY: gdex-linux-arm gdex-linux-arm-5 gdex-linux-arm-6 gdex-linux-arm-7 gdex-linux-arm64
+.PHONY: gdex-darwin gdex-darwin-386 gdex-darwin-amd64
+.PHONY: gdex-windows gdex-windows-386 gdex-windows-amd64
GOBIN = $(shell pwd)/build/bin
GO ?= latest
-geth: libbls
- build/env.sh go run build/ci.go install ./cmd/geth
+gdex: libbls
+ build/env.sh go run build/ci.go install ./cmd/gdex
@echo "Done building."
- @echo "Run \"$(GOBIN)/geth\" to launch geth."
+ @echo "Run \"$(GOBIN)/gdex\" to launch gdex."
swarm:
build/env.sh go run build/ci.go install ./cmd/swarm
@@ -27,7 +27,7 @@ all:
android:
build/env.sh go run build/ci.go aar --local
@echo "Done building."
- @echo "Import \"$(GOBIN)/geth.aar\" to use the library."
+ @echo "Import \"$(GOBIN)/gdex.aar\" to use the library."
ios:
build/env.sh go run build/ci.go xcode --local
@@ -65,92 +65,92 @@ swarm-devtools:
# Cross Compilation Targets (xgo)
-geth-cross: geth-linux geth-darwin geth-windows geth-android geth-ios
+gdex-cross: gdex-linux gdex-darwin gdex-windows gdex-android gdex-ios
@echo "Full cross compilation done:"
- @ls -ld $(GOBIN)/geth-*
+ @ls -ld $(GOBIN)/gdex-*
-geth-linux: geth-linux-386 geth-linux-amd64 geth-linux-arm geth-linux-mips64 geth-linux-mips64le
+gdex-linux: gdex-linux-386 gdex-linux-amd64 gdex-linux-arm gdex-linux-mips64 gdex-linux-mips64le
@echo "Linux cross compilation done:"
- @ls -ld $(GOBIN)/geth-linux-*
+ @ls -ld $(GOBIN)/gdex-linux-*
-geth-linux-386:
- build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/386 -v ./cmd/geth
+gdex-linux-386:
+ build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/386 -v ./cmd/gdex
@echo "Linux 386 cross compilation done:"
- @ls -ld $(GOBIN)/geth-linux-* | grep 386
+ @ls -ld $(GOBIN)/gdex-linux-* | grep 386
-geth-linux-amd64:
- build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/amd64 -v ./cmd/geth
+gdex-linux-amd64:
+ build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/amd64 -v ./cmd/gdex
@echo "Linux amd64 cross compilation done:"
- @ls -ld $(GOBIN)/geth-linux-* | grep amd64
+ @ls -ld $(GOBIN)/gdex-linux-* | grep amd64
-geth-linux-arm: geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7 geth-linux-arm64
+gdex-linux-arm: gdex-linux-arm-5 gdex-linux-arm-6 gdex-linux-arm-7 gdex-linux-arm64
@echo "Linux ARM cross compilation done:"
- @ls -ld $(GOBIN)/geth-linux-* | grep arm
+ @ls -ld $(GOBIN)/gdex-linux-* | grep arm
-geth-linux-arm-5:
- build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/arm-5 -v ./cmd/geth
+gdex-linux-arm-5:
+ build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/arm-5 -v ./cmd/gdex
@echo "Linux ARMv5 cross compilation done:"
- @ls -ld $(GOBIN)/geth-linux-* | grep arm-5
+ @ls -ld $(GOBIN)/gdex-linux-* | grep arm-5
-geth-linux-arm-6:
- build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/arm-6 -v ./cmd/geth
+gdex-linux-arm-6:
+ build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/arm-6 -v ./cmd/gdex
@echo "Linux ARMv6 cross compilation done:"
- @ls -ld $(GOBIN)/geth-linux-* | grep arm-6
+ @ls -ld $(GOBIN)/gdex-linux-* | grep arm-6
-geth-linux-arm-7:
- build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/arm-7 -v ./cmd/geth
+gdex-linux-arm-7:
+ build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/arm-7 -v ./cmd/gdex
@echo "Linux ARMv7 cross compilation done:"
- @ls -ld $(GOBIN)/geth-linux-* | grep arm-7
+ @ls -ld $(GOBIN)/gdex-linux-* | grep arm-7
-geth-linux-arm64:
- build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/arm64 -v ./cmd/geth
+gdex-linux-arm64:
+ build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/arm64 -v ./cmd/gdex
@echo "Linux ARM64 cross compilation done:"
- @ls -ld $(GOBIN)/geth-linux-* | grep arm64
+ @ls -ld $(GOBIN)/gdex-linux-* | grep arm64
-geth-linux-mips:
- build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/mips --ldflags '-extldflags "-static"' -v ./cmd/geth
+gdex-linux-mips:
+ build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/mips --ldflags '-extldflags "-static"' -v ./cmd/gdex
@echo "Linux MIPS cross compilation done:"
- @ls -ld $(GOBIN)/geth-linux-* | grep mips
+ @ls -ld $(GOBIN)/gdex-linux-* | grep mips
-geth-linux-mipsle:
- build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/mipsle --ldflags '-extldflags "-static"' -v ./cmd/geth
+gdex-linux-mipsle:
+ build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/mipsle --ldflags '-extldflags "-static"' -v ./cmd/gdex
@echo "Linux MIPSle cross compilation done:"
- @ls -ld $(GOBIN)/geth-linux-* | grep mipsle
+ @ls -ld $(GOBIN)/gdex-linux-* | grep mipsle
-geth-linux-mips64:
- build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/mips64 --ldflags '-extldflags "-static"' -v ./cmd/geth
+gdex-linux-mips64:
+ build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/mips64 --ldflags '-extldflags "-static"' -v ./cmd/gdex
@echo "Linux MIPS64 cross compilation done:"
- @ls -ld $(GOBIN)/geth-linux-* | grep mips64
+ @ls -ld $(GOBIN)/gdex-linux-* | grep mips64
-geth-linux-mips64le:
- build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/mips64le --ldflags '-extldflags "-static"' -v ./cmd/geth
+gdex-linux-mips64le:
+ build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=linux/mips64le --ldflags '-extldflags "-static"' -v ./cmd/gdex
@echo "Linux MIPS64le cross compilation done:"
- @ls -ld $(GOBIN)/geth-linux-* | grep mips64le
+ @ls -ld $(GOBIN)/gdex-linux-* | grep mips64le
-geth-darwin: geth-darwin-386 geth-darwin-amd64
+gdex-darwin: gdex-darwin-386 gdex-darwin-amd64
@echo "Darwin cross compilation done:"
- @ls -ld $(GOBIN)/geth-darwin-*
+ @ls -ld $(GOBIN)/gdex-darwin-*
-geth-darwin-386:
- build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=darwin/386 -v ./cmd/geth
+gdex-darwin-386:
+ build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=darwin/386 -v ./cmd/gdex
@echo "Darwin 386 cross compilation done:"
- @ls -ld $(GOBIN)/geth-darwin-* | grep 386
+ @ls -ld $(GOBIN)/gdex-darwin-* | grep 386
-geth-darwin-amd64:
- build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=darwin/amd64 -v ./cmd/geth
+gdex-darwin-amd64:
+ build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=darwin/amd64 -v ./cmd/gdex
@echo "Darwin amd64 cross compilation done:"
- @ls -ld $(GOBIN)/geth-darwin-* | grep amd64
+ @ls -ld $(GOBIN)/gdex-darwin-* | grep amd64
-geth-windows: geth-windows-386 geth-windows-amd64
+gdex-windows: gdex-windows-386 gdex-windows-amd64
@echo "Windows cross compilation done:"
- @ls -ld $(GOBIN)/geth-windows-*
+ @ls -ld $(GOBIN)/gdex-windows-*
-geth-windows-386:
- build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=windows/386 -v ./cmd/geth
+gdex-windows-386:
+ build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=windows/386 -v ./cmd/gdex
@echo "Windows 386 cross compilation done:"
- @ls -ld $(GOBIN)/geth-windows-* | grep 386
+ @ls -ld $(GOBIN)/gdex-windows-* | grep 386
-geth-windows-amd64:
- build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=windows/amd64 -v ./cmd/geth
+gdex-windows-amd64:
+ build/env.sh go run build/ci.go xgo -- --go=$(GO) --targets=windows/amd64 -v ./cmd/gdex
@echo "Windows amd64 cross compilation done:"
- @ls -ld $(GOBIN)/geth-windows-* | grep amd64
+ @ls -ld $(GOBIN)/gdex-windows-* | grep amd64