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