forked from Checkmk/checkmk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
artifacts.make
55 lines (50 loc) · 2.27 KB
/
artifacts.make
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright (C) 2019 tribe29 GmbH - License: GNU General Public License v2
# This file is part of Checkmk (https://checkmk.com). It is subject to the terms and
# conditions defined in the file COPYING, which is part of this source code package.
#
CHECK_MK_RAW_PRECOMPILED_WERKS := $(REPO_PATH)/.werks/werks
JAVASCRIPT_MINI := $(foreach jmini,main mobile side zxcvbn,$(REPO_PATH)/web/htdocs/js/$(jmini)_min.js)
THEMES := facelift modern-dark
THEME_CSS_FILES := $(addprefix $(REPO_PATH)/web/htdocs/themes/,$(addsuffix /theme.css,$(THEMES)))
THEME_JSON_FILES := $(addprefix $(REPO_PATH)/web/htdocs/themes/,$(addsuffix /theme.json,$(THEMES)))
THEME_IMAGE_DIRS := $(addprefix $(REPO_PATH)/web/htdocs/themes/,$(addsuffix /images,$(THEMES)))
THEME_RESOURCES := $(THEME_CSS_FILES) $(THEME_JSON_FILES) $(THEME_IMAGE_DIRS)
LIVESTATUS_INTERMEDIATE_ARCHIVE := \
$(REPO_PATH)/omd/packages/mk-livestatus/mk-livestatus-$(VERSION).tar.gz
# These artifacts are created independent of the distro the Checkmk package is
# built on either by an "upstream job" or while creating the source package
SOURCE_BUILT_LINUX_AGENTS := \
$(REPO_PATH)/agents/check-mk-agent-$(VERSION)-1.noarch.rpm \
$(REPO_PATH)/agents/check-mk-agent_$(VERSION)-1_all.deb \
$(REPO_PATH)/agents/linux/cmk-agent-ctl \
$(REPO_PATH)/agents/linux/cmk-agent-ctl.gz
ifeq ($(ENTERPRISE),yes)
SOURCE_BUILT_AGENT_UPDATER := \
$(REPO_PATH)/agents/plugins/cmk-update-agent \
$(REPO_PATH)/agents/plugins/cmk-update-agent-32
else
SOURCE_BUILT_AGENT_UPDATER :=
endif
SOURCE_BUILT_OHM := \
$(REPO_PATH)/agents/windows/OpenHardwareMonitorCLI.exe \
$(REPO_PATH)/agents/windows/OpenHardwareMonitorLib.dll
SOURCE_BUILT_WINDOWS := \
$(REPO_PATH)/agents/windows/check_mk_agent.msi \
$(REPO_PATH)/agents/windows/python-3.4.cab \
$(REPO_PATH)/agents/windows/python-3.cab \
$(REPO_PATH)/agents/windows/unsign-msi.patch
SOURCE_BUILT_AGENTS := \
$(SOURCE_BUILT_LINUX_AGENTS) \
$(SOURCE_BUILT_AGENT_UPDATER) \
$(SOURCE_BUILT_OHM) \
$(SOURCE_BUILT_WINDOWS)
ifeq ($(ENTERPRISE),yes)
PROTO_PYTHON_OUT := $(REPO_PATH)/enterprise/cmc_proto
CMC_PROTO_MODULES := \
$(PROTO_PYTHON_OUT)/config/v1/types_pb2.py \
$(PROTO_PYTHON_OUT)/cycletime/v1/types_pb2.py \
$(PROTO_PYTHON_OUT)/state/v1/types_pb2.py
else
PROTO_PYTHON_OUT :=
CMC_PROTO_MODULES :=
endif