forked from newrelic/infrastructure-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
25 lines (19 loc) · 796 Bytes
/
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
# Standard variables defining directories and other useful stuff.
PROJECT_WORKSPACE ?= $(CURDIR)
INCLUDE_BUILD_DIR ?= $(PROJECT_WORKSPACE)/build
PROJECT_NAME := newrelic-infra
TARGET_DIR = $(PROJECT_WORKSPACE)/target
TARGET_DIR_CENTOS5 = $(TARGET_DIR)/el_5
UNAME_S := $(shell uname -s)
# 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)/infra_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_ohis.mk
# Scripts for CICD
include $(INCLUDE_BUILD_DIR)/ci.mk
include $(INCLUDE_BUILD_DIR)/release.mk