From 12adac7bf02880c8ddacf7048825ee6d9725754b Mon Sep 17 00:00:00 2001 From: Andrey Kiselev Date: Sun, 7 Dec 2003 13:07:24 +0000 Subject: [PATCH] Support for IJG JPEG library. --- libtiff/makefile.vc | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/libtiff/makefile.vc b/libtiff/makefile.vc index 1336290b..00ef34d0 100644 --- a/libtiff/makefile.vc +++ b/libtiff/makefile.vc @@ -12,15 +12,27 @@ WINMODE = -DTIF_PLATFORM_CONSOLE #WINMODE = -DTIF_PLATFORM_WINDOWED -CC = cl -INCL = -I. -LIBS = -CFLAGS = /nologo /W3 $(INCL) $(WINMODE) +# Uncomment and edit following lines to enable JPEG support +#JPEG_SUPPORT = 1 +#JPEGDIR = d:/projects/jpeg-6b + +CC = cl +INCL = -I. +LIBS = +EXTRAFLAGS = + +!IFDEF JPEG_SUPPORT +INCL = $(INCL) -I$(JPEGDIR) +EXTRAFLAGS = $(EXTRAFLAGS) -DJPEG_SUPPORT +!ENDIF + +CFLAGS = /nologo /W3 $(INCL) $(WINMODE) $(EXTRAFLAGS) OBJ = \ tif_aux.obj \ tif_close.obj \ tif_codec.obj \ + tif_color.obj \ tif_compress.obj \ tif_dir.obj \ tif_dirinfo.obj \