forked from newrelic/infrastructure-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
40 lines (30 loc) · 1.13 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Standard variables defining directories and other useful stuff.
PROJECT_WORKSPACE ?= $(CURDIR)
INCLUDE_BUILD_DIR ?= $(PROJECT_WORKSPACE)/build
INCLUDE_TEST_DIR ?= $(PROJECT_WORKSPACE)/test
INCLUDE_TOOLS_DIR ?= $(PROJECT_WORKSPACE)/tools
PROJECT_NAME := newrelic-infra
TARGET_DIR ?= $(PROJECT_WORKSPACE)/target
DIST_DIR ?= $(PROJECT_WORKSPACE)/dist
TARGET_DIR_CENTOS5 = $(TARGET_DIR)/el_5
UNAME_S := $(shell uname -s)
COVERAGE_FILE ?= coverage.out
# Default GO_BIN to Go binary in PATH
GO_BIN ?= go
# Centos 5 cannot use a Go version greater than 1.9
GO_BIN_1_9 ?= go1.9.4
# Scripts for building the Agent
include $(INCLUDE_BUILD_DIR)/build.mk
# Scripts for getting On Host Integrations
# https://docs.newrelic.com/docs/integrations/host-integrations/getting-started/introduction-host-integrations
include $(INCLUDE_BUILD_DIR)/embed/integrations.mk
include $(INCLUDE_BUILD_DIR)/embed/fluent-bit.mk
# Scripts for CICD
include $(INCLUDE_BUILD_DIR)/ci.mk
include $(INCLUDE_BUILD_DIR)/release.mk
# test
include $(INCLUDE_TEST_DIR)/test.mk
# tools
include $(INCLUDE_TOOLS_DIR)/tools.mk
# common utils
include ./Makefile.Common