|
roentgen |
b75cab |
# Tag Image File Format (TIFF) Software
|
|
roentgen |
b75cab |
#
|
|
roentgen |
b75cab |
# Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu></dron@ak4719.spb.edu>
|
|
roentgen |
b75cab |
#
|
|
roentgen |
b75cab |
# Permission to use, copy, modify, distribute, and sell this software and
|
|
roentgen |
b75cab |
# its documentation for any purpose is hereby granted without fee, provided
|
|
roentgen |
b75cab |
# that (i) the above copyright notices and this permission notice appear in
|
|
roentgen |
b75cab |
# all copies of the software and related documentation, and (ii) the names of
|
|
roentgen |
b75cab |
# Sam Leffler and Silicon Graphics may not be used in any advertising or
|
|
roentgen |
b75cab |
# publicity relating to the software without the specific, prior written
|
|
roentgen |
b75cab |
# permission of Sam Leffler and Silicon Graphics.
|
|
roentgen |
b75cab |
#
|
|
roentgen |
b75cab |
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
|
|
roentgen |
b75cab |
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
|
|
roentgen |
b75cab |
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
|
|
roentgen |
b75cab |
#
|
|
roentgen |
b75cab |
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
|
|
roentgen |
b75cab |
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
|
|
roentgen |
b75cab |
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
roentgen |
b75cab |
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
|
|
roentgen |
b75cab |
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
|
|
roentgen |
b75cab |
# OF THIS SOFTWARE.
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
# Process this file with automake to produce Makefile.in.
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
LIBPORT = $(top_builddir)/port/libport.la
|
|
roentgen |
b75cab |
LIBTIFF = $(top_builddir)/libtiff/libtiff.la
|
|
roentgen |
b75cab |
libtiffincludedir = $(includedir)
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
EXTRA_DIST = Makefile.vc \
|
|
roentgen |
b75cab |
SConstruct \
|
|
roentgen |
b75cab |
tif_config.h-vms \
|
|
roentgen |
b75cab |
tif_config.vc.h \
|
|
roentgen |
b75cab |
tif_config.wince.h \
|
|
roentgen |
b75cab |
tiffconf.vc.h \
|
|
roentgen |
b75cab |
tiffconf.wince.h \
|
|
roentgen |
b75cab |
libtiff.def \
|
|
roentgen |
b75cab |
libtiff.map \
|
|
roentgen |
b75cab |
libtiffxx.map
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
libtiffinclude_HEADERS = \
|
|
roentgen |
b75cab |
tiff.h \
|
|
roentgen |
b75cab |
tiffio.h \
|
|
roentgen |
b75cab |
tiffvers.h
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
if HAVE_CXX
|
|
roentgen |
b75cab |
libtiffinclude_HEADERS += tiffio.hxx
|
|
roentgen |
b75cab |
endif
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
noinst_HEADERS = \
|
|
roentgen |
b75cab |
t4.h \
|
|
roentgen |
b75cab |
tif_dir.h \
|
|
roentgen |
b75cab |
tif_predict.h \
|
|
roentgen |
b75cab |
tiffiop.h \
|
|
roentgen |
b75cab |
uvcode.h
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
nodist_libtiffinclude_HEADERS = \
|
|
roentgen |
b75cab |
tiffconf.h
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
libtiff_la_SOURCES = \
|
|
roentgen |
b75cab |
tif_aux.c \
|
|
roentgen |
b75cab |
tif_close.c \
|
|
roentgen |
b75cab |
tif_codec.c \
|
|
roentgen |
b75cab |
tif_color.c \
|
|
roentgen |
b75cab |
tif_compress.c \
|
|
roentgen |
b75cab |
tif_dir.c \
|
|
roentgen |
b75cab |
tif_dirinfo.c \
|
|
roentgen |
b75cab |
tif_dirread.c \
|
|
roentgen |
b75cab |
tif_dirwrite.c \
|
|
roentgen |
b75cab |
tif_dumpmode.c \
|
|
roentgen |
b75cab |
tif_error.c \
|
|
roentgen |
b75cab |
tif_extension.c \
|
|
roentgen |
b75cab |
tif_fax3.c \
|
|
roentgen |
b75cab |
tif_fax3sm.c \
|
|
roentgen |
b75cab |
tif_flush.c \
|
|
roentgen |
b75cab |
tif_getimage.c \
|
|
roentgen |
b75cab |
tif_jbig.c \
|
|
roentgen |
b75cab |
tif_jpeg.c \
|
|
roentgen |
b75cab |
tif_jpeg_12.c \
|
|
roentgen |
b75cab |
tif_luv.c \
|
|
roentgen |
b75cab |
tif_lzma.c \
|
|
roentgen |
b75cab |
tif_lzw.c \
|
|
roentgen |
b75cab |
tif_next.c \
|
|
roentgen |
b75cab |
tif_ojpeg.c \
|
|
roentgen |
b75cab |
tif_open.c \
|
|
roentgen |
b75cab |
tif_packbits.c \
|
|
roentgen |
b75cab |
tif_pixarlog.c \
|
|
roentgen |
b75cab |
tif_predict.c \
|
|
roentgen |
b75cab |
tif_print.c \
|
|
roentgen |
b75cab |
tif_read.c \
|
|
roentgen |
b75cab |
tif_strip.c \
|
|
roentgen |
b75cab |
tif_swab.c \
|
|
roentgen |
b75cab |
tif_thunder.c \
|
|
roentgen |
b75cab |
tif_tile.c \
|
|
roentgen |
b75cab |
tif_version.c \
|
|
roentgen |
b75cab |
tif_warning.c \
|
|
roentgen |
b75cab |
tif_write.c \
|
|
roentgen |
b75cab |
tif_zip.c
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
libtiffxx_la_SOURCES = \
|
|
roentgen |
b75cab |
tif_stream.cxx
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
if WIN32_IO
|
|
roentgen |
b75cab |
EXTRA_DIST += tif_unix.c
|
|
roentgen |
b75cab |
libtiff_la_SOURCES += tif_win32.c
|
|
roentgen |
b75cab |
else
|
|
roentgen |
b75cab |
EXTRA_DIST += tif_win32.c
|
|
roentgen |
b75cab |
libtiff_la_SOURCES += tif_unix.c
|
|
roentgen |
b75cab |
endif
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
lib_LTLIBRARIES = libtiff.la
|
|
roentgen |
b75cab |
if HAVE_CXX
|
|
roentgen |
b75cab |
lib_LTLIBRARIES += libtiffxx.la
|
|
roentgen |
b75cab |
endif
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
libtiff_la_LDFLAGS = \
|
|
roentgen |
b75cab |
-no-undefined \
|
|
roentgen |
b75cab |
-version-info $(LIBTIFF_VERSION_INFO)
|
|
roentgen |
b75cab |
if HAVE_RPATH
|
|
roentgen |
b75cab |
libtiff_la_LDFLAGS += $(LIBDIR)
|
|
roentgen |
b75cab |
endif
|
|
roentgen |
b75cab |
if HAVE_LD_VERSION_SCRIPT
|
|
roentgen |
b75cab |
libtiff_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libtiff.map
|
|
roentgen |
b75cab |
endif
|
|
roentgen |
b75cab |
libtiff_la_LIBADD = $(LIBPORT)
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
libtiffxx_la_LDFLAGS = \
|
|
roentgen |
b75cab |
-no-undefined \
|
|
roentgen |
b75cab |
-version-info $(LIBTIFF_VERSION_INFO)
|
|
roentgen |
b75cab |
if HAVE_RPATH
|
|
roentgen |
b75cab |
libtiffxx_la_LDFLAGS += $(LIBDIR)
|
|
roentgen |
b75cab |
endif
|
|
roentgen |
b75cab |
if HAVE_LD_VERSION_SCRIPT
|
|
roentgen |
b75cab |
libtiffxx_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libtiffxx.map
|
|
roentgen |
b75cab |
endif
|
|
roentgen |
b75cab |
libtiffxx_la_LIBADD = $(LIBTIFF) $(LIBPORT)
|
|
roentgen |
b75cab |
libtiffxx_la_DEPENDENCIES = libtiff.la
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
#
|
|
roentgen |
b75cab |
# The finite state machine tables used by the G3/G4 decoders
|
|
roentgen |
b75cab |
# are generated by the mkg3states program. On systems without
|
|
roentgen |
b75cab |
# make these rules have to be manually carried out.
|
|
roentgen |
b75cab |
#
|
|
roentgen |
b75cab |
noinst_PROGRAMS = mkg3states
|
|
roentgen |
b75cab |
mkg3states_SOURCES = mkg3states.c tif_fax3.h
|
|
roentgen |
b75cab |
mkg3states_LDADD = $(LIBPORT)
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
faxtable: mkg3states
|
|
roentgen |
b75cab |
(rm -f tif_fax3sm.c && ./mkg3states -b -c const tif_fax3sm.c)
|
|
roentgen |
b75cab |
|