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 | # |
---|
12 | WINMODE = -DTIF_PLATFORM_CONSOLE |
---|
13 | #WINMODE = -DTIF_PLATFORM_WINDOWED |
---|
14 | |
---|
15 | CC = cl |
---|
16 | INCL = -I. |
---|
17 | LIBS = |
---|
18 | CFLAGS = /nologo /W3 $(INCL) $(WINMODE) |
---|
19 | |
---|
20 | OBJ = \ |
---|
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 | |
---|
56 | VERSION = ..\VERSION |
---|
57 | ALPHA = ..\dist\tiff.alpha |
---|
58 | |
---|
59 | default: libtiff.lib |
---|
60 | |
---|
61 | all: libtiff.lib libtiff.dll |
---|
62 | |
---|
63 | libtiff.lib: tiffvers.h $(OBJ) |
---|
64 | lib /out:libtiff.lib $(OBJ) |
---|
65 | |
---|
66 | libtiff.dll: $(OBJ) |
---|
67 | link /dll /def:libtiff.def /out:libtiff.dll /implib:libtiff_i.lib \ |
---|
68 | $(OBJ) $(LIBS) |
---|
69 | |
---|
70 | tiffvers.h: $(VERSION) mkversion.c |
---|
71 | $(CC) mkversion.c |
---|
72 | if exist tiffvers.h del tiffvers.h |
---|
73 | .\mkversion.exe -v $(VERSION) tiffvers.h |
---|
74 | |
---|
75 | clean: |
---|
76 | del *.obj *.lib libtiff.dll |
---|
77 | |
---|
78 | tif_version.obj: tiffvers.h |
---|
79 | |
---|
80 | |
---|
Note: See
TracBrowser
for help on using the repository browser.