This commit is contained in:
Andrey Kiselev 2004-03-19 17:26:21 +00:00
parent 1f9504178e
commit 52f2790122
11 changed files with 20753 additions and 402 deletions

39
Makefile.am Normal file
View File

@ -0,0 +1,39 @@
# $Id: Makefile.am,v 1.1 2004-03-19 17:26:21 dron Exp $
#
# Tag Image File Format (TIFF) Software
#
# Copyright (C) 2004, Andrey Kiselev <dron@remotesensing.org>
#
# Permission to use, copy, modify, distribute, and sell this software and
# its documentation for any purpose is hereby granted without fee, provided
# that (i) the above copyright notices and this permission notice appear in
# all copies of the software and related documentation, and (ii) the names of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
#
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
#
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
# OF THIS SOFTWARE.
# Process this file with automake to produce Makefile.in.
EXTRA_DIST = \
COPYRIGHT \
ChangeLog \
HOWTO-RELEASE \
README \
RELEASE-DATE \
TODO \
VERSION \
autogen.sh
SUBDIRS = libtiff man

6064
aclocal.m4 vendored Normal file

File diff suppressed because it is too large Load Diff

8
autogen.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
set -x
aclocal
autoheader
libtoolize --automake --copy
automake --foreign --add-missing --copy
autoconf

96
configure.ac Normal file
View File

@ -0,0 +1,96 @@
dnl -*- Autoconf -*-
dnl $Id: configure.ac,v 1.1 2004-03-19 17:26:22 dron Exp $
dnl
dnl Tag Image File Format (TIFF) Software
dnl
dnl Copyright (C) 2004, Andrey Kiselev <dron@remotesensing.org>
dnl
dnl Permission to use, copy, modify, distribute, and sell this software and
dnl its documentation for any purpose is hereby granted without fee, provided
dnl that (i) the above copyright notices and this permission notice appear in
dnl all copies of the software and related documentation, and (ii) the names of
dnl Sam Leffler and Silicon Graphics may not be used in any advertising or
dnl publicity relating to the software without the specific, prior written
dnl permission of Sam Leffler and Silicon Graphics.
dnl
dnl THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
dnl EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
dnl WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
dnl
dnl IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
dnl ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
dnl OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
dnl WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
dnl LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
dnl OF THIS SOFTWARE.
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT([LibTIFF Software], 3.7.0, [tiff@remotesensing.org], libtiff)
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR(libtiff/config.h.in)
AM_CONFIG_HEADER(libtiff/config.h)
dnl Versioning
LIBTIFF_MAJOR_VERSION=3
LIBTIFF_MINOR_VERSION=7
LIBTIFF_MICRO_VERSION=0
LIBTIFF_VERSION=$LIBTIFF_MAJOR_VERSION.$LIBTIFF_MINOR_VERSION.$LIBTIFF_MICRO_VERSION
AC_SUBST(LIBTIFF_MAJOR_VERSION)
AC_SUBST(LIBTIFF_MINOR_VERSION)
AC_SUBST(LIBTIFF_MICRO_VERSION)
AC_SUBST(LIBTIFF_VERSION)
dnl Checks for programs.
AC_PROG_LIBTOOL
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_RANLIB
dnl Checks for libraries.
AC_CHECK_LIB([GL], [main])
AC_CHECK_LIB([c], [main])
AC_CHECK_LIB([gl], [main])
AC_CHECK_LIB([glut], [main])
dnl We don't need to add math library at all targets
case "$target_os" in
cygwin* | mingw32* | beos* | darwin*)
;;
*)
AC_CHECK_LIB(m,main,,,)
;;
esac
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([fcntl.h limits.h malloc.h memory.h stdlib.h string.h sys/time.h unistd.h])
dnl Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_BIGENDIAN
AC_TYPE_OFF_T
AC_TYPE_SIZE_T
AC_HEADER_TIME
AC_STRUCT_TM
dnl Checks for library functions.
AC_FUNC_ERROR_AT_LINE
AC_FUNC_MALLOC
AC_FUNC_MEMCMP
AC_FUNC_MMAP
AC_FUNC_REALLOC
AC_FUNC_VPRINTF
AC_CHECK_FUNCS([floor gettimeofday isascii memmove memset munmap pow sqrt strcasecmp strchr strncasecmp strrchr strstr strtol strtoul])
AC_CONFIG_FILES([Makefile \
html/Makefile \
libtiff/Makefile \
man/Makefile \
tools/Makefile])
AC_OUTPUT

269
install-sh Executable file
View File

