📄 makefile.lib
字号:
# $Header: /cvsroot/osrs/libtiff/contrib/dosdjgpp/Makefile.lib,v 1.2 1999/11/30 19:42:34 warmerda Exp $## manually derived from Makefile.in for DJGPP v2.x (GNU C for DOS/386).## Tag Image File Format Library## 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 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 = .NULL =CC = gccAR = arAROPTS = rcRANLIB = ranlib## If JPEG support is to be included and the Independent JPEG# Software distribution is not installed then DIR_JPEG must# refer to the directory where the include files reside.## Similarly, if the libgz distribution is not installed, then# DIR_LIBGZ must refer to the directory where the include files# are located. Note that recent versions #IPATH = -I. -I${SRCDIR}# @COPT_LIBINC@## To enable JPEG support include -DJPEG_SUPPORT here.# To enable Deflate support add a -DZIP_SUPPORT here.# Note that where the configure script is used these defines# are automatically setup when JPEG/ZIP is set to "yes".## Otherwise, consult tiffconf.h for information on controlling# the configuration of optional library support.#CONF_LIBRARY=#@CONF_JPEG@ @CONF_ZIP@COPTS = OPTIMIZER=-OCFLAGS = ${COPTS} ${OPTIMIZER} ${IPATH} ${CONF_LIBRARY}#SRCS = \ tif_aux.c \ tif_close.c \ tif_codec.c \ tif_compress.c \ tif_dir.c \ tif_dirinfo.c \ tif_dirread.c \ tif_dirwrite.c \ tif_dumpmode.c \ tif_error.c \ tif_fax3.c \ tif_fx3s.c \ tif_getimage.c \ tif_jpeg.c \ tif_flush.c \ tif_lzw.c \ tif_next.c \ tif_open.c \ tif_packbits.c \ tif_predict.c \ tif_print.c \ tif_read.c \ tif_swab.c \ tif_strip.c \ tif_thunder.c \ tif_tile.c \ tif_msdos.c \ tif_version.c \ tif_warning.c \ tif_write.c \ tif_zip.c \ tif_luv.c \ ${NULL}OBJS = \ tif_aux.o \ tif_close.o \ tif_codec.o \ tif_compress.o \ tif_dir.o \ tif_dirinfo.o \ tif_dirread.o \ tif_dirwrite.o \ tif_dumpmode.o \ tif_error.o \ tif_fax3.o \ tif_fx3s.o \ tif_getimage.o \ tif_jpeg.o \ tif_flush.o \ tif_lzw.o \ tif_next.o \ tif_open.o \ tif_packbits.o \ tif_predict.o \ tif_print.o \ tif_read.o \ tif_swab.o \ tif_strip.o \ tif_thunder.o \ tif_tile.o \ tif_msdos.o \ tif_version.o \ tif_warning.o \ tif_write.o \ tif_zip.o \ tif_luv.o \ ${NULL}TARGETS = libtiff.aall: ${TARGETS}libtiff.a: ${OBJS} ${AR} ${AROPTS} libtiff.a $? ${RANLIB} libtiff.a${OBJS}: ${SRCDIR}/tiffio.h ${SRCDIR}/tiff.h ${SRCDIR}/tif_dir.h${OBJS}: ${SRCDIR}/tiffcomp.h ${SRCDIR}/tiffiop.h ${SRCDIR}/tiffconf.hALPHA = ../dist/tiff.alphaVERSION = ../VERSIONversion.h: ${VERSION} ${ALPHA} ${SRCDIR}/mkversion.c ${CC} -o mkversion ${CFLAGS} ${SRCDIR}/mkversion.c del version.h mkversion -v ${VERSION} -a ${ALPHA} version.htif_version.o: version.h## The finite state machine tables used by the G3/G4 decoders# are generated by the mkg3states program. On systems without# make these rules have to be manually carried out.## The file is called tif_fax3sm.c is the normal (unix) Makefile, but this# may cause problems when compiling without support for LFN, then the file# tif_fax3.o is considered the same name as tif_fax3sm.o, since only 8 chars# are significant.#tif_fx3s.c: ${SRCDIR}/mkg3states.c ${SRCDIR}/tif_fax3.h ${CC} -o mkg3states ${CFLAGS} ${SRCDIR}/mkg3states.c del tif_fx3s.c mkg3states -c const tif_fx3s.ctif_fx3s.o: tif_fx3s.c @echo If the following gcc command fails due to lack of virtual memory, try @echo compiling it in a non-DPMI environment with the cwsdpmi swapfile on a @echo drive that has plenty of space. ${CC} -c ${CFLAGS} tif_fx3s.ctif_aux.o: ${SRCDIR}/tif_aux.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_aux.ctif_close.o: ${SRCDIR}/tif_close.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_close.ctif_codec.o: ${SRCDIR}/tif_codec.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_codec.ctif_compress.o: ${SRCDIR}/tif_compress.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_compress.ctif_dir.o: ${SRCDIR}/tif_dir.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_dir.ctif_dirinfo.o: ${SRCDIR}/tif_dirinfo.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_dirinfo.ctif_dirread.o: ${SRCDIR}/tif_dirread.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_dirread.ctif_dirwrite.o: ${SRCDIR}/tif_dirwrite.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_dirwrite.ctif_dumpmode.o: ${SRCDIR}/tif_dumpmode.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_dumpmode.ctif_error.o: ${SRCDIR}/tif_error.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_error.ctif_fax3.o: ${SRCDIR}/tif_fax3.c ${SRCDIR}/t4.h ${SRCDIR}/tif_fax3.h ${CC} -c ${CFLAGS} ${SRCDIR}/tif_fax3.ctif_getimage.o: ${SRCDIR}/tif_getimage.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_getimage.ctif_jpeg.o: ${SRCDIR}/tif_jpeg.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_jpeg.ctif_flush.o: ${SRCDIR}/tif_flush.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_flush.ctif_lzw.o: ${SRCDIR}/tif_lzw.c ${SRCDIR}/tif_predict.h ${CC} -c ${CFLAGS} ${SRCDIR}/tif_lzw.ctif_next.o: ${SRCDIR}/tif_next.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_next.ctif_open.o: ${SRCDIR}/tif_open.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_open.ctif_packbits.o: ${SRCDIR}/tif_packbits.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_packbits.ctif_predict.o: ${SRCDIR}/tif_predict.c ${SRCDIR}/tif_predict.h ${CC} -c ${CFLAGS} ${SRCDIR}/tif_predict.ctif_print.o: ${SRCDIR}/tif_print.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_print.ctif_read.o: ${SRCDIR}/tif_read.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_read.ctif_swab.o: ${SRCDIR}/tif_swab.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_swab.ctif_strip.o: ${SRCDIR}/tif_strip.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_strip.ctif_thunder.o: ${SRCDIR}/tif_thunder.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_thunder.ctif_tile.o: ${SRCDIR}/tif_tile.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_tile.ctif_unix.o: ${SRCDIR}/tif_unix.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_unix.ctif_version.o: ${SRCDIR}/tif_version.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_version.ctif_warning.o: ${SRCDIR}/tif_warning.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_warning.ctif_write.o: ${SRCDIR}/tif_write.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_write.ctif_zip.o: ${SRCDIR}/tif_zip.c ${SRCDIR}/tif_predict.h ${CC} -c ${CFLAGS} ${SRCDIR}/tif_zip.ctif_apple.o: ${SRCDIR}/tif_apple.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_apple.ctif_atari.o: ${SRCDIR}/tif_atari.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_atari.ctif_msdos.o: ${SRCDIR}/tif_msdos.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_msdos.ctif_vms.o: ${SRCDIR}/tif_vms.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_vms.ctif_win3.o: ${SRCDIR}/tif_win3.c ${CC} -c ${CFLAGS} ${SRCDIR}/tif_win3.cINCS = ${SRCDIR}/tiff.h ${SRCDIR}/tiffio.hclean: rm -f ${TARGETS} ${OBJS} mkg3states mkg3states.exe tif_fx3s.c rm -f version.h libtiff.a mkversion mkversion.exe
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -