2008-12-23 19:47:33 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
|
Import ('env')
|
|
|
|
|
|
|
|
|
|
sources = env.Glob('*.c')
|
|
|
|
|
|
|
|
|
|
incs = '../include ../../blenlib ../../blenkernel ../../makesdna ../../imbuf'
|
|
|
|
|
incs += ' ../../windowmanager #/intern/guardedalloc'
|
2009-09-24 21:22:24 +00:00
|
|
|
incs += ' ../../makesrna ../../python ../../ikplugin'
|
2009-12-30 15:45:41 +00:00
|
|
|
incs += ' ../../render/extern/include ../../gpu' # for object_bake.c
|
2008-12-23 19:47:33 +00:00
|
|
|
|
2009-01-12 16:55:46 +00:00
|
|
|
defs = []
|
|
|
|
|
|
2009-12-30 19:55:41 +00:00
|
|
|
if env['OURPLATFORM'] == 'linux2':
|
|
|
|
|
cflags='-pthread'
|
|
|
|
|
incs += ' ../../../extern/binreloc/include'
|
|
|
|
|
|
|
|
|
|
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
|
|
|
|
|
incs += ' ' + env['BF_PTHREADS_INC']
|
|
|
|
|
|
2009-01-12 16:55:46 +00:00
|
|
|
if not env['WITH_BF_PYTHON']:
|
|
|
|
|
defs.append('DISABLE_PYTHON')
|
|
|
|
|
|
|
|
|
|
env.BlenderLib ( 'bf_editors_object', sources, Split(incs), defs, libtype=['core'], priority=[35] )
|