]> git.saurik.com Git - wxWidgets.git/blame - src/tiff/contrib/win_dib/Makefile.w95
updated setup.h for OpenVMS
[wxWidgets.git] / src / tiff / contrib / win_dib / Makefile.w95
CommitLineData
8414a40c
VZ
1# $Header: /usr/people/sam/tiff/libtiff/RCS/Makefile.w95,v 1.2 1994/11/28
206:13:31 sam Exp $
3#
4# Tag Image File Format Library
5#
6# Copyright (c) 1988, 1989, 1990, 1991, 1992 Sam Leffler
7# Copyright (c) 1991, 1992 Silicon Graphics, Inc.
8#
9# Permission to use, copy, modify, distribute, and sell this software and
10# its documentation for any purpose is hereby granted without fee, provided
11# that (i) the above copyright notices and this permission notice appear in
12# all copies of the software and related documentation, and (ii) the names of
13# Sam Leffler and Silicon Graphics may not be used in any advertising or
14# publicity relating to the software without the specific, prior written
15# permission of Sam Leffler and Silicon Graphics.
16#
17# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
18# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
19# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
20#
21# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
22# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
23# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
24# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
25# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
26# OF THIS SOFTWARE.
27#
28# This Makefile is for use with microsoft nmake version 1.50 and
29# Microsoft 32-bit C/C++ Compiler 9.00
30#
31DESTDIR=.
32#
33IPATH= -I.
34CONF_LIBRARY=$(NULL)
35COPTS= -Oxa -DBSDTYPES -Zd
36CFLAGS= $(COPTS) $(CONF_LIBRARY)
37#
38INCS= tiff.h tiffio.h
39SRCS= tif_aux.c \
40 tif_close.c \
41 tif_codec.c \
42 tif_compress.c \
43 tif_dir.c \
44 tif_dirinfo.c \
45 tif_dirread.c \
46 tif_dirwrite.c \
47 tif_dumpmode.c \
48 tif_error.c \
49 tif_getimage.c \
50 tif_jpeg.c \
51 tif_flush.c \
52 tif_lzw.c \
53 tif_next.c \
54 tif_open.c \
55 tif_packbits.c \
56 tif_predict \
57 tif_print.c \
58 tif_read.c \
59 tif_swab.c \
60 tif_strip.c \
61 tif_thunder.c \
62 tif_tile.c \
63 tif_version.c \
64 tif_warning.c \
65 tif_write.c \
66 tif_win32.c
67
68
69OBJS= tif_aux.obj \
70 tif_close.obj \
71 tif_codec.obj \
72 tif_compress.obj \
73 tif_dir.obj \
74 tif_dirinfo.obj \
75 tif_dirread.obj \
76 tif_dirwrite.obj \
77 tif_dumpmode.obj \
78 tif_error.obj \
79 tif_getimage.obj \
80 tif_jpeg.obj \
81 tif_flush.obj \
82 tif_lzw.obj \
83 tif_next.obj \
84 tif_open.obj \
85 tif_packbits.obj \
86 tif_predict.obj \
87 tif_print.obj \
88 tif_read.obj \
89 tif_swab.obj \
90 tif_strip.obj \
91 tif_thunder.obj \
92 tif_tile.obj \
93 tif_version.obj \
94 tif_warning.obj \
95 tif_write.obj \
96 tif_win32.obj
97
98
99
100ALL= libtiff.lib
101
102all: $(ALL)
103
104%.obj : %.c
105 $(CC) $(CFLAGS) -c $*.c
106
107
108#.INCLUDE .IGNORE : depend
109
110libtiff.lib: $(OBJS)
111 - del libtiff.lib
112 lib /OUT:libtiff.lib $(OBJS)
113
114
115#To include fax3 support, you need to modify mkg3states.c so it could run
116#under windows 95 or NT. This application make the file g3state.h.
117#after that, you have to add to the build script : tif_fax3.c and tif_fax3.obj
118#and define CCITT_SUPPORT in the file tifconf.h
119
120#$(OBJS): tiffio.h tiff.h tiffcomp.h tiffiop.h tiffconf.h
121#tif_fax3.obj: tif_fax3.c g3states.h t4.h tif_fax3.h
122
123#g3states.h: mkg3states.c t4.h
124# $(CC) $(CFLAGS) mkg3states.c
125# mkg3states -c > g3states.h
126
127
128clean:
129 del *.obj
130 del mkg3stat
131 del g3states.h
132
133tags: $(SRCS)
134 $(CTAGS) $(SRCS)