forked from stellar/go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (28 loc) · 989 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Docker build targets use an optional "TAG" environment
# variable can be set to use custom tag name. For example:
# TAG=my-registry.example.com/keystore:dev make keystore
XDRS = xdr/Stellar-SCP.x \
xdr/Stellar-ledger-entries.x \
xdr/Stellar-ledger.x \
xdr/Stellar-overlay.x \
xdr/Stellar-transaction.x \
xdr/Stellar-types.x
.PHONY: xdr
keystore:
$(MAKE) -C services/keystore/ docker-build
ticker:
$(MAKE) -C services/ticker/ docker-build
friendbot:
$(MAKE) -C services/friendbot/ docker-build
webauth:
$(MAKE) -C exp/services/webauth/ docker-build
recoverysigner:
$(MAKE) -C exp/services/recoverysigner/ docker-build
regulated-assets-approval-server:
$(MAKE) -C services/regulated-assets-approval-server/ docker-build
gxdr/xdr_generated.go: $(XDRS)
go run github.com/xdrpp/goxdr/cmd/goxdr -p gxdr -enum-comments -o $@ $(XDRS)
go fmt $@
xdr/xdr_generated.go: $(XDRS) Rakefile Gemfile.lock
bundle exec rake xdr:generate
xdr: gxdr/xdr_generated.go xdr/xdr_generated.go