kusano 7d535a
# Tag Image File Format (TIFF) Software
kusano 7d535a
#
kusano 7d535a
# Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu></dron@ak4719.spb.edu>
kusano 7d535a
#
kusano 7d535a
# Permission to use, copy, modify, distribute, and sell this software and 
kusano 7d535a
# its documentation for any purpose is hereby granted without fee, provided
kusano 7d535a
# that (i) the above copyright notices and this permission notice appear in
kusano 7d535a
# all copies of the software and related documentation, and (ii) the names of
kusano 7d535a
# Sam Leffler and Silicon Graphics may not be used in any advertising or
kusano 7d535a
# publicity relating to the software without the specific, prior written
kusano 7d535a
# permission of Sam Leffler and Silicon Graphics.
kusano 7d535a
# 
kusano 7d535a
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
kusano 7d535a
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
kusano 7d535a
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
kusano 7d535a
# 
kusano 7d535a
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
kusano 7d535a
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
kusano 7d535a
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
kusano 7d535a
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
kusano 7d535a
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
kusano 7d535a
# OF THIS SOFTWARE.
kusano 7d535a
kusano 7d535a
# Process this file with automake to produce Makefile.in.
kusano 7d535a
kusano 7d535a
LIBPORT = $(top_builddir)/port/libport.la
kusano 7d535a
LIBTIFF = $(top_builddir)/libtiff/libtiff.la
kusano 7d535a
kusano 7d535a
EXTRA_DIST = Makefile.vc
kusano 7d535a
kusano 7d535a
bin_PROGRAMS = \
kusano 7d535a
	bmp2tiff \
kusano 7d535a
	fax2ps \
kusano 7d535a
	fax2tiff \
kusano 7d535a
	gif2tiff \
kusano 7d535a
	pal2rgb \
kusano 7d535a
	ppm2tiff \
kusano 7d535a
	ras2tiff \
kusano 7d535a
	raw2tiff \
kusano 7d535a
	rgb2ycbcr \
kusano 7d535a
	thumbnail \
kusano 7d535a
	tiff2bw \
kusano 7d535a
	tiff2pdf \
kusano 7d535a
	tiff2ps \
kusano 7d535a
	tiff2rgba \
kusano 7d535a
	tiffcmp \
kusano 7d535a
	tiffcp \
kusano 7d535a
	tiffcrop \
kusano 7d535a
	tiffdither \
kusano 7d535a
	tiffdump \
kusano 7d535a
	tiffinfo \
kusano 7d535a
	tiffmedian \
kusano 7d535a
	tiffset \
kusano 7d535a
	tiffsplit
kusano 7d535a
if HAVE_OPENGL
kusano 7d535a
bin_PROGRAMS += tiffgt
kusano 7d535a
endif
kusano 7d535a
kusano 7d535a
EXTRA_PROGRAMS = sgi2tiff sgisv ycbcr
kusano 7d535a
kusano 7d535a
if HAVE_RPATH
kusano 7d535a
AM_LDFLAGS = $(LIBDIR)
kusano 7d535a
endif
kusano 7d535a
kusano 7d535a
bmp2tiff_SOURCES = bmp2tiff.c
kusano 7d535a
bmp2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
fax2ps_SOURCES = fax2ps.c
kusano 7d535a
fax2ps_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
fax2tiff_SOURCES = fax2tiff.c
kusano 7d535a
fax2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
gif2tiff_SOURCES = gif2tiff.c
kusano 7d535a
gif2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
pal2rgb_SOURCES = pal2rgb.c
kusano 7d535a
pal2rgb_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
ppm2tiff_SOURCES = ppm2tiff.c
kusano 7d535a
ppm2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
ras2tiff_SOURCES = ras2tiff.c rasterfile.h
kusano 7d535a
ras2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
raw2tiff_SOURCES = raw2tiff.c
kusano 7d535a
raw2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
rgb2ycbcr_SOURCES = rgb2ycbcr.c
kusano 7d535a
rgb2ycbcr_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
thumbnail_SOURCES = thumbnail.c
kusano 7d535a
thumbnail_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
tiff2bw_SOURCES = tiff2bw.c
kusano 7d535a
tiff2bw_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
tiff2pdf_SOURCES = tiff2pdf.c
kusano 7d535a
tiff2pdf_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
tiff2ps_SOURCES = tiff2ps.c
kusano 7d535a
tiff2ps_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
tiff2rgba_SOURCES = tiff2rgba.c
kusano 7d535a
tiff2rgba_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
tiffcmp_SOURCES = tiffcmp.c
kusano 7d535a
tiffcmp_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
tiffcp_SOURCES = tiffcp.c
kusano 7d535a
tiffcp_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
tiffcrop_SOURCES = tiffcrop.c
kusano 7d535a
tiffcrop_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
tiffdither_SOURCES = tiffdither.c
kusano 7d535a
tiffdither_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
tiffdump_SOURCES = tiffdump.c
kusano 7d535a
tiffdump_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
tiffinfo_SOURCES = tiffinfo.c
kusano 7d535a
tiffinfo_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
tiffmedian_SOURCES = tiffmedian.c
kusano 7d535a
tiffmedian_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
tiffset_SOURCES = tiffset.c
kusano 7d535a
tiffset_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
tiffsplit_SOURCES = tiffsplit.c
kusano 7d535a
tiffsplit_LDADD = $(LIBTIFF) $(LIBPORT)
kusano 7d535a
kusano 7d535a
tiffgt_SOURCES = tiffgt.c
kusano 7d535a
tiffgt_CFLAGS = $(CFLAGS) $(GLUT_CFLAGS) $(AM_CFLAGS)
kusano 7d535a
tiffgt_LDADD = $(LIBTIFF) $(LIBPORT) $(X_LIBS) $(GLUT_LIBS)
kusano 7d535a
kusano 7d535a
AM_CPPFLAGS = -I$(top_srcdir)/libtiff
kusano 7d535a
kusano 7d535a
echo:
kusano 7d535a
	(echo $(CFLAGS))
kusano 7d535a
	(echo $(tiffgt_CFLAGS))
kusano 7d535a
	(echo $(GL_CFLAGS))
kusano 7d535a
	(echo $(GLU_CFLAGS))
kusano 7d535a
	(echo $(GLUT_CFLAGS))