2007-12-29 18:05:24 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
|
Import ('env')
|
|
|
|
|
|
2008-01-08 05:57:27 +00:00
|
|
|
sources = env.Glob('*.c')
|
2007-12-29 18:05:24 +00:00
|
|
|
|
2009-05-05 23:25:12 +00:00
|
|
|
incs = '../include ../../blenlib ../../blenkernel ../../blenfont ../../makesdna ../../imbuf'
|
2010-06-05 23:27:49 +00:00
|
|
|
incs += ' ../../blenloader ../../windowmanager ../../makesrna ../../gpu'
|
2009-02-04 17:40:50 +00:00
|
|
|
incs += ' ../../render/extern/include'
|
2009-05-05 23:10:32 +00:00
|
|
|
incs += ' #/intern/guardedalloc #/extern/glew/include'
|
2008-01-08 05:57:27 +00:00
|
|
|
|
2008-11-24 21:57:58 +00:00
|
|
|
defs = ''
|
|
|
|
|
|
2011-08-21 13:31:46 +00:00
|
|
|
if env['OURPLATFORM'] == 'linux':
|
2010-08-29 20:52:05 +00:00
|
|
|
cflags='-pthread'
|
2010-08-29 21:38:59 +00:00
|
|
|
incs += ' ../../../extern/binreloc/include'
|
2009-10-01 16:32:33 +00:00
|
|
|
|
|
|
|
|
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
|
2010-08-29 20:52:05 +00:00
|
|
|
incs += ' ' + env['BF_PTHREADS_INC']
|
2009-10-01 16:32:33 +00:00
|
|
|
|
2008-12-23 21:20:34 +00:00
|
|
|
env.BlenderLib ( 'bf_editors_screen', sources, Split(incs), Split(defs), libtype=['core'], priority=[105] )
|