home *** CD-ROM | disk | FTP | other *** search
- ; This batch file will update your system libraies to include the
- ; ontrap() and the trapcode() functions.
- ;
- ; This batch file makes several assuptions:
- ; 1. You are executing this file with the source supplied in this
- ; archive in the current directory.
- ; 2. The standard SAS C 5.10a environment is present. i.e.
- ; INCLUDE:, LIB:, and LC: are assigned and
- ; echo, copy, lc, lc1, lc2, asm and oml are available somewhere in your PATH.
- ; LIB: contains C.O, CRES.O, LC.LIB, LCS.LIB, LCNB.LIB and LCSNB.LIB.
- ; 3. Your disks have enough room for the added file sizes.
- ; PLEASE PLEASE PLEASE backup your disks first!!!
- ; 4. Your system has at least two floppy drives.
- ;
- ; Once these conditions have been verified and you have read ontrap.doc, type
- ; EXECUTE read.me
- echo "Installing ontrap & trapcode to your SAS C 5.10a developement system"
- echo "Assembling c.a"
- SAS_C_5.1.3:c/asm -u -iSAS_C_5.1.5:Assembler_Headers/ -olib:c.o c.a
- echo "Assembling cres.a"
- SAS_C_5.1.3:c/asm -u -dRESIDENT -iSAS_C_5.1.5:Assembler_Headers/ -olib:cres.o c.a
- ;
- echo "Assembling trapcode.a"
- SAS_C_5.1.3:c/asm -u trapcode.a
- ;
- echo "Assembling ontrap.a"
- SAS_C_5.1.3:c/asm -u ontrap.a
- ;
- LC:lc -v umain cxtrap
- echo "Modifying LC.LIB"
- SAS_C_5.1.3:c/oml lib:LC.LIB r ontrap.o trapcode.o umain.o cxtrap.o
- ;
- LC:lc -v -w umain cxtrap
- echo "Modifying LCS.LIB"
- SAS_C_5.1.3:c/oml lib:LCS.LIB r ontrap.o trapcode.o umain.o cxtrap.o
- ;
- LC:lc -v -b0 umain cxtrap
- echo "Modifying LCNB.LIB"
- SAS_C_5.1.3:c/oml lib:LCNB.LIB r ontrap.o trapcode.o umain.o cxtrap.o
- ;
- LC:lc -v -b0 -w umain cxtrap
- echo "Modifying LCSNB.LIB"
- SAS_C_5.1.3:c/oml lib:LCSNB.LIB r ontrap.o trapcode.o umain.o cxtrap.o
- ;
- echo "Installation complete!"
- echo "You should now backup C.O, CRES.O, LC.LIB, LCS.LIB, LCNB.LIB and LCSNB.LIB."
-