5 TARG=9bootiso 9bootpxe 9bootfat mbr pbs
7 HFILES=mem.h fns.h x16.h
9 all: 9bootiso 9bootpxe 9bootfat mbr pbs
12 rm -rf $TARG *.$O test.* tmp
15 $AS -DISO -o $target l.s
18 $AS -DPXE -o $target l.s
21 $AS -DFAT -o $target l.s
32 $LD -o $target -H3 -T0x0600 -l $prereq
36 $LD -o $target -H3 -T0x0800 -l $prereq
39 9boot&: l%.$O %.$O sub.$O apm.$O e820.$O a20.$O
40 $LD -o $target -H3 -T0x7c00 -l $prereq
45 mk $MKFLAGS $i.install
61 echo 'bootfile=/386/9pcf' >tmp/cfg/plan9.ini
62 disk/mk9660 -B 386/9bootiso -p /sys/lib/sysconfig/proto/allproto -s tmp $target
65 test.dsk: 9bootfat mbr pbs test.iso
68 cp test.iso 9bootfat tmp
71 echo 'bootfile=/386/9pcf' >tmp/plan9.ini
72 dd -if /dev/zero -of $target -bs 512 -count 32768
73 disk/partfs -m /n/$target $target
75 disk/mbr -m mbr $disk/data
76 disk/fdisk -baw $disk/data
77 disk/prep -bw -a 9fat $disk/plan9
78 disk/format -b pbs -d -r 2 $disk/9fat
82 dossrv -f $disk/9fat $s
84 @{cd tmp; tar c .} | @{cd $m; tar xv}