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/makefiles/lint/include.mk b/makefiles/lint/include.mk
new file mode 100644
index 0000000..38a7a50
--- /dev/null
+++ b/makefiles/lint/include.mk
@@ -0,0 +1,12 @@
+# -*- makefile -*-
+# -----------------------------------------------------------------------
+# Copyright 2022 Open Networking Foundation (ONF) and the ONF Contributors
+# -----------------------------------------------------------------------
+
+ifdef YAML_FILES
+ include $(MAKEDIR)/lint/yaml/python.mk
+else
+ include $(MAKEDIR)/lint/yaml/yamllint.mk
+endif
+
+# [EOF]