Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. Import('*')
  2.  
  3. env = env.Clone()
  4.  
  5. if env['suncc']:
  6.         print 'warning: not building svga'
  7.         Return()
  8.  
  9. if env['gcc'] or env['clang']:
  10.         env.Append(CPPDEFINES = [
  11.                 'HAVE_STDINT_H',
  12.                 'HAVE_SYS_TYPES_H',
  13.         ])
  14.        
  15. env.Prepend(CPPPATH = [
  16.         'include',
  17. ])
  18.  
  19. env.Append(CPPDEFINES = [
  20. ])
  21.  
  22. sources = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
  23.  
  24. svga = env.ConvenienceLibrary(
  25.         target = 'svga',
  26.         source = sources,
  27. )
  28.  
  29. env.Alias('svga', svga)
  30.  
  31. Export('svga')
  32.