home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / z / zcrypt10.zip / MAKEVMS.COM < prev    next >
Text File  |  1991-10-03  |  3KB  |  69 lines

  1. $ !
  2. $ !     "Makefile" for VMS versions of Zip, ZipCloak, ZipNote,
  3. $ !      ZipSplit, Ship and UnShip (stolen from Unzip)
  4. $ !
  5. $ set verify    ! like "echo on", eh?
  6. $ !
  7. $ !------------------------------- Zip section --------------------------------
  8. $ !
  9. $ cc zip,zipfile,zipup,fileio,util,tempf,shrink,crypt,globals,implode,im_lmat,im_ctree,im_bits
  10. $ link zip,zipfile,zipup,fileio,util,tempf,shrink,crypt,globals,implode,im_lmat,im_ctree,im_bits,sys$input:/opt
  11. sys$share:vaxcrtl.exe/shareable
  12. $ !
  13. $ ! If you have problems with implode, compile with /define=noimplode
  14. $ ! and remove all the im* files from the above lines.
  15. $ !
  16. $ !-------------------------- Zip utilities section ---------------------------
  17. $ !
  18. $ ren zipfile.c zipfile_.c;*
  19. $ ren zipup.c zipup_.c;*
  20. $ ren fileio.c fileio_.c;*
  21. $ ren util.c util_.c;*
  22. $ ren crypt.c crypt_.c;*
  23. $ cc zipcloak, zipnote, zipsplit
  24. $ cc /def=UTIL zipfile_, zipup_, fileio_, util_, crypt_
  25. $ ren zipfile_.c zipfile.c;*
  26. $ ren zipup_.c zipup.c;*
  27. $ ren fileio_.c fileio.c;*
  28. $ ren util_.c util.c;*
  29. $ ren crypt_.c crypt.c;*
  30. $ link zipcloak, zipfile_,zipup_, fileio_,util_, crypt_,globals, sys$input:/opt
  31. sys$share:vaxcrtl.exe/shareable
  32. $ link zipnote, zipfile_, zipup_, fileio_, globals, sys$input:/opt
  33. sys$share:vaxcrtl.exe/shareable
  34. $ link zipsplit, zipfile_, zipup_, fileio_, globals, sys$input:/opt
  35. sys$share:vaxcrtl.exe/shareable
  36. $ !
  37. $ !--------------------------- Ship/UnShip section ----------------------------
  38. $ !
  39. $ cc ship
  40. $ link ship,sys$input:/opt
  41. sys$share:vaxcrtl.exe/shareable
  42. $ !
  43. $ ! Create a hard link.  (To remove both files, delete the copy FIRST, then
  44. $ ! the original.  Otherwise, if original deleted first [copy says "no such
  45. $ ! file"], must use "set file/remove unship.exe;#" to get rid of the copy.
  46. $ ! Unlike in Unix, deleting the original ALWAYS destroys the data--but not
  47. $ ! the directory entry of the copy.)  Using a hard link saves disk space, by
  48. $ ! the way.  Note, however, that copying a hard link copies the data, not
  49. $ ! just the link.  Therefore, set up the link in the directory in which the
  50. $ ! executable is to reside, or else rename (move) the executables into the
  51. $ ! directory.
  52. $ !
  53. $ set file/enter=unship.exe ship.exe
  54. $ !
  55. $ !----------------------------- Symbols section ------------------------------
  56. $ !
  57. $ ! Set up symbols for the various executables.  Edit the example below,
  58. $ ! changing "pc" to "disk:[directory]" as appropriate, and uncomment
  59. $ ! (remove the exclamation marks).
  60. $ !
  61. $ ! zip        == "$pc:zip.exe"
  62. $ ! zipcloak    == "$pc:zipcloak.exe"
  63. $ ! zipnote    == "$pc:zipnote.exe"
  64. $ ! zipsplit    == "$pc:zipsplit.exe"
  65. $ ! ship        == "$pc:ship.exe"
  66. $ ! unship    == "$pc:unship.exe"
  67. $ !
  68. $ set noverify
  69.