Friction depends partly on the smoothness of the contacting surfaces, a greater force being needed to move two surfaces past one another if they are rough than if they are smooth.
Therefore, friction depends on the smoothness or roughness of the two surfaces which are in contact.