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 |
Scott Baker | 62d2428 | 2016-10-21 09:19:11 -0700 | [diff] [blame] | 12 | LIBRARY_DIR ?= $(HOME_DIR)/xos_libraries |
Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 13 | |
| 14 | XOS_BOOTSTRAP_PORT ?= 81 |
| 15 | XOS_UI_PORT ?= 80 |
| 16 | |
| 17 | DOCKER_PROJECT ?= unknown |
| 18 | BOOTSTRAP_PROJECT ?= $(DOCKER_PROJECT)bs |
| 19 | |
| 20 | ADMIN_USERNAME ?= padmin@vicci.org |
| 21 | ADMIN_PASSWORD ?= letmein |
| 22 | |
| 23 | BOOTSTRAP_YML ?= $(CONFIG_DIR)/docker-compose-bootstrap.yml |
| 24 | DOCKER_COMPOSE_YML ?= $(CONFIG_DIR)/onboarding-docker-compose/docker-compose.yml |
| 25 | |
| 26 | # git repos |
Zack Williams | b97dc0b | 2016-07-29 10:59:34 -0700 | [diff] [blame] | 27 | CORD_BASE_GIT_URL ?= https://gerrit.opencord.org/p |
Zack Williams | b97dc0b | 2016-07-29 10:59:34 -0700 | [diff] [blame] | 28 | DEFAULT_BRANCH ?= master |
| 29 | |
| 30 | XOS_BRANCH ?= $(DEFAULT_BRANCH) |
| 31 | XOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/xos.git |
| 32 | |
| 33 | EXAMPLESERVICE_BRANCH ?= $(DEFAULT_BRANCH) |
| 34 | EXAMPLESERVICE_GIT_URL ?= $(CORD_BASE_GIT_URL)/exampleservice.git |
| 35 | |
| 36 | OLT_BRANCH ?= $(DEFAULT_BRANCH) |
| 37 | OLT_GIT_URL ?= $(CORD_BASE_GIT_URL)/olt.git |
| 38 | |
| 39 | VSG_BRANCH ?= $(DEFAULT_BRANCH) |
| 40 | VSG_GIT_URL ?= $(CORD_BASE_GIT_URL)/vsg.git |
| 41 | |
| 42 | VTN_BRANCH ?= $(DEFAULT_BRANCH) |
| 43 | VTN_GIT_URL ?= $(CORD_BASE_GIT_URL)/vtn.git |
| 44 | |
| 45 | VROUTER_BRANCH ?= $(DEFAULT_BRANCH) |
| 46 | VROUTER_GIT_URL ?= $(CORD_BASE_GIT_URL)/vrouter.git |
| 47 | |
| 48 | VTR_BRANCH ?= $(DEFAULT_BRANCH) |
| 49 | VTR_GIT_URL ?= $(CORD_BASE_GIT_URL)/vtr.git |
| 50 | |
| 51 | ONOS_BRANCH ?= $(DEFAULT_BRANCH) |
| 52 | ONOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/onos-service.git |
| 53 | |
| 54 | FABRIC_BRANCH ?= $(DEFAULT_BRANCH) |
| 55 | FABRIC_GIT_URL ?= $(CORD_BASE_GIT_URL)/fabric.git |
| 56 | |
| 57 | MONITORING_BRANCH ?= $(DEFAULT_BRANCH) |
| 58 | MONITORING_GIT_URL ?= $(CORD_BASE_GIT_URL)/monitoring.git |
Scott Baker | 2daffb1 | 2016-08-04 10:20:38 -0700 | [diff] [blame] | 59 | |
| 60 | HYPERCACHE_BRANCH ?= $(DEFAULT_BRANCH) |
| 61 | HYPERCACHE_GIT_URL ?= $(CORD_BASE_GIT_URL)/hypercache.git |
Scott Baker | 8ef5e5e | 2016-08-11 13:37:16 -0700 | [diff] [blame] | 62 | |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 63 | METRONETWORK_BRANCH ?= $(DEFAULT_BRANCH) |
| 64 | METRONETWORK_GIT_URL ?= $(CORD_BASE_GIT_URL)/metro-net.git |
| 65 | |
Scott Baker | 8ef5e5e | 2016-08-11 13:37:16 -0700 | [diff] [blame] | 66 | OPENSTACK_BRANCH ?= $(DEFAULT_BRANCH) |
| 67 | OPENSTACK_GIT_URL ?= $(CORD_BASE_GIT_URL)/openstack.git |
Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 68 | |
Scott Baker | 62d2428 | 2016-10-21 09:19:11 -0700 | [diff] [blame] | 69 | NG_XOS_LIB_BRANCH ?= $(DEFAULT_BRANCH) |
| 70 | NG_XOS_LIB_URL ?= $(CORD_BASE_GIT_URL)/ng-xos-lib.git |