kusano 7d535a
#	$Header: /usr/people/sam/tiff/libtiff/RCS/Makefile.w95,v 1.2 1994/11/28
kusano 7d535a
06:13:31 sam Exp $
kusano 7d535a
#
kusano 7d535a
# Tag Image File Format Library
kusano 7d535a
#
kusano 7d535a
# Copyright (c) 1988, 1989, 1990, 1991, 1992 Sam Leffler
kusano 7d535a
# Copyright (c) 1991, 1992 Silicon Graphics, Inc.
kusano 7d535a
# 
kusano 7d535a
# Permission to use, copy, modify, distribute, and sell this software and 
kusano 7d535a
# its documentation for any purpose is hereby granted without fee, provided
kusano 7d535a
# that (i) the above copyright notices and this permission notice appear in
kusano 7d535a
# all copies of the software and related documentation, and (ii) the names of
kusano 7d535a
# Sam Leffler and Silicon Graphics may not be used in any advertising or
kusano 7d535a
# publicity relating to the software without the specific, prior written
kusano 7d535a
# permission of Sam Leffler and Silicon Graphics.
kusano 7d535a
# 
kusano 7d535a
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
kusano 7d535a
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
kusano 7d535a
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
kusano 7d535a
# 
kusano 7d535a
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
kusano 7d535a
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
kusano 7d535a
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
kusano 7d535a
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
kusano 7d535a
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
kusano 7d535a
# OF THIS SOFTWARE.
kusano 7d535a
#
kusano 7d535a
# This Makefile is for use with microsoft nmake version 1.50 and 
kusano 7d535a
# Microsoft 32-bit C/C++ Compiler 9.00
kusano 7d535a
#
kusano 7d535a
DESTDIR=.
kusano 7d535a
#
kusano 7d535a
IPATH=	-I. 
kusano 7d535a
CONF_LIBRARY=$(NULL)
kusano 7d535a
COPTS=	-Oxa -DBSDTYPES -Zd
kusano 7d535a
CFLAGS=	$(COPTS)  $(CONF_LIBRARY)
kusano 7d535a
#
kusano 7d535a
INCS=	tiff.h tiffio.h
kusano 7d535a
SRCS=	tif_aux.c \
kusano 7d535a
	tif_close.c \
kusano 7d535a
	tif_codec.c \
kusano 7d535a
	tif_compress.c \
kusano 7d535a
	tif_dir.c \
kusano 7d535a
	tif_dirinfo.c \
kusano 7d535a
	tif_dirread.c \
kusano 7d535a
	tif_dirwrite.c \
kusano 7d535a
	tif_dumpmode.c \
kusano 7d535a
	tif_error.c \
kusano 7d535a
	tif_getimage.c \
kusano 7d535a
	tif_jpeg.c \
kusano 7d535a
	tif_flush.c \
kusano 7d535a
	tif_lzw.c \
kusano 7d535a
	tif_next.c \
kusano 7d535a
	tif_open.c \
kusano 7d535a
	tif_packbits.c \
kusano 7d535a
	tif_predict \
kusano 7d535a
	tif_print.c \
kusano 7d535a
	tif_read.c \
kusano 7d535a
	tif_swab.c \
kusano 7d535a
	tif_strip.c \
kusano 7d535a
	tif_thunder.c \
kusano 7d535a
	tif_tile.c \
kusano 7d535a
	tif_version.c \
kusano 7d535a
	tif_warning.c \
kusano 7d535a
	tif_write.c \
kusano 7d535a
	tif_win32.c 
kusano 7d535a
		
kusano 7d535a
	
kusano 7d535a
OBJS=	tif_aux.obj \
kusano 7d535a
	tif_close.obj \
kusano 7d535a
	tif_codec.obj \
kusano 7d535a
	tif_compress.obj \
kusano 7d535a
	tif_dir.obj \
kusano 7d535a
	tif_dirinfo.obj \
kusano 7d535a
	tif_dirread.obj \
kusano 7d535a
	tif_dirwrite.obj \
kusano 7d535a
	tif_dumpmode.obj \
kusano 7d535a
	tif_error.obj \
kusano 7d535a
	tif_getimage.obj \
kusano 7d535a
	tif_jpeg.obj \
kusano 7d535a
	tif_flush.obj \
kusano 7d535a
	tif_lzw.obj \
kusano 7d535a
	tif_next.obj \
kusano 7d535a
	tif_open.obj \
kusano 7d535a
	tif_packbits.obj \
kusano 7d535a
	tif_predict.obj \
kusano 7d535a
	tif_print.obj \
kusano 7d535a
	tif_read.obj \
kusano 7d535a
	tif_swab.obj \
kusano 7d535a
	tif_strip.obj \
kusano 7d535a
	tif_thunder.obj \
kusano 7d535a
	tif_tile.obj \
kusano 7d535a
	tif_version.obj \
kusano 7d535a
	tif_warning.obj \
kusano 7d535a
	tif_write.obj \
kusano 7d535a
	tif_win32.obj 
kusano 7d535a
	
kusano 7d535a
	
kusano 7d535a
kusano 7d535a
ALL=	libtiff.lib
kusano 7d535a
kusano 7d535a
all:	 $(ALL)
kusano 7d535a
kusano 7d535a
%.obj : %.c
kusano 7d535a
	$(CC) $(CFLAGS) -c $*.c
kusano 7d535a
kusano 7d535a
kusano 7d535a
#.INCLUDE .IGNORE : depend
kusano 7d535a
kusano 7d535a
libtiff.lib: $(OBJS)
kusano 7d535a
	 - del libtiff.lib
kusano 7d535a
	 lib /OUT:libtiff.lib $(OBJS)
kusano 7d535a
kusano 7d535a
kusano 7d535a
#To include fax3 support, you need to modify mkg3states.c so it could run
kusano 7d535a
#under windows 95 or NT. This application make the file g3state.h.
kusano 7d535a
#after that, you have to add to the build script : tif_fax3.c and tif_fax3.obj
kusano 7d535a
#and define CCITT_SUPPORT in the file tifconf.h
kusano 7d535a
kusano 7d535a
#$(OBJS): tiffio.h tiff.h tiffcomp.h tiffiop.h tiffconf.h
kusano 7d535a
#tif_fax3.obj: tif_fax3.c g3states.h t4.h tif_fax3.h
kusano 7d535a
kusano 7d535a
#g3states.h: mkg3states.c t4.h
kusano 7d535a
#	$(CC) $(CFLAGS) mkg3states.c
kusano 7d535a
#	mkg3states -c > g3states.h
kusano 7d535a
kusano 7d535a
kusano 7d535a
clean:
kusano 7d535a
	del *.obj
kusano 7d535a
        del mkg3stat
kusano 7d535a
        del g3states.h
kusano 7d535a
kusano 7d535a
tags:	$(SRCS)
kusano 7d535a
	$(CTAGS) $(SRCS)