'Convert a path to its output directory form.'

def Objectify(self, path):

    if ('$(' in path):
        path = path.replace('$(obj)/', ('$(obj).%s/$(TARGET)/' % self.toolset))
    if (not ('$(obj)' in path)):
        path = ('$(obj).%s/$(TARGET)/%s' % (self.toolset, path))
    return path
