def get_g77_abi_wrappers(info):
 wrapper_sources = []
 path = os.path.abspath(os.path.dirname(__file__))
 if needs_g77_abi_wrapper(info):
  wrapper_sources += [os.path.join(path, 'src', 'wrap_g77_abi_f.f'), os.path.join(path, 'src', 'wrap_g77_abi_c.c')]
  if uses_accelerate(info):
   wrapper_sources += [os.path.join(path, 'src', 'wrap_accelerate_c.c'), os.path.join(path, 'src', 'wrap_accelerate_f.f')]
  elif uses_mkl(info):
   wrapper_sources += [os.path.join(path, 'src', 'wrap_dummy_accelerate.f')]
  else:
   raise NotImplementedError(('Do not know how to handle LAPACK %s on mac os x' % (info,)))
 else:
  wrapper_sources += [os.path.join(path, 'src', 'wrap_dummy_g77_abi.f'), os.path.join(path, 'src', 'wrap_dummy_accelerate.f')]
 return wrapper_sources

def get_g77_abi_wrappers ( info ) : wrapper_sources = [ ] path = os . path . abspath ( os . path . dirname ( __file__ ) ) if needs_g77_abi_wrapper ( info ) : wrapper_sources += [ os . path . join ( path , 'src' , 'wrap_g77_abi_f.f' ) , os . path . join ( path , 'src' , 'wrap_g77_abi_c.c' ) ] if uses_accelerate ( info ) : wrapper_sources += [ os . path . join ( path , 'src' , 'wrap_accelerate_c.c' ) , os . path . join ( path , 'src' , 'wrap_accelerate_f.f' ) ] elif uses_mkl ( info ) : wrapper_sources += [ os . path . join ( path , 'src' , 'wrap_dummy_accelerate.f' ) ] else : raise NotImplementedError ( ( 'Do not know how to handle LAPACK %s on mac os x' % ( info , ) ) ) else : wrapper_sources += [ os . path . join ( path , 'src' , 'wrap_dummy_g77_abi.f' ) , os . path . join ( path , 'src' , 'wrap_dummy_accelerate.f' ) ] return wrapper_sources
returns file names of source files containing fortran abi wrapper routines .