]> git.saurik.com Git - wxWidgets.git/blob - src/tiff/tools/Makefile.am
adding implementation for osx
[wxWidgets.git] / src / tiff / tools / Makefile.am
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 tiffdither \
49 tiffdump \
50 tiffinfo \
51 tiffmedian \
52 tiffset \
53 tiffsplit
54 if HAVE_OPENGL
55 bin_PROGRAMS += tiffgt
56 endif
57
58 EXTRA_PROGRAMS = sgi2tiff sgisv ycbcr
59
60 if HAVE_RPATH
61 AM_LDFLAGS = $(LIBDIR)
62 endif
63
64 bmp2tiff_SOURCES = bmp2tiff.c
65 bmp2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
66
67 fax2ps_SOURCES = fax2ps.c
68 fax2ps_LDADD = $(LIBTIFF) $(LIBPORT)
69
70 fax2tiff_SOURCES = fax2tiff.c
71 fax2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
72
73 gif2tiff_SOURCES = gif2tiff.c
74 gif2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
75
76 pal2rgb_SOURCES = pal2rgb.c
77 pal2rgb_LDADD = $(LIBTIFF) $(LIBPORT)
78
79 ppm2tiff_SOURCES = ppm2tiff.c
80 ppm2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
81
82 ras2tiff_SOURCES = ras2tiff.c rasterfile.h
83 ras2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
84
85 raw2tiff_SOURCES = raw2tiff.c
86 raw2tiff_LDADD = $(LIBTIFF) $(LIBPORT)
87
88 rgb2ycbcr_SOURCES = rgb2ycbcr.c
89 rgb2ycbcr_LDADD = $(LIBTIFF) $(LIBPORT)
90
91 thumbnail_SOURCES = thumbnail.c
92 thumbnail_LDADD = $(LIBTIFF) $(LIBPORT)
93
94 tiff2bw_SOURCES = tiff2bw.c
95 tiff2bw_LDADD = $(LIBTIFF) $(LIBPORT)
96
97 tiff2pdf_SOURCES = tiff2pdf.c
98 tiff2pdf_LDADD = $(LIBTIFF) $(LIBPORT)
99
100 tiff2ps_SOURCES = tiff2ps.c
101 tiff2ps_LDADD = $(LIBTIFF) $(LIBPORT)
102
103 tiff2rgba_SOURCES = tiff2rgba.c
104 tiff2rgba_LDADD = $(LIBTIFF) $(LIBPORT)
105
106 tiffcmp_SOURCES = tiffcmp.c
107 tiffcmp_LDADD = $(LIBTIFF) $(LIBPORT)
108
109 tiffcp_SOURCES = tiffcp.c
110 tiffcp_LDADD = $(LIBTIFF) $(LIBPORT)
111
112 tiffdither_SOURCES = tiffdither.c
113 tiffdither_LDADD = $(LIBTIFF) $(LIBPORT)
114
115 tiffdump_SOURCES = tiffdump.c
116 tiffdump_LDADD = $(LIBTIFF) $(LIBPORT)
117
118 tiffinfo_SOURCES = tiffinfo.c
119 tiffinfo_LDADD = $(LIBTIFF) $(LIBPORT)
120
121 tiffmedian_SOURCES = tiffmedian.c
122 tiffmedian_LDADD = $(LIBTIFF) $(LIBPORT)
123
124 tiffset_SOURCES = tiffset.c
125 tiffset_LDADD = $(LIBTIFF) $(LIBPORT)
126
127 tiffsplit_SOURCES = tiffsplit.c
128 tiffsplit_LDADD = $(LIBTIFF) $(LIBPORT)
129
130 tiffgt_SOURCES = tiffgt.c
131 tiffgt_CFLAGS = $(CFLAGS) $(GLUT_CFLAGS) $(AM_CFLAGS)
132 tiffgt_LDADD = $(LIBTIFF) $(LIBPORT) $(X_LIBS) $(GLUT_LIBS)
133
134 INCLUDES = -I$(top_srcdir)/libtiff
135
136 echo:
137 (echo $(CFLAGS))
138 (echo $(tiffgt_CFLAGS))
139 (echo $(GL_CFLAGS))
140 (echo $(GLU_CFLAGS))
141 (echo $(GLUT_CFLAGS))