home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / NETWORK / netpbm_src.lzh / NETPBM / LIBTIFF / Makefile.mms < prev    next >
Makefile  |  1996-11-18  |  6KB  |  176 lines

  1. # MMS Description file for the Tag Image File Format Library
  2. #
  3. # Tag Image File Format Library
  4. #
  5. # Copyright (c) 1988, 1989, 1990, 1991, 1992 Sam Leffler
  6. # Copyright (c) 1991, 1992 Silicon Graphics, Inc.
  7. #
  8. # Permission to use, copy, modify, distribute, and sell this software and
  9. # its documentation for any purpose is hereby granted without fee, provided
  10. # that (i) the above copyright notices and this permission notice appear in
  11. # all copies of the software and related documentation, and (ii) the names of
  12. # Sam Leffler and Silicon Graphics may not be used in any advertising or
  13. # publicity relating to the software without the specific, prior written
  14. # permission of Sam Leffler and Silicon Graphics.
  15. #
  16. # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
  17. # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
  18. # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  19. #
  20. # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
  21. # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
  22. # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  23. # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
  24. # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  25. # OF THIS SOFTWARE.
  26. #
  27. # This MMS description file was written by Rick Dyson on or before 11-NOV-1991
  28. #    (dyson@iowasp.physics.uiowa.edu)
  29. #    Updated: 28-APR-1992 -- LIBTIFF v3.0  (19-FEB-1992) for XV (v2.21)
  30. #              2-MAR-1993 -- LIBTIFF v3.21 (29-OCT-1992) for XV (v3.00)
  31. #                26-MAY-1993 -- for ALPHA support
  32. #                 4-Oct-1993 -- updatd for PBMplus (netpbm/Alpha04)
  33. #
  34. # It is based on the Unix Makefile by Leffler
  35. #
  36.  
  37. NULL =
  38.  
  39. IPATH =    []
  40. #
  41. # Library-wide configuration defines:
  42. #    MMAP_SUPPORT    add support for memory mapping read-only files
  43. #    COLORIMETRY_SUPPORT add support for 6.0 colorimetry tags
  44. #    JPEG_SUPPORT    add support for 6.0 JPEG tags & JPEG algorithms
  45. #    YCBCR_SUPPORT    add support for 6.0 YCbCr tags
  46. #    CMYK_SUPPORT    add support for 6.0 CMYK tags
  47. #
  48. # Compression configuration defines:
  49. #    CCITT_SUPPORT    add support for CCITT Group 3 & 4 algorithms
  50. #    PACKBITS_SUPPORT    add support for Macintosh PackBits algorithm
  51. #    LZW_SUPPORT    add support for LZW algorithm
  52. #    THUNDER_SUPPORT    add support for ThunderScan 4-bit RLE algorithm
  53. #    NEXT_SUPPORT    add support for NeXT 2-bit RLE algorithm
  54. #    JPEG_SUPPORT    add support for JPEG DCT algorithm
  55. #
  56. # Note that if you change the library-wide configuration, you'll
  57. # need to manual force a full rebuild.  Changing the configuration
  58. # of which compression algorithms are included in the library is
  59. # automatically handled (i.e. tif_compress.o has a dependency on
  60. # the Makefile).
  61. #
  62.  
  63. .ifdef ALPHA
  64. OPTIMIZE = /Optimize = (Level = 4) /Standard = VAXC /Warnings = NoInformationals
  65. .else
  66. OPTIMIZE = /Optimize
  67. .endif
  68.  
  69. COMPDEFS = $(CFLAGS) /Include_Directory = ($(IPATH)) /Define = ("BSDTYPES=1","USE_VARARGS=1","USE_PROTOTYPES=0","USE_CONST",__STDC__)
  70. DEFS = /Define = ("BSDTYPES=1","USE_VARARGS=1","USE_PROTOTYPES=0","USE_CONST",__STDC__)
  71. DEBUG = /NoDebug
  72. CFLAGS = $(CFLAGS) /Include_Directory = ($(IPATH)) $(DEFS) $(DEBUG) $(OPTIMIZE)
  73.  
  74. INCS =    tiff.h tiffio.h
  75.  
  76. SRCS =    tif_fax3.c \
  77.     tif_fax4.c \
  78.     tif_aux.c \
  79.     tif_ccittrle.c \
  80.     tif_close.c \
  81.     tif_compress.c \
  82.     tif_dir.c \
  83.     tif_dirinfo.c \
  84.     tif_dirread.c \
  85.     tif_dirwrite.c \
  86.     tif_dumpmode.c \
  87.     tif_error.c \
  88.     tif_getimage.c \
  89.     tif_jpeg.c \
  90.     tif_flush.c \
  91.     tif_lzw.c \
  92.     tif_machdep.c \
  93.         tif_next.c \
  94.     tif_open.c \
  95.     tif_packbits.c \
  96.     tif_print.c \
  97.     tif_read.c \
  98.     tif_swab.c \
  99.     tif_strip.c \
  100.     tif_thunder.c \
  101.     tif_tile.c \
  102.     tif_version.c \
  103.         tif_vms.c \
  104.     tif_warning.c \
  105.     tif_write.c
  106.  
  107. OBJS =    tif_fax3.obj \
  108.     tif_fax4.obj \
  109.     tif_aux.obj \
  110.     tif_ccittrle.obj \
  111.     tif_close.obj \
  112.     tif_compress.obj \
  113.     tif_dir.obj \
  114.     tif_dirinfo.obj \
  115.     tif_dirread.obj \
  116.     tif_dirwrite.obj \
  117.     tif_dumpmode.obj \
  118.     tif_error.obj \
  119.     tif_getimage.obj \
  120.     tif_jpeg.obj \
  121.     tif_flush.obj \
  122.     tif_lzw.obj \
  123.     tif_machdep.obj \
  124.         tif_next.obj \
  125.     tif_open.obj \
  126.     tif_packbits.obj \
  127.     tif_print.obj \
  128.     tif_read.obj \
  129.     tif_strip.obj \
  130.     tif_swab.obj \
  131.     tif_thunder.obj \
  132.     tif_tile.obj \
  133.     tif_version.obj \
  134.         tif_vms.obj \
  135.     tif_warning.obj \
  136.     tif_write.obj
  137.  
  138. OBJLIST = tif_fax3.obj,tif_fax4.obj,tif_aux.obj,tif_ccittrle.obj,tif_close.obj,tif_compress.obj,tif_dir.obj,tif_dirinfo.obj,tif_dirread.obj,tif_dirwrite.obj,tif_dumpmode.obj,tif_error.obj,tif_getimage.obj,tif_jpeg.obj,tif_flush.obj,tif_lzw.obj,tif_machdep.obj,tif_next.obj,tif_open.obj,tif_packbits.obj,tif_print.obj,tif_read.obj,tif_strip.obj,tif_swab.obj,tif_thunder.obj,tif_tile.obj,tif_version.obj,tif_vms.obj,tif_warning.obj,tif_write.obj
  139.  
  140. TIFFLIB =    libtiff.olb
  141.  
  142. .first
  143. .ifdef ALPHA
  144.     @- Define /NoLog Sys DECC$Library_Include
  145. .else
  146.     @- Define /NoLog Sys Sys$Library
  147. .endif
  148.  
  149. all :        lib
  150.     @ continue
  151.  
  152. lib :        $(TIFFLIB)
  153.     @ continue
  154.  
  155. libtiff.olb :        $(OBJS)
  156.         If "''F$Search ("$(TIFFLIB)")'" .eqs. "" Then Library /Create $(TIFFLIB)
  157.     Library /Replace $(TIFFLIB) $(OBJLIST)
  158.  
  159. $(OBJS) :     tiffio.h tiff.h tiffcomp.h tiffiop.h tiffconf.h
  160.  
  161. tif_fax3.obj :    tif_fax3.c g3states.h t4.h tif_fax3.h
  162.  
  163. mkg3states.exe :    mkg3states.c t4.h
  164.     - $(CC) $(CFLAGS) mkg3states.c
  165.         - $ Define /User_Mode LNK$Library Sys$Library:VAXCRTL
  166.     - $(LINK) $(LINKFLAGS) mkg3states
  167.  
  168. g3states.h :        mkg3states.exe
  169.     Define /User_Mode Sys$Output g3states.h
  170.     Run mkg3states.exe
  171.  
  172. clean :
  173.     @- Set Protection = Owner:RWED *.*;-1,*.obj
  174.     - Purge /NoLog /NoConfirm *.*
  175.     - Delete /NoLog /NoConfirm *.obj;*,*.exe;*
  176.