#!/usr/bin/python
Import ('env')

sources = env.Glob('*.c')

for source in env.Glob('*_api.c'):
    sources.remove(source)

incs = '../include ../../blenlib ../../blenfont ../../blenkernel ../../makesdna ../../imbuf'
incs += ' ../../makesrna ../../windowmanager #/intern/guardedalloc ../../gpu'
incs += ' #/extern/glew/include ../../blenloader'
incs += ' ../../python/' # python button eval

defs = []

if env['WITH_BF_INTERNATIONAL']:
    defs.append('INTERNATIONAL')

if env['WITH_BF_PYTHON']:
    defs.append('WITH_PYTHON')
    
env.BlenderLib ( 'bf_editors_interface', sources, Split(incs), defs, libtype=['core'], priority=[110] )
