blob: cb6a7cc957fbf6f09650c0f8c4ecbf5be1b939f4
1 | # $Id: SConstruct,v 1.4 2007/02/24 15:03:50 dron Exp $ |
2 | |
3 | # Tag Image File Format (TIFF) Software |
4 | # |
5 | # Copyright (C) 2005, Andrey Kiselev <dron@ak4719.spb.edu> |
6 | # |
7 | # Permission to use, copy, modify, distribute, and sell this software and |
8 | # its documentation for any purpose is hereby granted without fee, provided |
9 | # that (i) the above copyright notices and this permission notice appear in |
10 | # all copies of the software and related documentation, and (ii) the names of |
11 | # Sam Leffler and Silicon Graphics may not be used in any advertising or |
12 | # publicity relating to the software without the specific, prior written |
13 | # permission of Sam Leffler and Silicon Graphics. |
14 | # |
15 | # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, |
16 | # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY |
17 | # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. |
18 | # |
19 | # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR |
20 | # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, |
21 | # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, |
22 | # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF |
23 | # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE |
24 | # OF THIS SOFTWARE. |
25 | |
26 | # This file contains rules to build software with the SCons tool |
27 | # (see the http://www.scons.org/ for details on SCons). |
28 | |
29 | # Import globally defined options |
30 | Import([ 'env', 'idir_lib' ]) |
31 | |
32 | SRCS = [ \ |
33 | 'tif_aux.c', \ |
34 | 'tif_close.c', \ |
35 | 'tif_codec.c', \ |
36 | 'tif_color.c', \ |
37 | 'tif_compress.c', \ |
38 | 'tif_dir.c', \ |
39 | 'tif_dirinfo.c', \ |
40 | 'tif_dirread.c', \ |
41 | 'tif_dirwrite.c', \ |
42 | 'tif_dumpmode.c', \ |
43 | 'tif_error.c', \ |
44 | 'tif_extension.c', \ |
45 | 'tif_fax3.c', \ |
46 | 'tif_fax3sm.c', \ |
47 | 'tif_flush.c', \ |
48 | 'tif_getimage.c', \ |
49 | 'tif_jbig.c', \ |
50 | 'tif_jpeg.c', \ |
51 | 'tif_luv.c', \ |
52 | 'tif_lzw.c', \ |
53 | 'tif_next.c', \ |
54 | 'tif_ojpeg.c', \ |
55 | 'tif_open.c', \ |
56 | 'tif_packbits.c', \ |
57 | 'tif_pixarlog.c', \ |
58 | 'tif_predict.c', \ |
59 | 'tif_print.c', \ |
60 | 'tif_read.c', \ |
61 | 'tif_strip.c', \ |
62 | 'tif_swab.c', \ |
63 | 'tif_thunder.c', \ |
64 | 'tif_tile.c', \ |
65 | 'tif_unix.c', \ |
66 | 'tif_version.c', \ |
67 | 'tif_warning.c', \ |
68 | 'tif_write.c', \ |
69 | 'tif_zip.c' ] |
70 | |
71 | StaticLibrary('tiff', SRCS) |
72 | SharedLibrary('tiff', SRCS) |
73 | |
74 |