home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilsm / netpbmsca / libtiff / Makefile next >
Encoding:
Makefile  |  1994-02-21  |  2.4 KB  |  114 lines

  1. #    $Header: /usr/people/sam/tiff/libtiff/RCS/Makefile.gcc,v 1.4 93/04/18 18:05:19 sam Exp $
  2. #
  3. # Tag Image File Format Library
  4. #
  5. # Copyright (c) 1988, 1989, 1990, 1991, 1992 Sam Leffler
  6. # Copyright (c) 1991, 1992 Silicon Graphics, Inc.
  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. # 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. # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
  18. # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
  19. # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  20. # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
  21. # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
  22. # OF THIS SOFTWARE.
  23. #
  24. # This Makefile is for use with gcc (2.2.2 or later)
  25. #
  26. DESTDIR=@
  27. #
  28. NULL=
  29.  
  30. IPATH=    -I. -Iunix:
  31. CONF_LIBRARY=\
  32.     $(NULL)
  33. CC=    gcc
  34. COPTS= -O2 -DARCH 
  35. CFLAGS=    $(COPTS) $(IPATH) $(CONF_LIBRARY)
  36. #
  37. INCS=    h.tiff h.tiffio
  38. SRCS=    c.fax3 \
  39.     c.fax4 \
  40.     c.aux \
  41.     c.ccittrle \
  42.     c.close \
  43.     c.compress \
  44.     c.dir \
  45.     c.dirinfo \
  46.     c.dirread \
  47.     c.dirwrite \
  48.     c.dumpmode \
  49.     c.error \
  50.     c.getimage \
  51.     c.jpeg \
  52.     c.flush \
  53.     c.lzw \
  54.     c.next \
  55.     c.open \
  56.     c.packbits \
  57.     c.print \
  58.     c.read \
  59.     c.swab \
  60.     c.strip \
  61.     c.thunder \
  62.     c.tile \
  63.     c.unix \
  64.     c.version \
  65.     c.warning \
  66.     c.write \
  67.     $(NULL)
  68. OBJS=    o.fax3 \
  69.     o.fax4 \
  70.     o.aux \
  71.     o.ccittrle \
  72.     o.close \
  73.     o.compress \
  74.     o.dir \
  75.     o.dirinfo \
  76.     o.dirread \
  77.     o.dirwrite \
  78.     o.dumpmode \
  79.     o.error \
  80.     o.getimage \
  81.     o.jpeg \
  82.     o.flush \
  83.     o.lzw \
  84.     o.next \
  85.     o.open \
  86.     o.packbits \
  87.     o.print \
  88.     o.read \
  89.     o.strip \
  90.     o.swab \
  91.     o.thunder \
  92.     o.tile \
  93.     o.unix \
  94.     o.version \
  95.     o.warning \
  96.     o.write \
  97.     $(NULL)
  98. ALL=    libtiff
  99.  
  100. all:     $(ALL)
  101.  
  102. $(ALL):    $(OBJS)
  103.     libfile -co libtiff o.*
  104.  
  105. $(OBJS): h.tiffio h.tiff h.tiffcomp h.tiffiop h.tiffconf
  106. o.fax3: c.fax3 h.g3states h.t4 h.fax3
  107.  
  108. h.g3states: c.mkg3states h.t4
  109.     $(CC) -o mkg3states $(CFLAGS) c.mkg3states
  110.     mkg3states -c > h.g3states
  111.