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.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@842346 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion