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


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

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

0.7
date     88.03.29.09.52.18;  author Weiss;  state Exp;
branches 0.7.1.1;
next     ;

0.7.1.1
date     88.03.29.13.55.06;  author Weiss;  state Exp;
branches ;
next     0.7.1.2;

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

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

0.7.1.4
date     88.04.22.13.37.33;  author Makey;  state Exp;
branches ;
next     ;

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

0.8.1.2
date     88.09.13.17.14.58;  author Makey;  state Exp;
branches ;
next     ;


desc
@KSOS-32 Secure Shutdown Daemon makefile
@


0.9
log
@Changed as needed to implement all functionality.
With this version, KSOS-32 is complete enough to allow users to log in
and run programs.
@
text
@K32TLIB = /u/ksos/ksos32/lib/trusted

SSD.out: objects $(K32TLIB)/.lnk/K32baseTypes $(K32TLIB)/.lnk/K32types \
  $(K32TLIB)/.lnk/K32except $(K32TLIB)/.lnk/KernelCalls \
  $(K32TLIB)/.lnk/strio $(K32TLIB)/.lnk/NKSR $(K32TLIB)/.lnk/KSOSpath \
  $(K32TLIB)/.lnk/ACPipc $(K32TLIB)/.lnk/Nlib $(K32TLIB)/.lnk/events \
  $(K32TLIB)/.lnk/udmLib $(K32TLIB)/.lnk/NKbio \
  $(K32TLIB)/.lnk/argumentHandling m2path
	m2l -E SSD

objects: .lnk/SSD
	touch $@@

symbols:
	touch $@@

sources: SSD.mod

.lnk/SSD: SSD.mod $(K32TLIB)/.sym/K32baseTypes $(K32TLIB)/.sym/K32types \
  $(K32TLIB)/.sym/K32except $(K32TLIB)/.sym/KernelCalls \
  $(K32TLIB)/.sym/strio $(K32TLIB)/.sym/NKSR $(K32TLIB)/.sym/KSOSpath \
  $(K32TLIB)/.sym/ACPipc $(K32TLIB)/.sym/Nlib $(K32TLIB)/.sym/events \
  $(K32TLIB)/.sym/udmLib $(K32TLIB)/.sym/NKbio \
  $(K32TLIB)/.sym/argumentHandling m2path
	M2C -E SSD.mod

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

m2path: RCS/m2path,v
	co -b -q $@@

install: SSD.out
	kwr /dev/ksos 5 SSD.out /sys/sysbin/SSD
	touch $@@

m2makefile: sources m2path
	mkdir .Tmp
	ls *.def *.mod | sed -e 's=.*=mpp -DDEBUGP -DNONCON & > .Tmp/&=' | sh
	ls -f .Tmp | sed '/^\.*$$/d' > .TmpDir
	ls .Tmp | diff - .TmpDir
	cd .Tmp ; ln -s ../m2path ; m2make -E
	-mv $@@ $@@~
	mv .Tmp/makefile $@@
	rm -r .Tmp .TmpDir

clean:
	rm -f 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
@d5 5
a9 4
  $(K32TLIB)/.lnk/KSOSpath $(K32TLIB)/.lnk/strio $(K32TLIB)/.lnk/NKSR \
  $(K32TLIB)/.lnk/Nlib $(K32TLIB)/.lnk/events $(K32TLIB)/.lnk/udmLib \
  $(K32TLIB)/.lnk/NKbio $(K32TLIB)/.lnk/argumentHandling m2path
	m2l -E -X SSD
d21 4
a24 3
  $(K32TLIB)/.sym/KSOSpath $(K32TLIB)/.sym/strio $(K32TLIB)/.sym/NKSR \
  $(K32TLIB)/.sym/Nlib $(K32TLIB)/.sym/events $(K32TLIB)/.sym/udmLib \
  $(K32TLIB)/.sym/NKbio $(K32TLIB)/.sym/argumentHandling m2path
d42 1
a42 2
	sed -e 's=:\.\.=:../..=g' m2path > .Tmp/m2path
	cd .Tmp ; m2make -E
@


0.8.1.1
log
@Updated dependencies.
@
text
@d5 3
a7 4
  $(K32TLIB)/.lnk/strio $(K32TLIB)/.lnk/NKSR $(K32TLIB)/.lnk/KSOSpath \
  $(K32TLIB)/.lnk/ACPipc $(K32TLIB)/.lnk/Nlib $(K32TLIB)/.lnk/events \
  $(K32TLIB)/.lnk/udmLib $(K32TLIB)/.lnk/NKbio \
  $(K32TLIB)/.lnk/argumentHandling m2path
d20 3
a22 4
  $(K32TLIB)/.sym/strio $(K32TLIB)/.sym/NKSR $(K32TLIB)/.sym/KSOSpath \
  $(K32TLIB)/.sym/ACPipc $(K32TLIB)/.sym/Nlib $(K32TLIB)/.sym/events \
  $(K32TLIB)/.sym/udmLib $(K32TLIB)/.sym/NKbio \
  $(K32TLIB)/.sym/argumentHandling m2path
@


0.8.1.2
log
@Deleted superfluous -X flag in m2l command.
Simplified the m2makefile commands.
@
text
@d9 1
a9 1
	m2l -E SSD
d42 2
a43 1
	cd .Tmp ; ln -s ../m2path ; m2make -E
@


0.7
log
@Changed as needed to get Secure Shutdown daemon (SSD) to compile.
@
text
@d3 6
a8 2
SSD.out: .lnk/SSD
	m2l -E SSD
d10 1
a10 1
objects: .lnk/argumentHandling .lnk/SSD
d13 1
a13 1
symbols: .sym/argumentHandling 
d16 1
a16 6
.lnk/argumentHandling: argumentHandling.mod .sym/argumentHandling \
  $(K32TLIB)/.sym/K32baseTypes \
  $(K32TLIB)/.sym/K32types \
  $(K32TLIB)/.sym/KernelCalls \
  $(K32TLIB)/.sym/NKSR
	run.m2c -T -E argumentHandling.mod
d18 5
a22 10
.lnk/SSD: SSD.mod .sym/argumentHandling \
  $(K32TLIB)/.sym/K32baseTypes \
  $(K32TLIB)/.sym/K32types \
  $(K32TLIB)/.sym/KernelCalls \
  $(K32TLIB)/.sym/NKSR \
  $(K32TLIB)/.sym/K32except \
  $(K32TLIB)/.sym/K32callp \
  $(K32TLIB)/.sym/Nlib \
  $(K32TLIB)/.sym/udmLib \
  $(K32TLIB)/.sym/NKbio
d25 23
a47 4
.sym/argumentHandling: argumentHandling.def \
  $(K32TLIB)/.sym/K32baseTypes \
  $(K32TLIB)/.sym/K32types
	run.m2c -T -E argumentHandling.def
@


0.7.1.1
log
@Added sources, m2makefile, clean, and install targets.
Added m2path dependency where needed.
Updated other dependencies.
Makefile will now check out sources.
@
text
@d3 2
a4 6
SSD.out: objects $(K32TLIB)/.lnk/K32baseTypes $(K32TLIB)/.lnk/K32types \
  $(K32TLIB)/.lnk/K32except $(K32TLIB)/.lnk/KernelCalls \
  $(K32TLIB)/.lnk/KSOSpath $(K32TLIB)/.lnk/events $(K32TLIB)/.lnk/strio \
  $(K32TLIB)/.lnk/NKSR $(K32TLIB)/.lnk/Nlib $(K32TLIB)/.lnk/udmLib \
  $(K32TLIB)/.lnk/NKbio m2path
	m2l -E -X -n SSD
d9 1
a9 1
symbols: .sym/argumentHandling
a11 2
sources: SSD.mod argumentHandling.mod argumentHandling.def

d13 4
a16 2
  $(K32TLIB)/.sym/K32baseTypes $(K32TLIB)/.sym/K32types \
  $(K32TLIB)/.sym/KernelCalls $(K32TLIB)/.sym/NKSR m2path
d19 10
a28 5
.lnk/SSD: SSD.mod $(K32TLIB)/.sym/K32baseTypes $(K32TLIB)/.sym/K32types \
  $(K32TLIB)/.sym/K32except $(K32TLIB)/.sym/KernelCalls \
  $(K32TLIB)/.sym/KSOSpath $(K32TLIB)/.sym/events $(K32TLIB)/.sym/strio \
  $(K32TLIB)/.sym/NKSR $(K32TLIB)/.sym/Nlib $(K32TLIB)/.sym/udmLib \
  $(K32TLIB)/.sym/NKbio .sym/argumentHandling m2path
d31 3
a33 2
.sym/argumentHandling: argumentHandling.def $(K32TLIB)/.sym/K32baseTypes \
  $(K32TLIB)/.sym/K32types $(K32TLIB)/.sym/NKSR m2path
a34 30

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

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

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

m2path: RCS/m2path,v
	co -b -q $@@

install: SSD.out
	kwr /dev/ksos 5 SSD.out /sys/sysbin/SSD
	touch $@@

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

clean:
	rm -f objects symbols install m2makefile
@


0.7.1.2
log
@Changed to reflect moving the argumentHandling module to the KSOS-32
trusted library.
@
text
@d7 1
a7 1
  $(K32TLIB)/.lnk/NKbio $(K32TLIB)/.sym/argumentHandling m2path
d10 1
a10 1
objects: .lnk/SSD
d13 1
a13 1
symbols:
d16 1
a16 1
sources: SSD.mod
d18 5
d27 1
a27 1
  $(K32TLIB)/.sym/NKbio $(K32TLIB)/.sym/argumentHandling m2path
d30 4
d35 6
@


0.7.1.3
log
@Fixed a goof in a dependency list.
Changed the program linking to allow a 413-type executable image.
@
text
@d7 2
a8 2
  $(K32TLIB)/.lnk/NKbio $(K32TLIB)/.lnk/argumentHandling m2path
	m2l -E -X SSD
d37 1
a37 1
	ls *.def *.mod | sed -e 's=.*=mpp -DDEBUGP & > .Tmp/&=' | sh
@


0.7.1.4
log
@Updated dependencies.
Changed the m2makefile commands to define NONCON for mpp.
@
text
@d5 2
a6 2
  $(K32TLIB)/.lnk/KSOSpath $(K32TLIB)/.lnk/strio $(K32TLIB)/.lnk/NKSR \
  $(K32TLIB)/.lnk/Nlib $(K32TLIB)/.lnk/events $(K32TLIB)/.lnk/udmLib \
d20 2
a21 2
  $(K32TLIB)/.sym/KSOSpath $(K32TLIB)/.sym/strio $(K32TLIB)/.sym/NKSR \
  $(K32TLIB)/.sym/Nlib $(K32TLIB)/.sym/events $(K32TLIB)/.sym/udmLib \
d37 1
a37 1
	ls *.def *.mod | sed -e 's=.*=mpp -DDEBUGP -DNONCON & > .Tmp/&=' | sh
@
