Dynamic approach to the thermodynamics of superdiffusion