Mercurial > fife-parpg
diff build/linux2-config-dist.py @ 0:4a0efb7baf70
* Datasets becomes the new trunk and retires after that :-)
author | mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 29 Jun 2008 18:44:17 +0000 |
parents | |
children | b49714fff478 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/linux2-config-dist.py Sun Jun 29 18:44:17 2008 +0000 @@ -0,0 +1,28 @@ +def initEnvironment(env): + return env + +def addExtras(context): + context.env.Append(LIBS = 'm') + context.env.Replace(LIBPATH = ['/opt/lib', '%s/ext/install/lib' % context.env['SCONS_ROOT_PATH']]) + context.env.Append(CPPPATH = ['/opt/include', + '/usr/include/vorbis', + '/usr/include/python2.5', + '%s/ext/install/include' % context.env['SCONS_ROOT_PATH']]) + context.env.Append(CPPPATH = []) + + context.checkSimpleLib(['vorbisfile'], 'vorbisfile.h') + context.checkSimpleLib(['openal_soft'], 'AL/al.h') + context.checkSimpleLib(['python', 'python2.5'], ['python2.5/Python.h']) + context.checkSimpleLib(['SDL'], 'SDL.h') + context.checkSimpleLib(['SDL_ttf'], 'SDL_ttf.h') + context.checkSimpleLib(['SDL_image'], 'SDL_image.h') + context.checkSimpleLib(['guichan']) + context.checkSimpleLib(['guichan_sdl']) + context.checkSimpleLib(['boost_filesystem', 'boost_filesystem-gcc', 'boost_filesystem-gcc41']) + context.checkSimpleLib(['boost_regex', 'boost_regex-gcc', 'boost_regex-gcc41']) + context.checkSimpleLib(['png'], 'png.h'); + + if context.env['opengl']: + context.env.Append(LIBS = ['GL', 'GLU']) + context.env.Append(LIBPATH = ['/usr/X11R6/lib']) + context.checkSimpleLib(['guichan_opengl'])