Added make lint support, make test non-functional.

VOL-4863

Makefile
========
   o Initial cleanup and pre work for VOL-4863.
   o Add makefile logic to support yaml syntax checking.
   o Cleanup and document makefile, make test not working.
   o Use make builtin $(RM) for file removal.
   o Added/updated copyright notices.
   o Note: makefile duplication across repos will be refactored
     into a standalone repo at some point.

Change-Id: I7941dc51d6b19a479f1bf6c4241943687ef22797
diff --git a/Makefile b/Makefile
index 7386da3..237898b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+# -*- makefile -*-
+# -----------------------------------------------------------------------
 # Copyright 2021-2022 Open Networking Foundation (ONF) and the ONF Contributors
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -11,10 +13,30 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+# -----------------------------------------------------------------------
 
-branch=`awk -F\= '/branch=/ {print $2}' .gitreview`
+.DEFAULT_GOAL := help
 
-help: # @HELP Print the command options
+##-------------------##
+##---]  GLOBALS  [---##
+##-------------------##
+dot         ?= .
+TOP         ?= $(dot)
+MAKEDIR     ?= $(TOP)/makefiles
+
+##--------------------##
+##---]  INCLUDES  [---##
+##--------------------##
+include $(MAKEDIR)/include.mk
+
+branch=`cat .gitreview | grep branch | cut -d '=' -f2`
+
+help:: # @HELP Print the command options
+	@echo "  test                          Sanity check chart versions"
+	@echo
+	@echo "[CHECK: release]"
+	@echo "  helm-repo-tools               Repository clone target"
+	@echo "  tagcollisionreject.sh         404 - raw.github source MIA"
 	@echo
 	@echo "\033[0;31m    VOLTHA HELM CHARTS \033[0m"
 	@echo
@@ -25,6 +47,18 @@
         {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}; \
     '
 
+# -----------------------------------------------------------------------
+# curl: 404: Not Found
+#   https://raw.githubusercontent.com
+# -----------------------------------------------------------------------
+# github no longer supports usercontent retrieval, svc was used as a CDN.
+# 3 distinct versions of tcr.sh are used by jenkins jobs.
+# -----------------------------------------------------------------------
+# Short term answer:
+#   o Find something usable for interactive use.
+# Long term answer:
+#   o Refactor tcr.sh x [n] and support consistent functionality with a single script.
+# -----------------------------------------------------------------------
 tagcollisionreject.sh:
 	@curl -o tagcollisionreject.tmp.sh https://raw.githubusercontent.com/opencord/ci-management/master/jjb/shell/tagcollisionreject.sh
 	@echo 6dc8352d47f415e003dbddc30ede194ca304907d25f1c2a384f928083194860f tagcollisionreject.tmp.sh | sha256sum --check
@@ -42,3 +76,5 @@
 clean: # @HELP Removes all files downloaded to run the tests
 	$(RM) -r helm-repo-tools
 	$(RM) tagcollisionreject.*
+
+# [EOF]