Makefile.am 3.6 KB

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