2009-01-05 15:19:31 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
|
Import ('env')
|
|
|
|
|
|
|
|
|
|
sources = env.Glob('*.c')
|
|
|
|
|
|
2011-06-15 08:28:56 +00:00
|
|
|
incs = '../include ../../blenfont ../../blenlib ../../blenkernel ../../makesdna ../../imbuf ../../blenloader'
|
2009-01-05 15:19:31 +00:00
|
|
|
incs += ' ../../windowmanager #/intern/guardedalloc #/extern/glew/include'
|
2010-03-11 18:21:17 +00:00
|
|
|
incs += ' ../../render/extern/include ../../bmesh'
|
2009-01-05 15:19:31 +00:00
|
|
|
incs += ' ../../gpu ../../makesrna #/intern/opennl/extern'
|
|
|
|
|
|
2012-03-17 12:07:58 +00:00
|
|
|
defs = []
|
|
|
|
|
|
2011-08-21 13:31:46 +00:00
|
|
|
if env['OURPLATFORM'] == 'linux':
|
2009-10-01 16:32:33 +00:00
|
|
|
cflags='-pthread'
|
|
|
|
|
incs += ' ../../../extern/binreloc/include'
|
|
|
|
|
|
2012-04-24 12:57:58 +00:00
|
|
|
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
|
2009-10-01 16:32:33 +00:00
|
|
|
incs += ' ' + env['BF_PTHREADS_INC']
|
|
|
|
|
|
2012-03-17 12:07:58 +00:00
|
|
|
if env['WITH_BF_INTERNATIONAL']:
|
|
|
|
|
defs.append('WITH_INTERNATIONAL')
|
|
|
|
|
|
|
|
|
|
env.BlenderLib ( 'bf_editors_armature', sources, Split(incs), defs, libtype=['core'], priority=[44] )
|