home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 493.lha / OnTrap / readme < prev    next >
Encoding:
Text File  |  1991-04-06  |  1.7 KB  |  47 lines

  1. ; This batch file will update your system libraies  to include the
  2. ; ontrap() and the trapcode() functions.
  3. ;
  4. ; This batch file makes several assuptions:
  5. ; 1. You are executing this file with the source supplied in this
  6. ;    archive in the current directory.
  7. ; 2. The standard SAS C 5.10a environment is present. i.e.
  8. ;    INCLUDE:, LIB:, and LC: are assigned and
  9. ;    echo, copy, lc, lc1, lc2, asm and oml are available somewhere in your PATH.
  10. ;    LIB: contains C.O, CRES.O, LC.LIB, LCS.LIB, LCNB.LIB and LCSNB.LIB.
  11. ; 3. Your disks have enough room for the added file sizes.
  12. ;    PLEASE PLEASE PLEASE backup your disks first!!!
  13. ; 4. Your system has at least two floppy drives.
  14. ;
  15. ; Once these conditions have been verified and you have read ontrap.doc, type
  16. ; EXECUTE read.me
  17. echo "Installing ontrap & trapcode to your SAS C 5.10a developement system"
  18. echo "Assembling c.a"
  19. SAS_C_5.1.3:c/asm -u -iSAS_C_5.1.5:Assembler_Headers/ -olib:c.o c.a
  20. echo "Assembling cres.a"
  21. SAS_C_5.1.3:c/asm -u -dRESIDENT -iSAS_C_5.1.5:Assembler_Headers/ -olib:cres.o c.a
  22. ;
  23. echo "Assembling trapcode.a"
  24. SAS_C_5.1.3:c/asm -u trapcode.a
  25. ;
  26. echo "Assembling ontrap.a"
  27. SAS_C_5.1.3:c/asm -u ontrap.a
  28. ;
  29. LC:lc -v         umain cxtrap
  30. echo "Modifying LC.LIB"
  31. SAS_C_5.1.3:c/oml lib:LC.LIB r ontrap.o trapcode.o umain.o cxtrap.o
  32. ;
  33. LC:lc -v -w    umain cxtrap
  34. echo "Modifying LCS.LIB"
  35. SAS_C_5.1.3:c/oml lib:LCS.LIB r ontrap.o trapcode.o umain.o cxtrap.o
  36. ;
  37. LC:lc -v -b0    umain cxtrap
  38. echo "Modifying LCNB.LIB"
  39. SAS_C_5.1.3:c/oml lib:LCNB.LIB r ontrap.o trapcode.o umain.o cxtrap.o
  40. ;
  41. LC:lc -v -b0 -w    umain cxtrap
  42. echo "Modifying LCSNB.LIB"
  43. SAS_C_5.1.3:c/oml lib:LCSNB.LIB r ontrap.o trapcode.o umain.o cxtrap.o
  44. ;
  45. echo "Installation complete!"
  46. echo "You should now backup C.O, CRES.O, LC.LIB, LCS.LIB, LCNB.LIB and LCSNB.LIB."
  47.