SCons updates
[blender.git] / source / blender / imbuf / SConscript
1 Import ('extra_includes')
2 Import ('user_options_dict')
3 Import ('library_env')
4
5 imbuf_env = library_env.Copy ()
6
7 source_files = ['intern/allocimbuf.c',
8                 'intern/amiga.c',
9                 'intern/anim.c',
10                 'intern/anim5.c',
11                 'intern/antialias.c',
12                 'intern/bitplanes.c',
13                 'intern/bmp.c',
14                 'intern/cmap.c',
15                 'intern/cspace.c',
16                 'intern/data.c',
17                 'intern/dither.c',
18                 'intern/divers.c',
19                 'intern/filter.c',
20                 'intern/ham.c',
21                 'intern/hamx.c',
22                 'intern/iff.c',
23                 'intern/imageprocess.c',
24                 'intern/iris.c',
25                 'intern/jpeg.c',
26                 'intern/png.c',
27                 'intern/readimage.c',
28                 'intern/rectop.c',
29                 'intern/rotate.c',
30                 'intern/scaling.c',
31                 'intern/targa.c',
32                 'intern/util.c',
33                 'intern/writeimage.c']
34
35 imbuf_env.Append (CPPPATH = ['.',
36                              '../makesdna',
37                              '#/intern/guardedalloc',
38                              '../blenlib',
39                              '../avi',
40                              '../quicktime',
41                              '../blenkernel'])
42
43 imbuf_env.Append (CPPPATH = user_options_dict['JPEG_INCLUDE'])
44 imbuf_env.Append (CPPPATH = user_options_dict['PNG_INCLUDE'])
45 imbuf_env.Append (CPPPATH = user_options_dict['Z_INCLUDE'])
46 imbuf_env.Append (CPPPATH = extra_includes)
47 imbuf_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_imbuf', source=source_files)