Joey Armstrong | b085c50 | 2023-01-17 13:56:24 -0500 | [diff] [blame] | 1 | # -*- makefile -*- |
| 2 | # ----------------------------------------------------------------------- |
| 3 | # Copyright 2022-2023 Open Networking Foundation (ONF) and the ONF Contributors (ONF) and the ONF Contributors |
| 4 | # |
| 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 | # ----------------------------------------------------------------------- |
| 17 | |
| 18 | ## ----------------------------------------------------------------------- |
| 19 | ## ----------------------------------------------------------------------- |
| 20 | .PHONY: help |
| 21 | help :: |
| 22 | @echo "Usage: $(MAKE) [options] [target] ..." |
| 23 | @echo |
| 24 | @echo " build : Build the library" |
| 25 | @echo " mod-update : Update go.mod and the vendor directory" |
| 26 | @echo " test : Generate reports for all go tests" |
| 27 | @echo " local-protos : Local development target" |
| 28 | ifdef VERBOSE |
| 29 | @echo " LOCAL_PROTOS=" |
| 30 | endif |
| 31 | @echo |
| 32 | @echo "[CLEAN]" |
| 33 | @echo " clean : Remove files created by the build" |
| 34 | @echo " distclean : Remove build and testing artifacts and reports" |
| 35 | @echo |
| 36 | @echo "[LINT]" |
| 37 | @echo " lint : Shorthand for lint-style & lint-sanity" |
| 38 | @echo " lint-mod : Verify the integrity of the 'mod' files" |
| 39 | @echo " sca : " |
| 40 | |
| 41 | # [EOF] |