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 = 'creator.c'
|
2004-02-24 20:03:27 +00:00
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
incs = '#/intern/guardedalloc ../blender/blenlib ../blender/blenkernel'
|
|
|
|
incs += ' ../blender/include ../blender/blenloader ../blender/imbuf'
|
|
|
|
incs += ' ../blender/renderconverter ../blender/render/extern/include'
|
|
|
|
incs += ' ../blender/python ../blender/makesdna ../kernel/gen_messaging'
|
|
|
|
incs += ' ../kernel/gen_system'
|
|
|
|
incs += ' ' + env['BF_OPENGL_INC']
|
2004-02-24 20:03:27 +00:00
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
defs = []
|
|
|
|
if env['WITH_BF_QUICKTIME']==1:
|
|
|
|
incs += ' ' + env['BF_QUICKTIME_INC']
|
|
|
|
defs.append('WITH_QUICKTIME')
|
2004-02-24 20:03:27 +00:00
|
|
|
|
2008-01-18 21:39:47 +00:00
|
|
|
if env['WITH_BF_BINRELOC']==1:
|
|
|
|
incs += ' ../../extern/binreloc/include'
|
|
|
|
defs.append('WITH_BINRELOC')
|
2008-01-18 15:10:17 +00:00
|
|
|
|
2008-03-28 14:55:49 +00:00
|
|
|
if env['WITH_BF_OPENEXR']==1:
|
|
|
|
defs.append('WITH_OPENEXR')
|
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
env.BlenderLib ( libname = 'blender_creator', sources = Split(sources), includes = Split(incs), defines = defs, libtype='core', priority = 1 )
|