The code from the orange branch has now been copied into HEAD.
[blender.git] / source / blender / imbuf / SConscript
1 #!/usr/bin/python
2 Import ('extra_includes')
3 Import ('user_options_dict')
4 Import ('library_env')
5
6 imbuf_env = library_env.Copy ()
7
8 #if user_options_dict['USE_OPENEXR'] == 1:
9 #    SConscript (['intern/openexr/SConscript'])
10
11 source_files = ['intern/allocimbuf.c',
12                 'intern/amiga.c',
13                 'intern/anim.c',
14                 'intern/anim5.c',
15                 'intern/antialias.c',
16                 'intern/bitplanes.c',
17                 'intern/bmp.c',
18                 'intern/cmap.c',
19                 'intern/cspace.c',
20                 'intern/data.c',
21                 'intern/dither.c',
22                 'intern/divers.c',
23                 'intern/dynlibtiff.c',
24                 'intern/filter.c',
25                 'intern/ham.c',
26                 'intern/hamx.c',
27                 'intern/iff.c',
28                 'intern/imageprocess.c',
29                 'intern/iris.c',
30                 'intern/jpeg.c',
31                 'intern/png.c',
32                 'intern/radiance_hdr.c',
33                 'intern/readimage.c',
34                 'intern/rectop.c',
35                 'intern/rotate.c',
36                 'intern/scaling.c',
37                 'intern/targa.c',
38                 'intern/tiff.c',
39                 'intern/util.c',
40                 'intern/writeimage.c']
41
42 imbuf_env.Append (CPPPATH = ['.',
43                              '../imbuf',
44                              '../makesdna',
45                              '#/intern/guardedalloc',
46                              '../blenlib',
47                              '../avi',
48                              '../quicktime',
49                              '../blenkernel'])
50
51 imbuf_env.Append (CPPPATH = user_options_dict['JPEG_INCLUDE'])
52 imbuf_env.Append (CPPPATH = user_options_dict['PNG_INCLUDE'])
53 imbuf_env.Append (CPPPATH = user_options_dict['TIFF_INCLUDE'])
54 imbuf_env.Append (CPPPATH = user_options_dict['Z_INCLUDE'])
55 imbuf_env.Append (CPPPATH = extra_includes)
56 imbuf_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_imbuf', source=source_files)