SConstruct 1.2 KB

123456789101112131415161718192021222324252627282930
  1. # -*- python -*-
  2. # Set to False to use local ClanLib instead of global one
  3. if True:
  4. clanLib_env = Environment(LIBPATH=[])
  5. clanLib_env.ParseConfig("pkg-config --cflags --libs " +
  6. "clanCore-1.0 clanDisplay-1.0 clanGL-1.0 clanSignals-1.0 clanGUI-1.0 clanGUIStyleSilver-1.0")
  7. else:
  8. # FIXME: replace the X11 stuff with a proper X11 configure check and
  9. # make them somehow part of the clanlib libraries themself
  10. clanLib_env = Environment(CPPPATH=['../external/clanlib/'],
  11. LIBPATH=['/usr/X11R6/lib/',
  12. '../external/clanlib/'],
  13. LIBS=['clanGUIStyleSilver',
  14. 'clanGUI',
  15. 'clanGL',
  16. 'clanDisplay',
  17. 'clanSignals',
  18. 'clanCore',
  19. 'X11', 'Xmu', 'GL', 'GLU', 'png', 'jpeg', 'Xxf86vm', 'Xi'])
  20. Export('clanLib_env')
  21. # SConscript(['external/clanlib/SConstruct'])
  22. SConscript(['lib/SConscript'])
  23. SConscript(['ruby/SConscript'])
  24. SConscript(['netpanzer/SConscript'])
  25. # EOF #