The work done against friction is the work done on an object that overcomes this frictional force allowing the object to move - it doesn't include any extra work used to accelerate an object for example - only the work used to beat the frictional force.