2004-05-16 13:07:20 +00:00
|
|
|
#!/usr/bin/python
|
2004-01-04 21:11:59 +00:00
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
Import ('env')
|
2004-01-04 21:11:59 +00:00
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
sources = env.Glob('dummy/*.cpp') + env.Glob('intern/*.cpp')
|
2004-01-04 21:11:59 +00:00
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
incs = '. intern ../moto/include ../string dummy openal sdl'
|
|
|
|
defs = ''
|
|
|
|
if env['WITH_BF_OPENAL'] == 1:
|
|
|
|
sources += env.Glob('openal/*.cpp') + env.Glob('sdl/*.cpp')
|
|
|
|
incs += ' ' + env['BF_OPENAL_INC']
|
|
|
|
incs += ' ' + env['BF_SDL_INC']
|
2004-01-04 21:11:59 +00:00
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
if env['WITH_BF_OPENAL'] == 0:
|
|
|
|
defs = 'NO_SOUND'
|
2004-01-04 21:11:59 +00:00
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
env.BlenderLib ('blender_sndsys', sources, Split(incs), Split(defs), libtype=['core','player2'], priority = [20,10] )
|