Smooth-particle phase stability with generalized density-dependent potentials.