move off everything which can be done by both BSD and GNU make into vars.mk and shuffle rules.mk appropriately
git-svn-id: svn://www.freewrt.org/trunk/freewrt@343 afb5a338-a214-0410-bd46-81f09a774fd1