Mohamed Abukar | 2e78e42 | 2019-06-02 11:45:52 +0300 | [diff] [blame] | 1 | # Copyright (c) 2019 AT&T Intellectual Property. |
| 2 | # Copyright (c) 2019 Nokia. |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
Juha Hyttinen | 6e075ce | 2019-11-06 08:42:34 +0200 | [diff] [blame] | 16 | .DEFAULT: go-build |
Mohamed Abukar | 2e78e42 | 2019-06-02 11:45:52 +0300 | [diff] [blame] | 17 | |
Juha Hyttinen | 6e075ce | 2019-11-06 08:42:34 +0200 | [diff] [blame] | 18 | default: go-build |
Mohamed Abukar | 2e78e42 | 2019-06-02 11:45:52 +0300 | [diff] [blame] | 19 | |
Juha Hyttinen | 6e075ce | 2019-11-06 08:42:34 +0200 | [diff] [blame] | 20 | build: go-build |
Mohamed Abukar | 2e78e42 | 2019-06-02 11:45:52 +0300 | [diff] [blame] | 21 | |
Juha Hyttinen | 6e075ce | 2019-11-06 08:42:34 +0200 | [diff] [blame] | 22 | test: go-test |
Mohamed Abukar | 2e78e42 | 2019-06-02 11:45:52 +0300 | [diff] [blame] | 23 | |
Juha Hyttinen | 6e075ce | 2019-11-06 08:42:34 +0200 | [diff] [blame] | 24 | #------------------------------------------------------------------------------ |
| 25 | # |
| 26 | # Build and test targets |
| 27 | # |
| 28 | #-------------------------------------------------------------------- ---------- |
| 29 | ROOT_DIR:=$(dir $(abspath $(lastword $(MAKEFILE_LIST)))) |
| 30 | CACHE_DIR:=$(abspath $(ROOT_DIR)/cache) |
Mohamed Abukar | 2e78e42 | 2019-06-02 11:45:52 +0300 | [diff] [blame] | 31 | |
Mohamed Abukar | 2e78e42 | 2019-06-02 11:45:52 +0300 | [diff] [blame] | 32 | |
Juha Hyttinen | 6e075ce | 2019-11-06 08:42:34 +0200 | [diff] [blame] | 33 | XAPP_NAME:=xapp |
| 34 | XAPP_ROOT:=test |
Mohamed Abukar | b8b191f | 2020-11-07 11:22:56 +0200 | [diff] [blame] | 35 | XAPP_TESTENV:="RMR_SEED_RT=config/uta_rtg.rt CFG_FILE=$(ROOT_DIR)config/config-file.json" |
Juha Hyttinen | 6e075ce | 2019-11-06 08:42:34 +0200 | [diff] [blame] | 36 | include build/make.go.mk |
Mohamed Abukar | 2e78e42 | 2019-06-02 11:45:52 +0300 | [diff] [blame] | 37 | |
Juha Hyttinen | 6e075ce | 2019-11-06 08:42:34 +0200 | [diff] [blame] | 38 | XAPP_NAME:=xapp |
| 39 | XAPP_ROOT:=pkg |
Mohamed Abukar | b8b191f | 2020-11-07 11:22:56 +0200 | [diff] [blame] | 40 | XAPP_TESTENV:="RMR_SEED_RT=config/uta_rtg.rt CFG_FILE=$(ROOT_DIR)config/config-file.json" |
Juha Hyttinen | 6e075ce | 2019-11-06 08:42:34 +0200 | [diff] [blame] | 41 | include build/make.go.mk |