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

  1. $ !
  2. $ !        "Makefile" for VMS versions of UnZip and ZipInfo
  3. $ !                (version:  GNU 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 each of following lines,
  13. $ !   uncomment crypt compile line, and add crypt to link line)
  14. $ !
  15. $ gcc unzip
  16. $ gcc envargs
  17. $ gcc explode
  18. $ gcc extract
  19. $ gcc file_io
  20. $ gcc inflate
  21. $ gcc mapname
  22. $ gcc match
  23. $ gcc misc
  24. $ gcc unreduce
  25. $ gcc unshrink
  26. $ gcc vms
  27. $! gcc crypt
  28. $ link unzip, envargs, explode, extract, file_io, inflate, mapname,-
  29.     match, misc, unreduce, unshrink, vms, gnu_cc:[000000]gcclib.olb/lib,-
  30.     sys$input:/opt
  31.  sys$share:vaxcrtl.exe/shareable
  32. $ !
  33. $ ! Do ZipInfo:
  34. $ !
  35. $ gcc zipinfo
  36. $ gcc /def=(ZIPINFO) /object=misc_.obj misc
  37. $ gcc /def=(ZIPINFO) /object=vms_.obj  vms
  38. $ link zipinfo, envargs, match, misc_, vms_, gnu_cc:[000000]gcclib.olb/lib,-
  39.     sys$input:/opt
  40.  sys$share:vaxcrtl.exe/shareable
  41. $ !
  42. $ ! Next line:  put a similar line (full pathname for unzip.exe and zipinfo.exe)
  43. $ ! in login.com.  Remember to include the leading "$" before disk name.
  44. $ !
  45. $ unzip == "$''here'unzip.exe"        ! set up symbol to use unzip
  46. $ zipinfo == "$''here'zipinfo.exe"    ! set up symbol to use zipinfo
  47. $ !
  48. $ set noverify
  49.