home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / packer / infozip / sources / vms.zoo / crypt / make_unzip_gcc.com < prev    next >
Encoding:
Text File  |  1992-03-09  |  1.6 KB  |  48 lines

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