#!/usr/bin/python

Import('env')

SConscript(['glew/SConscript'])

if env['WITH_BF_BULLET']:
    SConscript(['bullet2/src/SConscript'])

if env['WITH_BF_OPENJPEG'] and env['BF_OPENJPEG_LIB'] == '':
    SConscript(['libopenjpeg/SConscript'])

if env['WITH_BF_REDCODE'] and env['BF_REDCODE_LIB'] == '':
    SConscript(['libredcode/SConscript'])

if env['OURPLATFORM'] == 'linux2':
    SConscript(['binreloc/SConscript']);

if env['WITH_BF_LZO']:
    SConscript(['lzo/SConscript'])

if env['WITH_BF_LZMA']:
    SConscript(['lzma/SConscript'])
