| Make SharedBLib: builds the SharedBLib library
| 
| To use this script you need ccrunch and bcat (included in the source
| archive). The Names file contains all the procedure, function and global
| variable names; any new ones must be added by hand at the moment.

Set SBL$File SharedBLib
Dir <Obey$Dir>.Source
| Concatenate the libraries
BCat -o <SBL$File> Assembler Calendar Coord Draw DrawWin Event File Font Icon Inet Memory Menu Message Number OS Sprite String STW Syslog Template Transfer Wimp Window
| Compress the library
ccrunch -x!Names <SBL$File>
| Add the header (which musn't be compressed)
BCat -o ^.<SBL$File> !Header <SBL$File>
Remove <SBL$File>
Dir ^
| Remove any copy of SBL in memory
BasilReset
| Copy to System:Modules
Copy <SBL$File> BLib:*
Unset SBL$File