8413 Missing build dependencies when generating message catalogs

Review Request #593 — Created June 20, 2017 and submitted — Latest diff uploaded


Fixes a number of build issues that are easier to hit with earlier makefile fixes. Almost all of them are for generated files from things such as yacc or rpcgen that are then included in .c files. When producing message catalogs the make target will eventually run $(CC) -E file.c which can fail if the generated file hasn't been built yet. The only one that's a bit different is the usr/src/cmd/sgs/Makefile as it builds some 'native' binaries for subsequent use (though also for message catalogs), but can try to use those native tools in parallel with building them.

Built illumos-joyent (after getting it to fail on these dependencies). illumos-gate build is successful.