home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / zip201.zip / vms / make_vms.com < prev    next >
Text File  |  1993-09-10  |  2KB  |  54 lines

  1. $ !
  2. $ !     "Makefile" for VMS versions of Zip, ZipCloak, ZipNote,
  3. $ !     and ZipSplit (stolen from Unzip)
  4. $ !
  5. $ !      IMPORTANT NOTE: do not forget to set the symbols as said below
  6. $ !                      in the Symbols section.
  7. $ !
  8. $ axp = f$getsyi("HW_MODEL").ge.1024
  9. $ if axp then cc = "cc/standard=vaxc"
  10. $ link = "link/notrace"
  11. $ if f$search("VAXCRTL.OPT").eqs.""
  12. $ then    create vaxcrtl.opt
  13. $    open/append tmp vaxcrtl.opt
  14. $    if axp      then write tmp "!Dummy .OPT file for AXP"
  15. $    if .not.axp then write tmp "SYS$SHARE:VAXCRTL.EXE/SHARE"
  16. $    close tmp
  17. $ endif
  18. $ set verify    ! like "echo on", eh?
  19. $ !
  20. $ !------------------------------- Zip section --------------------------------
  21. $ !
  22. $ cc/def=CRYPT zip, zipfile, zipup, crypt, fileio, util, deflate, globals,-
  23.         trees, bits, vms, VMSmunch
  24. $ link/notrace zip,zipfile,zipup,crypt,fileio,util,deflate,globals,-
  25.         trees,bits,vms,VMSmunch,vaxcrtl.opt/options
  26. $ !
  27. $ !-------------------------- Zip utilities section ---------------------------
  28. $ !
  29. $ cc /def=(UTIL) /obj=zipfile_.obj zipfile.c
  30. $ cc /def=(UTIL) /obj=zipup_.obj zipup.c
  31. $ cc /def=(UTIL) /obj=fileio_.obj fileio.c
  32. $ cc /def=(UTIL) /obj=util_.obj util.c
  33. $ cc /def=(UTIL) /obj=crypt_.obj crypt.c
  34. $ cc zipcloak
  35. $ cc zipnote, zipsplit
  36. $ link zipcloak, zipfile_, zipup_, fileio_, util_, crypt_, globals, -
  37.         vms, VMSmunch, vaxcrtl.opt/options
  38. $ link zipnote, zipfile_, zipup_, fileio_, util_, globals, vms, VMSmunch,-
  39.         vaxcrtl.opt/options
  40. $ link zipsplit, zipfile_, zipup_, fileio_, util_, globals, vms, VMSmunch,-
  41.         vaxcrtl.opt/options
  42. $ !
  43. $ !----------------------------- Symbols section ------------------------------
  44. $ !
  45. $ ! Set up symbols for the various executables.  Edit the example below,
  46. $ ! changing "disk:[directory]" as appropriate.
  47. $ !
  48. $ zip           == "$disk:[directory]zip.exe"
  49. $ zipcloak      == "$disk:[directory]zipcloak.exe"
  50. $ zipnote       == "$disk:[directory]zipnote.exe"
  51. $ zipsplit      == "$disk:[directory]zipsplit.exe"
  52. $ !
  53. $ set noverify
  54.