diff --git a/data/bin/README.MD b/data/bin/README.MD new file mode 100644 index 00000000..c570af6c --- /dev/null +++ b/data/bin/README.MD @@ -0,0 +1,62 @@ +# Merlin Binaries + +This directory contains compiled binaries for different operating + systems and architectures. A list of golang supported operating + systems and architectures can be found here: + https://golang.org/doc/install/source#environment + +This directory is here because the `bin` in the root of the Merlin's + folders is used and created by golang for subsequent binaries. + +The agent & server can be cross-compiled using: + `GOOS=darwin GOARCH=amd64 go build -o bin\merlinserver.dmg merlinserver.go` + + +The gomobile library can be used to compile for Android and iOS: + https://godoc.org/golang.org/x/mobile/cmd/gomobile + + +$GOOS | $GOARCH +--- | --- +android | arm +darwin | 386 +darwin | amd64 +darwin | arm +darwin | arm64 +dragonfly | amd64 +freebsd | 386 +freebsd | amd64 +freebsd | arm +linux | 386 +linux | amd64 +linux | arm +linux | arm64 +linux | ppc64 +linux | ppc64le +linux | mips +linux | mipsle +linux | mips64 +linux | mips64le +netbsd | 386 +netbsd | amd64 +netbsd | arm +openbsd | 386 +openbsd | amd64 +openbsd | arm +plan9 | 386 +plan9 | amd64 +solaris | amd64 +windows | 386 +windows | amd64 + +# Compile for Android +These instructions can be followed to compile for Android + + * Install Android SDK + https://developer.android.com/ndk/guides/index.html + * Install gomobile + `go get golang.org/x/mobile/cmd/gomobile` + * Initialize gomobile + `bin\gomobile init + -ndk=C:\Users\[username]\AppData\Local\Android\Sdk\ndk-bundle` + * Build the APK `bin\gomobile build -target=android merlinagent` \ No newline at end of file diff --git a/data/x509/README.MD b/data/x509/README.MD new file mode 100644 index 00000000..400aead8 --- /dev/null +++ b/data/x509/README.MD @@ -0,0 +1,2 @@ +# Merlin's x.509 Certificates +Generate x.509 certificates for Merlin's server and store them here. \ No newline at end of file