Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. Import('*')
  2.  
  3. env = env.Clone()
  4.  
  5. env.MSVC2013Compat()
  6.  
  7. env.Prepend(CPPPATH = [
  8.     '#include'
  9. ])
  10.  
  11. env.Append(CPPDEFINES = ['__NOT_HAVE_DRM_H'])
  12.  
  13. if env['udev']:
  14.     env.PkgUseModules('UDEV')
  15.     env.Append(CPPDEFINES = ['HAVE_LIBUDEV'])
  16.  
  17. # parse Makefile.sources
  18. sources = env.ParseSourceList('Makefile.sources', 'LOADER_C_FILES')
  19.  
  20. libloader = env.ConvenienceLibrary(
  21.     target = 'libloader',
  22.     source = sources,
  23. )
  24.  
  25. env.Alias('libloader', libloader)
  26. Export('libloader')
  27.