SConstruct 2.1 KB

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