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