use bsd.[lib|prog|subdir].mk with WARNS=6 and fix all warnings