Improve osreldate.h/vers.c/version generation

Put newvers.sh generation logic into mk-osreldate.sh
This will allow someone to change include/Makefile without
having to regenerate osreldate.h. This bit is for misc/160646

Also, fix the awesome implicit dependency with vers.c and version
that resulted in both of the beforementioned files not being
regenerated in the event that newvers.sh was modified.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
More bmake set -e fixes

For conf/179111

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Catch errors when trying to link files

More fixes for conf/179111

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Quote LOCAL_MTREE so it gets passed between make invocations properly

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Fix broken link checking

This fixes commit fa429a6733009a89d719c52e96cc5ef603371199

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Fix includes installs similar to fix done to bsd.links.mk

For conf/179111

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Merge branch 'master' of github.com:yaneurabeya/freebsd