diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2020-02-03 20:38:27 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2020-02-03 20:38:27 -0500 |
commit | 611b00a0b3639e68fd205c27aef73c864a2457cd (patch) | |
tree | 4c9ac8d93746945708c584ee520169f6232330b8 | |
parent | 5e7b65e0271b6f244aa30807ed5ad3aa405a2fd5 (diff) |
add stubs for binaries
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile | 17 | ||||
-rw-r--r-- | cmd/librrd/main.go | 3 | ||||
-rw-r--r-- | cmd/rrdcached/main.go | 3 | ||||
-rw-r--r-- | cmd/rrdcgi/main.go | 3 | ||||
-rw-r--r-- | cmd/rrdcreate/main.go | 3 | ||||
-rw-r--r-- | cmd/rrdinfo/main.go | 3 | ||||
-rw-r--r-- | cmd/rrdtool/main.go | 3 | ||||
-rw-r--r-- | cmd/rrdupdate/main.go | 3 |
9 files changed, 40 insertions, 0 deletions
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() {} |