diff options
-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() {} |