Mercurial > fife-parpg
comparison build/freebsd6-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 | ea04dfe54aae |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4a0efb7baf70 |
---|---|
1 # Needed pkg-config additions: | |
2 # SDL_ttf & SDL_image | |
3 # guichan, guichan_opengl & guichan_sdl | |
4 # boost_filesystem & boost_regex | |
5 # vorbisfile | |
6 # openal | |
7 | |
8 def initEnvironment(env): | |
9 return env | |
10 | |
11 def addExtras(context): | |
12 context.env.Append(CPPPATH = ['/usr/local/include/vorbis']) | |
13 context.checkSimpleLib(['vorbisfile'], 'vorbisfile.h') | |
14 context.checkSimpleLib(['openal'], 'AL/al.h') | |
15 | |
16 context.checkSimpleLib(['sdl11', 'sdl12', 'sdl'], 'SDL.h') | |
17 context.checkSimpleLib(['SDL_ttf'], 'SDL_ttf.h') | |
18 context.checkSimpleLib(['SDL_image'], 'SDL_image.h') | |
19 context.checkSimpleLib(['guichan']) | |
20 context.checkSimpleLib(['guichan_sdl']) | |
21 context.checkSimpleLib(['boost_filesystem']) | |
22 context.checkSimpleLib(['boost_regex']) | |
23 | |
24 if context.env['opengl']: | |
25 context.env.Append(LIBS = ['GL', 'GLU']) | |
26 context.env.Append(CPPPATH = ['/usr/local/include']) | |
27 context.env.Append(LIBPATH = ['/usr/local/lib']) | |
28 context.checkSimpleLib(['guichan_opengl']) | |
29 | |
30 # For swig/python: | |
31 context.env.Append(CPPPATH = ['/usr/local/include/python2.5']) |