Compile sdl-image for png & xpm only and sdl-mixer from ogg only?

sorry for being a slacker but can someone remind me what i need to use for
compile options so i compile sdl-image for png & xpm only and sdl-mixer for
ogg only?