Added switches to enable JBIG support.

This commit is contained in:
Andrey Kiselev 2006-06-07 16:33:45 +00:00
parent 04847f876d
commit 7c7d6ae826

View File

@ -1,4 +1,4 @@
# $Id: nmake.opt,v 1.17 2006-04-19 01:14:00 fwarmerdam Exp $
# $Id: nmake.opt,v 1.18 2006-06-07 16:33:45 dron Exp $
#
# Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu>
#
@ -59,12 +59,6 @@ LOGLUV_SUPPORT = 1
#JPEG_INCLUDE = -I$(JPEGDIR)
#JPEG_LIB = $(JPEGDIR)/Release/jpeg.lib
#
# Uncomment following lines to enable Old JPEG support
# (modified IJG JPEG library required, read the contrib\ojpeg\README first).
#
#OJPEG_SUPPORT = 1
#
# Uncomment and edit following lines to enable ZIP support
# (required for Deflate compression and Pixar log-format)
@ -74,6 +68,14 @@ LOGLUV_SUPPORT = 1
#ZLIB_INCLUDE = -I$(ZLIBDIR)
#ZLIB_LIB = $(ZLIBDIR)/zlib.lib
#
# Uncomment and edit following lines to enable ISO JBIG support
#
#JBIG_SUPPORT = 1
#JBIGDIR = d:/projects/jbigkit
#JBIG_INCLUDE = -I$(JBIGDIR)/libjbig
#JBIG_LIB = $(JBIGDIR)/libjbig/jbig.lib
#
# Uncomment following line to enable Pixar log-format algorithm
# (Zlib required).
@ -181,10 +183,7 @@ EXTRAFLAGS = -DLOGLUV_SUPPORT $(EXTRAFLAGS)
!IFDEF JPEG_SUPPORT
LIBS = $(LIBS) $(JPEG_LIB)
EXTRAFLAGS = -DJPEG_SUPPORT $(EXTRAFLAGS)
!IFDEF OJPEG_SUPPORT
EXTRAFLAGS = -DOJPEG_SUPPORT $(EXTRAFLAGS)
!ENDIF
EXTRAFLAGS = -DJPEG_SUPPORT -DOJPEG_SUPPORT $(EXTRAFLAGS)
!ENDIF
!IFDEF ZIP_SUPPORT
@ -195,6 +194,11 @@ EXTRAFLAGS = -DPIXARLOG_SUPPORT $(EXTRAFLAGS)
!ENDIF
!ENDIF
!IFDEF JBIG_SUPPORT
LIBS = $(LIBS) $(JBIG_LIB)
EXTRAFLAGS = -DJBIG_SUPPORT $(EXTRAFLAGS)
!ENDIF
!IFDEF STRIPCHOP_SUPPORT
EXTRAFLAGS = -DSTRIPCHOP_DEFAULT=TIFF_STRIPCHOP -DSTRIP_SIZE_DEFAULT=$(STRIP_SIZE_DEFAULT) $(EXTRAFLAGS)
!ENDIF