Added some .PHONYs and better dependency handling.
Using built-from-source buildbot.
Got rid of .sh magic suffix for shell, and instead using .shell. Now the built-in Makefile rules will not cause havoc with dirname.sh rules etc.