1# Tag Image File Format (TIFF) Software 2# 3# Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu> 4# 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. 12# 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. 16# 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 22# OF THIS SOFTWARE. 23 24# Process this file with automake to produce Makefile.in. 25 26LIBPORT = $(top_builddir)/port/libport.la 27LIBTIFF = $(top_builddir)/libtiff/libtiff.la 28 29EXTRA_DIST = \ 30 CMakeLists.txt \ 31 Makefile.vc 32 33bin_PROGRAMS = \ 34 fax2ps \ 35 fax2tiff \ 36 pal2rgb \ 37 ppm2tiff \ 38 raw2tiff \ 39 tiff2bw \ 40 tiff2pdf \ 41 tiff2ps \ 42 tiff2rgba \ 43 tiffcmp \ 44 tiffcp \ 45 tiffcrop \ 46 tiffdither \ 47 tiffdump \ 48 tiffinfo \ 49 tiffmedian \ 50 tiffset \ 51 tiffsplit 52if HAVE_OPENGL 53bin_PROGRAMS += tiffgt 54endif 55 56EXTRA_PROGRAMS = rgb2ycbcr thumbnail 57 58# Executable programs which need to be built in order to support tests 59check_PROGRAMS = \ 60 rgb2ycbcr \ 61 thumbnail 62 63if HAVE_RPATH 64AM_LDFLAGS = $(LIBDIR) 65endif 66 67fax2ps_SOURCES = fax2ps.c 68fax2ps_LDADD = $(LIBTIFF) $(LIBPORT) 69 70fax2tiff_SOURCES = fax2tiff.c 71fax2tiff_LDADD = $(LIBTIFF) $(LIBPORT) 72 73pal2rgb_SOURCES = pal2rgb.c 74pal2rgb_LDADD = $(LIBTIFF) $(LIBPORT) 75 76ppm2tiff_SOURCES = ppm2tiff.c 77ppm2tiff_LDADD = $(LIBTIFF) $(LIBPORT) 78 79raw2tiff_SOURCES = raw2tiff.c 80raw2tiff_LDADD = $(LIBTIFF) $(LIBPORT) 81 82rgb2ycbcr_SOURCES = rgb2ycbcr.c 83rgb2ycbcr_LDADD = $(LIBTIFF) $(LIBPORT) 84 85thumbnail_SOURCES = thumbnail.c 86thumbnail_LDADD = $(LIBTIFF) $(LIBPORT) 87 88tiff2bw_SOURCES = tiff2bw.c 89tiff2bw_LDADD = $(LIBTIFF) $(LIBPORT) 90 91tiff2pdf_SOURCES = tiff2pdf.c 92tiff2pdf_LDADD = $(LIBTIFF) $(LIBPORT) 93 94tiff2ps_SOURCES = tiff2ps.c 95tiff2ps_LDADD = $(LIBTIFF) $(LIBPORT) 96 97tiff2rgba_SOURCES = tiff2rgba.c 98tiff2rgba_LDADD = $(LIBTIFF) $(LIBPORT) 99 100tiffcmp_SOURCES = tiffcmp.c 101tiffcmp_LDADD = $(LIBTIFF) $(LIBPORT) 102 103tiffcp_SOURCES = tiffcp.c 104tiffcp_LDADD = $(LIBTIFF) $(LIBPORT) 105 106tiffcrop_SOURCES = tiffcrop.c 107tiffcrop_LDADD = $(LIBTIFF) $(LIBPORT) 108 109tiffdither_SOURCES = tiffdither.c 110tiffdither_LDADD = $(LIBTIFF) $(LIBPORT) 111 112tiffdump_SOURCES = tiffdump.c 113tiffdump_LDADD = $(LIBTIFF) $(LIBPORT) 114 115tiffinfo_SOURCES = tiffinfo.c 116tiffinfo_LDADD = $(LIBTIFF) $(LIBPORT) 117 118tiffmedian_SOURCES = tiffmedian.c 119tiffmedian_LDADD = $(LIBTIFF) $(LIBPORT) 120 121tiffset_SOURCES = tiffset.c 122tiffset_LDADD = $(LIBTIFF) $(LIBPORT) 123 124tiffsplit_SOURCES = tiffsplit.c 125tiffsplit_LDADD = $(LIBTIFF) $(LIBPORT) 126 127tiffgt_SOURCES = tiffgt.c 128tiffgt_CFLAGS = $(CFLAGS) $(GLUT_CFLAGS) $(AM_CFLAGS) 129tiffgt_LDADD = $(LIBTIFF) $(LIBPORT) $(X_LIBS) $(GLUT_LIBS) 130 131AM_CPPFLAGS = -I$(top_srcdir)/libtiff 132 133echo: 134 (echo $(CFLAGS)) 135 (echo $(tiffgt_CFLAGS)) 136 (echo $(GL_CFLAGS)) 137 (echo $(GLU_CFLAGS)) 138 (echo $(GLUT_CFLAGS)) 139