Cofnod E-bost: Mean field theory of inhomogeneous fluid mixtures