summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Warmerdam <warmerdam@pobox.com>2001-09-24 19:55:32 +0000
committerFrank Warmerdam <warmerdam@pobox.com>2001-09-24 19:55:32 +0000
commitb6d12d041cd020340c73af635db0cda71e2d1e5f (patch)
treeb9d4f5b31d6e6351da376c2633dbdeed8efb9a85
parentaa1ab04f66cb29c54cb483ab2b53c12653ecc835 (diff)
downloadlibtiff-git-b6d12d041cd020340c73af635db0cda71e2d1e5f.tar.gz
obsolete
-rw-r--r--Makefile554
-rw-r--r--man/Makefile407
-rw-r--r--port/install.sh246
-rw-r--r--tools/Makefile259
4 files changed, 0 insertions, 1466 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index a6daba6a..00000000
--- a/Makefile
+++ /dev/null
@@ -1,554 +0,0 @@
-#! smake
-# $Header: /cvs/maptools/cvsroot/libtiff/Attic/Makefile,v 1.10 2001-01-23 21:41:21 mwelles Exp $
-#
-# Warning, this file was automatically created by the TIFF configure script
-#
-# Tag Image File Format Library
-#
-# Copyright (c) 1988-1997 Sam Leffler
-# Copyright (c) 1991-1997 Silicon Graphics, Inc.
-#
-# 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.
-#
-
-SRCDIR = .
-
-#
-# VERSION: v3.5.6
-# DATE: Tue Jan 23 16:40:27 EST 2001
-# TARGET: i686-unknown-linux
-# CCOMPILER: /usr/bin/gcc
-#
-
-SHELL = /bin/sh
-NULL =
-ECHO = echo
-GENDIST = ${TOOLROOT}/usr/sbin/gendist
-INSTALL = ${SHELL} ../port/install.sh
-
-all default:
- @if [ "no" = yes ]; then \
- ${ECHO} "= "port; cd port; ${MAKE}; \
- else \
- true; \
- fi
- @${ECHO} "= "libtiff; cd libtiff; ${MAKE}
- @${ECHO} "= "tools; cd tools; ${MAKE}
- @${ECHO} "= "man; cd man; ${MAKE}
-
-install:
- @${ECHO} "= "libtiff; cd libtiff; ${MAKE} install
- @${ECHO} "= "tools; cd tools; ${MAKE} install
- @${ECHO} "= "man; cd man; ${MAKE} install
- @if [ "no" = yes ]; then \
- ${ECHO} "= "html; cd html; ${MAKE} install; \
- else \
- true; \
- fi
-
-install-private: install
- @${ECHO} "= "libtiff; cd libtiff; ${MAKE} installPrivateHdrs
-
-clean:
- @if [ "no" = yes ]; then \
- ${ECHO} "= "port; cd port; ${MAKE} clean; \
- else \
- true; \
- fi
- @${ECHO} "= "libtiff; cd libtiff; ${MAKE} clean
- @${ECHO} "= "tools; cd tools; ${MAKE} clean
- @${ECHO} "= "man; cd man; ${MAKE} clean
-# -cd contrib/dbs; ${MAKE} clean
-# -cd contrib/dbs/xtiff; ${MAKE} clean
-
-clobber distclean: clean
- rm -f Makefile libtiff/port.h config.log
- rm -f libtiff/Makefile
- rm -f tools/Makefile
- rm -f man/Makefile
- rm -f port/Makefile port/install.sh
- rm -f html/Makefile
-
-#
-# The folllowing rule creates a binary distribution for IRIX.
-#
-installLink::
- if [ /usr/local/lib != /usr/lib ]; then \
- ${INSTALL} -idb tiff.sw.tools -F /usr/lib \
- -lns /usr/local/lib/libtiff.so.3 -O libtiff.so.3; \
- else \
- true; \
- fi
-product::
- test -d dist || mkdir dist
- rm -f dist/rawidb
- SRC=`pwd` RAWIDB=`pwd`/dist/rawidb ${MAKE} install installLink
- rm -f dist/idb
- sort -u +4 dist/rawidb > dist/idb
- ${GENDIST} -v -dist dist -idb dist/idb \
- -sbase `pwd` -spec ${SRCDIR}/dist/tiff.spec
-
-#
-# These rules are used to create the source distribution images
-#
-
-HOST = sgi
-COMPRESS= gzip
-ZIPSUF = gz
-
-TIFFFILES=\
- configure \
- config.guess \
- config.sub \
- config.site \
- Makefile.in \
- README \
- VERSION \
- RELEASE-DATE \
- COPYRIGHT \
- TODO \
- test_pics.sh \
- dist/tiff.spec \
- dist/newalpha \
- dist/newversion \
- libtiff/Makefile.in \
- libtiff/Makefile.lcc \
- libtiff/makefile.vc \
- libtiff/libtiff.def \
- libtiff/t4.h \
- libtiff/tiff.h \
- libtiff/tiffcomp.h \
- libtiff/tiffconf.h \
- libtiff/tiffio.h \
- libtiff/tiffiop.h \
- libtiff/uvcode.h \
- libtiff/mkg3states.c \
- libtiff/mkspans.c \
- libtiff/mkversion.c \
- libtiff/tif_acorn.c \
- libtiff/tif_apple.c \
- libtiff/tif_atari.c \
- libtiff/tif_aux.c \
- libtiff/tif_close.c \
- libtiff/tif_codec.c \
- libtiff/tif_compress.c \
- libtiff/tif_dir.h \
- libtiff/tif_dir.c \
- libtiff/tif_dirinfo.c \
- libtiff/tif_dirread.c \
- libtiff/tif_dirwrite.c \
- libtiff/tif_dumpmode.c \
- libtiff/tif_error.c \
- libtiff/tif_fax3.c \
- libtiff/fax3sm_winnt.c \
- libtiff/tif_fax3.h \
- libtiff/tif_flush.c \
- libtiff/tif_getimage.c \
- libtiff/tif_jpeg.c \
- libtiff/tif_luv.c \
- libtiff/tif_lzw.c \
- libtiff/tif_msdos.c \
- libtiff/tif_next.c \
- libtiff/tif_open.c \
- libtiff/tif_packbits.c \
- libtiff/tif_pixarlog.c \
- libtiff/tif_predict.h \
- libtiff/tif_predict.c \
- libtiff/tif_print.c \
- libtiff/tif_read.c \
- libtiff/tif_strip.c \
- libtiff/tif_swab.c \
- libtiff/tif_thunder.c \
- libtiff/tif_tile.c \
- libtiff/tif_unix.c \
- libtiff/tif_version.c \
- libtiff/tif_vms.c \
- libtiff/tif_warning.c \
- libtiff/tif_win3.c \
- libtiff/tif_win32.c \
- libtiff/tif_write.c \
- libtiff/tif_zip.c \
- port/Makefile.in \
- port/getopt.c \
- port/install.sh.in \
- port/irix/so_locations \
- port/strcasecmp.c \
- port/strtoul.c \
- tools/Makefile.in \
- tools/Makefile.vc \
- tools/Makefile.lcc \
- tools/fax2tiff.c \
- tools/fax2ps.c \
- tools/gif2tiff.c \
- tools/pal2rgb.c \
- tools/ppm2tiff.c \
- tools/ras2tiff.c \
- tools/rasterfile.h \
- tools/rgb2ycbcr.c \
- tools/sgi2tiff.c \
- tools/sgigt.c \
- tools/sgisv.c \
- tools/thumbnail.c \
- tools/tiff2bw.c \
- tools/tiff2rgba.c \
- tools/tiff2ps.c \
- tools/tiffcmp.c \
- tools/tiffcp.c \
- tools/tiffdither.c \
- tools/tiffdump.c \
- tools/tiffinfo.c \
- tools/tiffmedian.c \
- tools/tiffsplit.c \
- tools/ycbcr.c \
- man/Makefile.in \
- man/fax2tiff.1 \
- man/fax2ps.1 \
- man/gif2tiff.1 \
- man/pal2rgb.1 \
- man/ppm2tiff.1 \
- man/ras2tiff.1 \
- man/rgb2ycbcr.1 \
- man/sgi2tiff.1 \
- man/thumbnail.1 \
- man/tiff2bw.1 \
- man/tiff2ps.1 \
- man/tiffcmp.1 \
- man/tiffcp.1 \
- man/tiffdither.1 \
- man/tiffdump.1 \
- man/tiffgt.1 \
- man/tiffinfo.1 \
- man/tiffmedian.1 \
- man/tiffsplit.1 \
- man/tiffsv.1 \
- man/TIFFClose.3t \
- man/TIFFError.3t \
- man/TIFFFlush.3t \
- man/TIFFGetField.3t \
- man/TIFFOpen.3t \
- man/TIFFPrintDirectory.3t \
- man/TIFFReadDirectory.3t \
- man/TIFFReadEncodedStrip.3t \
- man/TIFFReadEncodedTile.3t \
- man/TIFFReadRGBAImage.3t \
- man/TIFFReadRGBAStrip.3t \
- man/TIFFReadRGBATile.3t \
- man/TIFFReadRawStrip.3t \
- man/TIFFReadRawTile.3t \
- man/TIFFReadScanline.3t \
- man/TIFFReadTile.3t \
- man/TIFFRGBAImage.3t \
- man/TIFFSetDirectory.3t \
- man/TIFFSetField.3t \
- man/TIFFWarning.3t \
- man/TIFFWriteDirectory.3t \
- man/TIFFWriteEncodedStrip.3t \
- man/TIFFWriteEncodedTile.3t \
- man/TIFFWriteTile.3t \
- man/TIFFWriteRawStrip.3t \
- man/TIFFWriteRawTile.3t \
- man/TIFFWriteScanline.3t \
- man/libtiff.3t \
- man/TIFFbuffer.3t \
- man/TIFFcodec.3t \
- man/TIFFmemory.3t \
- man/TIFFquery.3t \
- man/TIFFsize.3t \
- man/TIFFstrip.3t \
- man/TIFFswab.3t \
- man/TIFFtile.3t \
- html/images \
- html/images/back.gif \
- html/images/bali.jpg \
- html/images/cat.gif \
- html/images/cover.jpg \
- html/images/cramps.gif \
- html/images/dave.gif \
- html/images/info.gif \
- html/images/jello.jpg \
- html/images/jim.gif \
- html/images/note.gif \
- html/images/oxford.gif \
- html/images/quad.jpg \
- html/images/ring.gif \
- html/images/smallliz.jpg \
- html/images/strike.gif \
- html/images/warning.gif \
- html/Makefile.in \
- html/bugs.html \
- html/build.html \
- html/contrib.html \
- html/document.html \
- html/images.html \
- html/index.html \
- html/internals.html \
- html/intro.html \
- html/libtiff.html \
- html/misc.html \
- html/support.html \
- html/tools.html \
- html/v3.4beta007.html \
- html/v3.4beta016.html \
- html/v3.4beta018.html \
- html/v3.4beta024.html \
- html/v3.4beta028.html \
- html/v3.4beta029.html \
- html/v3.4beta031.html \
- html/v3.4beta032.html \
- html/v3.4beta033.html \
- html/v3.4beta034.html \
- html/v3.4beta035.html \
- html/v3.4beta036.html \
- html/v3.5.1.html \
- html/v3.5.2.html \
- html/v3.5.3.html \
- html/man \
- html/man/TIFFClose.3t.html \
- html/man/TIFFError.3t.html \
- html/man/TIFFFlush.3t.html \
- html/man/TIFFGetField.3t.html \
- html/man/TIFFOpen.3t.html \
- html/man/TIFFPrintDirectory.3t.html \
- html/man/TIFFRGBAImage.3t.html \
- html/man/TIFFReadDirectory.3t.html \
- html/man/TIFFReadEncodedStrip.3t.html \
- html/man/TIFFReadEncodedTile.3t.html \
- html/man/TIFFReadRGBAImage.3t.html \
- html/man/TIFFReadRGBAStrip.3t.html \
- html/man/TIFFReadRGBATile.3t.html \
- html/man/TIFFReadRawStrip.3t.html \
- html/man/TIFFReadRawTile.3t.html \
- html/man/TIFFReadScanline.3t.html \
- html/man/TIFFReadTile.3t.html \
- html/man/TIFFSetDirectory.3t.html \
- html/man/TIFFSetField.3t.html \
- html/man/TIFFWarning.3t.html \
- html/man/TIFFWriteDirectory.3t.html \
- html/man/TIFFWriteEncodedStrip.3t.html \
- html/man/TIFFWriteEncodedTile.3t.html \
- html/man/TIFFWriteRawStrip.3t.html \
- html/man/TIFFWriteRawTile.3t.html \
- html/man/TIFFWriteScanline.3t.html \
- html/man/TIFFbuffer.3t.html \
- html/man/TIFFcodec.3t.html \
- html/man/TIFFmemory.3t.html \
- html/man/TIFFquery.3t.html \
- html/man/TIFFsize.3t.html \
- html/man/TIFFstrip.3t.html \
- html/man/TIFFswab.3t.html \
- html/man/TIFFtile.3t.html \
- html/man/fax2ps.1.html \
- html/man/fax2tiff.1.html \
- html/man/gif2tiff.1.html \
- html/man/libtiff.3t.html \
- html/man/pal2rgb.1.html \
- html/man/ppm2tiff.1.html \
- html/man/ras2tiff.1.html \
- html/man/rgb2ycbcr.1.html \
- html/man/sgi2tiff.1.html \
- html/man/thumbnail.1.html \
- html/man/tiff2bw.1.html \
- html/man/tiff2ps.1.html \
- html/man/tiffcmp.1.html \
- html/man/tiffcp.1.html \
- html/man/tiffdither.1.html \
- html/man/tiffdump.1.html \
- html/man/tiffgt.1.html \
- html/man/tiffinfo.1.html \
- html/man/tiffmedian.1.html \
- html/man/tiffsplit.1.html \
- html/man/tiffsv.1.html \
- html/man/index.html \
- html/man/TIFFWriteTile.3t.html \
- ${NULL}
-OTHERFILES=\
- ${NULL}
-CONTRIBFILES=\
- contrib/dbs/README \
- contrib/dbs/Imakefile \
- contrib/dbs/tiff-bi.c \
- contrib/dbs/tiff-grayscale.c \
- contrib/dbs/tiff-palette.c \
- contrib/dbs/tiff-rgb.c \
- contrib/dbs/xtiff/README \
- contrib/dbs/xtiff/Imakefile \
- contrib/dbs/xtiff/patchlevel.h \
- contrib/dbs/xtiff/xtiff.c \
- contrib/dbs/xtiff/xtifficon.h \
- contrib/ras/README \
- contrib/ras/ras2tif.c \
- contrib/ras/tif2ras.c \
- contrib/vms/libtiff/makevms.com \
- contrib/vms/libtiff/tiff.opt \
- contrib/vms/libtiff/tiffshraxp.opt \
- contrib/vms/libtiff/tiffshrvax.opt \
- contrib/vms/libtiff/tiffvec.mar \
- contrib/vms/tools/makevms.com \
- contrib/tags/README \
- contrib/tags/Makefile.gcc \
- contrib/tags/Makefile.mpw \
- contrib/tags/listtif.c \
- contrib/tags/maketif.c \
- contrib/tags/xtif_dir.c \
- contrib/tags/xtiffio.h \
- contrib/tags/xtiffiop.h \
- contrib/mac-mpw/README \
- contrib/mac-mpw/BUILD.mpw \
- contrib/mac-mpw/libtiff.make \
- contrib/mac-mpw/mactrans.c \
- contrib/mac-mpw/port.make \
- contrib/mac-mpw/tools.make \
- contrib/mac-mpw/top.make \
- contrib/acorn/ReadMe \
- contrib/acorn/Makefile \
- contrib/acorn/SetVars \
- contrib/acorn/cleanlib \
- contrib/acorn/convert \
- contrib/acorn/install \
- contrib/win32/README \
- contrib/win32/dllshell.c \
- contrib/win32/libtiff.def \
- contrib/win95/README \
- contrib/win95/Makefile.w95 \
- contrib/win95/tiff2dib.c \
- contrib/winnt/README \
- contrib/winnt/README.console \
- contrib/winnt/fax3sm.c \
- contrib/winnt/libtiff.def \
- contrib/winnt/libtiff.mak \
- contrib/winnt/libtiff.vcp \
- contrib/winnt/version.h \
- contrib/mac-cw/README \
- contrib/mac-cw/Makefile.script \
- contrib/mac-cw/mac_main.c \
- contrib/mac-cw/mac_main.h \
- contrib/mac-cw/metrowerks.note \
- contrib/mac-cw/mkg3_main.c \
- contrib/mac-cw/version.h \
- contrib/dosdjgpp/README \
- contrib/dosdjgpp/Makefile.lib \
- contrib/dosdjgpp/Makefile.tools \
- contrib/dosdjgpp/Makefile.top \
- contrib/dosdjgpp/conf.bat \
- contrib/dosdjgpp/port.h \
- contrib/mfs/README \
- contrib/mfs/mfs_file.c \
- contrib/pds/README \
- contrib/pds/tif_imageiter.c \
- contrib/pds/tif_imageiter.h \
- contrib/pds/tif_pdsdirread.c \
- contrib/pds/tif_pdsdirwrite.c \
- contrib/addtiffo/README \
- contrib/addtiffo/Makefile \
- contrib/addtiffo/Makefile.vc \
- contrib/addtiffo/addtiffo.c \
- contrib/addtiffo/tif_overview.c \
- contrib/iptcutil/Makefile \
- contrib/iptcutil/iptcutil.c \
- contrib/iptcutil/test.iptc \
- contrib/iptcutil/test.txt \
- ${NULL}
-
-DISTFILES=\
- ${TIFFFILES} \
- dist/tiff.alpha \
- dist/tiff.version \
- ${OTHERFILES} \
- ${CONTRIBFILES} \
- ${NULL}
-
-CONFIG=\
- -with-CC=cc \
- -with-GCOPTS=" " \
- -with-JPEG=yes \
- -with-DIR_JPEG=../src/jpeg-5a \
- -with-ZIP=yes \
- -with-DIR_LIBGZ=../src/zlib \
- ${NULL}
-
-rcsclean:
- rcsclean ${TIFFFILES} && co ${TIFFFILES}
-
-release:
- (cd ${SRCDIR}/dist; sh newversion)
- ${MAKE} release.stamp
-# ${SRCDIR}/configure ${CONFIG}
-# ${MAKE} product
- ${MAKE} release.tar.zip
-
-
-# stamp relevant files according to current alpha
-release.stamp:
- date "+%m/%d/%Y" > RELEASE-DATE
-
-#diffs since last release
-releasediff:
- -@for i in ${TIFFFILES}; do \
- cvs diff -D`cat RELEASE-DATE` ${SRCDIR}/$$i; \
- done
-
-# create release or beta distribution archive
-release.tar.zip:
- VERSIONREL="v3.5.6-beta"; \
- rm -f ../tiff-$$VERSIONREL $$VERSIONREL $$VERSIONREL-tar; \
- ln -s ${SRCDIR} tiff-$$VERSIONREL; \
- (for i in ${DISTFILES}; do \
- echo $$i; \
- done) | sed "s;.*;tiff-$$VERSIONREL/&;" >$$VERSIONREL; \
- tar cvf $$VERSIONREL-tar `cat $$VERSIONREL`; \
- zip ../tiff-$$VERSIONREL.zip `cat $$VERSIONREL`; \
- cat $$VERSIONREL-tar | ${COMPRESS} >../tiff-$$VERSIONREL.tar.${ZIPSUF}; \
- rm -f tiff-$$VERSIONREL $$VERSIONREL $$VERSIONREL-tar;
-#
-# Simple rule to run test suite assuming that pics directory is
-# just below this one, and that .rpt files are available.
-#
-test:
- test_pics.sh pics/*.tif
-
-#
-# Create a package of the test images.
-#
-
-PICS=\
- pics/README \
- pics/cramps.tif \
- pics/cramps-tile.tif \
- pics/fax2d.tif \
- pics/g3test.tif \
- pics/jello.tif \
- pics/jim___cg.tif \
- pics/jim___dg.tif \
- pics/jim___gg.tif \
- pics/jim___ah.tif \
- pics/strike.tif \
- pics/oxford.tif \
- pics/quad-lzw.tif \
- pics/quad-tile.tif \
- pics/text.tif \
- pics/ycbcr-cat.tif \
- pics/smallliz.tif \
- pics/zackthecat.tif \
- pics/fax2d.g3 \
- pics/g3test.g3 \
- ${NULL}
-
-pics.tar:
- tar cvf - ${PICS} | ${COMPRESS} > tiffpics.tar.${ZIPSUF}
diff --git a/man/Makefile b/man/Makefile
deleted file mode 100644
index 42c14455..00000000
--- a/man/Makefile
+++ /dev/null
@@ -1,407 +0,0 @@
-#! smake
-# $Header: /cvs/maptools/cvsroot/libtiff/man/Attic/Makefile,v 1.8 2001-01-23 21:41:21 mwelles Exp $
-#
-# Warning, this file was automatically created by the TIFF configure script
-#
-# Tag Image File Format Library Manual Pages
-#
-# Copyright (c) 1991-1997 Sam Leffler
-# Copyright (c) 1991-1997 Silicon Graphics, Inc.
-#
-# 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 Stanford 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.
-#
-SRCDIR = ../man
-
-#
-# VERSION: v3.5.6
-# DATE: Tue Jan 23 16:40:27 EST 2001
-# TARGET: i686-unknown-linux
-# CCOMPILER: /usr/bin/gcc
-#
-SHELL = /bin/sh
-NULL =
-ECHO = echo
-SED = sed
-MV = mv
-RM = rm -f
-INSTALL = ${SHELL} ../port/install.sh
-
-#
-# Manual-related controls:
-#
-# MAN head of manual tree
-# MANAPPS subdirectory for application programs
-# MANLIB subdirectory for library functions
-#
-MAN = /usr/local/man
-MANAPPS = man1
-MANLIB = man3
-#
-# 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 =
-MANCVT = ${MANSED} $? >$@
-#
-# 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 = $$i
-MANLIBNAME = $$i
-
-#
-# 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=\
- apps/fax2tiff.1 \
- apps/fax2ps.1 \
- apps/gif2tiff.1 \
- apps/pal2rgb.1 \
- apps/ppm2tiff.1 \
- apps/ras2tiff.1 \
- apps/rgb2ycbcr.1 \
- apps/sgi2tiff.1 \
- apps/thumbnail.1 \
- apps/tiff2bw.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/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/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/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/TIFFRGBAImageOK.3t \
- lib/TIFFRGBAImageBegin.3t \
- lib/TIFFRGBAImageGet.3t \
- lib/TIFFRGBAImageEnd.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/TIFFVSetField.3t \
- lib/TIFFReadBufferSetup.3t \
- lib/TIFFWriteBufferSetup.3t \
- ${NULL}
-TARGETS=apps/Makefile lib/Makefile
-
-#
-# System-specific manual page formatting commands should
-# apply this sed command to the manual page source before
-# handing it to the formatter. This sets any pathnames
-# in the man pages to reflect local conventions.
-#
-MANSED=${SED}\
- -e 's;\$${DIR_BIN};/usr/local/bin;g' \
- -e 's;\$${DIR_LIB};/usr/local/lib;g' \
- -e 's;\$${DIR_INC};/usr/local/include;g' \
- ${MANSEDLOCAL}
-
-all: ${TARGETS}
-
-apps/fax2tiff.1:: ${SRCDIR}/fax2tiff.1; ${MANCVT}
-apps/fax2ps.1:: ${SRCDIR}/fax2ps.1; ${MANCVT}
-apps/gif2tiff.1:: ${SRCDIR}/gif2tiff.1; ${MANCVT}
-apps/pal2rgb.1:: ${SRCDIR}/pal2rgb.1; ${MANCVT}
-apps/ppm2tiff.1:: ${SRCDIR}/ppm2tiff.1; ${MANCVT}
-apps/ras2tiff.1:: ${SRCDIR}/ras2tiff.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/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}
-lib/TIFFClose.3t:: ${SRCDIR}/TIFFClose.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/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" > $@
-lib/TIFFCheckTile.3t:; ${ECHO} ".so ${MANDIR}TIFFtile.3t" > $@
-lib/TIFFNumberOfTiles.3t:; ${ECHO} ".so ${MANDIR}TIFFtile.3t" > $@
-lib/TIFFComputeStrip.3t:; ${ECHO} ".so ${MANDIR}TIFFstrip.3t" > $@
-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/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/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/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/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/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:
- test -d apps || mkdir apps
- ${MAKE} ${MANTOOLS}
- ${RM} apps/Makefile
- (cd apps; \
- ${ECHO} 'install:'; \
- for i in *.1; do \
- f=${MANAPPNAME}; \
- ${ECHO} ' cd ..; ${INSTALL} -m 444 -F ${MAN}/${MANAPPS} \
- -idb tiff.man.tools -src' apps/"$$i" '-O' "$$f"; \
- done \
- )>apps/Makefile
-lib/Makefile:
- test -d lib || mkdir lib
- ${MAKE} ${MANDEV} ${MANDEVLINKS}
- ${RM} lib/Makefile
- (cd lib; \
- ${ECHO} 'install:'; \
- for i in *.3t; do \
- f=${MANLIBNAME}; \
- ${ECHO} ' cd ..; ${INSTALL} -m 444 -F ${MAN}/${MANLIB} \
- -idb tiff.man.dev -src' lib/"$$i" '-O' "$$f"; \
- done \
- )>lib/Makefile
-
-install: all
- ${INSTALL} -m 755 -dir -idb tiff.man.tools ${MAN}
- ${INSTALL} -m 755 -dir -idb tiff.man.tools ${MAN}/${MANAPPS}
- cd apps; ${MAKE} install
- ${INSTALL} -m 755 -dir -idb tiff.man.dev ${MAN}/${MANLIB}
- cd lib; ${MAKE} install
-
-clean:
- rm -rf apps lib
-
-#
-# Miscellaneous junk left over...
-#
-
-links: ${MANDEVLINKS}
-
-short:
- ${MV} TIFFClose.3t close.3t
- ${MV} TIFFError.3t error.3t
- ${MV} TIFFFlush.3t flush.3t
- ${MV} TIFFGetField.3t getfield.3t
- ${MV} TIFFOpen.3t open.3t
- ${MV} TIFFPrintDirectory.3t print.3t
- ${MV} TIFFReadEncodedStrip.3t rdestrip.3t
- ${MV} TIFFReadencodedTile.3t rdetile.3t
- ${MV} TIFFReadRawStrip.3t rdrstrip.3t
- ${MV} TIFFReadRawTile.3t rdrtile.3t
- ${MV} TIFFReadDirectory.3t readdir.3t
- ${MV} TIFFReadRGBAImage.3t rdimage.3t
- ${MV} TIFFReadRGBAStrip.3t rdsimage.3t
- ${MV} TIFFReadRGBATile.3t rdtimage.3t
- ${MV} TIFFReadScanline.3t readline.3t
- ${MV} TIFFReadTile.3t readtile.3t
- ${MV} TIFFRGBAImage.3t rgbaimage.3t
- ${MV} TIFFSetDirectory.3t setdir.3t
- ${MV} TIFFSetField.3t setfield.3t
- ${MV} TIFFWarning.3t warning.3t
- ${MV} TIFFWriteEncodedStrip.3t wrestrip.3t
- ${MV} TIFFWriteEncodedTile.3t wretile.3t
- ${MV} TIFFWriteTile.3t wrttile.3t
- ${MV} TIFFWriteDirectory.3t writedir.3t
- ${MV} TIFFWriteRawStrip.3t wrrstrip.3t
- ${MV} TIFFWriteRawTile.3t wrrtile.3t
- ${MV} TIFFWriteScanline.3t writeline.3t
- ${MV} TIFFtile.3t tile.3t
- ${MV} TIFFstrip.3t strip.3t
- ${MV} TIFFquery.3t query.3t
- ${MV} TIFFswab.3t swab.3t
- ${MV} TIFFsize.3t size.3t
- ${MV} TIFFcodec.3t codec.3t
- ${MV} TIFFmemory.3t memory.3t
- ${MV} TIFFbuffer.3t buffer.3t
diff --git a/port/install.sh b/port/install.sh
deleted file mode 100644
index a39b6a7b..00000000
--- a/port/install.sh
+++ /dev/null
@@ -1,246 +0,0 @@
-#! /bin/sh
-# $Header: /cvs/maptools/cvsroot/libtiff/port/Attic/install.sh,v 1.8 2001-01-23 21:41:21 mwelles Exp $
-#
-# Warning, this file was automatically created by the TIFF configure script
-#
-# HylaFAX Facsimile Software
-#
-# Copyright (c) 1990-1997 Sam Leffler
-# Copyright (c) 1991-1997 Silicon Graphics, Inc.
-# HylaFAX is a trademark of Silicon Graphics
-#
-# 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.
-#
-
-#
-# Warning, this file was automatically created by the HylaFAX configure script
-#
-# VERSION: v3.5.6
-# DATE: Tue Jan 23 16:40:27 EST 2001
-# TARGET: i686-unknown-linux
-#
-
-#
-# Shell script to emulate Silicon Graphics install program.
-# We emulate the non-standard interface used by install so
-# that we can build SGI inst packages on SGI systems. Note
-# that we cannot emulate everything because we don't maintain
-# a history of installed software; thus we cannot tell when
-# configuration files have been modified and save old copies.
-#
-# NB: we don't do chown/chmod/chgrp by default; it must be
-# explicitly set on the command line.
-#
-
-#
-# install [options] files ...
-#
-# Options are:
-#
-# -o save existing target foo as OLDfoo
-# -O remove existing target foo, if it fails save as OLDfoo
-# -m mode set mode of installed target
-# -u uid set uid of installed target
-# -g gid set gid of installed target
-# -root path set ROOT directory for target pathnames
-# -dir create directories
-# -fifo create FIFO special files
-# -ln path create hard link
-# -lns path create symbolic link
-# -src path source pathname different from target
-# -f dir install files in the target directory ROOT/dir
-# -F dir like -f, but create directories that do not exist
-# -v echo actions
-# -idb stuff specify package and, optionally, do special work
-#
-preopts=
-postopts=
-SaveFirst=no
-HasSource=yes
-RemoveFirst=no
-NoUpdate=no
-Suggested=no
-Updated=no
-
-CMD=cp
-SRC=
-FILES=
-DESTDIR=
-CHMOD=":"
-CHOWN=":"
-CHGRP=":"
-RM="rm -f"
-MV="mv -f"
-ECHO=echo
-VERBOSE=":"
-STRIP="/usr/bin/strip"
-CMP=cmp
-
-TARGETS=
-while [ x"$1" != x ]
-do
- arg=$1
- case $arg in
- -m) shift; CHMOD="/bin/chmod $1";;
- -u) shift; CHOWN="@CHOWN@ $1";;
- -g) shift; CHGRP="@CHGRP@ $1";;
- -o) SaveFirst=yes;;
- -O) RemoveFirst=yes; SaveFirst=yes;;
- -root) shift; ROOT=$1;;
- -dir) CMD=mkdir; HasSource=no;
- RM=":"; STRIP=":"
- ;;
- -fifo) CMD=@MKFIFO@; HasSource=no;
- x=`echo $CMD | /bin/sed 's;.*/;;'`;
- test $x = mknod && postopts="p";
- STRIP=":"
- ;;
- -ln) shift; CMD=/bin/ln; SRC="$1"
- STRIP=":"
- ;;
- -lns) shift; CMD=/bin/ln; preopts="-s"; SRC="$1"
- STRIP=":"
- ;;
- -src) shift; SRC="$1";;
- -[fF]) shift; DESTDIR="$1";;
- -idb) shift; opt="$1"
- case "$opt" in
- *config\(update\)*) Updated=yes;;
- *config\(suggest\)*) Suggested=yes;;
- *config\(noupdate\)*) NoUpdate=yes;;
- *nostrip*) STRIP=":";;
- esac
- ;;
- # these are skipped/not handled
- -new|-rawidb|-blk|-chr) shift;;
- -v) VERBOSE=$ECHO;;
- -*) ;;
- *) TARGETS="$TARGETS $arg";;
- esac
- shift
-done
-
-#
-# Install the specified target.
-#
-install()
-{
- src=$1 target=$2
- if [ $RemoveFirst = yes -a -f $target ]; then
- $VERBOSE "$RM $target"
- $RM $target
- fi
- if [ $SaveFirst = yes -a -f $target ]; then
- bf=`echo $src | /bin/sed 's;.*/;;'`
- $VERBOSE "$MV $target $ROOT/$DESTDIR/OLD$bf"
- $MV $target $ROOT/$DESTDIR/OLD$bf
- fi
- if [ -z "$SRC" -a $HasSource = yes ]; then
- $VERBOSE "$CMD $preopts $src $target $postopts"
- $CMD $preopts $f $target $postopts
- else
- $VERBOSE "$CMD $preopts $SRC $target $postopts"
- $CMD $preopts $SRC $target $postopts
- fi
- if [ $? -eq 0 ]; then
- $VERBOSE "$CHOWN $target"
- $CHOWN $target
- $VERBOSE "$CHGRP $target"
- $CHGRP $target
- $VERBOSE "$CHMOD $target"
- $CHMOD $target
- if [ $STRIP != ":" -a -x $ROOT/$DESTDIR/$f ]; then
- $STRIP $target >/dev/null 2>&1 || true
- $VERBOSE "$STRIP $target"
- fi
- fi
-}
-
-if [ $Suggested = yes ]; then
- #
- # A suggested file. If an existing target does
- # not exist, then install it. Otherwise, install
- # it as target.N if it's different from the current
- # installed target.
- #
- # NB: cannot be used with a special file 'cuz we
- # use test -f to see if the file exists.
- #
- for f in $TARGETS; do
- t=$ROOT/$DESTDIR/$f
- if [ -f $t ]; then
- if [ -z "$SRC" -a $HasSource = yes ]; then
- $CMP -s $f $t || {
- $ECHO "*** Warning, target has local changes, installing $f as $t.N"
- install $f $t.N;
- }
- else
- $CMP -s $SRC $t || {
- $ECHO "*** Warning, target has local changes, installing $f as $t.N"
- install $f $t.N
- }
- fi
- else
- install $f $t
- fi
- done
-elif [ $Updated = yes ]; then
- #
- # A file to be updated. If an existing target does
- # not exist, then install it. Otherwise, install
- # it as target and save the old version as target.O
- # if the old version is different from the current
- # installed target.
- #
- # NB: cannot be used with a special file 'cuz we
- # use test -f to see if the file exists.
- #
- for f in $TARGETS; do
- t=$ROOT/$DESTDIR/$f
- if [ -f $t ]; then
- if [ -z "$SRC" -a $HasSource = yes ]; then
- $CMP -s $f $t || $MV $t $t.O
- else
- $CMP -s $SRC $t || $MV $t $t.O
- fi
- fi
- install $f $t
- done
-elif [ $NoUpdate = yes ]; then
- #
- # A file that is never to be updated; the target
- # is created only if it does not exist.
- #
- # NB: cannot be used with a special file 'cuz we
- # use test -f to see if the file exists.
- #
- for f in $TARGETS; do
- t=$ROOT/$DESTDIR/$f
- test -f $t || install $f $t
- done
-else
- #
- # Normal case, a target that should be installed
- # with the existing copy, optionally, saved first.
- #
- for f in $TARGETS; do
- install $f $ROOT/$DESTDIR/$f
- done
-fi
diff --git a/tools/Makefile b/tools/Makefile
deleted file mode 100644
index 0b779e6f..00000000
--- a/tools/Makefile
+++ /dev/null
@@ -1,259 +0,0 @@
-# $Header: /cvs/maptools/cvsroot/libtiff/tools/Attic/Makefile,v 1.9 2001-01-23 21:41:21 mwelles Exp $
-#
-# Warning, this file was automatically created by the TIFF configure script
-#
-# TIFF Library Tools
-#
-# Copyright (c) 1988-1997 Sam Leffler
-# Copyright (c) 1991-1997 Silicon Graphics, Inc.
-#
-# 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 Stanford 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.
-#
-DEPTH = ..
-
-SRCDIR = ../tools
-LIBDIR = ../libtiff
-
-#
-# VERSION: v3.5.6
-# DATE: Tue Jan 23 16:40:27 EST 2001
-# TARGET: i686-unknown-linux
-# CCOMPILER: /usr/bin/gcc
-#
-SHELL = /bin/sh
-NULL =
-CC = /usr/bin/gcc
-INSTALL = ${SHELL} ../port/install.sh
-#
-COPTS = -g
-OPTIMIZER=-O
-IPATH = -I. -I${SRCDIR} -I${LIBDIR}
-CFLAGS = ${COPTS} ${OPTIMIZER} ${IPATH}
-#
-TIFFLIB = ${DEPTH}/libtiff/libtiff.so.3
-LIBJPEG =
-LIBGZ =
-LIBTIFF = ${DEPTH}/libtiff/libtiff.so.3
-LIBPORT =
-MACHLIBS= -lm
-LIBS = ${LIBTIFF} ${LIBJPEG} ${LIBGZ} ${LIBPORT} ${MACHLIBS}
-#
-OBJS= \
- fax2tiff.o \
- fax2ps.o \
- gif2tiff.o \
- pal2rgb.o \
- ppm2tiff.o \
- rgb2ycbcr.o \
- ras2tiff.o \
- thumbnail.o \
- tiff2bw.o \
- tiff2rgba.o \
- tiff2ps.o \
- tiffcmp.o \
- tiffcp.o \
- tiffdither.o \
- tiffdump.o \
- tiffinfo.o \
- tiffmedian.o \
- tiffsplit.o \
- ${NULL}
-TARGETS =\
- fax2tiff \
- fax2ps \
- gif2tiff \
- pal2rgb \
- ppm2tiff \
- rgb2ycbcr \
- thumbnail \
- ras2tiff \
- tiff2bw \
- tiff2rgba \
- tiff2ps \
- tiffcmp \
- tiffcp \
- tiffdither \
- tiffdump \
- tiffinfo \
- tiffmedian \
- tiffsplit \
- ${NULL}
-
-all: ${TARGETS}
- @if [ "no" = yes ]; then \
- ${MAKE} sgi2tiff; \
- else \
- true; \
- fi
- @if [ "no" = yes ]; then \
- ${MAKE} tiffgt tiffsv; \
- else \
- true; \
- fi
-install: all
- ${INSTALL} -idb nostrip -idb tiff.sw.tools -m 755 -dir /usr/local/bin
- ${INSTALL} -idb nostrip -idb tiff.sw.tools -m 755 -F /usr/local/bin -O ${TARGETS}
- @if [ "no" = yes ]; then \
- ${INSTALL} -idb tiff.sw.tools -m 755 -F /usr/local/bin -O sgi2tiff; \
- else \
- true; \
- fi
- @if [ "no" = yes ]; then \
- ${INSTALL} -idb tiff.sw.tools -m 755 -F /usr/local/bin -O tiffgt tiffsv;\
- else \
- true; \
- fi
-clean:
- rm -f ${TARGETS} ${OBJS} sgigt.o tiffgt sgisv.o tiffsv \
- sgi2tiff.o sgi2tiff core a.out ycbcr
-
-#
-# System-independent tools
-#
-
-tiffinfo: tiffinfo.o ${TIFFLIB}
- ${CC} -o tiffinfo ${CFLAGS} tiffinfo.o ${LIBS}
-tiffinfo.o: ${SRCDIR}/tiffinfo.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/tiffinfo.c
-
-tiffcmp:tiffcmp.o ${TIFFLIB}
- ${CC} -o tiffcmp ${CFLAGS} tiffcmp.o ${LIBS}
-tiffcmp.o: ${SRCDIR}/tiffcmp.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/tiffcmp.c
-
-tiffcp: tiffcp.o ${TIFFLIB}
- ${CC} -o tiffcp ${CFLAGS} tiffcp.o ${LIBS}
-tiffcp.o: ${SRCDIR}/tiffcp.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/tiffcp.c
-
-tiffdump: tiffdump.o
- ${CC} -o tiffdump ${CFLAGS} tiffdump.o ${LIBS}
-tiffdump.o: ${SRCDIR}/tiffdump.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/tiffdump.c
-
-tiffmedian: tiffmedian.o ${TIFFLIB}
- ${CC} -o tiffmedian ${CFLAGS} tiffmedian.o ${LIBS}
-tiffmedian.o: ${SRCDIR}/tiffmedian.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/tiffmedian.c
-
-tiffsplit: tiffsplit.o ${TIFFLIB}
- ${CC} -o tiffsplit ${CFLAGS} tiffsplit.o ${LIBS}
-tiffsplit.o: ${SRCDIR}/tiffsplit.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/tiffsplit.c
-
-tiff2ps: tiff2ps.o ${TIFFLIB}
- ${CC} -o tiff2ps ${CFLAGS} tiff2ps.o ${LIBS}
-tiff2ps.o: ${SRCDIR}/tiff2ps.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/tiff2ps.c
-
-#
-# Junky stuff... programs that are more examples of how
-# to use the library than full-blown useful tools.
-#
-
-# convert RGB image to B&W
-tiff2bw: tiff2bw.o ${TIFFLIB}
- ${CC} -o tiff2bw ${CFLAGS} tiff2bw.o ${LIBS}
-tiff2bw.o: ${SRCDIR}/tiff2bw.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/tiff2bw.c
-
-# convert anything to RGBA.
-tiff2rgba: tiff2rgba.o ${TIFFLIB}
- ${CC} -o tiff2rgba ${CFLAGS} tiff2rgba.o ${LIBS}
-tiff2rgba.o: ${SRCDIR}/tiff2rgba.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/tiff2rgba.c
-
-# convert B&W image to bilevel w/ FS dithering
-tiffdither: tiffdither.o ${TIFFLIB}
- ${CC} -o tiffdither ${CFLAGS} tiffdither.o ${LIBS}
-tiffdither.o: ${SRCDIR}/tiffdither.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/tiffdither.c
-
-# simple Sun rasterfile converter
-ras2tiff: ras2tiff.o ${TIFFLIB}
- ${CC} -o ras2tiff ${CFLAGS} ras2tiff.o ${LIBS}
-ras2tiff.o: ${SRCDIR}/ras2tiff.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/ras2tiff.c
-
-# simple GIF converter
-gif2tiff: gif2tiff.o ${TIFFLIB}
- ${CC} -o gif2tiff ${CFLAGS} gif2tiff.o ${LIBS}
-gif2tiff.o: ${SRCDIR}/gif2tiff.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/gif2tiff.c
-
-# very limited PBM converter
-ppm2tiff: ppm2tiff.o ${TIFFLIB}
- ${CC} -o ppm2tiff ${CFLAGS} ppm2tiff.o ${LIBS}
-ppm2tiff.o: ${SRCDIR}/ppm2tiff.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/ppm2tiff.c
-
-# Group 3/4 FAX file converter
-fax2tiff: fax2tiff.o ${TIFFLIB}
- ${CC} -o fax2tiff ${CFLAGS} fax2tiff.o ${LIBS}
-fax2tiff.o: ${SRCDIR}/fax2tiff.c
- ${CC} -c -I${LIBDIR} -I${DEPTH}/libtiff ${CFLAGS} ${SRCDIR}/fax2tiff.c
-
-# Group 3/4 FAX to encoded PS converter
-fax2ps: fax2ps.o ${TIFFLIB}
- ${CC} -o fax2ps ${CFLAGS} fax2ps.o ${LIBS}
-fax2ps.o: ${SRCDIR}/fax2ps.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/fax2ps.c
-
-# convert Palette image to RGB
-pal2rgb: pal2rgb.o ${TIFFLIB}
- ${CC} -o pal2rgb ${CFLAGS} pal2rgb.o ${LIBS}
-pal2rgb.o: ${SRCDIR}/pal2rgb.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/pal2rgb.c
-
-# convert RGB image to YCbCr
-rgb2ycbcr: rgb2ycbcr.o ${TIFFLIB}
- ${CC} -o rgb2ycbcr ${CFLAGS} rgb2ycbcr.o ${LIBS}
-rgb2ycbcr.o: ${SRCDIR}/rgb2ycbcr.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/rgb2ycbcr.c
-
-# generate thumbnail images from fax (example of SubIFD usage)
-thumbnail: thumbnail.o ${TIFFLIB}
- ${CC} -o thumbnail ${CFLAGS} thumbnail.o ${LIBS}
-thumbnail.o: ${SRCDIR}/thumbnail.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/thumbnail.c
-
-#
-# System-specific tools.
-#
-
-#
-# sgi2tiff converts SGI RGB images to TIFF; it requires
-# the SGI image library -limage.
-#
-sgi2tiff: sgi2tiff.o ${TIFFLIB}
- ${CC} -o sgi2tiff ${CFLAGS} sgi2tiff.o -limage ${LIBS}
-sgi2tiff.o: ${SRCDIR}/sgi2tiff.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/sgi2tiff.c
-
-# SGI versions of tiffgt & tiffsv that require -lgl
-tiffgt: sgigt.o ${TIFFLIB}
- ${CC} -o tiffgt ${CFLAGS} sgigt.o -lgutil -lgl ${LIBS}
-sgigt.o: ${SRCDIR}/sgigt.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/sgigt.c
-
-tiffsv: sgisv.o ${TIFFLIB}
- ${CC} -o tiffsv ${CFLAGS} sgisv.o -lgutil -lgl ${LIBS}
-sgisv.o: ${SRCDIR}/sgisv.c
- ${CC} -c ${CFLAGS} ${SRCDIR}/sgisv.c