Remove obsolete VisualAge-related files.
[wxWidgets.git] / src / tiff / libtiff / Makefile.vc
1 #\r
2 # Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu>\r
3 #\r
4 # Permission to use, copy, modify, distribute, and sell this software and \r
5 # its documentation for any purpose is hereby granted without fee, provided\r
6 # that (i) the above copyright notices and this permission notice appear in\r
7 # all copies of the software and related documentation, and (ii) the names of\r
8 # Sam Leffler and Silicon Graphics may not be used in any advertising or\r
9 # publicity relating to the software without the specific, prior written\r
10 # permission of Sam Leffler and Silicon Graphics.\r
11\r
12 # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, \r
13 # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY \r
14 # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  \r
15\r
16 # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR\r
17 # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,\r
18 # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\r
19 # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF \r
20 # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE \r
21 # OF THIS SOFTWARE.\r
22 #\r
23 # Makefile for MS Visual C and Watcom C compilers.\r
24 #\r
25 # To build:\r
26 # C:\libtiff\libtiff> nmake /f makefile.vc all\r
27 #\r
28 \r
29 !INCLUDE ..\nmake.opt\r
30 \r
31 INCL    = -I. $(JPEG_INCLUDE) $(ZLIB_INCLUDE) $(JBIG_INCLUDE)\r
32 \r
33 !IFDEF USE_WIN_CRT_LIB\r
34 OBJ_SYSDEP_MODULE = tif_unix.obj\r
35 !ELSE\r
36 OBJ_SYSDEP_MODULE = tif_win32.obj\r
37 !ENDIF\r
38 \r
39 OBJ     = \\r
40         tif_aux.obj \\r
41         tif_close.obj \\r
42         tif_codec.obj \\r
43         tif_color.obj \\r
44         tif_compress.obj \\r
45         tif_dir.obj \\r
46         tif_dirinfo.obj \\r
47         tif_dirread.obj \\r
48         tif_dirwrite.obj \\r
49         tif_dumpmode.obj \\r
50         tif_error.obj \\r
51         tif_extension.obj \\r
52         tif_fax3.obj \\r
53         tif_fax3sm.obj \\r
54         tif_getimage.obj \\r
55         tif_jbig.obj \\r
56         tif_jpeg.obj \\r
57         tif_jpeg_12.obj \\r
58         tif_ojpeg.obj \\r
59         tif_flush.obj \\r
60         tif_luv.obj \\r
61         tif_lzw.obj \\r
62         tif_next.obj \\r
63         tif_open.obj \\r
64         tif_packbits.obj \\r
65         tif_pixarlog.obj \\r
66         tif_predict.obj \\r
67         tif_print.obj \\r
68         tif_read.obj \\r
69         tif_stream.obj \\r
70         tif_swab.obj \\r
71         tif_strip.obj \\r
72         tif_thunder.obj \\r
73         tif_tile.obj \\r
74         tif_version.obj \\r
75         tif_warning.obj \\r
76         tif_write.obj \\r
77         tif_zip.obj \\r
78         $(OBJ_SYSDEP_MODULE)\r
79 \r
80 all:    libtiff.lib $(DLLNAME)\r
81 \r
82 tif_config.h:   tif_config.vc.h\r
83         copy tif_config.vc.h tif_config.h\r
84 \r
85 tiffconf.h:     tiffconf.vc.h\r
86         copy tiffconf.vc.h tiffconf.h\r
87 \r
88 libtiff.lib:    tif_config.h tiffconf.h $(OBJ)\r
89         $(AR) /out:libtiff.lib $(OBJ) $(LIBS)\r
90 \r
91 $(DLLNAME):     tif_config.h tiffconf.h libtiff.def $(OBJ)\r
92         $(LD) /debug /dll /def:libtiff.def /out:$(DLLNAME) \\r
93         /implib:libtiff_i.lib $(OBJ) $(LIBS)\r
94         \r
95 clean:\r
96         -del tif_config.h tiffconf.h\r
97         -del *.obj\r
98         -del *.lib\r
99         -del *.dll\r
100         -del *.dll.manifest\r
101         -del *.pdb\r