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
56 bin_PROGRAMS += tiffgt
59 EXTRA_PROGRAMS = sgi2tiff sgisv ycbcr
62 AM_LDFLAGS = $(LIBDIR)
65 bmp2tiff_SOURCES = bmp2tiff.c
66 bmp2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
68 fax2ps_SOURCES = fax2ps.c
69 fax2ps_LDADD = $(LIBTIFF) $(LIBPORT)
71 fax2tiff_SOURCES = fax2tiff.c
72 fax2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
74 gif2tiff_SOURCES = gif2tiff.c
75 gif2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
77 pal2rgb_SOURCES = pal2rgb.c
78 pal2rgb_LDADD = $(LIBTIFF) $(LIBPORT)
80 ppm2tiff_SOURCES = ppm2tiff.c
81 ppm2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
83 ras2tiff_SOURCES = ras2tiff.c rasterfile.h
84 ras2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
86 raw2tiff_SOURCES = raw2tiff.c
87 raw2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
89 rgb2ycbcr_SOURCES = rgb2ycbcr.c
90 rgb2ycbcr_LDADD = $(LIBTIFF) $(LIBPORT)
92 thumbnail_SOURCES = thumbnail.c
93 thumbnail_LDADD = $(LIBTIFF) $(LIBPORT)
95 tiff2bw_SOURCES = tiff2bw.c
96 tiff2bw_LDADD = $(LIBTIFF) $(LIBPORT)
98 tiff2pdf_SOURCES = tiff2pdf.c
99 tiff2pdf_LDADD = $(LIBTIFF) $(LIBPORT)
101 tiff2ps_SOURCES = tiff2ps.c
102 tiff2ps_LDADD = $(LIBTIFF) $(LIBPORT)
104 tiff2rgba_SOURCES = tiff2rgba.c
105 tiff2rgba_LDADD = $(LIBTIFF) $(LIBPORT)
107 tiffcmp_SOURCES = tiffcmp.c
108 tiffcmp_LDADD = $(LIBTIFF) $(LIBPORT)
110 tiffcp_SOURCES = tiffcp.c
111 tiffcp_LDADD = $(LIBTIFF) $(LIBPORT)
113 tiffcrop_SOURCES = tiffcrop.c
114 tiffcrop_LDADD = $(LIBTIFF) $(LIBPORT)
116 tiffdither_SOURCES = tiffdither.c
117 tiffdither_LDADD = $(LIBTIFF) $(LIBPORT)
119 tiffdump_SOURCES = tiffdump.c
120 tiffdump_LDADD = $(LIBTIFF) $(LIBPORT)
122 tiffinfo_SOURCES = tiffinfo.c
123 tiffinfo_LDADD = $(LIBTIFF) $(LIBPORT)
125 tiffmedian_SOURCES = tiffmedian.c
126 tiffmedian_LDADD = $(LIBTIFF) $(LIBPORT)
128 tiffset_SOURCES = tiffset.c
129 tiffset_LDADD = $(LIBTIFF) $(LIBPORT)
131 tiffsplit_SOURCES = tiffsplit.c
132 tiffsplit_LDADD = $(LIBTIFF) $(LIBPORT)
134 tiffgt_SOURCES = tiffgt.c
135 tiffgt_CFLAGS = $(CFLAGS) $(GLUT_CFLAGS) $(AM_CFLAGS)
136 tiffgt_LDADD = $(LIBTIFF) $(LIBPORT) $(X_LIBS) $(GLUT_LIBS)
138 AM_CPPFLAGS = -I$(top_srcdir)/libtiff
142 (echo $(tiffgt_CFLAGS))
145 (echo $(GLUT_CFLAGS))