Auger lineshape analysis of molecules and solids