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. if env['suncc']:
  8.         print 'warning: not building svga'
  9.         Return()
  10.  
  11. if env['gcc'] or env['clang']:
  12.         env.Append(CPPDEFINES = [
  13.                 'HAVE_STDINT_H',
  14.                 'HAVE_SYS_TYPES_H',
  15.         ])
  16.        
  17. env.Prepend(CPPPATH = [
  18.         'include',
  19. ])
  20.  
  21. env.Append(CPPDEFINES = [
  22. ])
  23.  
  24. sources = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
  25.  
  26. svga = env.ConvenienceLibrary(
  27.         target = 'svga',
  28.         source = sources,
  29. )
  30.  
  31. env.Alias('svga', svga)
  32.  
  33. Export('svga')
  34.