github.com/olivere/camlistore@v0.0.0-20140121221811-1b7ac2da0199/clients/android/assets/Makefile (about)

     1  # To use this Makefile, first:
     2  #
     3  #   $ cd $GOROOT/src
     4  #   $ GOOS=linux GOARCH=arm ./make.bash
     5  #
     6  # TODO: have make.go bootstrap that above when necessary, running "go env" to find the GOROOT and
     7  # mirror it all into a separate writable GOROOT under $CAMROOT/tmp and bootstrap
     8  # it with "GOOS=linux GOARCH=arm make.bash".
     9  all:
    10  	(cd ../../.. && go run make.go --os=linux --arch=arm --targets=camlistore.org/cmd/camput)
    11  	cp -p ../../../bin/linux_arm/camput camput.arm
    12  	../../../misc/gitversion > camput-version.txt
    13  	mkdir -p ../gen/org/camlistore
    14  	/bin/echo -n "package org.camlistore; public final class ChildProcessConfig { // " > ../gen/org/camlistore/ChildProcessConfig.java
    15  	openssl sha1 camput.arm >> ../gen/org/camlistore/ChildProcessConfig.java
    16  	/bin/echo "}" >> ../gen/org/camlistore/ChildProcessConfig.java