Zack Williams | 7828f22 | 2016-10-19 14:04:51 -0700 | [diff] [blame^] | 1 | # common/Makedefs |
| 2 | # Defines commonly used Makefile variables |
Zack Williams | b97dc0b | 2016-07-29 10:59:34 -0700 | [diff] [blame] | 3 | |
Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 4 | COMMON_DIR ?= $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) |
| 5 | CONFIG_DIR ?= $(COMMON_DIR) |
Zack Williams | b97dc0b | 2016-07-29 10:59:34 -0700 | [diff] [blame] | 6 | |
Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 7 | HOME_DIR ?= $(shell echo ~) |
| 8 | MYIP ?= $(shell hostname -i) |
| 9 | |
| 10 | XOS_DIR ?= $(HOME_DIR)/xos |
| 11 | SERVICE_DIR ?= $(HOME_DIR)/xos_services |
| 12 | |
| 13 | XOS_BOOTSTRAP_PORT ?= 81 |
| 14 | XOS_UI_PORT ?= 80 |
| 15 | |
| 16 | DOCKER_PROJECT ?= unknown |
| 17 | BOOTSTRAP_PROJECT ?= $(DOCKER_PROJECT)bs |
| 18 | |
| 19 | ADMIN_USERNAME ?= padmin@vicci.org |
| 20 | ADMIN_PASSWORD ?= letmein |
| 21 | |
| 22 | BOOTSTRAP_YML ?= $(CONFIG_DIR)/docker-compose-bootstrap.yml |
| 23 | DOCKER_COMPOSE_YML ?= $(CONFIG_DIR)/onboarding-docker-compose/docker-compose.yml |
| 24 | |
| 25 | # git repos |
Zack Williams | b97dc0b | 2016-07-29 10:59:34 -0700 | [diff] [blame] | 26 | CORD_BASE_GIT_URL ?= https://gerrit.opencord.org/p |
Zack Williams | b97dc0b | 2016-07-29 10:59:34 -0700 | [diff] [blame] | 27 | DEFAULT_BRANCH ?= master |
| 28 | |
| 29 | XOS_BRANCH ?= $(DEFAULT_BRANCH) |
| 30 | XOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/xos.git |
| 31 | |
| 32 | EXAMPLESERVICE_BRANCH ?= $(DEFAULT_BRANCH) |
| 33 | EXAMPLESERVICE_GIT_URL ?= $(CORD_BASE_GIT_URL)/exampleservice.git |
| 34 | |
| 35 | OLT_BRANCH ?= $(DEFAULT_BRANCH) |
| 36 | OLT_GIT_URL ?= $(CORD_BASE_GIT_URL)/olt.git |
| 37 | |
| 38 | VSG_BRANCH ?= $(DEFAULT_BRANCH) |
| 39 | VSG_GIT_URL ?= $(CORD_BASE_GIT_URL)/vsg.git |
| 40 | |
| 41 | VTN_BRANCH ?= $(DEFAULT_BRANCH) |
| 42 | VTN_GIT_URL ?= $(CORD_BASE_GIT_URL)/vtn.git |
| 43 | |
| 44 | VROUTER_BRANCH ?= $(DEFAULT_BRANCH) |
| 45 | VROUTER_GIT_URL ?= $(CORD_BASE_GIT_URL)/vrouter.git |
| 46 | |
| 47 | VTR_BRANCH ?= $(DEFAULT_BRANCH) |
| 48 | VTR_GIT_URL ?= $(CORD_BASE_GIT_URL)/vtr.git |
| 49 | |
| 50 | ONOS_BRANCH ?= $(DEFAULT_BRANCH) |
| 51 | ONOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/onos-service.git |
| 52 | |
| 53 | FABRIC_BRANCH ?= $(DEFAULT_BRANCH) |
| 54 | FABRIC_GIT_URL ?= $(CORD_BASE_GIT_URL)/fabric.git |
| 55 | |
| 56 | MONITORING_BRANCH ?= $(DEFAULT_BRANCH) |
| 57 | MONITORING_GIT_URL ?= $(CORD_BASE_GIT_URL)/monitoring.git |
Scott Baker | 2daffb1 | 2016-08-04 10:20:38 -0700 | [diff] [blame] | 58 | |
| 59 | HYPERCACHE_BRANCH ?= $(DEFAULT_BRANCH) |
| 60 | HYPERCACHE_GIT_URL ?= $(CORD_BASE_GIT_URL)/hypercache.git |
Scott Baker | 8ef5e5e | 2016-08-11 13:37:16 -0700 | [diff] [blame] | 61 | |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 62 | METRONETWORK_BRANCH ?= $(DEFAULT_BRANCH) |
| 63 | METRONETWORK_GIT_URL ?= $(CORD_BASE_GIT_URL)/metro-net.git |
| 64 | |
Scott Baker | 8ef5e5e | 2016-08-11 13:37:16 -0700 | [diff] [blame] | 65 | OPENSTACK_BRANCH ?= $(DEFAULT_BRANCH) |
| 66 | OPENSTACK_GIT_URL ?= $(CORD_BASE_GIT_URL)/openstack.git |
Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 67 | |