head     0.9;
access   ;
symbols  ;
locks    ; strict;
comment  @# @;


0.9
date     88.09.13.12.29.59;  author Makey;  state Stab;
branches ;
next     0.8;

0.8
date     88.04.22.19.52.49;  author Makey;  state Stab;
branches 0.8.1.1;
next     0.7;

0.7
date     87.12.30.16.26.05;  author Perrine;  state Stab;
branches 0.7.1.1;
next     0.6;

0.6
date     87.12.18.19.19.20;  author Makey;  state Stab;
branches ;
next     0.5;

0.5
date     87.10.29.14.28.28;  author Perrine;  state Exp;
branches 0.5.1.1;
next     0.4;

0.4
date     87.07.21.10.21.25;  author Perrine;  state Exp;
branches ;
next     ;

0.5.1.1
date     87.11.12.17.06.59;  author Makey;  state Exp;
branches ;
next     0.5.1.2;

0.5.1.2
date     87.11.12.17.36.14;  author Makey;  state Exp;
branches ;
next     0.5.1.3;

0.5.1.3
date     87.11.12.18.22.21;  author Makey;  state Exp;
branches ;
next     0.5.1.4;

0.5.1.4
date     87.11.12.19.45.33;  author Makey;  state Exp;
branches ;
next     0.5.1.5;

0.5.1.5
date     87.11.12.21.05.40;  author Makey;  state Exp;
branches ;
next     0.5.1.6;

0.5.1.6
date     87.11.12.21.56.28;  author Makey;  state Exp;
branches ;
next     0.5.1.7;

0.5.1.7
date     87.11.13.12.39.18;  author Makey;  state Exp;
branches ;
next     0.5.1.8;

0.5.1.8
date     87.11.25.18.53.26;  author Makey;  state Exp;
branches ;
next     0.5.1.9;

0.5.1.9
date     87.12.09.21.11.18;  author Makey;  state Exp;
branches ;
next     0.5.1.10;

0.5.1.10
date     87.12.17.19.29.34;  author Makey;  state Exp;
branches ;
next     ;

0.7.1.1
date     88.01.04.14.50.30;  author Makey;  state Exp;
branches ;
next     0.7.1.2;

0.7.1.2
date     88.01.04.15.01.07;  author Makey;  state Exp;
branches ;
next     0.7.1.3;

0.7.1.3
date     88.01.04.15.07.53;  author Makey;  state Exp;
branches ;
next     0.7.1.4;

0.7.1.4
date     88.01.05.15.51.16;  author Makey;  state Exp;
branches ;
next     0.7.1.5;

0.7.1.5
date     88.01.05.19.38.04;  author Makey;  state Exp;
branches ;
next     0.7.1.6;

0.7.1.6
date     88.01.13.20.38.22;  author Makey;  state Exp;
branches ;
next     0.7.1.7;

0.7.1.7
date     88.03.15.10.56.18;  author Makey;  state Exp;
branches ;
next     0.7.1.8;

0.7.1.8
date     88.04.14.18.22.51;  author Makey;  state Exp;
branches ;
next     ;

0.8.1.1
date     88.06.06.23.27.48;  author Makey;  state Exp;
branches ;
next     0.8.1.2;

0.8.1.2
date     88.06.06.23.34.48;  author Makey;  state Exp;
branches ;
next     0.8.1.3;

0.8.1.3
date     88.06.07.15.14.41;  author Makey;  state Exp;
branches ;
next     0.8.1.4;

0.8.1.4
date     88.07.21.13.26.16;  author Makey;  state Exp;
branches ;
next     0.8.1.5;

0.8.1.5
date     88.07.27.18.38.50;  author Makey;  state Exp;
branches ;
next     0.8.1.6;

0.8.1.6
date     88.09.08.19.03.37;  author Makey;  state Exp;
branches ;
next     ;


desc
@Makefile for initial process test programs and Kernel Call interface lib.
@


0.9
log
@Changed as needed to implement a complete non-kernel interface to KSOS-32.
With this version, KSOS-32 is complete enough to allow users to log in
and run programs.
@
text
@objects: .lnk/userFdt .lnk/SYSTEM .lnk/SMX .lnk/PIV .lnk/KernelCalls \
  .lnk/K32types .lnk/K32machine .lnk/K32except .lnk/K32conf .lnk/K32calls \
  .lnk/K32callp .lnk/K32baseTypes .lnk/IOpack .lnk/IOform .lnk/IOFform \
  .lnk/IOEform .lnk/Exceptions
	touch $@@

symbols: .sym/userFdt .sym/fixKcalls .sym/SMX .sym/PIV .sym/KernelCalls \
  .sym/K32types .sym/K32machine .sym/K32except .sym/K32conf .sym/K32calls \
  .sym/K32callp .sym/K32baseTypes .sym/IOpack .sym/IOform .sym/IOFform \
  .sym/IOEform .sym/Exceptions
	touch $@@

sources: userFdt.mod userFdt.def fixKcalls.def SYSTEM.s SMX.mod SMX.def \
  PIV.mod PIV.def KernelCalls.mod KernelCalls.def K32types.mod K32types.def \
  K32machine.mod K32machine.def K32except.mod K32except.def K32conf.mod \
  K32conf.def K32calls.mod K32calls.def K32callp.mod K32callp.def \
  K32baseTypes.mod K32baseTypes.def IOpack.mod IOpack.def IOform.mod \
  IOform.def IOFform.mod IOFform.def IOEform.mod IOEform.def Exceptions.mod \
  Exceptions.def

.lnk/userFdt: userFdt.s fixUserFdt.sed
	sed -f fixUserFdt.sed userFdt.s | as -o $@@

userFdt.s: userFdt.mod .sym/userFdt
	run.m2c -T -S userFdt.mod
	@@rm -f .lnk/userFdt

.lnk/SYSTEM: SYSTEM.s
	as -o $@@ SYSTEM.s
	touch .key/SYSTEM

.lnk/SMX: SMX.mod .sym/SMX .sym/K32types .sym/K32except 
	M2C SMX.mod

.lnk/PIV: PIV.s fixKcalls.sed
	sed -f fixKcalls.sed PIV.s | as -o $@@

PIV.s: PIV.mod .sym/PIV .sym/K32machine .sym/K32types .sym/K32calls \
  .sym/fixKcalls .sym/userFdt
	run.m2c -T -S PIV.mod
	m2unreference PIV fixKcalls
	@@rm -f .lnk/PIV

.lnk/KernelCalls: KernelCalls.s fixKcalls.sed
	sed -f fixKcalls.sed KernelCalls.s | as -o $@@

KernelCalls.s: KernelCalls.mod .sym/KernelCalls .sym/K32machine \
  .sym/K32baseTypes .sym/K32types .sym/K32except .sym/K32calls .sym/K32callp \
  .sym/fixKcalls
	run.m2c -T -S KernelCalls.mod
	m2unreference KernelCalls fixKcalls
	@@rm -f .lnk/KernelCalls

.lnk/K32types: K32types.mod .sym/K32types .sym/K32machine .sym/K32baseTypes \
  .sym/K32conf
	run.m2c -T K32types.mod

.lnk/K32machine: K32machine.mod .sym/K32machine
	run.m2c -T K32machine.mod

.lnk/K32except: K32except.mod .sym/K32except
	run.m2c -T K32except.mod

.lnk/K32conf: K32conf.mod .sym/K32conf
	run.m2c -T K32conf.mod

.lnk/K32calls: K32calls.mod .sym/K32calls
	run.m2c -T K32calls.mod

.lnk/K32callp: K32callp.mod .sym/K32callp
	run.m2c -T K32callp.mod

.lnk/K32baseTypes: K32baseTypes.mod .sym/K32baseTypes
	run.m2c -T K32baseTypes.mod

.lnk/IOpack: IOpack.mod .sym/IOpack .sym/K32machine .sym/K32baseTypes \
  .sym/IOform
	M2C IOpack.mod

.lnk/IOform: IOform.mod .sym/IOform
	M2C IOform.mod

.lnk/IOFform: IOFform.mod .sym/IOFform .sym/K32baseTypes .sym/K32types \
  .sym/IOform
	M2C IOFform.mod

.lnk/IOEform: IOEform.mod .sym/IOEform
	M2C IOEform.mod

.lnk/Exceptions: Exceptions.mod .sym/Exceptions .sym/K32types .sym/K32except \
  .sym/KernelCalls .sym/userFdt
	run.m2c -T Exceptions.mod

.sym/userFdt: userFdt.def
	run.m2c -T userFdt.def

.sym/fixKcalls: fixKcalls.def .sym/K32machine .sym/K32baseTypes .sym/K32except
	run.m2c -T fixKcalls.def

.sym/SMX: SMX.def .sym/K32types 
	run.m2c -T SMX.def

.sym/PIV: PIV.def .sym/K32types
	run.m2c -T PIV.def

.sym/KernelCalls: KernelCalls.def .sym/K32machine .sym/K32baseTypes \
  .sym/K32types .sym/K32except
	run.m2c -T KernelCalls.def

.sym/K32types: K32types.def .sym/K32machine .sym/K32baseTypes .sym/K32conf \
  .sym/K32except
	run.m2c -T K32types.def

.sym/K32machine: K32machine.def
	run.m2c -T K32machine.def

.sym/K32except: K32except.def
	run.m2c -T K32except.def

.sym/K32conf: K32conf.def
	run.m2c -T K32conf.def

.sym/K32calls: K32calls.def
	run.m2c -T K32calls.def

.sym/K32callp: K32callp.def .sym/K32machine .sym/K32baseTypes .sym/K32types
	run.m2c -T K32callp.def

.sym/K32baseTypes: K32baseTypes.def
	run.m2c -T K32baseTypes.def

.sym/IOpack: IOpack.def .sym/K32machine .sym/IOform
	run.m2c -T IOpack.def

.sym/IOform: IOform.def .sym/K32baseTypes .sym/K32types
	run.m2c -T IOform.def

.sym/IOFform: IOFform.def .sym/IOform
	run.m2c -T IOFform.def

.sym/IOEform: IOEform.def
	run.m2c -T IOEform.def

.sym/Exceptions: Exceptions.def
	run.m2c -T Exceptions.def

userFdt.mod: RCS/userFdt.mod,v
	co -b -q $@@

userFdt.def: RCS/userFdt.def,v
	co -b -q $@@

fixUserFdt.sed: RCS/fixUserFdt.sed,v
	co -b -q $@@

fixKcalls.sed: RCS/fixKcalls.sed,v
	co -b -q $@@

fixKcalls.def: RCS/fixKcalls.def,v
	co -b -q $@@

SYSTEM.s: RCS/SYSTEM.s,v
	co -b -q $@@

SMX.mod: RCS/SMX.mod,v
	co -b -q $@@

SMX.def: RCS/SMX.def,v
	co -b -q $@@

PIV.mod: RCS/PIV.mod,v
	co -b -q $@@

PIV.def: RCS/PIV.def,v
	co -b -q $@@

KernelCalls.mod: RCS/KernelCalls.mod,v
	co -b -q $@@

KernelCalls.def: RCS/KernelCalls.def,v
	co -b -q $@@

K32types.mod: RCS/K32types.mod,v
	co -b -q $@@

K32types.def: RCS/K32types.def,v
	co -b -q $@@

K32machine.mod: RCS/K32machine.mod,v
	co -b -q $@@

K32machine.def: RCS/K32machine.def,v
	co -b -q $@@

K32except.mod: RCS/K32except.mod,v
	co -b -q $@@

K32except.def: RCS/K32except.def,v
	co -b -q $@@

K32conf.mod: RCS/K32conf.mod,v
	co -b -q $@@

K32conf.def: RCS/K32conf.def,v
	co -b -q $@@

K32calls.mod: RCS/K32calls.mod,v
	co -b -q $@@

K32calls.def: RCS/K32calls.def,v
	co -b -q $@@

K32callp.mod: RCS/K32callp.mod,v
	co -b -q $@@

K32callp.def: RCS/K32callp.def,v
	co -b -q $@@

K32baseTypes.mod: RCS/K32baseTypes.mod,v
	co -b -q $@@

K32baseTypes.def: RCS/K32baseTypes.def,v
	co -b -q $@@

IOpack.mod: RCS/IOpack.mod,v
	co -b -q $@@

IOpack.def: RCS/IOpack.def,v
	co -b -q $@@

IOform.mod: RCS/IOform.mod,v
	co -b -q $@@

IOform.def: RCS/IOform.def,v
	co -b -q $@@

IOFform.mod: RCS/IOFform.mod,v
	co -b -q $@@

IOFform.def: RCS/IOFform.def,v
	co -b -q $@@

IOEform.mod: RCS/IOEform.mod,v
	co -b -q $@@

IOEform.def: RCS/IOEform.def,v
	co -b -q $@@

Exceptions.mod: RCS/Exceptions.mod,v
	co -b -q $@@

Exceptions.def: RCS/Exceptions.def,v
	co -b -q $@@

install: objects
	@@echo "You don't install the Kernel Interface library."

m2makefile: sources
	mkdir .Tmp
	ls *.def *.mod | sed -e 's=.*=mpp & > .Tmp/&=' -e '/PIV.def/s=^=cp /dev/null .Tmp/PIV.xxx ; =' | sh
	rm .Tmp/*.xxx
	ls -f .Tmp | sed '/^\.*$$/d' > .TmpDir
	ls .Tmp | diff - .TmpDir
	cd .Tmp ; m2make
	mv .Tmp/makefile $@@
	rm -r .Tmp .TmpDir

clean:
	rm -f userFdt.s PIV.s KernelCalls.s objects symbols install m2makefile
@


0.8
log
@Changed as needed to be able to create and delete processes as desired,
and to support the Process Bootstrap program in loading new programs.
This version satisfies Milestone 14 -- demonstrate partial KSOS-32
Kernel (convert PBB and integrate Kfork, KreleaseProcess, Kinvoke,
Kspawn, and Kboot kernel calls) -- of the KSOS migration to the VAX.
@
text
@d1 4
a4 4
objects: .lnk/userFdt .lnk/SYSTEM .lnk/PseudoInterruptVectors \
  .lnk/KernelCalls .lnk/K32types .lnk/K32machine .lnk/K32except .lnk/K32conf \
  .lnk/K32calls .lnk/K32callp .lnk/K32baseTypes .lnk/IOpack .lnk/IOform \
  .lnk/IOFform .lnk/IOEform .lnk/Exceptions
d7 4
a10 4
symbols: .sym/userFdt .sym/fixKcalls .sym/PseudoInterruptVectors \
  .sym/KernelCalls .sym/K32types .sym/K32machine .sym/K32except .sym/K32conf \
  .sym/K32calls .sym/K32callp .sym/K32baseTypes .sym/IOpack .sym/IOform \
  .sym/IOFform .sym/IOEform .sym/Exceptions
d13 7
a19 7
sources: userFdt.mod userFdt.def fixKcalls.def SYSTEM.s \
  PseudoInterruptVectors.mod PseudoInterruptVectors.def KernelCalls.mod \
  KernelCalls.def K32types.mod K32types.def K32machine.mod K32machine.def \
  K32except.mod K32except.def K32conf.mod K32conf.def K32calls.mod \
  K32calls.def K32callp.mod K32callp.def K32baseTypes.mod K32baseTypes.def \
  IOpack.mod IOpack.def IOform.mod IOform.def IOFform.mod IOFform.def \
  IOEform.mod IOEform.def Exceptions.mod Exceptions.def
d32 2
a33 4
.lnk/PseudoInterruptVectors: PseudoInterruptVectors.mod \
  .sym/PseudoInterruptVectors .sym/K32machine .sym/K32types .sym/K32except \
  .sym/KernelCalls .sym/userFdt
	run.m2c -T PseudoInterruptVectors.mod
d35 9
d90 2
a91 2
.lnk/Exceptions: Exceptions.mod .sym/Exceptions .sym/K32machine \
  .sym/K32types .sym/K32except .sym/KernelCalls
d97 1
a97 1
.sym/fixKcalls: fixKcalls.def .sym/K32except
d100 2
a101 2
.sym/PseudoInterruptVectors: PseudoInterruptVectors.def .sym/K32types
	run.m2c -T PseudoInterruptVectors.def
d103 3
d144 1
a144 1
.sym/Exceptions: Exceptions.def .sym/K32machine
d165 1
a165 1
PseudoInterruptVectors.mod: RCS/PseudoInterruptVectors.mod,v
d168 1
a168 1
PseudoInterruptVectors.def: RCS/PseudoInterruptVectors.def,v
d171 6
d260 2
a261 1
	ls *.def *.mod | sed -e 's=.*=mpp & > .Tmp/&=' | sh
d269 1
a269 1
	rm -f userFdt.s KernelCalls.s objects symbols install m2makefile
@


0.8.1.1
log
@Updated dependencies.
@
text
@d32 1
a32 4
.lnk/PseudoInterruptVectors: PseudoInterruptVectors.s fixKcalls.sed
	sed -f fixKcalls.sed PseudoInterruptVectors.s | as -o $@@

PseudoInterruptVectors.s: PseudoInterruptVectors.mod \
d34 2
a35 4
  .sym/K32calls .sym/fixKcalls .sym/KernelCalls .sym/userFdt
	run.m2c -T -S PseudoInterruptVectors.mod
	m2unreference PseudoInterruptVectors fixKcalls
	@@rm -f .lnk/PseudoInterruptVectors
d84 1
a84 1
  .sym/K32types .sym/K32except .sym/KernelCalls .sym/userFdt
d90 1
a90 1
.sym/fixKcalls: fixKcalls.def .sym/K32machine .sym/K32baseTypes .sym/K32except
@


0.8.1.2
log
@Updated the "clean" command.
@
text
@d257 1
a257 2
	rm -f userFdt.s PseudoInterruptVectors.s KernelCalls.s objects\
		symbols install m2makefile
@


0.8.1.3
log
@Changed the name of the PseudoInterruptVectors module to PIV.
@
text
@d1 4
a4 4
objects: .lnk/userFdt .lnk/SYSTEM .lnk/PIV .lnk/KernelCalls .lnk/K32types \
  .lnk/K32machine .lnk/K32except .lnk/K32conf .lnk/K32calls .lnk/K32callp \
  .lnk/K32baseTypes .lnk/IOpack .lnk/IOform .lnk/IOFform .lnk/IOEform \
  .lnk/Exceptions
d7 4
a10 4
symbols: .sym/userFdt .sym/fixKcalls .sym/PIV .sym/KernelCalls .sym/K32types \
  .sym/K32machine .sym/K32except .sym/K32conf .sym/K32calls .sym/K32callp \
  .sym/K32baseTypes .sym/IOpack .sym/IOform .sym/IOFform .sym/IOEform \
  .sym/Exceptions
d13 7
a19 6
sources: userFdt.mod userFdt.def fixKcalls.def SYSTEM.s PIV.mod PIV.def \
  KernelCalls.mod KernelCalls.def K32types.mod K32types.def K32machine.mod \
  K32machine.def K32except.mod K32except.def K32conf.mod K32conf.def \
  K32calls.mod K32calls.def K32callp.mod K32callp.def K32baseTypes.mod \
  K32baseTypes.def IOpack.mod IOpack.def IOform.mod IOform.def IOFform.mod \
  IOFform.def IOEform.mod IOEform.def Exceptions.mod Exceptions.def
d32 2
a33 2
.lnk/PIV: PIV.s fixKcalls.sed
	sed -f fixKcalls.sed PIV.s | as -o $@@
d35 2
a36 1
PIV.s: PIV.mod .sym/PIV .sym/K32machine .sym/K32types .sym/K32except \
d38 3
a40 3
	run.m2c -T -S PIV.mod
	m2unreference PIV fixKcalls
	@@rm -f .lnk/PIV
d98 2
a99 2
.sym/PIV: PIV.def .sym/K32types
	run.m2c -T PIV.def
d160 1
a160 1
PIV.mod: RCS/PIV.mod,v
d163 1
a163 1
PIV.def: RCS/PIV.def,v
d249 1
a249 2
	ls *.def *.mod | sed -e 's=.*=mpp & > .Tmp/&=' -e '/PIV.def/s=^=cp /dev/null .Tmp/PIV.xxx ; =' | sh
	rm .Tmp/*.xxx
d257 2
a258 1
	rm -f userFdt.s PIV.s KernelCalls.s objects symbols install m2makefile
@


0.8.1.4
log
@Updated dependencies.
@
text
@d34 2
a35 2
PIV.s: PIV.mod .sym/PIV .sym/K32machine .sym/K32types .sym/K32calls \
  .sym/fixKcalls .sym/userFdt
@


0.8.1.5
log
@Added the SMX module to the Kernel Interface library.
@
text
@d1 4
a4 4
objects: .lnk/userFdt .lnk/SYSTEM .lnk/SMX .lnk/PIV .lnk/KernelCalls \
  .lnk/K32types .lnk/K32machine .lnk/K32except .lnk/K32conf .lnk/K32calls \
  .lnk/K32callp .lnk/K32baseTypes .lnk/IOpack .lnk/IOform .lnk/IOFform \
  .lnk/IOEform .lnk/Exceptions
d7 4
a10 4
symbols: .sym/userFdt .sym/fixKcalls .sym/SMX .sym/PIV .sym/KernelCalls \
  .sym/K32types .sym/K32machine .sym/K32except .sym/K32conf .sym/K32calls \
  .sym/K32callp .sym/K32baseTypes .sym/IOpack .sym/IOform .sym/IOFform \
  .sym/IOEform .sym/Exceptions
d13 6
a18 7
sources: userFdt.mod userFdt.def fixKcalls.def SYSTEM.s SMX.mod SMX.def \
  PIV.mod PIV.def KernelCalls.mod KernelCalls.def K32types.mod K32types.def \
  K32machine.mod K32machine.def K32except.mod K32except.def K32conf.mod \
  K32conf.def K32calls.mod K32calls.def K32callp.mod K32callp.def \
  K32baseTypes.mod K32baseTypes.def IOpack.mod IOpack.def IOform.mod \
  IOform.def IOFform.mod IOFform.def IOEform.mod IOEform.def Exceptions.mod \
  Exceptions.def
a30 3
.lnk/SMX: SMX.mod .sym/SMX .sym/K32types .sym/K32except 
	M2C SMX.mod

a95 3
.sym/SMX: SMX.def .sym/K32types 
	run.m2c -T SMX.def

a155 6
	co -b -q $@@

SMX.mod: RCS/SMX.mod,v
	co -b -q $@@

SMX.def: RCS/SMX.def,v
@


0.8.1.6
log
@Updated dependencies.
@
text
@d90 2
a91 2
.lnk/Exceptions: Exceptions.mod .sym/Exceptions .sym/K32types .sym/K32except \
  .sym/KernelCalls .sym/userFdt
d144 1
a144 1
.sym/Exceptions: Exceptions.def
@


0.7
log
@No changes needed to work with the Milestone 15 KSOS-32 Kernel.
@
text
@a0 2
K32LIB = ../../kernel/lib

d5 1
a5 1
	@@echo "The KSOS-32 Kernel interface library is up to date."
d40 3
a42 2
KernelCalls.s: KernelCalls.mod .sym/KernelCalls .sym/K32baseTypes \
  .sym/K32types .sym/K32except .sym/K32calls .sym/K32callp .sym/fixKcalls
d70 2
a71 2
  .sym/IOform 
	$(K32LIB)/M2C -UPROF IOpack.mod
d73 2
a74 2
.lnk/IOform: IOform.mod .sym/IOform $(K32LIB)/M2C
	$(K32LIB)/M2C -UPROF IOform.mod
d77 2
a78 2
  .sym/IOform $(K32LIB)/M2C
	$(K32LIB)/M2C -UPROF IOFform.mod
d80 2
a81 2
.lnk/IOEform: IOEform.mod .sym/IOEform $(K32LIB)/M2C
	$(K32LIB)/M2C -UPROF IOEform.mod
d96 2
a97 2
.sym/KernelCalls: KernelCalls.def .sym/K32baseTypes .sym/K32types \
  .sym/K32except
d116 1
a116 1
.sym/K32callp: K32callp.def .sym/K32baseTypes .sym/K32types
d122 1
a122 1
.sym/IOpack: IOpack.def .sym/K32machine  .sym/IOform
d167 2
a168 2
K32types.mod:
	umask 333 ; ln -s $(K32LIB)/K32types.mod
d170 2
a171 2
K32types.def:
	umask 333 ; ln -s $(K32LIB)/K32types.def
d173 2
a174 2
K32machine.mod:
	umask 333 ; ln -s $(K32LIB)/K32machine.mod
d176 2
a177 2
K32machine.def:
	umask 333 ; ln -s $(K32LIB)/K32machine.def
d179 2
a180 2
K32except.mod:
	umask 333 ; ln -s $(K32LIB)/K32except.mod
d182 2
a183 2
K32except.def:
	umask 333 ; ln -s $(K32LIB)/K32except.def
d185 2
a186 2
K32conf.mod:
	umask 333 ; ln -s $(K32LIB)/K32conf.mod
d188 2
a189 2
K32conf.def:
	umask 333 ; ln -s $(K32LIB)/K32conf.def
d191 2
a192 2
K32calls.mod:
	umask 333 ; ln -s $(K32LIB)/K32calls.mod
d194 2
a195 2
K32calls.def:
	umask 333 ; ln -s $(K32LIB)/K32calls.def
d197 2
a198 2
K32callp.mod:
	umask 333 ; ln -s $(K32LIB)/K32callp.mod
d200 2
a201 2
K32callp.def:
	umask 333 ; ln -s $(K32LIB)/K32callp.def
d203 2
a204 2
K32baseTypes.mod:
	umask 333 ; ln -s $(K32LIB)/K32baseTypes.mod
d206 2
a207 2
K32baseTypes.def:
	umask 333 ; ln -s $(K32LIB)/K32baseTypes.def
d209 2
a210 2
IOpack.mod:
	umask 333 ; ln -s $(K32LIB)/IOpack.mod
d212 2
a213 2
IOpack.def:
	umask 333 ; ln -s $(K32LIB)/IOpack.def
d215 2
a216 2
IOform.mod:
	umask 333 ; ln -s $(K32LIB)/IOform.mod
d218 2
a219 2
IOform.def:
	umask 333 ; ln -s $(K32LIB)/IOform.def
d221 2
a222 2
IOFform.mod:
	umask 333 ; ln -s $(K32LIB)/IOFform.mod
d224 2
a225 2
IOFform.def:
	umask 333 ; ln -s $(K32LIB)/IOFform.def
d227 2
a228 2
IOEform.mod:
	umask 333 ; ln -s $(K32LIB)/IOEform.mod
d230 2
a231 2
IOEform.def:
	umask 333 ; ln -s $(K32LIB)/IOEform.def
d239 3
d244 1
a244 1
	ls *.def *.mod | sed -e 's=.*=~ksos/tools/mpp & > .Tmp/&=' | csh -f
d252 1
a252 1
	rm -f userFdt.s KernelCalls.s
@


0.7.1.1
log
@Changed to reflect the new directory organization.
The M2C command no longer does a -DPROF by default, so it is no longer
necessary to do a -UPROF for the kernel interface library.
@
text
@d1 2
d71 2
a72 2
  .sym/IOform
	M2C IOpack.mod
d74 2
a75 2
.lnk/IOform: IOform.mod .sym/IOform
	M2C IOform.mod
d78 2
a79 2
  .sym/IOform
	M2C IOFform.mod
d81 2
a82 2
.lnk/IOEform: IOEform.mod .sym/IOEform
	M2C IOEform.mod
d168 2
a169 2
K32types.mod: RCS/K32types.mod,v
	co -b -q $@@
d171 2
a172 2
K32types.def: RCS/K32types.def,v
	co -b -q $@@
d174 2
a175 2
K32machine.mod: RCS/K32machine.mod,v
	co -b -q $@@
d177 2
a178 2
K32machine.def: RCS/K32machine.def,v
	co -b -q $@@
d180 2
a181 2
K32except.mod: RCS/K32except.mod,v
	co -b -q $@@
d183 2
a184 2
K32except.def: RCS/K32except.def,v
	co -b -q $@@
d186 2
a187 2
K32conf.mod: RCS/K32conf.mod,v
	co -b -q $@@
d189 2
a190 2
K32conf.def: RCS/K32conf.def,v
	co -b -q $@@
d192 2
a193 2
K32calls.mod: RCS/K32calls.mod,v
	co -b -q $@@
d195 2
a196 2
K32calls.def: RCS/K32calls.def,v
	co -b -q $@@
d198 2
a199 2
K32callp.mod: RCS/K32callp.mod,v
	co -b -q $@@
d201 2
a202 2
K32callp.def: RCS/K32callp.def,v
	co -b -q $@@
d204 2
a205 2
K32baseTypes.mod: RCS/K32baseTypes.mod,v
	co -b -q $@@
d207 2
a208 2
K32baseTypes.def: RCS/K32baseTypes.def,v
	co -b -q $@@
d210 2
a211 2
IOpack.mod: RCS/IOpack.mod,v
	co -b -q $@@
d213 2
a214 2
IOpack.def: RCS/IOpack.def,v
	co -b -q $@@
d216 2
a217 2
IOform.mod: RCS/IOform.mod,v
	co -b -q $@@
d219 2
a220 2
IOform.def: RCS/IOform.def,v
	co -b -q $@@
d222 2
a223 2
IOFform.mod: RCS/IOFform.mod,v
	co -b -q $@@
d225 2
a226 2
IOFform.def: RCS/IOFform.def,v
	co -b -q $@@
d228 2
a229 2
IOEform.mod: RCS/IOEform.mod,v
	co -b -q $@@
d231 2
a232 2
IOEform.def: RCS/IOEform.def,v
	co -b -q $@@
@


0.7.1.2
log
@Added an "install" target for copying files to ~ksos/lib.
@
text
@a0 2
K32LIB = /u/ksos/ksos32/lib

a245 6

install: objects
	cp .sym/* $(K32LIB)/.sym
	cp .ref/* $(K32LIB)/.ref
	cp .lnk/* $(K32LIB)/.lnk
	cp .key/* $(K32LIB)/.key
@


0.7.1.3
log
@Changed m2makefile generation to assume that mpp is in the user's path.
@
text
@d242 1
a242 1
	ls *.def *.mod | sed -e 's=.*=mpp & > .Tmp/&=' | sh
@


0.7.1.4
log
@Changed the location of the library where things are installed.
Changed to touch the "objects" and "install" targets.
Updated the "clean" target stuff.
@
text
@d1 1
a1 1
K32LIB = /u/ksos/ksos32/lib/trusted
d7 1
a7 1
	touch $@@
a253 1
	touch $@@
d256 1
a256 1
	rm -f userFdt.s KernelCalls.s objects symbols install
@


0.7.1.5
log
@Changed "install" to copy source files to the library directory, because
m2make wants them to be there.
@
text
@a249 1
	cp *.def *.mod $(K32LIB)
@


0.7.1.6
log
@Deleted the install target.
@
text
@d249 8
@


0.7.1.7
log
@Updated dependencies.
@
text
@d42 2
a43 3
KernelCalls.s: KernelCalls.mod .sym/KernelCalls .sym/K32machine \
  .sym/K32baseTypes .sym/K32types .sym/K32except .sym/K32calls .sym/K32callp \
  .sym/fixKcalls
d97 2
a98 2
.sym/KernelCalls: KernelCalls.def .sym/K32machine .sym/K32baseTypes \
  .sym/K32types .sym/K32except
d117 1
a117 1
.sym/K32callp: K32callp.def .sym/K32machine .sym/K32baseTypes .sym/K32types
@


0.7.1.8
log
@Did some minor cleanup.
Added an "install" target.
@
text
@d1 2
d124 1
a124 1
.sym/IOpack: IOpack.def .sym/K32machine .sym/IOform
a240 3
install: objects
	@@echo "You don't install the Kernel Interface library."

d251 1
a251 1
	rm -f userFdt.s KernelCalls.s objects symbols install m2makefile
@


0.6
log
@Changed as needed to work with the Milestone 13 KSOS-32 Kernel.
@
text
@@


0.5
log
@For milestone 12. Updated dependencies, added stuff for
PseudoInterruptVectors module.
@
text
@d1 1
a1 4
K32LIB=/u/ksos/ksos32/kernel/lib
system =
compile	=-E
link =-E -n
d3 5
a7 1
library:	programs objects symbols
d9 5
a13 1
programs:	testXX.out
d15 7
a21 2
namelist:	testXX.out
		nm -n testXX.out > $@@
d23 2
a24 2
symbols:	.sym/KernelCalls .sym/fixKcalls .sym/userFdt \
		.sym/PseudoInterruptVectors
d26 3
a28 2
objects:	.lnk/testXX .lnk/KernelCalls .lnk/fixKcalls .lnk/userFdt \
		.lnk/PseudoInterruptVectors
d30 3
a32 3
install: testXX.out installInit.kwr
	csh -c ~ksos/tools/kwr.out < installInit.kwr
	@@echo ' '
d34 4
a37 3
testXX.out:	testXX.ld.sh testXX.gfo
		@@sh -v testXX.ld.sh
		size $@@
d39 2
a40 2
testXX.gfo:	testXX.gfs2
		as -o $@@ testXX.gfs2
d42 5
a46 2
testXX.gfs2:	testXX.gfs fix.testXX.gfs.ed
		ed - testXX.gfs < fix.testXX.gfs.ed
d48 3
a50 11
testXX.ld.sh testXX.gfs:	.lnk/testXX \
  .lnk/KernelCalls .lnk/fixKcalls .lnk/userFdt \
  .lnk/PseudoInterruptVectors \
  $(K32LIB)/.lnk/K32except \
  $(K32LIB)/.lnk/K32baseTypes $(K32LIB)/.lnk/K32machine \
  $(K32LIB)/.lnk/K32types
	m2l -c -S -L -X -n -E testXX | sed -e 's/^/ld /' \
		-e 's= \./= =g' \
			> testXX.ld.sh
# The preceding invocation of sed prepends the "ld" command and removes
# superfluous "./" pathname components.
d52 2
d55 2
a56 6
.lnk/testXX:	testXX.mod .sym/PseudoInterruptVectors \
  $(K32LIB)/.sym/K32except \
  $(K32LIB)/.sym/K32baseTypes  $(K32LIB)/.sym/K32types \
  $(K32LIB)/.sym/K32machine \
  .sym/KernelCalls .sym/fixKcalls .sym/userFdt m2path
		m2c$(system) $(compile)	testXX
d58 2
a59 8
KernelCalls.s: KernelCalls.mod .sym/KernelCalls .sym/fixKcalls \
  $(K32LIB)/.sym/K32baseTypes \
  $(K32LIB)/.sym/K32calls \
  $(K32LIB)/.sym/K32callp \
  $(K32LIB)/.sym/K32types	\
  $(K32LIB)/.sym/K32except m2path
		m2c$(system) $(compile)	-S KernelCalls.mod
		rm -f .lnk/KernelCalls
d61 2
a62 2
.lnk/KernelCalls:	KernelCalls.s fixKcalls.sed .sym/fixKcalls
		sed -f fixKcalls.sed KernelCalls.s | tee KernelCalls.s2 | as -o $@@ 
d64 2
d67 2
a68 7
.lnk/PseudoInterruptVectors:	PseudoInterruptVectors.mod  m2path \
  .sym/KernelCalls \
  .sym/PseudoInterruptVectors \
  $(K32LIB)/.sym/K32types \
  $(K32LIB)/.sym/K32except \
  $(K32LIB)/.sym/K32machine
		m2c$(system) $(compile)	PseudoInterruptVectors
d70 3
a72 3
.sym/PseudoInterruptVectors:	PseudoInterruptVectors.def m2path \
  $(K32LIB)/.sym/K32types
	m2c$(system) -d	$(compile) PseudoInterruptVectors
d74 2
a75 6
.sym/KernelCalls: KernelCalls.def .sym/fixKcalls \
  $(K32LIB)/.sym/K32baseTypes \
  $(K32LIB)/.sym/K32types	\
  $(K32LIB)/.sym/K32except \
  $(K32LIB)/.sym/K32machine  m2path
		m2c$(system) -d	$(compile) KernelCalls
d77 3
a79 2
.sym/fixKcalls:	fixKcalls.def $(K32LIB)/.sym/K32except m2path
	m2c -E -d fixKcalls.def
d81 2
a82 2
.lnk/fixKcalls:	fixKcalls.mod $(K32LIB)/.sym/K32except m2path
	m2c -E fixKcalls.mod
d84 3
d88 2
a89 2
M2C:	$(K32LIB)/M2C
	cat $(K32LIB)/M2C | sed -e "s/-DPROF//" > M2C
d91 2
a92 3
userFdt.s: userFdt.mod .sym/userFdt  m2path
		m2c$(system) $(compile)	-S userFdt.mod
		rm -f .lnk/userFdt
d94 2
a95 3
.lnk/userFdt:	userFdt.s fixUserFdt.sed
		sed -f fixUserFdt.sed userFdt.s > userFdt.s2
		as -o $@@ userFdt.s2
d97 3
a99 6
.sym/userFdt: userFdt.def .sym/fixKcalls \
  $(K32LIB)/.sym/K32baseTypes \
  $(K32LIB)/.sym/K32types	\
  $(K32LIB)/.sym/K32except \
  $(K32LIB)/.sym/K32machine m2path
		m2c$(system) -d	$(compile) userFdt
d101 3
a103 2
testXX.mod:	RCS/testXX.mod,v
	co -b RCS/testXX.mod,v
d105 2
a106 2
userFdt.mod:	RCS/userFdt.mod,v
	co -b RCS/userFdt.mod,v
d108 2
a109 2
userFdt.def:	RCS/userFdt.def,v
	co -b RCS/userFdt.def,v
d111 2
a112 2
fixKcalls.mod:	RCS/fixKcalls.mod,v
	co -b RCS/fixKcalls.mod,v
d114 2
a115 2
fixKcalls.def:	RCS/fixKcalls.def,v
	co -b RCS/fixKcalls.def,v
d117 2
a118 2
KernelCalls.mod:	RCS/KernelCalls.mod,v
	co -b RCS/KernelCalls.mod,v
d120 2
a121 2
KernelCalls.def:	RCS/KernelCalls.def,v
	co -b RCS/KernelCalls.def,v
d123 2
a124 2
fix.testXX.gfs.ed:	RCS/fix.testXX.gfs.ed,v
	co -b RCS/fix.testXX.gfs.ed,v
d126 2
a127 2
fixUserFdt.sed:	RCS/fixUserFdt.sed,v
	co -b RCS/fixUserFdt.sed,v
d129 2
a130 2
fixKcalls.sed:	RCS/fixKcalls.sed,v
	co -b RCS/fixKcalls.sed,v
d132 2
a133 2
m2path:	RCS/m2path,v
	co -b RCS/m2path,v
d135 114
d250 1
a250 1
	rm *~ .sym/* .ref/* .lnk/* .key/* *.ld.sh *.s *.s2 *gfs *gfo *gfs2
@


0.5.1.1
log
@Updated dependencies.
Added targets to pull the pseudo-interrupt vector module files from
the RCS directory.
@
text
@d80 3
a82 2
  $(K32LIB)/.sym/K32types \
  $(K32LIB)/.sym/K32except m2path
a129 6

PseudoInterruptVectors.mod:	RCS/PseudoInterruptVectors.mod,v
	co -b RCS/PseudoInterruptVectors.mod,v

PseudoInterruptVectors.def:	RCS/PseudoInterruptVectors.def,v
	co -b RCS/PseudoInterruptVectors.def,v
@


0.5.1.2
log
@Changed to not leave .s2 files around when munging assembler files.
@
text
@d63 1
a63 1
		sed -f fixKcalls.sed KernelCalls.s | as -o $@@ 
d99 2
a100 1
		sed -f fixUserFdt.sed userFdt.s | as -o $@@
d149 1
a149 1
	rm -f *.ld.sh *.s *.gf[os] *.gfs2
@


0.5.1.3
log
@Completely rewritten.
@
text
@d1 4
a4 1
K32LIB = /u/ksos/ksos32/kernel/lib
d6 1
a6 3
objects: .lnk/userFdt .lnk/fixKcalls .lnk/PseudoInterruptVectors \
  .lnk/KernelCalls
	@@echo "The KSOS-32 Kernel interface library is up to date."
d8 1
a8 3
symbols: .sym/userFdt .sym/fixKcalls .sym/PseudoInterruptVectors \
  .sym/KernelCalls
	touch $@@
d10 2
a11 3
sources: userFdt.mod userFdt.def m2path fixKcalls.mod fixKcalls.def \
  PseudoInterruptVectors.mod PseudoInterruptVectors.def \
  KernelCalls.mod KernelCalls.def
d13 2
a14 2
.lnk/userFdt: userFdt.s fixUserFdt.sed
	sed -f fixUserFdt.sed userFdt.s | as -o $@@
d16 2
a17 3
userFdt.s: userFdt.mod .sym/userFdt
	run.m2c -T -S userFdt.mod
	@@rm -f .lnk/userFdt
d19 39
a57 1
.lnk/fixKcalls: fixKcalls.mod .sym/fixKcalls \
d59 2
a60 1
	run.m2c -T -E fixKcalls.mod
d62 2
a63 5
.lnk/PseudoInterruptVectors: PseudoInterruptVectors.mod \
  .sym/PseudoInterruptVectors $(K32LIB)/.sym/K32machine \
  $(K32LIB)/.sym/K32types $(K32LIB)/.sym/K32except .sym/KernelCalls \
  .sym/userFdt m2path
	run.m2c -T -E PseudoInterruptVectors.mod
a64 2
.lnk/KernelCalls: KernelCalls.s fixKcalls.sed
	sed -f fixKcalls.sed KernelCalls.s | as -o $@@ 
d66 7
a72 5
KernelCalls.s: KernelCalls.mod .sym/KernelCalls $(K32LIB)/.sym/K32baseTypes \
  $(K32LIB)/.sym/K32types $(K32LIB)/.sym/K32except $(K32LIB)/.sym/K32calls \
  $(K32LIB)/.sym/K32callp .sym/fixKcalls m2path
	run.m2c -T -E -S KernelCalls.mod
	@@rm -f .lnk/KernelCalls
d74 3
a76 2
.sym/userFdt: userFdt.def
	run.m2c -T userFdt.def
d78 5
a82 2
.sym/fixKcalls: fixKcalls.def $(K32LIB)/.sym/K32except m2path
	run.m2c -T -E fixKcalls.def
d84 2
a85 3
.sym/PseudoInterruptVectors: PseudoInterruptVectors.def \
  $(K32LIB)/.sym/K32types m2path
	run.m2c -T -E PseudoInterruptVectors.def
d87 2
a88 3
.sym/KernelCalls: KernelCalls.def $(K32LIB)/.sym/K32baseTypes \
  $(K32LIB)/.sym/K32types $(K32LIB)/.sym/K32except m2path
	run.m2c -T -E KernelCalls.def
a89 2
userFdt.mod: RCS/userFdt.mod,v
	co -b -q $@@
d91 2
a92 2
userFdt.def: RCS/userFdt.def,v
	co -b -q $@@
d94 3
a96 2
m2path: RCS/m2path,v
	co -b -q $@@
d98 2
a99 2
fixUserFdt.sed: RCS/fixUserFdt.sed,v
	co -b -q $@@
d101 6
a106 2
fixKcalls.sed: RCS/fixKcalls.sed,v
	co -b -q $@@
d108 2
a109 2
fixKcalls.mod: RCS/fixKcalls.mod,v
	co -b -q $@@
d111 2
a112 2
fixKcalls.def: RCS/fixKcalls.def,v
	co -b -q $@@
d114 2
a115 2
PseudoInterruptVectors.mod: RCS/PseudoInterruptVectors.mod,v
	co -b -q $@@
d117 2
a118 2
PseudoInterruptVectors.def: RCS/PseudoInterruptVectors.def,v
	co -b -q $@@
d120 2
a121 2
KernelCalls.mod: RCS/KernelCalls.mod,v
	co -b -q $@@
d123 2
a124 2
KernelCalls.def: RCS/KernelCalls.def,v
	co -b -q $@@
d126 2
a127 8
m2makefile: sources
	mkdir .Tmp
	ls *.def *.mod | sed -e 's=.*=~ksos/tools/mpp & > .Tmp/&=' | csh
	ls -f .Tmp | sed '/^\.*$$/d' > .TmpDir
	ls .Tmp | diff - .TmpDir
	cd .Tmp ; ln -s ../m2path ; m2make -E
	mv .Tmp/makefile $@@
	rm -r .Tmp .TmpDir
d129 18
d148 1
a148 1
	rm -f userFdt.s KernelCalls.s
@


0.5.1.4
log
@Added an implementation of the SYSTEM module and added the Exceptions module.
@
text
@d3 2
a4 2
objects: .lnk/userFdt .lnk/fixKcalls .lnk/SYSTEM .lnk/PseudoInterruptVectors \
  .lnk/KernelCalls .lnk/Exceptions
d8 1
a8 1
  .sym/KernelCalls .sym/Exceptions
d12 2
a13 2
  SYSTEM.s PseudoInterruptVectors.mod PseudoInterruptVectors.def \
  KernelCalls.mod KernelCalls.def Exceptions.mod Exceptions.def
a25 4
.lnk/SYSTEM: SYSTEM.s
	as -o $@@ SYSTEM.s
	touch .key/SYSTEM

a40 3
.lnk/Exceptions: Exceptions.mod .sym/Exceptions
	run.m2c -T Exceptions.mod

a54 3
.sym/Exceptions: Exceptions.def
	run.m2c -T Exceptions.def

a75 3
SYSTEM.s: RCS/SYSTEM.s,v
	co -b -q $@@

a85 6
	co -b -q $@@

Exceptions.mod: RCS/Exceptions.mod,v
	co -b -q $@@

Exceptions.def: RCS/Exceptions.def,v
@


0.5.1.5
log
@Updated dependencies for the Exceptions module.
@
text
@d45 2
a46 3
.lnk/Exceptions: Exceptions.mod .sym/Exceptions $(K32LIB)/.sym/K32types \
  $(K32LIB)/.sym/K32except .sym/KernelCalls
	run.m2c -T -E Exceptions.mod
@


0.5.1.6
log
@Added a missing dependency.
@
text
@d46 1
a46 1
  $(K32LIB)/.sym/K32except .sym/KernelCalls m2path
@


0.5.1.7
log
@Changed to make symbolic links to Kernel source files that are part of
the Kernel interface, and to compile them here in this directory.
There is no longer any need for the m2path file.
@
text
@d1 1
a1 1
K32LIB = ../../kernel/lib
d4 1
a4 3
  .lnk/KernelCalls .lnk/K32types .lnk/K32machine .lnk/K32except .lnk/K32conf \
  .lnk/K32calls .lnk/K32callp .lnk/K32baseTypes .lnk/IOpack .lnk/IOform \
  .lnk/IOFform .lnk/IOEform .lnk/Exceptions
d8 1
a8 3
  .sym/KernelCalls .sym/K32types .sym/K32machine .sym/K32except .sym/K32conf \
  .sym/K32calls .sym/K32callp .sym/K32baseTypes .sym/IOpack .sym/IOform \
  .sym/IOFform .sym/IOEform .sym/Exceptions
d11 3
a13 7
sources: userFdt.mod userFdt.def fixKcalls.mod fixKcalls.def SYSTEM.s \
  PseudoInterruptVectors.mod PseudoInterruptVectors.def KernelCalls.mod \
  KernelCalls.def K32types.mod K32types.def K32machine.mod K32machine.def \
  K32except.mod K32except.def K32conf.mod K32conf.def K32calls.mod \
  K32calls.def K32callp.mod K32callp.def K32baseTypes.mod K32baseTypes.def \
  IOpack.mod IOpack.def IOform.mod IOform.def IOFform.mod IOFform.def \
  IOEform.mod IOEform.def Exceptions.mod Exceptions.def
d22 3
a24 2
.lnk/fixKcalls: fixKcalls.mod .sym/fixKcalls .sym/K32except
	run.m2c -T fixKcalls.mod
d31 4
a34 3
  .sym/PseudoInterruptVectors .sym/K32machine .sym/K32types .sym/K32except \
  .sym/KernelCalls .sym/userFdt
	run.m2c -T PseudoInterruptVectors.mod
d37 1
a37 1
	sed -f fixKcalls.sed KernelCalls.s | as -o $@@
d39 4
a42 3
KernelCalls.s: KernelCalls.mod .sym/KernelCalls .sym/K32baseTypes \
  .sym/K32types .sym/K32except .sym/K32calls .sym/K32callp .sym/fixKcalls
	run.m2c -T -S KernelCalls.mod
d45 3
a47 3
.lnk/K32types: K32types.mod .sym/K32types .sym/K32machine .sym/K32baseTypes \
  .sym/K32conf
	run.m2c -T K32types.mod
a48 36
.lnk/K32machine: K32machine.mod .sym/K32machine
	run.m2c -T K32machine.mod

.lnk/K32except: K32except.mod .sym/K32except
	run.m2c -T K32except.mod

.lnk/K32conf: K32conf.mod .sym/K32conf
	run.m2c -T K32conf.mod

.lnk/K32calls: K32calls.mod .sym/K32calls
	run.m2c -T K32calls.mod

.lnk/K32callp: K32callp.mod .sym/K32callp
	run.m2c -T K32callp.mod

.lnk/K32baseTypes: K32baseTypes.mod .sym/K32baseTypes
	run.m2c -T K32baseTypes.mod

.lnk/IOpack: IOpack.mod .sym/IOpack .sym/K32machine .sym/K32baseTypes \
  .sym/IOform 
	$(K32LIB)/M2C -UPROF IOpack.mod

.lnk/IOform: IOform.mod .sym/IOform $(K32LIB)/M2C
	$(K32LIB)/M2C -UPROF IOform.mod

.lnk/IOFform: IOFform.mod .sym/IOFform .sym/K32baseTypes .sym/K32types \
  .sym/IOform $(K32LIB)/M2C
	$(K32LIB)/M2C -UPROF IOFform.mod

.lnk/IOEform: IOEform.mod .sym/IOEform $(K32LIB)/M2C
	$(K32LIB)/M2C -UPROF IOEform.mod

.lnk/Exceptions: Exceptions.mod .sym/Exceptions .sym/K32types .sym/K32except \
  .sym/KernelCalls
	run.m2c -T Exceptions.mod

d52 2
a53 2
.sym/fixKcalls: fixKcalls.def .sym/K32except
	run.m2c -T fixKcalls.def
d55 3
a57 2
.sym/PseudoInterruptVectors: PseudoInterruptVectors.def .sym/K32types
	run.m2c -T PseudoInterruptVectors.def
d59 3
a61 3
.sym/KernelCalls: KernelCalls.def .sym/K32baseTypes .sym/K32types \
  .sym/K32except
	run.m2c -T KernelCalls.def
a62 34
.sym/K32types: K32types.def .sym/K32machine .sym/K32baseTypes .sym/K32conf \
  .sym/K32except
	run.m2c -T K32types.def

.sym/K32machine: K32machine.def
	run.m2c -T K32machine.def

.sym/K32except: K32except.def
	run.m2c -T K32except.def

.sym/K32conf: K32conf.def
	run.m2c -T K32conf.def

.sym/K32calls: K32calls.def
	run.m2c -T K32calls.def

.sym/K32callp: K32callp.def .sym/K32baseTypes .sym/K32types
	run.m2c -T K32callp.def

.sym/K32baseTypes: K32baseTypes.def
	run.m2c -T K32baseTypes.def

.sym/IOpack: IOpack.def .sym/K32machine 
	run.m2c -T IOpack.def

.sym/IOform: IOform.def .sym/K32baseTypes .sym/K32types
	run.m2c -T IOform.def

.sym/IOFform: IOFform.def .sym/K32baseTypes .sym/K32types .sym/IOform
	run.m2c -T IOFform.def

.sym/IOEform: IOEform.def .sym/K32baseTypes .sym/IOform
	run.m2c -T IOEform.def

d72 3
a101 66
K32types.mod:
	umask 333 ; ln -s $(K32LIB)/K32types.mod

K32types.def:
	umask 333 ; ln -s $(K32LIB)/K32types.def

K32machine.mod:
	umask 333 ; ln -s $(K32LIB)/K32machine.mod

K32machine.def:
	umask 333 ; ln -s $(K32LIB)/K32machine.def

K32except.mod:
	umask 333 ; ln -s $(K32LIB)/K32except.mod

K32except.def:
	umask 333 ; ln -s $(K32LIB)/K32except.def

K32conf.mod:
	umask 333 ; ln -s $(K32LIB)/K32conf.mod

K32conf.def:
	umask 333 ; ln -s $(K32LIB)/K32conf.def

K32calls.mod:
	umask 333 ; ln -s $(K32LIB)/K32calls.mod

K32calls.def:
	umask 333 ; ln -s $(K32LIB)/K32calls.def

K32callp.mod:
	umask 333 ; ln -s $(K32LIB)/K32callp.mod

K32callp.def:
	umask 333 ; ln -s $(K32LIB)/K32callp.def

K32baseTypes.mod:
	umask 333 ; ln -s $(K32LIB)/K32baseTypes.mod

K32baseTypes.def:
	umask 333 ; ln -s $(K32LIB)/K32baseTypes.def

IOpack.mod:
	umask 333 ; ln -s $(K32LIB)/IOpack.mod

IOpack.def:
	umask 333 ; ln -s $(K32LIB)/IOpack.def

IOform.mod:
	umask 333 ; ln -s $(K32LIB)/IOform.mod

IOform.def:
	umask 333 ; ln -s $(K32LIB)/IOform.def

IOFform.mod:
	umask 333 ; ln -s $(K32LIB)/IOFform.mod

IOFform.def:
	umask 333 ; ln -s $(K32LIB)/IOFform.def

IOEform.mod:
	umask 333 ; ln -s $(K32LIB)/IOEform.mod

IOEform.def:
	umask 333 ; ln -s $(K32LIB)/IOEform.def

d113 1
a113 1
	cd .Tmp ; m2make
@


0.5.1.8
log
@Changed to use the new m2unreference program, which eliminates the need
for fixKcalls.mod.
@
text
@d3 1
a3 1
objects: .lnk/userFdt .lnk/SYSTEM .lnk/PseudoInterruptVectors \
d15 1
a15 1
sources: userFdt.mod userFdt.def fixKcalls.def SYSTEM.s \
d30 3
a47 1
	m2unreference KernelCalls fixKcalls
d150 3
@


0.5.1.9
log
@Updated dependencies.
@
text
@d84 2
a85 2
.lnk/Exceptions: Exceptions.mod .sym/Exceptions .sym/K32machine \
  .sym/K32types .sym/K32except .sym/KernelCalls
d123 1
a123 1
.sym/IOpack: IOpack.def .sym/K32machine  .sym/IOform
d129 1
a129 1
.sym/IOFform: IOFform.def .sym/IOform
d132 1
a132 1
.sym/IOEform: IOEform.def
d135 1
a135 1
.sym/Exceptions: Exceptions.def .sym/K32machine
@


0.5.1.10
log
@Added the -f flag to the csh invocation to speed things up.
@
text
@d242 1
a242 1
	ls *.def *.mod | sed -e 's=.*=~ksos/tools/mpp & > .Tmp/&=' | csh -f
@


0.4
log
@This version used to compile test programs for Milestone 11.
@
text
@d10 2
a11 1
symbols:	.sym/KernelCalls .sym/fixKcalls .sym/userFdt
d13 2
a14 1
objects:	.lnk/testXX .lnk/KernelCalls .lnk/fixKcalls .lnk/userFdt
d16 7
d35 1
d37 1
a37 1
  $(K32LIB)/.lnk/K32baseTypes \
d46 4
a49 1
.lnk/testXX:	testXX.mod $(K32LIB)/.sym/K32except \
d65 12
@
