home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-02-21 | 2.4 KB | 114 lines |
- # $Header: /usr/people/sam/tiff/libtiff/RCS/Makefile.gcc,v 1.4 93/04/18 18:05:19 sam Exp $
- #
- # Tag Image File Format Library
- #
- # Copyright (c) 1988, 1989, 1990, 1991, 1992 Sam Leffler
- # Copyright (c) 1991, 1992 Silicon Graphics, Inc.
- #
- # Permission to use, copy, modify, distribute, and sell this software and
- # its documentation for any purpose is hereby granted without fee, provided
- # that (i) the above copyright notices and this permission notice appear in
- # all copies of the software and related documentation, and (ii) the names of
- # Sam Leffler and Silicon Graphics may not be used in any advertising or
- # publicity relating to the software without the specific, prior written
- # permission of Sam Leffler and Silicon Graphics.
- #
- # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
- # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
- # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
- #
- # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
- # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
- # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
- # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
- # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
- # OF THIS SOFTWARE.
- #
- # This Makefile is for use with gcc (2.2.2 or later)
- #
- DESTDIR=@
- #
- NULL=
-
- IPATH= -I. -Iunix:
- CONF_LIBRARY=\
- $(NULL)
- CC= gcc
- COPTS= -O2 -DARCH
- CFLAGS= $(COPTS) $(IPATH) $(CONF_LIBRARY)
- #
- INCS= h.tiff h.tiffio
- SRCS= c.fax3 \
- c.fax4 \
- c.aux \
- c.ccittrle \
- c.close \
- c.compress \
- c.dir \
- c.dirinfo \
- c.dirread \
- c.dirwrite \
- c.dumpmode \
- c.error \
- c.getimage \
- c.jpeg \
- c.flush \
- c.lzw \
- c.next \
- c.open \
- c.packbits \
- c.print \
- c.read \
- c.swab \
- c.strip \
- c.thunder \
- c.tile \
- c.unix \
- c.version \
- c.warning \
- c.write \
- $(NULL)
- OBJS= o.fax3 \
- o.fax4 \
- o.aux \
- o.ccittrle \
- o.close \
- o.compress \
- o.dir \
- o.dirinfo \
- o.dirread \
- o.dirwrite \
- o.dumpmode \
- o.error \
- o.getimage \
- o.jpeg \
- o.flush \
- o.lzw \
- o.next \
- o.open \
- o.packbits \
- o.print \
- o.read \
- o.strip \
- o.swab \
- o.thunder \
- o.tile \
- o.unix \
- o.version \
- o.warning \
- o.write \
- $(NULL)
- ALL= libtiff
-
- all: $(ALL)
-
- $(ALL): $(OBJS)
- libfile -co libtiff o.*
-
- $(OBJS): h.tiffio h.tiff h.tiffcomp h.tiffiop h.tiffconf
- o.fax3: c.fax3 h.g3states h.t4 h.fax3
-
- h.g3states: c.mkg3states h.t4
- $(CC) -o mkg3states $(CFLAGS) c.mkg3states
- mkg3states -c > h.g3states
-