If files are located in a subdirectory of a target, then don't use 'basename' to compute the object. Just strip the path, leaving a relative path to the .lo file.
If files are located in a subdirectory of a target, then don't use
'basename' to compute the object. Just strip the path, leaving a
relative path to the .lo file.

* gen_base.py
  (_strip_path): new function to strip a given path from a set of
    files.
  (MakefileGenerator.write): use the new _strip_path function on the
    object files, rather than mapping os.path.basename over them.

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion