| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| WINMODE_CONSOLE = 1 |
| |
| |
| |
| |
| |
| |
| CCITT_SUPPORT = 1 |
| |
| PACKBITS_SUPPORT = 1 |
| |
| LZW_SUPPORT = 1 |
| |
| THUNDER_SUPPORT = 1 |
| |
| NEXT_SUPPORT = 1 |
| |
| LOGLUV_SUPPORT = 1 |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| STRIPCHOP_SUPPORT = 1 |
| STRIP_SIZE_DEFAULT = 8192 |
| |
| |
| |
| |
| |
| |
| EXTRASAMPLE_AS_ALPHA_SUPPORT = 1 |
| |
| |
| |
| |
| |
| |
| CHECK_JPEG_YCBCR_SUBSAMPLING = 1 |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| OPTFLAGS = /Ox /MD /EHsc /W3 /D_CRT_SECURE_NO_DEPRECATE |
| |
| |
| |
| |
| |
| |
| |
| USE_WIN_CRT_LIB = 1 |
| |
| |
| |
| |
| |
| MAKE = nmake /nologo |
| CC = cl /nologo |
| CXX = cl /nologo |
| AR = lib /nologo |
| LD = link /nologo |
| |
| CFLAGS = $(OPTFLAGS) $(INCL) $(EXTRAFLAGS) |
| CXXFLAGS = $(OPTFLAGS) $(INCL) $(EXTRAFLAGS) |
| EXTRAFLAGS = |
| LIBS = |
| |
| |
| DLLNAME = libtiff.dll |
| |
| |
| |
| |
| |
| |
| EXTRAFLAGS = -DFILLODER_LSB2MSB $(EXTRAFLAGS) |
| |
| !IFDEF WINMODE_WINDOWED |
| EXTRAFLAGS = -DTIF_PLATFORM_WINDOWED $(EXTRAFLAGS) |
| LIBS = user32.lib $(LIBS) |
| !ELSE |
| EXTRAFLAGS = -DTIF_PLATFORM_CONSOLE $(EXTRAFLAGS) |
| !ENDIF |
| |
| |
| !IFDEF CCITT_SUPPORT |
| EXTRAFLAGS = -DCCITT_SUPPORT $(EXTRAFLAGS) |
| !ENDIF |
| |
| !IFDEF PACKBITS_SUPPORT |
| EXTRAFLAGS = -DPACKBITS_SUPPORT $(EXTRAFLAGS) |
| !ENDIF |
| |
| !IFDEF LZW_SUPPORT |
| EXTRAFLAGS = -DLZW_SUPPORT $(EXTRAFLAGS) |
| !ENDIF |
| |
| !IFDEF THUNDER_SUPPORT |
| EXTRAFLAGS = -DTHUNDER_SUPPORT $(EXTRAFLAGS) |
| !ENDIF |
| |
| !IFDEF NEXT_SUPPORT |
| EXTRAFLAGS = -DNEXT_SUPPORT $(EXTRAFLAGS) |
| !ENDIF |
| |
| !IFDEF LOGLUV_SUPPORT |
| EXTRAFLAGS = -DLOGLUV_SUPPORT $(EXTRAFLAGS) |
| !ENDIF |
| |
| !IFDEF JPEG_SUPPORT |
| LIBS = $(LIBS) $(JPEG_LIB) |
| EXTRAFLAGS = -DJPEG_SUPPORT -DOJPEG_SUPPORT $(EXTRAFLAGS) |
| !ENDIF |
| |
| !IFDEF ZIP_SUPPORT |
| LIBS = $(LIBS) $(ZLIB_LIB) |
| EXTRAFLAGS = -DZIP_SUPPORT $(EXTRAFLAGS) |
| !IFDEF PIXARLOG_SUPPORT |
| 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 |
| |
| !IFDEF EXTRASAMPLE_AS_ALPHA_SUPPORT |
| EXTRAFLAGS = -DDEFAULT_EXTRASAMPLE_AS_ALPHA $(EXTRAFLAGS) |
| !ENDIF |
| |
| !IFDEF CHECK_JPEG_YCBCR_SUBSAMPLING |
| EXTRAFLAGS = -DCHECK_JPEG_YCBCR_SUBSAMPLING $(EXTRAFLAGS) |
| !ENDIF |
| |
| !IFDEF USE_WIN_CRT_LIB |
| EXTRAFLAGS = -DAVOID_WIN32_FILEIO $(EXTRAFLAGS) |
| !ELSE |
| EXTRAFLAGS = -DUSE_WIN32_FILEIO $(EXTRAFLAGS) |
| !ENDIF |