drop CPPFLAGS and use waf-DEFINES. implement build_dual_use_lib.


git-svn-id: svn+ssh://svn.cern.ch/reps/atlasoff/AtlasPolicy/trunk@535665 4525493e-7705-40b1-a816-d608a930855b