]>
Commit | Line | Data |
---|---|---|
1 | # Tag Image File Format (TIFF) Software | |
2 | # | |
3 | # Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu> | |
4 | # | |
5 | # Permission to use, copy, modify, distribute, and sell this software and | |
6 | # its documentation for any purpose is hereby granted without fee, provided | |
7 | # that (i) the above copyright notices and this permission notice appear in | |
8 | # all copies of the software and related documentation, and (ii) the names of | |
9 | # Sam Leffler and Silicon Graphics may not be used in any advertising or | |
10 | # publicity relating to the software without the specific, prior written | |
11 | # permission of Sam Leffler and Silicon Graphics. | |
12 | # | |
13 | # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, | |
14 | # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY | |
15 | # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. | |
16 | # | |
17 | # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR | |
18 | # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, | |
19 | # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, | |
20 | # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF | |
21 | # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE | |
22 | # OF THIS SOFTWARE. | |
23 | ||
24 | # Process this file with automake to produce Makefile.in. | |
25 | ||
26 | LIBPORT = $(top_builddir)/port/libport.la | |
27 | LIBTIFF = $(top_builddir)/libtiff/libtiff.la | |
28 | ||
29 | EXTRA_DIST = Makefile.vc | |
30 | ||
31 | bin_PROGRAMS = \ | |
32 | bmp2tiff \ | |
33 | fax2ps \ | |
34 | fax2tiff \ | |
35 | gif2tiff \ | |
36 | pal2rgb \ | |
37 | ppm2tiff \ | |
38 | ras2tiff \ | |
39 | raw2tiff \ | |
40 | rgb2ycbcr \ | |
41 | thumbnail \ | |
42 | tiff2bw \ | |
43 | tiff2pdf \ | |
44 | tiff2ps \ | |
45 | tiff2rgba \ | |
46 | tiffcmp \ | |
47 | tiffcp \ | |
48 | tiffcrop \ | |
49 | tiffdither \ | |
50 | tiffdump \ | |
51 | tiffinfo \ | |
52 | tiffmedian \ | |
53 | tiffset \ | |
54 | tiffsplit | |
55 | if HAVE_OPENGL | |
56 | bin_PROGRAMS += tiffgt | |
57 | endif | |
58 | ||
59 | EXTRA_PROGRAMS = sgi2tiff sgisv ycbcr | |
60 | ||
61 | if HAVE_RPATH | |
62 | AM_LDFLAGS = $(LIBDIR) | |
63 | endif | |
64 | ||
65 | bmp2tiff_SOURCES = bmp2tiff.c | |
66 | bmp2tiff_LDADD = $(LIBTIFF) $(LIBPORT) | |
67 | ||
68 | fax2ps_SOURCES = fax2ps.c | |
69 | fax2ps_LDADD = $(LIBTIFF) $(LIBPORT) | |
70 | ||
71 | fax2tiff_SOURCES = fax2tiff.c | |
72 | fax2tiff_LDADD = $(LIBTIFF) $(LIBPORT) | |
73 | ||
74 | gif2tiff_SOURCES = gif2tiff.c | |
75 | gif2tiff_LDADD = $(LIBTIFF) $(LIBPORT) | |
76 | ||
77 | pal2rgb_SOURCES = pal2rgb.c | |
78 | pal2rgb_LDADD = $(LIBTIFF) $(LIBPORT) | |
79 | ||
80 | ppm2tiff_SOURCES = ppm2tiff.c | |
81 | ppm2tiff_LDADD = $(LIBTIFF) $(LIBPORT) | |
82 | ||
83 | ras2tiff_SOURCES = ras2tiff.c rasterfile.h | |
84 | ras2tiff_LDADD = $(LIBTIFF) $(LIBPORT) | |
85 | ||
86 | raw2tiff_SOURCES = raw2tiff.c | |
87 | raw2tiff_LDADD = $(LIBTIFF) $(LIBPORT) | |
88 | ||
89 | rgb2ycbcr_SOURCES = rgb2ycbcr.c | |
90 | rgb2ycbcr_LDADD = $(LIBTIFF) $(LIBPORT) | |
91 | ||
92 | thumbnail_SOURCES = thumbnail.c | |
93 | thumbnail_LDADD = $(LIBTIFF) $(LIBPORT) | |
94 | ||
95 | tiff2bw_SOURCES = tiff2bw.c | |
96 | tiff2bw_LDADD = $(LIBTIFF) $(LIBPORT) | |
97 | ||
98 | tiff2pdf_SOURCES = tiff2pdf.c | |
99 | tiff2pdf_LDADD = $(LIBTIFF) $(LIBPORT) | |
100 | ||
101 | tiff2ps_SOURCES = tiff2ps.c | |
102 | tiff2ps_LDADD = $(LIBTIFF) $(LIBPORT) | |
103 | ||
104 | tiff2rgba_SOURCES = tiff2rgba.c | |
105 | tiff2rgba_LDADD = $(LIBTIFF) $(LIBPORT) | |
106 | ||
107 | tiffcmp_SOURCES = tiffcmp.c | |
108 | tiffcmp_LDADD = $(LIBTIFF) $(LIBPORT) | |
109 | ||
110 | tiffcp_SOURCES = tiffcp.c | |
111 | tiffcp_LDADD = $(LIBTIFF) $(LIBPORT) | |
112 | ||
113 | tiffcrop_SOURCES = tiffcrop.c | |
114 | tiffcrop_LDADD = $(LIBTIFF) $(LIBPORT) | |
115 | ||
116 | tiffdither_SOURCES = tiffdither.c | |
117 | tiffdither_LDADD = $(LIBTIFF) $(LIBPORT) | |
118 | ||
119 | tiffdump_SOURCES = tiffdump.c | |
120 | tiffdump_LDADD = $(LIBTIFF) $(LIBPORT) | |
121 | ||
122 | tiffinfo_SOURCES = tiffinfo.c | |
123 | tiffinfo_LDADD = $(LIBTIFF) $(LIBPORT) | |
124 | ||
125 | tiffmedian_SOURCES = tiffmedian.c | |
126 | tiffmedian_LDADD = $(LIBTIFF) $(LIBPORT) | |
127 | ||
128 | tiffset_SOURCES = tiffset.c | |
129 | tiffset_LDADD = $(LIBTIFF) $(LIBPORT) | |
130 | ||
131 | tiffsplit_SOURCES = tiffsplit.c | |
132 | tiffsplit_LDADD = $(LIBTIFF) $(LIBPORT) | |
133 | ||
134 | tiffgt_SOURCES = tiffgt.c | |
135 | tiffgt_CFLAGS = $(CFLAGS) $(GLUT_CFLAGS) $(AM_CFLAGS) | |
136 | tiffgt_LDADD = $(LIBTIFF) $(LIBPORT) $(X_LIBS) $(GLUT_LIBS) | |
137 | ||
138 | AM_CPPFLAGS = -I$(top_srcdir)/libtiff | |
139 | ||
140 | echo: | |
141 | (echo $(CFLAGS)) | |
142 | (echo $(tiffgt_CFLAGS)) | |
143 | (echo $(GL_CFLAGS)) | |
144 | (echo $(GLU_CFLAGS)) | |
145 | (echo $(GLUT_CFLAGS)) |