]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/tiff/libtiff/Makefile.am
Output the extracted number from wxString::ToXXX() even if it returns false.
[wxWidgets.git] / src / tiff / libtiff / Makefile.am
... / ...
CommitLineData
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
26LIBPORT = $(top_builddir)/port/libport.la
27LIBTIFF = $(top_builddir)/libtiff/libtiff.la
28
29EXTRA_DIST = Makefile.vc SConstruct tif_config.h.vc tiffconf.h.vc libtiff.def \
30 $(EXTRA_SRCS)
31
32HDRS = \
33 tiff.h \
34 tiffconf.h \
35 tiffio.h \
36 tiffvers.h
37
38if HAVE_CXX
39HDRS += tiffio.hxx
40endif
41
42EXTRA_HDRS = \
43 t4.h \
44 tif_dir.h \
45 tif_predict.h \
46 tiffiop.h \
47 uvcode.h
48
49SRCS = \
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
87SRCSXX = \
88 tif_stream.cxx
89
90EXTRA_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
99libtiffincludedir = $(includedir)
100libtiffinclude_HEADERS = $(HDRS)
101noinst_HEADERS = $(EXTRA_HDRS)
102
103lib_LTLIBRARIES = libtiff.la
104if HAVE_CXX
105lib_LTLIBRARIES += libtiffxx.la
106endif
107
108libtiff_la_SOURCES = $(SRCS)
109libtiff_la_LDFLAGS = \
110 -no-undefined \
111 -version-number $(LIBTIFF_VERSION_INFO)
112if HAVE_RPATH
113libtiff_la_LDFLAGS += $(LIBDIR)
114endif
115libtiff_la_LIBADD = $(LIBPORT)
116
117libtiffxx_la_SOURCES = $(SRCSXX)
118libtiffxx_la_LDFLAGS = \
119 -no-undefined \
120 -version-number $(LIBTIFF_VERSION_INFO)
121if HAVE_RPATH
122libtiffxx_la_LDFLAGS += $(LIBDIR)
123endif
124libtiffxx_la_LIBADD = $(LIBTIFF) $(LIBPORT)
125libtiffxx_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#
132noinst_PROGRAMS = mkg3states
133mkg3states_SOURCES = mkg3states.c tif_fax3.h
134mkg3states_LDADD = $(LIBPORT)
135
136faxtable: mkg3states
137 (rm -f tif_fax3sm.c && ./mkg3states -b -c const tif_fax3sm.c)
138