From 611b00a0b3639e68fd205c27aef73c864a2457cd Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 3 Feb 2020 20:38:27 -0500 Subject: add stubs for binaries --- .gitignore | 2 ++ Makefile | 17 +++++++++++++++++ cmd/librrd/main.go | 3 +++ cmd/rrdcached/main.go | 3 +++ cmd/rrdcgi/main.go | 3 +++ cmd/rrdcreate/main.go | 3 +++ cmd/rrdinfo/main.go | 3 +++ cmd/rrdtool/main.go | 3 +++ cmd/rrdupdate/main.go | 3 +++ 9 files changed, 40 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 cmd/librrd/main.go create mode 100644 cmd/rrdcached/main.go create mode 100644 cmd/rrdcgi/main.go create mode 100644 cmd/rrdcreate/main.go create mode 100644 cmd/rrdinfo/main.go create mode 100644 cmd/rrdtool/main.go create mode 100644 cmd/rrdupdate/main.go diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..de5006e --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/bin/ +/data/ diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..43bc7d5 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +all: bin/rrdcached +all: bin/rrdcgi +all: bin/rrdcreate +all: bin/rrdinfo +all: bin/rrdtool +all: bin/rrdupdate +all: bin/librrd.so +.PHONY: all + +bin/%.so: cmd/%/ + go build -o $@ -buildmode=c-shared ./cmd/$* +bin/%: cmd/%/ + go build -o $@ ./cmd/$* + +.PHONY: FORCE +.DELETE_ON_ERROR: +.SECONDARY: diff --git a/cmd/librrd/main.go b/cmd/librrd/main.go new file mode 100644 index 0000000..38dd16d --- /dev/null +++ b/cmd/librrd/main.go @@ -0,0 +1,3 @@ +package main + +func main() {} diff --git a/cmd/rrdcached/main.go b/cmd/rrdcached/main.go new file mode 100644 index 0000000..38dd16d --- /dev/null +++ b/cmd/rrdcached/main.go @@ -0,0 +1,3 @@ +package main + +func main() {} diff --git a/cmd/rrdcgi/main.go b/cmd/rrdcgi/main.go new file mode 100644 index 0000000..38dd16d --- /dev/null +++ b/cmd/rrdcgi/main.go @@ -0,0 +1,3 @@ +package main + +func main() {} diff --git a/cmd/rrdcreate/main.go b/cmd/rrdcreate/main.go new file mode 100644 index 0000000..38dd16d --- /dev/null +++ b/cmd/rrdcreate/main.go @@ -0,0 +1,3 @@ +package main + +func main() {} diff --git a/cmd/rrdinfo/main.go b/cmd/rrdinfo/main.go new file mode 100644 index 0000000..38dd16d --- /dev/null +++ b/cmd/rrdinfo/main.go @@ -0,0 +1,3 @@ +package main + +func main() {} diff --git a/cmd/rrdtool/main.go b/cmd/rrdtool/main.go new file mode 100644 index 0000000..38dd16d --- /dev/null +++ b/cmd/rrdtool/main.go @@ -0,0 +1,3 @@ +package main + +func main() {} diff --git a/cmd/rrdupdate/main.go b/cmd/rrdupdate/main.go new file mode 100644 index 0000000..38dd16d --- /dev/null +++ b/cmd/rrdupdate/main.go @@ -0,0 +1,3 @@ +package main + +func main() {} -- cgit v1.2.3-54-g00ecf