github.com/schwarzm/garden-linux@v0.0.0-20150507151835-33bca2147c47/old/Makefile (about) 1 all: skeleton 2 3 # Build hook without dynamic library dependencies. CGO_ENABLED=0 and the -a option achieve this. 4 5 skeleton: 6 GOPATH=${PWD}/../Godeps/_workspace:${GOPATH} go build -o linux_backend/skeleton/bin/iodaemon github.com/cloudfoundry-incubator/garden-linux/iodaemon 7 GOPATH=${PWD}/../Godeps/_workspace:${GOPATH} CGO_ENABLED=0 go build -a -installsuffix static -o linux_backend/skeleton/lib/hook github.com/cloudfoundry-incubator/garden-linux/hook/hook 8 cd linux_backend/src && make clean all 9 cp linux_backend/src/wsh/wshd linux_backend/skeleton/bin 10 cp linux_backend/src/wsh/wsh linux_backend/skeleton/bin 11 cp linux_backend/src/oom/oom linux_backend/skeleton/bin 12 cp linux_backend/src/nstar/nstar linux_backend/skeleton/bin 13 cp linux_backend/src/repquota/repquota linux_backend/bin 14 cd linux_backend/src && make clean