home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / UNZP50P1.ZIP / VMS / make_vaxc_unzip.com < prev    next >
Text File  |  1993-01-23  |  1KB  |  36 lines

  1. $ !
  2. $ !        "Makefile" for VMS versions of UnZip and ZipInfo
  3. $ !                (version:  VAX C)
  4. $ !
  5. $ ! Find out current disk and directory
  6. $ !
  7. $ my_name = f$env("procedure")
  8. $ here = f$parse(my_name,,,"device") + f$parse(my_name,,,"directory")
  9. $ set verify    ! like "echo on", eh?
  10. $ !
  11. $ ! Do UnZip:
  12. $ !   (for decryption version, add /def=CRYPT to compile line, and add
  13. $ !   crypt to both compile and link lines)
  14. $ !
  15. $ cc unzip, envargs, explode, extract, file_io, inflate, mapname,-
  16.     match, misc, unreduce, unshrink, vms
  17. $ link unzip, envargs, explode, extract, file_io, inflate, mapname,-
  18.     match, misc, unreduce, unshrink, vms, sys$input:/opt
  19.  sys$share:vaxcrtl.exe/shareable
  20. $ !
  21. $ ! Do ZipInfo:
  22. $ !
  23. $ cc zipinfo
  24. $ cc /def=(ZIPINFO) /obj=misc_.obj  misc.c
  25. $ cc /def=(ZIPINFO) /obj=vms_.obj   vms.c
  26. $ link zipinfo, envargs, match, misc_, vms_, sys$input:/opt
  27.  sys$share:vaxcrtl.exe/shareable
  28. $ !
  29. $ ! Next line:  put a similar line (full pathname for unzip.exe and zipinfo.exe)
  30. $ ! in login.com.  Remember to include the leading "$" before disk name.
  31. $ !
  32. $ unzip == "$''here'unzip.exe"        ! set up symbol to use unzip
  33. $ zipinfo == "$''here'zipinfo.exe"    ! set up symbol to use zipinfo
  34. $ !
  35. $ set noverify
  36.