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