2 # Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu>
\r
4 # Permission to use, copy, modify, distribute, and sell this software and
\r
5 # its documentation for any purpose is hereby granted without fee, provided
\r
6 # that (i) the above copyright notices and this permission notice appear in
\r
7 # all copies of the software and related documentation, and (ii) the names of
\r
8 # Sam Leffler and Silicon Graphics may not be used in any advertising or
\r
9 # publicity relating to the software without the specific, prior written
\r
10 # permission of Sam Leffler and Silicon Graphics.
\r
12 # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
\r
13 # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
\r
14 # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
\r
16 # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
\r
17 # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
\r
18 # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
\r
19 # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
\r
20 # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
\r
23 # Makefile for MS Visual C and Watcom C compilers.
\r
26 # C:\libtiff\tools> nmake /f makefile.vc
\r
28 !INCLUDE ..\nmake.opt
\r
30 TARGETS = bmp2tiff.exe tiffinfo.exe tiffdump.exe fax2tiff.exe \
\r
31 fax2ps.exe gif2tiff.exe pal2rgb.exe ppm2tiff.exe \
\r
32 rgb2ycbcr.exe thumbnail.exe ras2tiff.exe raw2tiff.exe \
\r
33 tiff2bw.exe tiff2rgba.exe tiff2pdf.exe tiff2ps.exe \
\r
34 tiffcmp.exe tiffcp.exe tiffcrop.exe tiffdither.exe \
\r
35 tiffmedian.exe tiffset.exe tiffsplit.exe
\r
37 INCL = -I..\libtiff -I..\port -DNEED_LIBPORT
\r
38 LIBS = $(LIBS) ..\port\libport.lib ..\libtiff\libtiff.lib
\r
43 $(CC) $(CFLAGS) $*.c $(EXTRA_OBJ) $(LIBS)
\r
46 $(CC) $(CFLAGS) tiffgt.c $(EXTRA_OBJ) $(LIBS)
\r