2004-05-16 13:07:20 +00:00
|
|
|
#!/usr/bin/python
|
2006-02-04 14:15:10 +00:00
|
|
|
Import ('env')
|
2004-02-29 21:40:48 +00:00
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
sources = env.Glob('intern/*.c')
|
2004-01-04 21:11:59 +00:00
|
|
|
|
2011-02-21 12:35:04 +00:00
|
|
|
incs = '. .. #/intern/guardedalloc ../blenlib ../imbuf ../makesdna ../blenloader'
|
2004-01-04 21:11:59 +00:00
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
defs = []
|
2004-01-04 21:11:59 +00:00
|
|
|
|
2008-10-22 11:28:10 +00:00
|
|
|
if env['WITH_BF_QUICKTIME']:
|
2010-08-29 20:52:05 +00:00
|
|
|
defs.append('WITH_QUICKTIME')
|
|
|
|
|
incs += ' ' + env['BF_QUICKTIME_INC']
|
2006-02-04 14:15:10 +00:00
|
|
|
|
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'
|
|
|
|
|
|
|
|
|
|
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
|
|
|
|
|
incs += ' ' + env['BF_PTHREADS_INC']
|
|
|
|
|
|
2009-09-04 10:40:41 +00:00
|
|
|
env.BlenderLib ( libname = 'bf_blenpluginapi', sources = sources, includes = Split(incs), defines = defs, libtype=['core'], priority = [170] )
|