Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Factor out all the .SHELL parsing related stuff into its own file andrename the function to be consistent with the naming scheme in the restof make. No functional changes.Obtained from: DragonFlyBSD (idea and most of shell.h)