@ -0,0 +1,269 @@
#!/bin/sh
#
# install - install a program, script, or datafile
#
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# Except as contained in this notice, the name of the X Consortium shall not
# be used in advertising or otherwise to promote the sale, use or other deal-
# ings in this Software without prior written authorization from the X Consor-
# tium.
#
#
# FSF changes to this file are in the public domain.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch. It can only install one file at a time, a restriction
# shared with many OS's install programs.
# set DOITPROG to echo to test this script
# Don't use :- since 4.3BSD and earlier shells don't like it.
doit="${DOITPROG-}"
# put in absolute paths if you don't have them in your path; or use env. vars.
mvprog="${MVPROG-mv}"
cpprog="${CPPROG-cp}"
chmodprog="${CHMODPROG-chmod}"
chownprog="${CHOWNPROG-chown}"
chgrpprog="${CHGRPPROG-chgrp}"
stripprog="${STRIPPROG-strip}"
rmprog="${RMPROG-rm}"
mkdirprog="${MKDIRPROG-mkdir}"
transformbasename=""
transform_arg=""
instcmd="$mvprog"
chmodcmd="$chmodprog 0755"
chowncmd=""
chgrpcmd=""
stripcmd=""
rmcmd="$rmprog -f"
mvcmd="$mvprog"
src=""
dst=""
dir_arg=""
while [ x"$1" != x ]; do
case $1 in
-c) instcmd="$cpprog"
shift
continue;;
-d) dir_arg=true
shift
continue;;
-m) chmodcmd="$chmodprog $2"
shift
shift
continue;;
-o) chowncmd="$chownprog $2"
shift
shift
continue;;
-g) chgrpcmd="$chgrpprog $2"
shift
shift
continue;;
-s) stripcmd="$stripprog"
shift
continue;;
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
shift
continue;;
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
shift
continue;;
*) if [ x"$src" = x ]
then
src=$1
else
# this colon is to work around a 386BSD /bin/sh bug
:
dst=$1
fi
shift
continue;;
esac
done
if [ x"$src" = x ]
then
echo "install: no input file specified"
exit 1
else
true
fi
if [ x"$dir_arg" != x ]; then
dst=$src
src=""
if [ -d $dst ]; then
instcmd=:
chmodcmd=""
else
instcmd=mkdir
fi
else
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if [ -f $src -o -d $src ]
then
true
else
echo "install: $src does not exist"
exit 1
fi
if [ x"$dst" = x ]
then
echo "install: no destination specified"
exit 1
else
true
fi
# If destination is a directory, append the input filename; if your system
# does not like double slashes in filenames, you may need to add some logic
if [ -d $dst ]
then
dst="$dst"/`basename $src`
else
true
fi
fi
## this sed command emulates the dirname command
dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
# Make sure that the destination directory exists.
# this part is taken from Noah Friedman's mkinstalldirs script
# Skip lots of stat calls in the usual case.
if [ ! -d "$dstdir" ]; then
defaultIFS='
'
IFS="${IFS-${defaultIFS}}"
oIFS="${IFS}"
# Some sh's can't handle IFS=/ for some reason.
IFS='%'
set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
IFS="${oIFS}"
pathcomp=''
while [ $# -ne 0 ] ; do
pathcomp="${pathcomp}${1}"
shift
if [ ! -d "${pathcomp}" ] ;
then
$mkdirprog "${pathcomp}"
else
true
fi
pathcomp="${pathcomp}/"
done
fi
if [ x"$dir_arg" != x ]
then
$doit $instcmd $dst &&
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
else
# If we're going to rename the final executable, determine the name now.
if [ x"$transformarg" = x ]
then
dstfile=`basename $dst`
else
dstfile=`basename $dst $transformbasename |
sed $transformarg`$transformbasename
fi
# don't allow the sed command to completely eliminate the filename
if [ x"$dstfile" = x ]
then
dstfile=`basename $dst`
else
true
fi
# Make a temp file name in the proper directory.
dsttmp=$dstdir/#inst.$$#
# Move or copy the file name to the temp name
$doit $instcmd $src $dsttmp &&
trap "rm -f ${dsttmp}" 0 &&
# and set any options; do chmod last to preserve setuid bits
# If any of these fail, we abort the whole thing. If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $instcmd $src $dsttmp" command.
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
# Now rename the file to the real destination.
$doit $rmcmd -f $dstdir/$dstfile &&
$doit $mvcmd $dsttmp $dstdir/$dstfile
fi &&
exit 0

7319
libtool Executable file

File diff suppressed because it is too large Load Diff

6357
ltmain.sh Normal file

File diff suppressed because it is too large Load Diff

92
man/Makefile.am Normal file
View File

@ -0,0 +1,92 @@
# $Id: Makefile.am,v 1.1 2004-03-19 17:29:47 dron Exp $
#
# Tag Image File Format (TIFF) Software
#
# Copyright (C) 2004, Andrey Kiselev <dron@remotesensing.org>
#
# Permission to use, copy, modify, distribute, and sell this software and
# its documentation for any purpose is hereby granted without fee, provided
# that (i) the above copyright notices and this permission notice appear in
# all copies of the software and related documentation, and (ii) the names of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
#
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
#
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
# OF THIS SOFTWARE.
# Process this file with automake to produce Makefile.in.
man_MANS = \
fax2ps.1 \
fax2tiff.1 \
gif2tiff.1 \
libtiff.3t \
pal2rgb.1 \
ppm2tiff.1 \
ras2tiff.1 \
raw2tiff.1 \
rgb2ycbcr.1 \
sgi2tiff.1 \
thumbnail.1 \
tiff2bw.1 \
tiff2pdf.1 \
tiff2ps.1 \
tiff2rgba.1 \
TIFFbuffer.3t \
TIFFClose.3t \
tiffcmp.1 \
tiffcp.1 \
tiffdither.1 \
tiffdump.1 \
tiffgt.1 \
tiffinfo.1 \
tiffmedian.1 \
tiffsplit.1 \
tiffsv.1 \
TIFFcodec.3t \
TIFFcolor.3t \
TIFFDataWidth.3t \
TIFFError.3t \
TIFFFlush.3t \
TIFFGetField.3t \
TIFFmemory.3t \
TIFFOpen.3t \
TIFFPrintDirectory.3t \
TIFFquery.3t \
TIFFReadDirectory.3t \
TIFFReadEncodedStrip.3t \
TIFFReadEncodedTile.3t \
TIFFReadRawStrip.3t \
TIFFReadRawTile.3t \
TIFFReadRGBAImage.3t \
TIFFReadRGBAStrip.3t \
TIFFReadRGBATile.3t \
TIFFReadScanline.3t \
TIFFReadTile.3t \
TIFFRGBAImage.3t \
TIFFSetDirectory.3t \
TIFFSetField.3t \
TIFFsize.3t \
TIFFstrip.3t \
TIFFswab.3t \
TIFFtile.3t \
TIFFWarning.3t \
TIFFWriteDirectory.3t \
TIFFWriteEncodedStrip.3t \
TIFFWriteEncodedTile.3t \
TIFFWriteRawStrip.3t \
TIFFWriteRawTile.3t \
TIFFWriteScanline.3t \
TIFFWriteTile.3t
EXTRA_DIST = $(man_MANS)

View File

@ -1,20 +1,28 @@
#! smake # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
# $Header: /cvs/maptools/cvsroot/libtiff/man/Makefile.in,v 1.18 2003-12-21 22:04:53 dron Exp $
# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
# $Id: Makefile.in,v 1.19 2004-03-19 17:29:47 dron Exp $
# #
# @WARNING@ # Tag Image File Format (TIFF) Software
# #
# Tag Image File Format Library Manual Pages # Copyright (C) 2004, Andrey Kiselev <dron@remotesensing.org>
# #
# Copyright (c) 1991-1997 Sam Leffler
# Copyright (c) 1991-1997 Silicon Graphics, Inc.
#
# Permission to use, copy, modify, distribute, and sell this software and # Permission to use, copy, modify, distribute, and sell this software and
# its documentation for any purpose is hereby granted without fee, provided # its documentation for any purpose is hereby granted without fee, provided
# that (i) the above copyright notices and this permission notice appear in # that (i) the above copyright notices and this permission notice appear in
# all copies of the software and related documentation, and (ii) the names of # all copies of the software and related documentation, and (ii) the names of
# Sam Leffler and Silicon Graphics may not be used in any advertising or # Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written # publicity relating to the software without the specific, prior written
# permission of Stanford and Silicon Graphics. # permission of Sam Leffler and Silicon Graphics.
# #
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
@ -26,412 +34,273 @@
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
# OF THIS SOFTWARE. # OF THIS SOFTWARE.
#
SRCDIR = @RELSRCDIR@/man
# # Process this file with automake to produce Makefile.in.
# VERSION: @VERSION@
# DATE: @DATE@
# TARGET: @TARGET@
# CCOMPILER: @CCOMPILER@
#
SHELL = @SCRIPT_SH@
SCRIPT_SH = @SCRIPT_SH@
NULL =
ECHO = echo
SED = sed
MV = mv
RM = rm -f
INSTALL = @INSTALL@
#
# Manual-related controls:
#
# MAN head of manual tree
# MANAPPS subdirectory for application programs
# MANLIB subdirectory for library functions
#
MAN = @DIR_MAN@
MANAPPS = @MANAPPS@
MANLIB = @MANLIB@
#
# MANSEDLOCAL additional sed commands to use during source transformation
# (might want to transform section names here)
# MANCVT command to convert source to installable target (can use
# $? and $@, but not $<)
MANSEDLOCAL = @MANSEDLOCAL@
MANCVT = @MANCVT@
#
# The following macros are used during the install step to generate
# the filenames of the target manual pages. They appear inside a
# shell for loop in a command of the form:
#
# f=${MAN*NAME}
#
# where the variable ``i'' contains the filename of the formatted
# manual page (formatted according to the MANCVT macro).
#
# MANAPPNAME generate installed app man page filename
# MANLIBNAME generate installed library man page filename
#
#
MANAPPNAME = @MANAPPNAME@
MANLIBNAME = @MANLIBNAME@
# SHELL = @SHELL@
# Set this up if your manual system requires a
# pathname prefix in the .so commands when setting
# up alternate files for multi-function manual pages.
#
#MANDIR = man3/
MANTOOLS=\ srcdir = @srcdir@
apps/fax2tiff.1 \ top_srcdir = @top_srcdir@
apps/fax2ps.1 \ VPATH = @srcdir@
apps/gif2tiff.1 \ prefix = @prefix@
apps/pal2rgb.1 \ exec_prefix = @exec_prefix@
apps/ppm2tiff.1 \
apps/ras2tiff.1 \
apps/raw2tiff.1 \
apps/rgb2ycbcr.1 \
apps/sgi2tiff.1 \
apps/thumbnail.1 \
apps/tiff2bw.1 \
apps/tiff2rgba.1 \
apps/tiff2pdf.1 \
apps/tiff2ps.1 \
apps/tiffcmp.1 \
apps/tiffcp.1 \
apps/tiffdither.1 \
apps/tiffdump.1 \
apps/tiffgt.1 \
apps/tiffinfo.1 \
apps/tiffmedian.1 \
apps/tiffsplit.1 \
apps/tiffsv.1 \
${NULL}
MANDEV=\
lib/libtiff.3t \
\
lib/TIFFClose.3t \
lib/TIFFDataWidth.3t \
lib/TIFFError.3t \
lib/TIFFFlush.3t \
lib/TIFFGetField.3t \
lib/TIFFOpen.3t \
lib/TIFFPrintDirectory.3t \
lib/TIFFReadDirectory.3t \
lib/TIFFReadEncodedStrip.3t \
lib/TIFFReadEncodedTile.3t \
lib/TIFFReadRGBAImage.3t \
lib/TIFFReadRGBAStrip.3t \
lib/TIFFReadRGBATile.3t \
lib/TIFFReadRawStrip.3t \
lib/TIFFReadRawTile.3t \
lib/TIFFReadScanline.3t \
lib/TIFFReadTile.3t \
lib/TIFFRGBAImage.3t \
lib/TIFFSetDirectory.3t \
lib/TIFFSetField.3t \
lib/TIFFWarning.3t \
lib/TIFFWriteDirectory.3t \
lib/TIFFWriteEncodedStrip.3t \
lib/TIFFWriteEncodedTile.3t \
lib/TIFFWriteTile.3t \
lib/TIFFWriteRawStrip.3t \
lib/TIFFWriteRawTile.3t \
lib/TIFFWriteScanline.3t \
\
lib/TIFFbuffer.3t \
lib/TIFFcodec.3t \
lib/TIFFcolor.3t \
lib/TIFFmemory.3t \
lib/TIFFquery.3t \
lib/TIFFsize.3t \
lib/TIFFstrip.3t \
lib/TIFFswab.3t \
lib/TIFFtile.3t \
${NULL}
MANDEVLINKS=\
lib/TIFFmalloc.3t \
lib/TIFFrealloc.3t \
lib/TIFFfree.3t \
lib/TIFFmemset.3t \
lib/TIFFmemcpy.3t \
lib/TIFFmemcmp.3t \
lib/TIFFComputeTile.3t \
lib/TIFFCheckTile.3t \
lib/TIFFNumberOfTiles.3t \
lib/TIFFComputeStrip.3t \
lib/TIFFNumberOfStrips.3t \
lib/TIFFCurrentDirectory.3t \
lib/TIFFCurrentRow.3t \
lib/TIFFCurrentStrip.3t \
lib/TIFFCurrentTile.3t \
lib/TIFFFdOpen.3t \
lib/TIFFClientOpen.3t \
lib/TIFFFileName.3t \
lib/TIFFFileno.3t \
lib/TIFFFindCODEC.3t \
lib/TIFFFlushData.3t \
lib/TIFFGetMode.3t \
lib/TIFFIsTiled.3t \
lib/TIFFIsByteSwapped.3t \
lib/TIFFIsUpSampled.3t \
lib/TIFFIsMSB2LSB.3t \
lib/TIFFLastDirectory.3t \
lib/TIFFRegisterCODEC.3t \
lib/TIFFReverseBits.3t \
lib/TIFFRewriteDirectory.3t \
lib/TIFFRGBAImageOK.3t \
lib/TIFFRGBAImageBegin.3t \
lib/TIFFRGBAImageGet.3t \
lib/TIFFRGBAImageEnd.3t \
lib/TIFFReadRGBAImageOriented.3t \
lib/TIFFSetErrorHandler.3t \
lib/TIFFSetSubDirectory.3t \
lib/TIFFSetWarningHandler.3t \
lib/TIFFSwabArrayOfLong.3t \
lib/TIFFSwabArrayOfShort.3t \
lib/TIFFSwabLong.3t \
lib/TIFFSwabShort.3t \
lib/TIFFScanlineSize.3t \
lib/TIFFDefaultStripSize.3t \
lib/TIFFVStripSize.3t \
lib/TIFFStripSize.3t \
lib/TIFFDefaultTileSize.3t \
lib/TIFFVTileSize.3t \
lib/TIFFTileSize.3t \
lib/TIFFTileRowSize.3t \
lib/TIFFUnRegisterCODEC.3t \
lib/TIFFVGetField.3t \
lib/TIFFGetFieldDefaulted.3t \
lib/TIFFVGetFieldDefaulted.3t \
lib/TIFFVSetField.3t \
lib/TIFFReadBufferSetup.3t \
lib/TIFFWriteBufferSetup.3t \
${NULL}
TARGETS=apps/Makefile lib/Makefile
# bindir = @bindir@
# System-specific manual page formatting commands should sbindir = @sbindir@
# apply this sed command to the manual page source before libexecdir = @libexecdir@
# handing it to the formatter. This sets any pathnames datadir = @datadir@
# in the man pages to reflect local conventions. sysconfdir = @sysconfdir@
# sharedstatedir = @sharedstatedir@
MANSED=${SED}\ localstatedir = @localstatedir@
-e 's;\$${DIR_BIN};@DIR_BIN@;g' \ libdir = @libdir@
-e 's;\$${DIR_LIB};@DIR_LIB@;g' \ infodir = @infodir@
-e 's;\$${DIR_INC};@DIR_INC@;g' \ mandir = @mandir@
${MANSEDLOCAL} includedir = @includedir@
oldincludedir = /usr/include
all: ${TARGETS} DESTDIR =
apps/fax2tiff.1:: ${SRCDIR}/fax2tiff.1; ${MANCVT} pkgdatadir = $(datadir)/@PACKAGE@
apps/fax2ps.1:: ${SRCDIR}/fax2ps.1; ${MANCVT} pkglibdir = $(libdir)/@PACKAGE@
apps/gif2tiff.1:: ${SRCDIR}/gif2tiff.1; ${MANCVT} pkgincludedir = $(includedir)/@PACKAGE@
apps/pal2rgb.1:: ${SRCDIR}/pal2rgb.1; ${MANCVT}
apps/ppm2tiff.1:: ${SRCDIR}/ppm2tiff.1; ${MANCVT}
apps/ras2tiff.1:: ${SRCDIR}/ras2tiff.1; ${MANCVT}
apps/raw2tiff.1:: ${SRCDIR}/raw2tiff.1; ${MANCVT}
apps/rgb2ycbcr.1:: ${SRCDIR}/rgb2ycbcr.1; ${MANCVT}
apps/sgi2tiff.1:: ${SRCDIR}/sgi2tiff.1; ${MANCVT}
apps/thumbnail.1:: ${SRCDIR}/thumbnail.1; ${MANCVT}
apps/tiff2bw.1:: ${SRCDIR}/tiff2bw.1; ${MANCVT}
apps/tiff2rgba.1:: ${SRCDIR}/tiff2rgba.1; ${MANCVT}
apps/tiff2pdf.1:: ${SRCDIR}/tiff2pdf.1; ${MANCVT}
apps/tiff2ps.1:: ${SRCDIR}/tiff2ps.1; ${MANCVT}
apps/tiffcmp.1:: ${SRCDIR}/tiffcmp.1; ${MANCVT}
apps/tiffcp.1:: ${SRCDIR}/tiffcp.1; ${MANCVT}
apps/tiffdither.1:: ${SRCDIR}/tiffdither.1; ${MANCVT}
apps/tiffdump.1:: ${SRCDIR}/tiffdump.1; ${MANCVT}
apps/tiffgt.1:: ${SRCDIR}/tiffgt.1; ${MANCVT}
apps/tiffinfo.1:: ${SRCDIR}/tiffinfo.1; ${MANCVT}
apps/tiffmedian.1:: ${SRCDIR}/tiffmedian.1; ${MANCVT}
apps/tiffsplit.1:: ${SRCDIR}/tiffsplit.1; ${MANCVT}
apps/tiffsv.1:: ${SRCDIR}/tiffsv.1; ${MANCVT}
lib/libtiff.3t:: ${SRCDIR}/libtiff.3t; ${MANCVT} top_builddir = ..
lib/TIFFClose.3t:: ${SRCDIR}/TIFFClose.3t; ${MANCVT}
lib/TIFFDataWidth.3t:: ${SRCDIR}/TIFFDataWidth.3t; ${MANCVT}
lib/TIFFError.3t:: ${SRCDIR}/TIFFError.3t; ${MANCVT}
lib/TIFFFlush.3t:: ${SRCDIR}/TIFFFlush.3t; ${MANCVT}
lib/TIFFGetField.3t:: ${SRCDIR}/TIFFGetField.3t; ${MANCVT}
lib/TIFFOpen.3t:: ${SRCDIR}/TIFFOpen.3t; ${MANCVT}
lib/TIFFPrintDirectory.3t:: ${SRCDIR}/TIFFPrintDirectory.3t; ${MANCVT}
lib/TIFFReadDirectory.3t:: ${SRCDIR}/TIFFReadDirectory.3t; ${MANCVT}
lib/TIFFReadEncodedStrip.3t:: ${SRCDIR}/TIFFReadEncodedStrip.3t;${MANCVT}
lib/TIFFReadEncodedTile.3t:: ${SRCDIR}/TIFFReadEncodedTile.3t; ${MANCVT}
lib/TIFFReadRGBAImage.3t:: ${SRCDIR}/TIFFReadRGBAImage.3t; ${MANCVT}
lib/TIFFReadRGBATile.3t:: ${SRCDIR}/TIFFReadRGBATile.3t; ${MANCVT}
lib/TIFFReadRGBAStrip.3t:: ${SRCDIR}/TIFFReadRGBAStrip.3t; ${MANCVT}
lib/TIFFReadRawStrip.3t:: ${SRCDIR}/TIFFReadRawStrip.3t; ${MANCVT}
lib/TIFFReadRawTile.3t:: ${SRCDIR}/TIFFReadRawTile.3t; ${MANCVT}
lib/TIFFReadScanline.3t:: ${SRCDIR}/TIFFReadScanline.3t; ${MANCVT}
lib/TIFFReadTile.3t:: ${SRCDIR}/TIFFReadTile.3t; ${MANCVT}
lib/TIFFRGBAImage.3t:: ${SRCDIR}/TIFFRGBAImage.3t; ${MANCVT}
lib/TIFFSetDirectory.3t:: ${SRCDIR}/TIFFSetDirectory.3t; ${MANCVT}
lib/TIFFSetField.3t:: ${SRCDIR}/TIFFSetField.3t; ${MANCVT}
lib/TIFFWarning.3t:: ${SRCDIR}/TIFFWarning.3t; ${MANCVT}
lib/TIFFWriteDirectory.3t:: ${SRCDIR}/TIFFWriteDirectory.3t; ${MANCVT}
lib/TIFFWriteEncodedStrip.3t:: ${SRCDIR}/TIFFWriteEncodedStrip.3t; ${MANCVT}
lib/TIFFWriteEncodedTile.3t:: ${SRCDIR}/TIFFWriteEncodedTile.3t; ${MANCVT}
lib/TIFFWriteTile.3t:: ${SRCDIR}/TIFFWriteTile.3t; ${MANCVT}
lib/TIFFWriteRawStrip.3t:: ${SRCDIR}/TIFFWriteRawStrip.3t; ${MANCVT}
lib/TIFFWriteRawTile.3t:: ${SRCDIR}/TIFFWriteRawTile.3t; ${MANCVT}
lib/TIFFWriteScanline.3t:: ${SRCDIR}/TIFFWriteScanline.3t; ${MANCVT}
lib/TIFFbuffer.3t:: ${SRCDIR}/TIFFbuffer.3t; ${MANCVT}
lib/TIFFcodec.3t:: ${SRCDIR}/TIFFcodec.3t; ${MANCVT}
lib/TIFFcolor.3t:: ${SRCDIR}/TIFFcolor.3t; ${MANCVT}
lib/TIFFmemory.3t:: ${SRCDIR}/TIFFmemory.3t; ${MANCVT}
lib/TIFFquery.3t:: ${SRCDIR}/TIFFquery.3t; ${MANCVT}
lib/TIFFsize.3t:: ${SRCDIR}/TIFFsize.3t; ${MANCVT}
lib/TIFFstrip.3t:: ${SRCDIR}/TIFFstrip.3t; ${MANCVT}
lib/TIFFswab.3t:: ${SRCDIR}/TIFFswab.3t; ${MANCVT}
lib/TIFFtile.3t:: ${SRCDIR}/TIFFtile.3t; ${MANCVT}
lib/TIFFComputeTile.3t:; ${ECHO} ".so ${MANDIR}TIFFtile.3t" > $@ ACLOCAL = @ACLOCAL@
lib/TIFFCheckTile.3t:; ${ECHO} ".so ${MANDIR}TIFFtile.3t" > $@ AUTOCONF = @AUTOCONF@
lib/TIFFNumberOfTiles.3t:; ${ECHO} ".so ${MANDIR}TIFFtile.3t" > $@ AUTOMAKE = @AUTOMAKE@
lib/TIFFComputeStrip.3t:; ${ECHO} ".so ${MANDIR}TIFFstrip.3t" > $@ AUTOHEADER = @AUTOHEADER@
lib/TIFFNumberOfStrips.3t:; ${ECHO} ".so ${MANDIR}TIFFstrip.3t" > $@
lib/TIFFCurrentDirectory.3t:; ${ECHO} ".so ${MANDIR}TIFFquery.3t" > $@
lib/TIFFCurrentRow.3t:; ${ECHO} ".so ${MANDIR}TIFFquery.3t" > $@
lib/TIFFCurrentStrip.3t:; ${ECHO} ".so ${MANDIR}TIFFquery.3t" > $@
lib/TIFFCurrentTile.3t:; ${ECHO} ".so ${MANDIR}TIFFquery.3t" > $@
lib/TIFFFdOpen.3t:; ${ECHO} ".so ${MANDIR}TIFFOpen.3t" > $@
lib/TIFFClientOpen.3t:; ${ECHO} ".so ${MANDIR}TIFFOpen.3t" > $@
lib/TIFFFileName.3t:; ${ECHO} ".so ${MANDIR}TIFFquery.3t" > $@
lib/TIFFFileno.3t:; ${ECHO} ".so ${MANDIR}TIFFquery.3t" > $@
lib/TIFFFlushData.3t:; ${ECHO} ".so ${MANDIR}TIFFFlush.3t" > $@
lib/TIFFGetMode.3t:; ${ECHO} ".so ${MANDIR}TIFFquery.3t" > $@
lib/TIFFIsTiled.3t:; ${ECHO} ".so ${MANDIR}TIFFquery.3t" > $@
lib/TIFFIsByteSwapped.3t:; ${ECHO} ".so ${MANDIR}TIFFquery.3t" > $@
lib/TIFFIsUpSampled.3t:; ${ECHO} ".so ${MANDIR}TIFFquery.3t" > $@
lib/TIFFIsMSB2LSB.3t:; ${ECHO} ".so ${MANDIR}TIFFquery.3t" > $@
lib/TIFFLastDirectory.3t:; ${ECHO} ".so ${MANDIR}TIFFquery.3t" > $@
lib/TIFFReverseBits.3t:; ${ECHO} ".so ${MANDIR}TIFFswab.3t" > $@
lib/TIFFRewriteDirectory.3t:; ${ECHO} ".so ${MANDIR}TIFFWriteDirectory.3t" > $@
lib/TIFFCheckpointDirectory.3t:; ${ECHO} ".so ${MANDIR}TIFFWriteDirectory.3t" > $@
lib/TIFFRGBAImageOK.3t:; ${ECHO} ".so ${MANDIR}TIFFRGBAImage.3t" > $@
lib/TIFFRGBAImageBegin.3t:; ${ECHO} ".so ${MANDIR}TIFFRGBAImage.3t" > $@
lib/TIFFRGBAImageGet.3t:; ${ECHO} ".so ${MANDIR}TIFFRGBAImage.3t" > $@
lib/TIFFRGBAImageEnd.3t:; ${ECHO} ".so ${MANDIR}TIFFRGBAImage.3t" > $@
lib/TIFFReadRGBAImageOriented.3t:; ${ECHO} ".so ${MANDIR}TIFFReadRGBAImage.3t" > $@
lib/TIFFSetErrorHandler.3t:; ${ECHO} ".so ${MANDIR}TIFFError.3t" > $@
lib/TIFFSetSubDirectory.3t:; ${ECHO} ".so ${MANDIR}TIFFSetDirectory.3t" > $@
lib/TIFFSetWarningHandler.3t:; ${ECHO} ".so ${MANDIR}TIFFWarning.3t" > $@
lib/TIFFSwabArrayOfLong.3t:; ${ECHO} ".so ${MANDIR}TIFFswab.3t" > $@
lib/TIFFSwabArrayOfShort.3t:; ${ECHO} ".so ${MANDIR}TIFFswab.3t" > $@
lib/TIFFSwabLong.3t:; ${ECHO} ".so ${MANDIR}TIFFswab.3t" > $@
lib/TIFFSwabShort.3t:; ${ECHO} ".so ${MANDIR}TIFFswab.3t" > $@
lib/TIFFScanlineSize.3t:; ${ECHO} ".so ${MANDIR}TIFFsize.3t" > $@
lib/TIFFRasterScanlineSize.3t:; ${ECHO} ".so ${MANDIR}TIFFsize.3t" > $@
lib/TIFFDefaultStripSize.3t:; ${ECHO} ".so ${MANDIR}TIFFstrip.3t" > $@
lib/TIFFStripSize.3t:; ${ECHO} ".so ${MANDIR}TIFFstrip.3t" > $@
lib/TIFFVStripSize.3t:; ${ECHO} ".so ${MANDIR}TIFFstrip.3t" > $@
lib/TIFFTileSize.3t:; ${ECHO} ".so ${MANDIR}TIFFtile.3t" > $@
lib/TIFFVTileSize.3t:; ${ECHO} ".so ${MANDIR}TIFFtile.3t" > $@
lib/TIFFDefaultTileSize.3t:; ${ECHO} ".so ${MANDIR}TIFFtile.3t" > $@
lib/TIFFTileRowSize.3t:; ${ECHO} ".so ${MANDIR}TIFFtile.3t" > $@
lib/TIFFVGetField.3t:; ${ECHO} ".so ${MANDIR}TIFFGetField.3t" > $@
lib/TIFFGetFieldDefaulted.3t:; ${ECHO} ".so ${MANDIR}TIFFGetField.3t" > $@
lib/TIFFVGetFieldDefaulted.3t:; ${ECHO} ".so ${MANDIR}TIFFGetField.3t" > $@
lib/TIFFVSetField.3t:; ${ECHO} ".so ${MANDIR}TIFFSetField.3t" > $@
lib/TIFFFindCODEC.3t:; ${ECHO} ".so ${MANDIR}TIFFcodec.3t" > $@
lib/TIFFRegisterCODEC.3t:; ${ECHO} ".so ${MANDIR}TIFFcodec.3t" > $@
lib/TIFFUnRegisterCODEC.3t:; ${ECHO} ".so ${MANDIR}TIFFcodec.3t" > $@
lib/TIFFYCbCrToRGBInit.3t:; ${ECHO} ".so ${MANDIR}TIFFcolor.3t" > $@
lib/TIFFYCbCrtoRGB.3t:; ${ECHO} ".so ${MANDIR}TIFFcolor.3t" > $@
lib/TIFFCIELabToRGBInit.3t:; ${ECHO} ".so ${MANDIR}TIFFcolor.3t" > $@
lib/TIFFCIELabToXYZ.3t:; ${ECHO} ".so ${MANDIR}TIFFcolor.3t" > $@
lib/TIFFXYZToRGB.3t:; ${ECHO} ".so ${MANDIR}TIFFcolor.3t" > $@
lib/TIFFmalloc.3t:; ${ECHO} ".so ${MANDIR}TIFFmemory.3t" > $@
lib/TIFFrealloc.3t:; ${ECHO} ".so ${MANDIR}TIFFmemory.3t" > $@
lib/TIFFfree.3t:; ${ECHO} ".so ${MANDIR}TIFFmemory.3t" > $@
lib/TIFFmemset.3t:; ${ECHO} ".so ${MANDIR}TIFFmemory.3t" > $@
lib/TIFFmemcpy.3t:; ${ECHO} ".so ${MANDIR}TIFFmemory.3t" > $@
lib/TIFFmemcmp.3t:; ${ECHO} ".so ${MANDIR}TIFFmemory.3t" > $@
lib/TIFFReadBufferSetup.3t:; ${ECHO} ".so ${MANDIR}TIFFbuffer.3t" > $@
lib/TIFFWriteBufferSetup.3t:; ${ECHO} ".so ${MANDIR}TIFFbuffer.3t" > $@
apps/Makefile: INSTALL = @INSTALL@
test -d apps || mkdir apps INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
${MAKE} -${MAKEFLAGS} ${MANTOOLS} INSTALL_DATA = @INSTALL_DATA@
${RM} apps/Makefile INSTALL_SCRIPT = @INSTALL_SCRIPT@
(cd apps; \ transform = @program_transform_name@
${ECHO} 'install:'; \
for i in *.1; do \
f=${MANAPPNAME}; \
${ECHO} ' cd ..; ${INSTALL} -m 444 \
-F $${DESTDIR}${MAN}/${MANAPPS} \
-idb tiff.man.tools -src' apps/"$$i" '-O' "$$f"; \
done \
)>apps/Makefile
lib/Makefile:
test -d lib || mkdir lib
${MAKE} -${MAKEFLAGS} ${MANDEV} ${MANDEVLINKS}
${RM} lib/Makefile
(cd lib; \
${ECHO} 'install:'; \
for i in *.3t; do \
f=${MANLIBNAME}; \
${ECHO} ' cd ..; ${INSTALL} -m 444 \
-F $${DESTDIR}${MAN}/${MANLIB} \
-idb tiff.man.dev -src' lib/"$$i" '-O' "$$f"; \
done \
)>lib/Makefile
install: all NORMAL_INSTALL = :
${INSTALL} -m 755 -dir -idb tiff.man.tools ${DESTDIR}${MAN} PRE_INSTALL = :
${INSTALL} -m 755 -dir -idb tiff.man.tools ${DESTDIR}${MAN}/${MANAPPS} POST_INSTALL = :
cd apps; ${MAKE} -${MAKEFLAGS} install NORMAL_UNINSTALL = :
${INSTALL} -m 755 -dir -idb tiff.man.dev ${DESTDIR}${MAN}/${MANLIB} PRE_UNINSTALL = :
cd lib; ${MAKE} -${MAKEFLAGS} install POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
AR = @AR@
AS = @AS@
CC = @CC@
CXX = @CXX@
CXXCPP = @CXXCPP@
DLLTOOL = @DLLTOOL@
ECHO = @ECHO@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
F77 = @F77@
GCJ = @GCJ@
GCJFLAGS = @GCJFLAGS@
LIBTIFF_MAJOR_VERSION = @LIBTIFF_MAJOR_VERSION@
LIBTIFF_MICRO_VERSION = @LIBTIFF_MICRO_VERSION@
LIBTIFF_MINOR_VERSION = @LIBTIFF_MINOR_VERSION@
LIBTIFF_VERSION = @LIBTIFF_VERSION@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
RANLIB = @RANLIB@
RC = @RC@
STRIP = @STRIP@
VERSION = @VERSION@
clean: man_MANS = fax2ps.1 fax2tiff.1 gif2tiff.1 libtiff.3t pal2rgb.1 ppm2tiff.1 ras2tiff.1 raw2tiff.1 rgb2ycbcr.1 sgi2tiff.1 thumbnail.1 tiff2bw.1 tiff2pdf.1 tiff2ps.1 tiff2rgba.1 TIFFbuffer.3t TIFFClose.3t tiffcmp.1 tiffcp.1 tiffdither.1 tiffdump.1 tiffgt.1 tiffinfo.1 tiffmedian.1 tiffsplit.1 tiffsv.1 TIFFcodec.3t TIFFcolor.3t TIFFDataWidth.3t TIFFError.3t TIFFFlush.3t TIFFGetField.3t TIFFmemory.3t TIFFOpen.3t TIFFPrintDirectory.3t TIFFquery.3t TIFFReadDirectory.3t TIFFReadEncodedStrip.3t TIFFReadEncodedTile.3t TIFFReadRawStrip.3t TIFFReadRawTile.3t TIFFReadRGBAImage.3t TIFFReadRGBAStrip.3t TIFFReadRGBATile.3t TIFFReadScanline.3t TIFFReadTile.3t TIFFRGBAImage.3t TIFFSetDirectory.3t TIFFSetField.3t TIFFsize.3t TIFFstrip.3t TIFFswab.3t TIFFtile.3t TIFFWarning.3t TIFFWriteDirectory.3t TIFFWriteEncodedStrip.3t TIFFWriteEncodedTile.3t TIFFWriteRawStrip.3t TIFFWriteRawTile.3t TIFFWriteScanline.3t TIFFWriteTile.3t
rm -rf apps lib
#
# Miscellaneous junk left over...
#
links: ${MANDEVLINKS} EXTRA_DIST = $(man_MANS)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../libtiff/config.h
CONFIG_CLEAN_FILES =
man1dir = $(mandir)/man1
man3dir = $(mandir)/man3
MANS = $(man_MANS)
short: NROFF = nroff
${MV} TIFFClose.3t close.3t DIST_COMMON = Makefile.am Makefile.in
${MV} TIFFDataWidth.3t width.3t
${MV} TIFFError.3t error.3t
${MV} TIFFFlush.3t flush.3t DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
${MV} TIFFGetField.3t getfield.3t
${MV} TIFFOpen.3t open.3t TAR = tar
${MV} TIFFPrintDirectory.3t print.3t GZIP_ENV = --best
${MV} TIFFReadEncodedStrip.3t rdestrip.3t all: all-redirect
${MV} TIFFReadencodedTile.3t rdetile.3t .SUFFIXES:
${MV} TIFFReadRawStrip.3t rdrstrip.3t $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
${MV} TIFFReadRawTile.3t rdrtile.3t cd $(top_srcdir) && $(AUTOMAKE) --foreign man/Makefile
${MV} TIFFReadDirectory.3t readdir.3t
${MV} TIFFReadRGBAImage.3t rdimage.3t Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
${MV} TIFFReadRGBAStrip.3t rdsimage.3t cd $(top_builddir) \
${MV} TIFFReadRGBATile.3t rdtimage.3t && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
${MV} TIFFReadScanline.3t readline.3t
${MV} TIFFReadTile.3t readtile.3t
${MV} TIFFRGBAImage.3t rgbaimage.3t install-man1:
${MV} TIFFSetDirectory.3t setdir.3t $(mkinstalldirs) $(DESTDIR)$(man1dir)
${MV} TIFFSetField.3t setfield.3t @list='$(man1_MANS)'; \
${MV} TIFFWarning.3t warning.3t l2='$(man_MANS)'; for i in $$l2; do \
${MV} TIFFWriteEncodedStrip.3t wrestrip.3t case "$$i" in \
${MV} TIFFWriteEncodedTile.3t wretile.3t *.1*) list="$$list $$i" ;; \
${MV} TIFFWriteTile.3t wrttile.3t esac; \
${MV} TIFFWriteDirectory.3t writedir.3t done; \
${MV} TIFFWriteRawStrip.3t wrrstrip.3t for i in $$list; do \
${MV} TIFFWriteRawTile.3t wrrtile.3t if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
${MV} TIFFWriteScanline.3t writeline.3t else file=$$i; fi; \
${MV} TIFFtile.3t tile.3t ext=`echo $$i | sed -e 's/^.*\\.//'`; \
${MV} TIFFstrip.3t strip.3t inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
${MV} TIFFquery.3t query.3t inst=`echo $$inst | sed '$(transform)'`.$$ext; \
${MV} TIFFswab.3t swab.3t echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
${MV} TIFFsize.3t size.3t $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
${MV} TIFFcodec.3t codec.3t done
${MV} TIFFmemory.3t memory.3t
${MV} TIFFbuffer.3t buffer.3t uninstall-man1:
@list='$(man1_MANS)'; \
l2='$(man_MANS)'; for i in $$l2; do \
case "$$i" in \
*.1*) list="$$list $$i" ;; \
esac; \
done; \
for i in $$list; do \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
rm -f $(DESTDIR)$(man1dir)/$$inst; \
done
install-man3:
$(mkinstalldirs) $(DESTDIR)$(man3dir)
@list='$(man3_MANS)'; \
l2='$(man_MANS)'; for i in $$l2; do \
case "$$i" in \
*.3*) list="$$list $$i" ;; \
esac; \
done; \
for i in $$list; do \
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
$(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
done
uninstall-man3:
@list='$(man3_MANS)'; \
l2='$(man_MANS)'; for i in $$l2; do \
case "$$i" in \
*.3*) list="$$list $$i" ;; \
esac; \
done; \
for i in $$list; do \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
rm -f $(DESTDIR)$(man3dir)/$$inst; \
done
install-man: $(MANS)
@$(NORMAL_INSTALL)
$(MAKE) $(AM_MAKEFLAGS) install-man1 install-man3
uninstall-man:
@$(NORMAL_UNINSTALL)
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man3
tags: TAGS
TAGS:
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
subdir = man
distdir: $(DISTFILES)
here=`cd $(top_builddir) && pwd`; \
top_distdir=`cd $(top_distdir) && pwd`; \
distdir=`cd $(distdir) && pwd`; \
cd $(top_srcdir) \
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign man/Makefile
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file || :; \
fi; \
done
info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am:
install-exec: install-exec-am
install-data-am: install-man
install-data: install-data-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-man
uninstall: uninstall-am
all-am: Makefile $(MANS)
all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
$(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man3
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic:
mostlyclean-am: mostlyclean-generic
mostlyclean: mostlyclean-am
clean-am: clean-generic mostlyclean-am
clean: clean-am
distclean-am: distclean-generic clean-am
-rm -f libtool
distclean: distclean-am
maintainer-clean-am: maintainer-clean-generic distclean-am
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
maintainer-clean: maintainer-clean-am
.PHONY: install-man1 uninstall-man1 install-man3 uninstall-man3 \
install-man uninstall-man tags distdir info-am info dvi-am dvi check \
check-am installcheck-am installcheck install-exec-am install-exec \
install-data-am install-data install-am install uninstall-am uninstall \
all-redirect all-am all installdirs mostlyclean-generic \
distclean-generic clean-generic maintainer-clean-generic clean \
mostlyclean distclean maintainer-clean
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

198
missing Executable file
View File

@ -0,0 +1,198 @@
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc.
# Franc,ois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
if test $# -eq 0; then
echo 1>&2 "Try \`$0 --help' for more information"
exit 1
fi
# In the cases where this matters, `missing' is being run in the
# srcdir already.
if test -f configure.in; then
configure_ac=configure.ac
else
configure_ac=configure.in
fi
case "$1" in
-h|--h|--he|--hel|--help)
echo "\
$0 [OPTION]... PROGRAM [ARGUMENT]...
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
error status if there is no known handling for PROGRAM.
Options:
-h, --help display this help and exit
-v, --version output version information and exit
Supported PROGRAM values:
aclocal touch file \`aclocal.m4'
autoconf touch file \`configure'
autoheader touch file \`config.h.in'
automake touch all \`Makefile.in' files
bison create \`y.tab.[ch]', if possible, from existing .[ch]
flex create \`lex.yy.c', if possible, from existing .c
lex create \`lex.yy.c', if possible, from existing .c
makeinfo touch the output file
yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
;;
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
echo "missing - GNU libit 0.0"
;;
-*)
echo 1>&2 "$0: Unknown \`$1' option"
echo 1>&2 "Try \`$0 --help' for more information"
exit 1
;;
aclocal*)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`acinclude.m4' or \`$configure_ac'. You might want
to install the \`Automake' and \`Perl' packages. Grab them from
any GNU archive site."
touch aclocal.m4
;;
autoconf)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`$configure_ac'. You might want to install the
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
archive site."
touch configure
;;
autoheader)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`acconfig.h' or \`$configure_ac'. You might want
to install the \`Autoconf' and \`GNU m4' packages. Grab them
from any GNU archive site."
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' $configure_ac`
test -z "$files" && files="config.h"
touch_files=
for f in $files; do
case "$f" in
*:*) touch_files="$touch_files "`echo "$f" |
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
*) touch_files="$touch_files $f.in";;
esac
done
touch $touch_files
;;
automake*)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`Makefile.am', \`acinclude.m4' or \`$configure_ac'.
You might want to install the \`Automake' and \`Perl' packages.
Grab them from any GNU archive site."
find . -type f -name Makefile.am -print |
sed 's/\.am$/.in/' |
while read f; do touch "$f"; done
;;
bison|yacc)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified a \`.y' file. You may need the \`Bison' package
in order for those modifications to take effect. You can get
\`Bison' from any GNU archive site."
rm -f y.tab.c y.tab.h
if [ $# -ne 1 ]; then
eval LASTARG="\${$#}"
case "$LASTARG" in
*.y)
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
if [ -f "$SRCFILE" ]; then
cp "$SRCFILE" y.tab.c
fi
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
if [ -f "$SRCFILE" ]; then
cp "$SRCFILE" y.tab.h
fi
;;
esac
fi
if [ ! -f y.tab.h ]; then
echo >y.tab.h
fi
if [ ! -f y.tab.c ]; then
echo 'main() { return 0; }' >y.tab.c
fi
;;
lex|flex)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified a \`.l' file. You may need the \`Flex' package
in order for those modifications to take effect. You can get
\`Flex' from any GNU archive site."
rm -f lex.yy.c
if [ $# -ne 1 ]; then
eval LASTARG="\${$#}"
case "$LASTARG" in
*.l)
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
if [ -f "$SRCFILE" ]; then
cp "$SRCFILE" lex.yy.c
fi
;;
esac
fi
if [ ! -f lex.yy.c ]; then
echo 'main() { return 0; }' >lex.yy.c
fi
;;
makeinfo)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified a \`.texi' or \`.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy \`make' (AIX,
DU, IRIX). You might want to install the \`Texinfo' package or
the \`GNU make' package. Grab either from any GNU archive site."
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
if test -z "$file"; then
file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
fi
touch $file
;;
*)
echo 1>&2 "\
WARNING: \`$1' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them. Check the \`README' file,
it often tells you about the needed prerequirements for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing \`$1' program."
exit 1
;;
esac
exit 0

40
mkinstalldirs Executable file
View File

@ -0,0 +1,40 @@
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id: mkinstalldirs,v 1.1 2004-03-19 17:26:22 dron Exp $
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pathcomp=
for d
do
pathcomp="$pathcomp$d"
case "$pathcomp" in
-* ) pathcomp=./$pathcomp ;;
esac
if test ! -d "$pathcomp"; then
echo "mkdir $pathcomp"
mkdir "$pathcomp" || lasterr=$?
if test ! -d "$pathcomp"; then
errstatus=$lasterr
fi
fi
pathcomp="$pathcomp/"
done
done
exit $errstatus
# mkinstalldirs ends here