diff options
author | Andrey Kiselev <dron@ak4719.spb.edu> | 2004-04-15 09:48:25 +0000 |
---|---|---|
committer | Andrey Kiselev <dron@ak4719.spb.edu> | 2004-04-15 09:48:25 +0000 |
commit | 2b909819256b7011d331132ccf166264e7e192a1 (patch) | |
tree | 68fffe28f3761a5f20a5136604acb2bdee9a2a88 /libtiff/Makefile.vc | |
parent | 90d7d788829a8c1634b8486a8cc6ce6c866153bf (diff) | |
download | libtiff-git-2b909819256b7011d331132ccf166264e7e192a1.tar.gz |
*** empty log message ***
Diffstat (limited to 'libtiff/Makefile.vc')
-rw-r--r-- | libtiff/Makefile.vc | 43 |
1 files changed, 7 insertions, 36 deletions
diff --git a/libtiff/Makefile.vc b/libtiff/Makefile.vc index d2a54b11..08e84ac9 100644 --- a/libtiff/Makefile.vc +++ b/libtiff/Makefile.vc @@ -5,36 +5,9 @@ # C:\libtiff\libtiff> nmake /f makefile.vc all # -# -# Select _CONSOLE to build a library which reports errors to stderr, or -# _WINDOWED to build such that errors are reported via MessageBox(). -# -WINMODE = -DTIF_PLATFORM_CONSOLE -#WINMODE = -DTIF_PLATFORM_WINDOWED - -# Uncomment and edit following lines to enable JPEG support -#JPEG_SUPPORT = 1 -#JPEGDIR = d:/projects/jpeg-6b -#JPEG_LIB = $(JPEGDIR)/Release/jpeg.lib - -# Uncomment and edit following lines to enable ZIP support -# (required for Deflate compression) -#ZIP_SUPPORT = 1 -#ZLIBDIR = d:/projects/zlib-1.2.1 -#ZLIB_LIB = $(ZLIBDIR)/zlib.lib +!INCLUDE ..\nmake.opt -CC = cl -INCL = -I. -LIBS = -EXTRAFLAGS = - -!IFDEF JPEG_SUPPORT -INCL = $(INCL) -I$(JPEGDIR) -LIBS = $(LIBS) $(JPEG_LIB) -EXTRAFLAGS = $(EXTRAFLAGS) -DJPEG_SUPPORT -!ENDIF - -CFLAGS = /nologo /W3 $(INCL) $(WINMODE) $(EXTRAFLAGS) +INCL = -I. OBJ = \ tif_aux.obj \ @@ -77,24 +50,22 @@ OBJ = \ VERSION = ..\VERSION ALPHA = ..\dist\tiff.alpha -default: libtiff.lib - all: libtiff.lib libtiff.dll libtiff.lib: tiffvers.h $(OBJ) - lib /out:libtiff.lib $(OBJ) + lib /nologo /out:libtiff.lib $(OBJ) libtiff.dll: $(OBJ) - link /dll /def:libtiff.def /out:libtiff.dll /implib:libtiff_i.lib \ - $(OBJ) $(LIBS) + link /nologo /dll /def:libtiff.def /out:libtiff.dll \ + /implib:libtiff_i.lib $(OBJ) $(LIBS) tiffvers.h: $(VERSION) mkversion.c - $(CC) mkversion.c + $(CC) $(CFLAGS) mkversion.c if exist tiffvers.h del tiffvers.h .\mkversion.exe -v $(VERSION) tiffvers.h clean: - del *.obj *.lib libtiff.dll + -del *.obj *.lib *.dll *.exe tif_version.obj: tiffvers.h |