ref: 232a064f3a9afcd9a5c1de45f1558e4522c511bd
dir: /sys/src/9/alphapc/mkfile/
CONF=apc CONFLIST=apc apccpu objtype=alpha </$objtype/mkfile p=9 DEVS=`{rc ../port/mkdevlist $CONF} PORT=\ alarm.$O\ alloc.$O\ allocb.$O\ auth.$O\ cache.$O\ chan.$O\ dev.$O\ fault.$O\ log.$O\ edf.$O\ mul64fract.$O\ page.$O\ parse.$O\ pgrp.$O\ portclock.$O\ print.$O\ proc.$O\ qio.$O\ qlock.$O\ rdb.$O\ rebootcmd.$O\ segment.$O\ swap.$O\ sysfile.$O\ sysproc.$O\ taslock.$O\ tod.$O\ xalloc.$O\ random.$O\ OBJ=\ l.$O\ cga.$O\ clock.$O\ faultalpha.$O\ fdc37c93x.$O\ fptrap.$O\ i8259.$O\ main.$O\ mmu.$O\ trap.$O\ $CONF.root.$O\ $CONF.rootc.$O\ $DEVS\ $PORT\ LIB=\ /$objtype/lib/libmemlayer.a\ /$objtype/lib/libmemdraw.a\ /$objtype/lib/libdraw.a\ /$objtype/lib/libip.a\ /$objtype/lib/libc.a\ /$objtype/lib/libsec.a\ ETHER=`{echo devether.c ether*.c | sed 's/\.c/.'$O'/g'} VGA=`{echo devvga.c screen.c vga*.c | sed 's/\.c/.'$O'/g'} SDEV=`{echo devsd.c sd*.c | sed 's/\.c/.'$O'/g'} loadaddr = 0x80400020 $p$CONF: $CONF.c $OBJ $LIB $CC $CFLAGS '-DKERNDATE='`{date -n} $CONF.c $LD -o $target -H3 -R8 -T$loadaddr -l $OBJ $CONF.$O $LIB size $target install:V: $p$CONF cp $p$CONF /$objtype/$p$CONF <../boot/bootmkfile <../port/portmkfile <|../port/mkbootrules $CONF <../pc/pcmkfile init.h: initcode /sys/src/libc/9syscall/sys.h $AS initcode $LD -l -s -R8 -o init.out initcode.$O -lc {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 clock.$O: /$objtype/include/ureg.h axp.h devarch.$O: axp.h faultalpha.$O: /$objtype/include/ureg.h fptrap.$O: /$objtype/include/ureg.h l.$O: osf1pal.h main.$O: /$objtype/include/ureg.h errstr.h init.h mmu.$O: /sys/src/boot/alphapc/conf.h sd53c8xx.$O: /$objtype/include/ureg.h ../port/sd.h sd53c8xx.i trap.$O: /$objtype/include/ureg.h ../port/error.h ../port/systab.h sd53c8xx.i: ../pc/sd53c8xx.n aux/na $prereq > $target acid:V: $CC -a -w -I. ../port/qio.c>acid