⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.tools

📁 tiff文件开发库
💻 TOOLS
字号:
#	$Header: /cvsroot/osrs/libtiff/contrib/dosdjgpp/Makefile.tools,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $## manually derived from Makefile.in for DJGPP v2.x (GNU C for DOS/386).## TIFF Library Tools## Copyright (c) 1988-1996 Sam Leffler# Copyright (c) 1991-1996 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	= .LIBDIR	= ${DEPTH}/libtiffNULL	=CC	= gcc#COPTS	= OPTIMIZER=-OIPATH	= -I. -I${SRCDIR} -I${LIBDIR}CFLAGS	= ${COPTS} ${OPTIMIZER} ${IPATH}#LIBTIFF	= ${DEPTH}/libtiff/libtiff.aLIBJPEG	= #@LIBJPEG@LIBGZ	= #@LIBGZ@LIBS	= ${LIBTIFF} ${LIBJPEG} ${LIBGZ}#OBJS=	\	fax2tiff.o \	fax2ps.o \	gif2tiff.o \	pal2rgb.o \	ppm2tiff.o \	rgb2ycbcr.o \	ras2tiff.o \	thumbnail.o \	tiff2bw.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 \	tiff2ps \	tiffcmp \	tiffcp \	tiffdither \	tiffdump \	tiffinfo \	tiffmedian \	tiffsplit \	${NULL}all:	${TARGETS}clean:	rm -f ${TARGETS} ${addsuffix .exe, ${TARGETS}} ${OBJS}	rm -f sgigt.o tiffgt sgisv.o tiffsv sgi2tiff.o sgi2tiff ycbcr ## System-independent tools#tiffinfo: tiffinfo.o ${LIBTIFF}	${CC} -o tiffinfo ${CFLAGS} tiffinfo.o ${LIBS}tiffinfo.o: ${SRCDIR}/tiffinfo.c	${CC} -c ${CFLAGS} ${SRCDIR}/tiffinfo.ctiffcmp:tiffcmp.o ${LIBTIFF}	${CC} -o tiffcmp ${CFLAGS} tiffcmp.o ${LIBS}tiffcmp.o: ${SRCDIR}/tiffcmp.c	${CC} -c ${CFLAGS} ${SRCDIR}/tiffcmp.ctiffcp:	tiffcp.o ${LIBTIFF}	${CC} -o tiffcp ${CFLAGS} tiffcp.o ${LIBS}tiffcp.o: ${SRCDIR}/tiffcp.c	${CC} -c ${CFLAGS} ${SRCDIR}/tiffcp.ctiffdump: tiffdump.o	${CC} -o tiffdump ${CFLAGS} tiffdump.o ${LIBS}tiffdump.o: ${SRCDIR}/tiffdump.c	${CC} -c ${CFLAGS} ${SRCDIR}/tiffdump.ctiffmedian: tiffmedian.o ${LIBTIFF}	${CC} -o tiffmedian ${CFLAGS} tiffmedian.o ${LIBS}tiffmedian.o: ${SRCDIR}/tiffmedian.c	${CC} -c ${CFLAGS} ${SRCDIR}/tiffmedian.ctiffsplit: tiffsplit.o ${LIBTIFF}	${CC} -o tiffsplit ${CFLAGS} tiffsplit.o ${LIBS}tiffsplit.o: ${SRCDIR}/tiffsplit.c	${CC} -c ${CFLAGS} ${SRCDIR}/tiffsplit.ctiff2ps: tiff2ps.o ${LIBTIFF}	${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&Wtiff2bw: tiff2bw.o ${LIBTIFF}	${CC} -o tiff2bw ${CFLAGS} tiff2bw.o ${LIBS}tiff2bw.o: ${SRCDIR}/tiff2bw.c	${CC} -c ${CFLAGS} ${SRCDIR}/tiff2bw.c# convert B&W image to bilevel w/ FS ditheringtiffdither: tiffdither.o ${LIBTIFF}	${CC} -o tiffdither ${CFLAGS} tiffdither.o ${LIBS}tiffdither.o: ${SRCDIR}/tiffdither.c	${CC} -c ${CFLAGS} ${SRCDIR}/tiffdither.c# simple Sun rasterfile converterras2tiff: ras2tiff.o ${LIBTIFF}	${CC} -o ras2tiff ${CFLAGS} ras2tiff.o ${LIBS}ras2tiff.o: ${SRCDIR}/ras2tiff.c	${CC} -c ${CFLAGS} ${SRCDIR}/ras2tiff.c# simple GIF convertergif2tiff: gif2tiff.o ${LIBTIFF}	${CC} -o gif2tiff ${CFLAGS} gif2tiff.o ${LIBS}gif2tiff.o: ${SRCDIR}/gif2tiff.c	${CC} -c ${CFLAGS} ${SRCDIR}/gif2tiff.c# very limited PBM converterppm2tiff: ppm2tiff.o ${LIBTIFF}	${CC} -o ppm2tiff ${CFLAGS} ppm2tiff.o ${LIBS}ppm2tiff.o: ${SRCDIR}/ppm2tiff.c	${CC} -c ${CFLAGS} ${SRCDIR}/ppm2tiff.c# Group 3/4 FAX file converterfax2tiff: fax2tiff.o ${LIBTIFF}	${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 converterfax2ps: fax2ps.o ${LIBTIFF}	${CC} -o fax2ps ${CFLAGS} fax2ps.o ${LIBS}fax2ps.o: ${SRCDIR}/fax2ps.c	${CC} -c ${CFLAGS} ${SRCDIR}/fax2ps.c# convert Palette image to RGBpal2rgb: pal2rgb.o ${LIBTIFF}	${CC} -o pal2rgb ${CFLAGS} pal2rgb.o ${LIBS}pal2rgb.o: ${SRCDIR}/pal2rgb.c	${CC} -c ${CFLAGS} ${SRCDIR}/pal2rgb.c# convert RGB image to YCbCrrgb2ycbcr: rgb2ycbcr.o ${LIBTIFF}	${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 ${LIBTIFF}	${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 ${LIBTIFF}	${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 -lgltiffgt:	sgigt.o ${LIBTIFF}	${CC} -o tiffgt ${CFLAGS} sgigt.o ${LIBS} -lgutil -lgl_ssgigt.o: ${SRCDIR}/sgigt.c	${CC} -c ${CFLAGS} ${SRCDIR}/sgigt.ctiffsv:	sgisv.o ${LIBTIFF}	${CC} -o tiffsv ${CFLAGS} sgisv.o ${LIBS} -lgutil -lgl_ssgisv.o: ${SRCDIR}/sgisv.c	${CC} -c ${CFLAGS} ${SRCDIR}/sgisv.c

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -