// CompileIfsSources.cm -- individual source files from <IFS>Sources>
// Copyright Xerox Corporation 1979, 1980, 1981
// Last modified September 23, 1982  1:16 PM by Taft

// This command file assumes a disk constructed using IfsDevFromSources.cm,
//  and leaves it with all IFS .br files compiled and all sources
//  and unnecessary other files deleted.

// What file server has the IFS source files'?
CopyQuote DumpFileServer.cm ← @DumpFileServer@

Ftp @DumpFileServer@ Directory/c IFS>Sources Retrieve/c @IfsDecl@ @IfsKernel@
@CompileIfsKernel@
Delete *.bcpl *.asm

Ftp @DumpFileServer@ Directory/c IFS>Sources Retrieve/c @IfsFileSys@
@CompileIfsFileSys@
Delete *.bcpl *.asm

Ftp @DumpFileServer@ Directory/c IFS>Sources Retrieve/c @IfsRsMgr@
@CompileIfsRsMgr@
Delete *.bcpl *.asm

Ftp @DumpFileServer@ Directory/c IFS>Sources Retrieve/c @IfsFtp@
@CompileIfsFtp@
Delete *.bcpl *.asm

Ftp @DumpFileServer@ Directory/c IFS>Sources Retrieve/c @IfsMail@
@CompileIfsMail@
Delete *.bcpl *.asm

Ftp @DumpFileServer@ Directory/c IFS>Sources Retrieve/c @IfsCopyDisk@
@CompileIfsCopyDisk@
Delete *.bcpl *.asm

Ftp @DumpFileServer@ Directory/c IFS>Sources Retrieve/c @IfsMisc@
@CompileIfsMisc@
Delete *.bcpl *.asm

Ftp @DumpFileServer@ Directory/c IFS>Sources Retrieve/c @IfsLeaf@
@CompileIfsLeaf@
Delete *.bcpl *.asm

Ftp @DumpFileServer@ Directory/c IFS>Sources Retrieve/c @IfsTelnet@
@CompileIfsTelnet@
Delete *.bcpl *.asm

Ftp @DumpFileServer@ Directory/c IFS>Sources Retrieve/c @IfsBackup@
@CompileIfsBackup@
Delete *.bcpl *.asm

Ftp @DumpFileServer@ Directory/c IFS>Sources Retrieve/c @IfsLeftovers@
@CompileIfsLeftovers@
Delete *.bcpl *.asm

Ftp @DumpFileServer@ Directory/c IFS>Sources Retrieve/c @IfsMc@ Close/c ↑
Open/c Maxc2 Directory/c Alto ↑
 Retrieve/c Mu.run PackMu.run ↑
Directory/c AltoSource ↑
 Retrieve/c AltoConsts23.mu ↑
 Load/s TFSSources.dm TriconBody.mu
@CompileIfsMc@
Delete *.mu Mu.run PackMu.run

// There should be no errors in any of the error files!
Copy Ifs.errorFiles ← *.bt *.er
Delete *.bt *.er DumpFileServer.cm

WriteDirectory

@LoadIfs@