- add many missing shared-library dependencies
- remove many unnecessary shared-library dependencies
- add many missing files to the Mesa source list
- fix the ordering of the SUBDIR list in the top level
to match the actual inter-library dependencies