1 # Tag Image File Format (TIFF) Software
3 # Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu>
5 # Permission to use, copy, modify, distribute, and sell this software and
6 # its documentation for any purpose is hereby granted without fee, provided
7 # that (i) the above copyright notices and this permission notice appear in
8 # all copies of the software and related documentation, and (ii) the names of
9 # Sam Leffler and Silicon Graphics may not be used in any advertising or
10 # publicity relating to the software without the specific, prior written
11 # permission of Sam Leffler and Silicon Graphics.
13 # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
14 # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
15 # 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
24 # Process this file with automake to produce Makefile.in.
26 LIBPORT = $(top_builddir)/port/libport.la
27 LIBTIFF = $(top_builddir)/libtiff/libtiff.la
29 EXTRA_DIST = Makefile.vc
55 bin_PROGRAMS += tiffgt
58 EXTRA_PROGRAMS = sgi2tiff sgisv ycbcr
61 AM_LDFLAGS = $(LIBDIR)
64 bmp2tiff_SOURCES = bmp2tiff.c
65 bmp2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
67 fax2ps_SOURCES = fax2ps.c
68 fax2ps_LDADD = $(LIBTIFF) $(LIBPORT)
70 fax2tiff_SOURCES = fax2tiff.c
71 fax2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
73 gif2tiff_SOURCES = gif2tiff.c
74 gif2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
76 pal2rgb_SOURCES = pal2rgb.c
77 pal2rgb_LDADD = $(LIBTIFF) $(LIBPORT)
79 ppm2tiff_SOURCES = ppm2tiff.c
80 ppm2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
82 ras2tiff_SOURCES = ras2tiff.c rasterfile.h
83 ras2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
85 raw2tiff_SOURCES = raw2tiff.c
86 raw2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
88 rgb2ycbcr_SOURCES = rgb2ycbcr.c
89 rgb2ycbcr_LDADD = $(LIBTIFF) $(LIBPORT)
91 thumbnail_SOURCES = thumbnail.c
92 thumbnail_LDADD = $(LIBTIFF) $(LIBPORT)
94 tiff2bw_SOURCES = tiff2bw.c
95 tiff2bw_LDADD = $(LIBTIFF) $(LIBPORT)
97 tiff2pdf_SOURCES = tiff2pdf.c
98 tiff2pdf_LDADD = $(LIBTIFF) $(LIBPORT)
100 tiff2ps_SOURCES = tiff2ps.c
101 tiff2ps_LDADD = $(LIBTIFF) $(LIBPORT)
103 tiff2rgba_SOURCES = tiff2rgba.c
104 tiff2rgba_LDADD = $(LIBTIFF) $(LIBPORT)
106 tiffcmp_SOURCES = tiffcmp.c
107 tiffcmp_LDADD = $(LIBTIFF) $(LIBPORT)
109 tiffcp_SOURCES = tiffcp.c
110 tiffcp_LDADD = $(LIBTIFF) $(LIBPORT)
112 tiffdither_SOURCES = tiffdither.c
113 tiffdither_LDADD = $(LIBTIFF) $(LIBPORT)
115 tiffdump_SOURCES = tiffdump.c
116 tiffdump_LDADD = $(LIBTIFF) $(LIBPORT)
118 tiffinfo_SOURCES = tiffinfo.c
119 tiffinfo_LDADD = $(LIBTIFF) $(LIBPORT)
121 tiffmedian_SOURCES = tiffmedian.c
122 tiffmedian_LDADD = $(LIBTIFF) $(LIBPORT)
124 tiffset_SOURCES = tiffset.c
125 tiffset_LDADD = $(LIBTIFF) $(LIBPORT)
127 tiffsplit_SOURCES = tiffsplit.c
128 tiffsplit_LDADD = $(LIBTIFF) $(LIBPORT)
130 tiffgt_SOURCES = tiffgt.c
131 tiffgt_CFLAGS = $(CFLAGS) $(GLUT_CFLAGS) $(AM_CFLAGS)
132 tiffgt_LDADD = $(LIBTIFF) $(LIBPORT) $(X_LIBS) $(GLUT_LIBS)
134 INCLUDES = -I$(top_srcdir)/libtiff
138 (echo $(tiffgt_CFLAGS))
141 (echo $(GLUT_CFLAGS))