blob: 6d01540486fc0ebc8d201e61e365292896adc232 [file] [log] [blame]
Mohamed Abukar2e78e422019-06-02 11:45:52 +03001# 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 Hyttinen6e075ce2019-11-06 08:42:34 +020016.DEFAULT: go-build
Mohamed Abukar2e78e422019-06-02 11:45:52 +030017
Juha Hyttinen6e075ce2019-11-06 08:42:34 +020018default: go-build
Mohamed Abukar2e78e422019-06-02 11:45:52 +030019
Juha Hyttinen6e075ce2019-11-06 08:42:34 +020020build: go-build
Mohamed Abukar2e78e422019-06-02 11:45:52 +030021
Juha Hyttinen6e075ce2019-11-06 08:42:34 +020022test: go-test
Mohamed Abukar2e78e422019-06-02 11:45:52 +030023
Juha Hyttinen6e075ce2019-11-06 08:42:34 +020024#------------------------------------------------------------------------------
25#
26# Build and test targets
27#
28#-------------------------------------------------------------------- ----------
29ROOT_DIR:=$(dir $(abspath $(lastword $(MAKEFILE_LIST))))
30CACHE_DIR:=$(abspath $(ROOT_DIR)/cache)
Mohamed Abukar2e78e422019-06-02 11:45:52 +030031
Mohamed Abukar2e78e422019-06-02 11:45:52 +030032
Juha Hyttinen6e075ce2019-11-06 08:42:34 +020033XAPP_NAME:=xapp
34XAPP_ROOT:=test
Mohamed Abukarb8b191f2020-11-07 11:22:56 +020035XAPP_TESTENV:="RMR_SEED_RT=config/uta_rtg.rt CFG_FILE=$(ROOT_DIR)config/config-file.json"
Juha Hyttinen6e075ce2019-11-06 08:42:34 +020036include build/make.go.mk
Mohamed Abukar2e78e422019-06-02 11:45:52 +030037
Juha Hyttinen6e075ce2019-11-06 08:42:34 +020038XAPP_NAME:=xapp
39XAPP_ROOT:=pkg
Mohamed Abukarb8b191f2020-11-07 11:22:56 +020040XAPP_TESTENV:="RMR_SEED_RT=config/uta_rtg.rt CFG_FILE=$(ROOT_DIR)config/config-file.json"
Juha Hyttinen6e075ce2019-11-06 08:42:34 +020041include build/make.go.mk