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