2013-09-04 02:48:32 +00:00
|
|
|
# To use this Makefile, first:
|
|
|
|
#
|
|
|
|
# $ cd $GOROOT/src
|
|
|
|
# $ GOOS=linux GOARCH=arm ./make.bash
|
|
|
|
#
|
|
|
|
# TODO: have make.go bootstrap that above when necessary, running "go env" to find the GOROOT and
|
|
|
|
# mirror it all into a separate writable GOROOT under $CAMROOT/tmp and bootstrap
|
|
|
|
# it with "GOOS=linux GOARCH=arm make.bash".
|
2013-01-27 00:54:03 +00:00
|
|
|
all:
|
2013-09-04 02:48:32 +00:00
|
|
|
(cd ../../.. && go run make.go --os=linux --arch=arm --targets=camlistore.org/cmd/camput)
|
|
|
|
cp -p ../../../bin/linux_arm/camput camput.arm
|
2013-02-03 18:39:20 +00:00
|
|
|
../../../misc/gitversion > camput-version.txt
|
2013-09-04 02:48:32 +00:00
|
|
|
mkdir -p ../gen/org/camlistore
|
2013-01-27 20:50:24 +00:00
|
|
|
/bin/echo -n "package org.camlistore; public final class ChildProcessConfig { // " > ../gen/org/camlistore/ChildProcessConfig.java
|
|
|
|
openssl sha1 camput.arm >> ../gen/org/camlistore/ChildProcessConfig.java
|
|
|
|
/bin/echo "}" >> ../gen/org/camlistore/ChildProcessConfig.java
|