]> git.saurik.com Git - wxWidgets.git/blob - src/tiff/libtiff/Makefile.am
Increase the number of visible OS X combo items.
[wxWidgets.git] / src / tiff / libtiff / 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 libtiffincludedir = $(includedir)
29
30 EXTRA_DIST = Makefile.vc \
31 SConstruct \
32 tif_config.h-vms \
33 tif_config.vc.h \
34 tif_config.wince.h \
35 tiffconf.vc.h \
36 tiffconf.wince.h \
37 libtiff.def \
38 libtiff.map \
39 libtiffxx.map
40
41 libtiffinclude_HEADERS = \
42 tiff.h \
43 tiffio.h \
44 tiffvers.h
45
46 if HAVE_CXX
47 libtiffinclude_HEADERS += tiffio.hxx
48 endif
49
50 noinst_HEADERS = \
51 t4.h \
52 tif_dir.h \
53 tif_predict.h \
54 tiffiop.h \
55 uvcode.h
56
57 nodist_libtiffinclude_HEADERS = \
58 tiffconf.h
59
60 libtiff_la_SOURCES = \
61 tif_aux.c \
62 tif_close.c \
63 tif_codec.c \
64 tif_color.c \
65 tif_compress.c \
66 tif_dir.c \
67 tif_dirinfo.c \
68 tif_dirread.c \
69 tif_dirwrite.c \
70 tif_dumpmode.c \
71 tif_error.c \
72 tif_extension.c \
73 tif_fax3.c \
74 tif_fax3sm.c \
75 tif_flush.c \
76 tif_getimage.c \
77 tif_jbig.c \
78 tif_jpeg.c \
79 tif_jpeg_12.c \
80 tif_luv.c \
81 tif_lzma.c \
82 tif_lzw.c \
83 tif_next.c \
84 tif_ojpeg.c \
85 tif_open.c \
86 tif_packbits.c \
87 tif_pixarlog.c \
88 tif_predict.c \
89 tif_print.c \
90 tif_read.c \
91 tif_strip.c \
92 tif_swab.c \
93 tif_thunder.c \
94 tif_tile.c \
95 tif_version.c \
96 tif_warning.c \
97 tif_write.c \
98 tif_zip.c
99
100 libtiffxx_la_SOURCES = \
101 tif_stream.cxx
102
103 if WIN32_IO
104 EXTRA_DIST += tif_unix.c
105 libtiff_la_SOURCES += tif_win32.c
106 else
107 EXTRA_DIST += tif_win32.c
108 libtiff_la_SOURCES += tif_unix.c
109 endif
110
111 lib_LTLIBRARIES = libtiff.la
112 if HAVE_CXX
113 lib_LTLIBRARIES += libtiffxx.la
114 endif
115
116 libtiff_la_LDFLAGS = \
117 -no-undefined \
118 -version-info $(LIBTIFF_VERSION_INFO)
119 if HAVE_RPATH
120 libtiff_la_LDFLAGS += $(LIBDIR)
121 endif
122 if HAVE_LD_VERSION_SCRIPT
123 libtiff_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libtiff.map
124 endif
125 libtiff_la_LIBADD = $(LIBPORT)
126
127 libtiffxx_la_LDFLAGS = \
128 -no-undefined \
129 -version-info $(LIBTIFF_VERSION_INFO)
130 if HAVE_RPATH
131 libtiffxx_la_LDFLAGS += $(LIBDIR)
132 endif
133 if HAVE_LD_VERSION_SCRIPT
134 libtiffxx_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libtiffxx.map
135 endif
136 libtiffxx_la_LIBADD = $(LIBTIFF) $(LIBPORT)
137 libtiffxx_la_DEPENDENCIES = libtiff.la
138
139 #
140 # The finite state machine tables used by the G3/G4 decoders
141 # are generated by the mkg3states program. On systems without
142 # make these rules have to be manually carried out.
143 #
144 noinst_PROGRAMS = mkg3states
145 mkg3states_SOURCES = mkg3states.c tif_fax3.h
146 mkg3states_LDADD = $(LIBPORT)
147
148 faxtable: mkg3states
149 (rm -f tif_fax3sm.c && ./mkg3states -b -c const tif_fax3sm.c)
150