source: trunk/third/tiff/libtiff/makefile.vc @ 18174

Revision 18174, 1.4 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18173, which included commits to RCS files with non-trunk default branches.
Line 
1#
2#       Simple MS VC++ Makefile
3#
4#       To build:
5#       C:\libtiff\libtiff> nmake /f makefile.vc all
6#
7
8#
9# Select _CONSOLE to build a library which reports errors to stderr, or
10# _WINDOWED to build such that errors are reported via MessageBox().
11#
12WINMODE = -DTIF_PLATFORM_CONSOLE
13#WINMODE = -DTIF_PLATFORM_WINDOWED
14
15CC      = cl
16INCL    = -I.
17LIBS    =
18CFLAGS  = /nologo /W3 $(INCL) $(WINMODE)
19
20OBJ     = \
21        tif_aux.obj \
22        tif_close.obj \
23        tif_codec.obj \
24        tif_compress.obj \
25        tif_dir.obj \
26        tif_dirinfo.obj \
27        tif_dirread.obj \
28        tif_dirwrite.obj \
29        tif_dumpmode.obj \
30        tif_error.obj \
31        tif_fax3.obj \
32        fax3sm_winnt.obj \
33        tif_getimage.obj \
34        tif_jpeg.obj \
35        tif_ojpeg.obj \
36        tif_flush.obj \
37        tif_luv.obj \
38        tif_lzw.obj \
39        tif_next.obj \
40        tif_open.obj \
41        tif_packbits.obj \
42        tif_pixarlog.obj \
43        tif_predict.obj \
44        tif_print.obj \
45        tif_read.obj \
46        tif_swab.obj \
47        tif_strip.obj \
48        tif_thunder.obj \
49        tif_tile.obj \
50        tif_win32.obj \
51        tif_version.obj \
52        tif_warning.obj \
53        tif_write.obj \
54        tif_zip.obj
55
56VERSION = ..\VERSION
57ALPHA = ..\dist\tiff.alpha
58
59default:        libtiff.lib
60
61all:    libtiff.lib libtiff.dll
62
63libtiff.lib:    tiffvers.h $(OBJ)
64        lib /out:libtiff.lib $(OBJ)
65
66libtiff.dll:    $(OBJ)
67        link /dll /def:libtiff.def /out:libtiff.dll /implib:libtiff_i.lib \
68                $(OBJ) $(LIBS)
69       
70tiffvers.h:     $(VERSION) mkversion.c
71        $(CC) mkversion.c
72        if exist tiffvers.h del tiffvers.h
73        .\mkversion.exe -v $(VERSION) tiffvers.h
74
75clean:
76        del *.obj *.lib libtiff.dll
77
78tif_version.obj:        tiffvers.h
79
80
Note: See TracBrowser for help on using the repository browser.