CONF=pc CONFLIST=pc pccpu pcdisk pccpudisk objtype=386 $p$CONF.gz install:V: $p$CONF $p$CONF.gz cp $p$CONF $p$CONF.gz /$objtype/ <../boot/bootmkfile <../port/portmkfile clock.$O devether.$O main.$O trap.$O: /$objtype/include/ureg.h $ETHER: etherif.h ../port/netif.h ether8003.$O ether8390.$O: ether8390.h $VGA mouse.$O: screen.h devfloppy.$O: floppy.h archmp.$O mp.$O: apbootstrap.h apic.$O archmp.$O mp.$O: mp.h $SDEV: ../port/sd.h sd53c8xx.$O: sd53c8xx.i thwack.$O unthwack.$O: ../port/thwack.h sd53c8xx.i: sd53c8xx.n aux/na $prereq > $target dossrv.root.s: /$objtype/bin/dossrv cp $prereq dossrv.out ../port/mkroot dossrv kfs init.h: initcode /sys/src/libc/9syscall/sys.h $AS initcode $LD -l -s -R4 -o init.out initcode.$O {echo 'uchar initcode[]={' xd -r -1x init.out | sed -e 's/^[0-9a-f]+ //' -e 's/ ([0-9a-f][0-9a-f])/0x\1,/g' echo '};'} > init.h apbootstrap.h: apbootstrap.s mem.h $AS $prereq $LD -o apbootstrap.out -T0x80001000 -R4 -l -s apbootstrap.$O {echo 'uchar apbootstrap[]={' xd -r -1x apbootstrap.out | sed -e '1,2d' -e 's/^[0-9a-f]+ //' -e 's/ ([0-9a-f][0-9a-f])/0x\1,/g' echo '};'} > $target acid:V: 8c -a -w -I. ../port/qio.c>acid