blob: edd002f3d819f7a81362b370c121cc6b0a38e2db [file] [log] [blame]
Joey Armstrong9fc4fa82022-12-19 18:38:40 -05001# -*- makefile -*-
2# -----------------------------------------------------------------------
Joey Armstrong903c69d2024-02-01 19:46:39 -05003# Copyright 2017-2024 Open Networking Foundation (ONF) and the ONF Contributors
Joey Armstrong9fc4fa82022-12-19 18:38:40 -05004#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#
Joey Armstrong903c69d2024-02-01 19:46:39 -050017# SPDX-FileCopyrightText: 2024 Open Networking Foundation (ONF) and the ONF Contributors
Joey Armstrong9fc4fa82022-12-19 18:38:40 -050018# SPDX-License-Identifier: Apache-2.0
19# -----------------------------------------------------------------------
20
21$(if $(DEBUG),$(warning ENTER))
22
Joey Armstrong903c69d2024-02-01 19:46:39 -050023MAKEDIR ?= $(error MAKEDIR= is required)
24ONF_MAKEDIR ?= $(MAKEDIR)
Joey Armstrong9fc4fa82022-12-19 18:38:40 -050025
Joey Armstrong498c8c72024-05-01 18:11:48 -040026# Helpers -- eventually defined in lf/transition.mk
27onf-mk-dir := $(MAKEDIR)
28sandbox-root ?= $(TOP)
29
Joey Armstrong9fc4fa82022-12-19 18:38:40 -050030## -----------------------------------------------------------------------
31## -----------------------------------------------------------------------
32help::
33 @echo "USAGE: $(MAKE) [options] [target] ..."
34 # @echo " test Sanity check chart versions"
35
36include $(MAKEDIR)/consts.mk
Joey Armstrong903c69d2024-02-01 19:46:39 -050037include $(ONF_MAKEDIR)/utils/include.mk # dependency-less helper macros
38include $(ONF_MAKEDIR)/etc/include.mk # banner macros
Joey Armstrong498c8c72024-05-01 18:11:48 -040039include $(ONF_MAKEDIR)/virtualenv/include.mk# # python, lint, JJB dependency
Joey Armstrong9fc4fa82022-12-19 18:38:40 -050040include $(MAKEDIR)/todo.mk
41include $(MAKEDIR)/lint/include.mk
42
Joey Armstrong498c8c72024-05-01 18:11:48 -040043include $(MAKEDIR)/commands/pre-commit/include.mk
44
Joey Armstrong9fc4fa82022-12-19 18:38:40 -050045$(if $(DEBUG),$(warning LEAVE))
46
47# [EOF]