home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / unzip51.zip / vms / descrip.mms < prev    next >
Text File  |  1994-01-18  |  2KB  |  86 lines

  1. !==========================================================================
  2. ! MMS description file for UnZip 5.1                              21 Dec 93
  3. !==========================================================================
  4. !
  5. !   Original by Antonio Querubin, Jr., <querubin@uhccvx.uhcc.hawaii.edu>
  6. !     (23 Dec 90)
  7. !   Enhancements by Igor Mandrichenko, <mandrichenko@mx.decnet.ihep.su>
  8. !     (9 Feb 92 -> ...)
  9.  
  10. ! To build UnZip that uses shared libraries,
  11. !    mms
  12. ! (One-time users will find it easier to use the MAKE_VAXC.COM command
  13. ! file, which generates both UnZip and ZipInfo.  Just type "@MAKE_VAXC";
  14. ! or "@MAKE_GCC" if you have GNU C.)
  15.  
  16. ! To build UnZip without shared libraries,
  17. !    mms noshare
  18.  
  19. ! To delete .OBJ, .EXE and .HLP files,
  20. !    mms clean
  21.  
  22. .IFDEF EXE
  23. .ELSE
  24. EXE = .EXE
  25. OBJ = .OBJ
  26. OLB = .OLB
  27. .ENDIF
  28.  
  29. .IFDEF __ALPHA__
  30. CC = CC/STANDARD=VAXC/NOWARNINGS
  31. OPTFILE =
  32. OPTIONS =
  33. .ELSE
  34. OPTFILE = ,[.VMS]VMSSHARE.OPT
  35. OPTIONS = $(OPTFILE)/OPTIONS
  36. .ENDIF
  37.  
  38. .IFDEF __DEBUG__
  39. CFLAGS = $(CFLAGS)/DEBUG/NOOPTIMIZE
  40. LINKFLAGS = $(LINKFLAGS)/DEBUG
  41. .ELSE
  42. LINKFLAGS = $(LINKFLAGS)/NOTRACE
  43. .ENDIF
  44.  
  45. OBJS =    unzip$(OBJ),-
  46. -!    crypt$(OBJ),-
  47.     envargs$(OBJ),-
  48.     explode$(OBJ),-
  49.     extract$(OBJ),-
  50.     file_io$(OBJ),-
  51.     inflate$(OBJ),-
  52.     match$(OBJ),-
  53.     unreduce$(OBJ),-
  54.     unshrink$(OBJ),-
  55.     zipinfo$(OBJ),-
  56.     [.VMS]vms$(OBJ)
  57.  
  58. default    :    unzip$(EXE) unzip.hlp
  59.     @    !    Do nothing.
  60.  
  61. unzip$(EXE) :    UNZIP$(OLB)($(OBJS))$(OPTFILE)
  62.     $(LINK)$(LINKFLAGS) UNZIP$(OLB)/INCLUDE=UNZIP/LIBRARY$(OPTIONS)
  63.  
  64. noshare :    $(OBJS)
  65.     $(LINK) /EXE=$(MMS$TARGET) $(OBJS),SYS$LIBRARY:VAXCRTL.OLB/LIB
  66.  
  67. clean :
  68.     delete $(OBJS)    ! you may want to change this to 'delete *.obj;*'
  69.     DELETE UNZIP$(EXE);*
  70.     DELETE UNZIP.HLP;*
  71.  
  72. unzip.hlp    : [.vms]unzip.rnh
  73. crypt$(OBJ)     : crypt.c unzip.h zip.h crypt.h
  74. envargs$(OBJ)    : envargs.c unzip.h
  75. explode$(OBJ)    : explode.c unzip.h
  76. extract$(OBJ)    : extract.c unzip.h crypt.h
  77. file_io$(OBJ)    : file_io.c unzip.h crypt.h tables.h
  78. inflate$(OBJ)    : inflate.c inflate.h unzip.h
  79. match$(OBJ)    : match.c unzip.h
  80. unreduce$(OBJ)    : unreduce.c unzip.h
  81. unshrink$(OBJ)    : unshrink.c unzip.h
  82. unzip$(OBJ)    : unzip.c unzip.h
  83. zipinfo$(OBJ)    : zipinfo.c unzip.h
  84. [.VMS]vms$(OBJ)    : [.VMS]vms.c [.VMS]vms.h unzip.h
  85.     $(CC) $(CFLAGS) /INCLUDE=SYS$DISK:[] /OBJ=$(MMS$TARGET) [.VMS]VMS.C
  86.