mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-21 03:16:00 -08:00
Take into account nuances for Mac OS X. :-(
This commit is contained in:
parent
c936df3291
commit
4f0f8f9552
2
Makefile
2
Makefile
|
@ -21,7 +21,6 @@ test: build
|
||||||
build:
|
build:
|
||||||
$(MAKE) -C model
|
$(MAKE) -C model
|
||||||
go build ./...
|
go build ./...
|
||||||
go build .
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(TEST_ARTIFACTS)
|
rm -rf $(TEST_ARTIFACTS)
|
||||||
|
@ -40,3 +39,4 @@ documentation: search_index
|
||||||
godoc -http=:6060 -index -index_files='search_index'
|
godoc -http=:6060 -index -index_files='search_index'
|
||||||
|
|
||||||
.PHONY: build clean format test
|
.PHONY: build clean format test
|
||||||
|
|
||||||
|
|
|
@ -25,8 +25,9 @@ export CXXFLAGS := $(CXXFLAGS) -I$(OVERLAY_ROOT)/include
|
||||||
export CPPFLAGS := $(CPPFLAGS) -I$(OVERLAY_ROOT)/include
|
export CPPFLAGS := $(CPPFLAGS) -I$(OVERLAY_ROOT)/include
|
||||||
export LDFLAGS := $(LDFLAGS) -L$(OVERLAY_ROOT)/lib
|
export LDFLAGS := $(LDFLAGS) -L$(OVERLAY_ROOT)/lib
|
||||||
export CGO_CFLAGS := $(CFLAGS)
|
export CGO_CFLAGS := $(CFLAGS)
|
||||||
|
export CGO_LDFLAGS := $(LDFLAGS)
|
||||||
|
|
||||||
GO_GET := go get -v -x
|
GO_GET := go get -u -v -x
|
||||||
APT_GET_INSTALL := sudo apt-get install -y
|
APT_GET_INSTALL := sudo apt-get install -y
|
||||||
WGET := wget -c
|
WGET := wget -c
|
||||||
|
|
||||||
|
@ -105,7 +106,9 @@ leveldb-stamp: cc rsync leveldb-$(LEVELDB_VERSION).tar.gz overlay
|
||||||
tar xzvf leveldb-$(LEVELDB_VERSION).tar.gz
|
tar xzvf leveldb-$(LEVELDB_VERSION).tar.gz
|
||||||
$(MAKE) -C leveldb-$(LEVELDB_VERSION)
|
$(MAKE) -C leveldb-$(LEVELDB_VERSION)
|
||||||
rsync -av "leveldb-$(LEVELDB_VERSION)/include/" "$(OVERLAY_ROOT)/include/"
|
rsync -av "leveldb-$(LEVELDB_VERSION)/include/" "$(OVERLAY_ROOT)/include/"
|
||||||
rsync -av "leveldb-$(LEVELDB_VERSION)/"*.so* "$(OVERLAY_ROOT)/lib/"
|
-rsync -av "leveldb-$(LEVELDB_VERSION)/"*.*so* "$(OVERLAY_ROOT)/lib/"
|
||||||
|
-rsync -av "leveldb-$(LEVELDB_VERSION)/"*.*dylib* "$(OVERLAY_ROOT)/lib/"
|
||||||
|
rsync -av "leveldb-$(LEVELDB_VERSION)/"*.a "$(OVERLAY_ROOT)/lib/"
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
leveldb-$(LEVELDB_VERSION).tar.gz: wget
|
leveldb-$(LEVELDB_VERSION).tar.gz: wget
|
||||||
|
@ -153,3 +156,4 @@ clean:
|
||||||
|
|
||||||
|
|
||||||
.PHONY: all bison build-dependencies cc clean go goprotobuf gorest leveldb levigo mercurial overlay preparation protoc rsync source test wget
|
.PHONY: all bison build-dependencies cc clean go goprotobuf gorest leveldb levigo mercurial overlay preparation protoc rsync source test wget
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue