]> git.saurik.com Git - wxWidgets.git/blob - src/tiff/Makefile.lcc
Added a customisable formatting dialog for wxRichTextCtrl. Control the
[wxWidgets.git] / src / tiff / Makefile.lcc
1 # $Header$
2 #
3 # Tag Image File Format Library
4 #
5 # Copyright (c) 1988-1997 Sam Leffler
6 # Copyright (c) 1991-1997 Silicon Graphics, Inc.
7 #
8 # Permission to use, copy, modify, distribute, and sell this software and
9 # its documentation for any purpose is hereby granted without fee, provided
10 # that (i) the above copyright notices and this permission notice appear in
11 # all copies of the software and related documentation, and (ii) the names of
12 # Sam Leffler and Silicon Graphics may not be used in any advertising or
13 # publicity relating to the software without the specific, prior written
14 # permission of Stanford and Silicon Graphics.
15 #
16 # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
17 # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
18 # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
19 #
20 # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
21 # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
22 # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
23 # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
24 # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
25 # OF THIS SOFTWARE.
26 #
27 DESTDIR=.
28 #
29 INSTALL=install
30 NULL=
31
32 IPATH= -I. -I../jpeg
33 CONF_LIBRARY=\
34 ${NULL}
35 COPTS= -Oloop -cwagshf -d1 -b0 -v -DNDEBUG -rr -j135i
36 CFLAGS= ${COPTS} ${IPATH} ${CONF_LIBRARY}
37 #
38 INCS= tiff.h tiffio.h
39 SRCS= tif_fax3.c \
40 tif_fax4.c \
41 tif_aux.c \
42 tif_atari.c \
43 tif_ccittrle.c \
44 tif_close.c \
45 tif_compress.c \
46 tif_dir.c \
47 tif_dirinfo.c \
48 tif_dirread.c \
49 tif_dirwrite.c \
50 tif_dumpmode.c \
51 tif_error.c \
52 tif_getimage.c \
53 tif_jpeg.c \
54 tif_flush.c \
55 tif_lzw.c \
56 tif_next.c \
57 tif_open.c \
58 tif_packbits.c \
59 tif_print.c \
60 tif_read.c \
61 tif_swab.c \
62 tif_strip.c \
63 tif_thunder.c \
64 tif_tile.c \
65 tif_version.c \
66 tif_warning.c \
67 tif_write.c \
68 ${NULL}
69 OBJS= tif_fax3.o \
70 tif_fax4.o \
71 tif_aux.o \
72 tif_atari.o \
73 tif_ccittrle.o \
74 tif_close.o \
75 tif_compress.o \
76 tif_dir.o \
77 tif_dirinfo.o \
78 tif_dirread.o \
79 tif_dirwrite.o \
80 tif_dumpmode.o \
81 tif_error.o \
82 tif_getimage.o \
83 tif_jpeg.o \
84 tif_flush.o \
85 tif_lzw.o \
86 tif_next.o \
87 tif_open.o \
88 tif_packbits.o \
89 tif_print.o \
90 tif_read.o \
91 tif_swab.o \
92 tif_strip.o \
93 tif_thunder.o \
94 tif_tile.o \
95 tif_version.o \
96 tif_warning.o \
97 tif_write.o \
98 ${NULL}
99 ALL= tiffrnb.lib
100
101 all: ${ALL}
102
103 ${ALL}: ${OBJS}
104 ${AR} ${ARFLAGS} $@ r $<
105
106 ${OBJS}: tiffio.h tiff.h tiffcomp.h tiffiop.h tiffconf.h
107 tif_fax3.o: tif_fax3.c g3states.h t4.h tif_fax3.h
108
109 g3states.h: mkg3states.c t4.h
110 ${CC} -o mkg3states.ttp ${CFLAGS} mkg3states.c
111 ./mkg3states -c > g3states.h
112
113 install: all installh
114 -for i in ${ALL}; do \
115 ${INSTALL} -c -m 644 $$i ${DESTDIR}/lib/$$i; \
116 done
117
118 installh: ${INCS}
119 -for i in ${INCS}; do \
120 h=`basename $$i`; \
121 cmp -s $$i ${DESTDIR}/include/$$h || \
122 ${INSTALL} -c -m 444 $$i ${DESTDIR}/include/$$h; \
123 done
124
125 clean:
126 rm -f ${ALL} ${OBJS} mkg3states.ttp mkg3states.o g3states.h
127
128 tags: ${SRCS}
129 ${CTAGS} ${SRCS}