Most of the roster comes from the Subspace Emissary. Wolf, Snake, Pit and Mr. Game and Watch join as you push through the story, and Sonic is waiting at the very end.
Jigglypuff is the exception: complete Classic Mode with any character on any difficulty. Clear the whole roster and All Star Mode opens up.