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