|
|
1.1 root 1: CONF=nextstation
2: CONFLIST=nextstation nextstationdisk nextstationnofs
3:
4: objtype=68020
5: </$objtype/mkfile
6: CFLAGS=-w
7:
8: DEV=`{rc ../port/mkdevlist $CONF}
9: STREAM=`{rc ../port/mkstreamlist $CONF}
10: MISC=`{rc ../port/mkmisclist $CONF}
11:
12: OBJ=\
13: vec.$O\
14: l.$O\
15: alarm.$O\
16: alloc.$O\
17: auth.$O\
18: chan.$O\
19: clock.$O\
20: dev.$O\
21: fault.$O\
22: fault68040.$O\
23: latin1.$O\
24: taslock.$O\
25: main.$O\
26: mmu.$O\
27: net.$O\
28: page.$O\
29: segment.$O\
30: swap.$O\
31: pgrp.$O\
32: print.$O\
33: proc.$O\
34: qlock.$O\
35: queue.$O\
36: screen.$O\
37: sysfile.$O\
38: sysproc.$O\
39: trap.$O\
40: fptrap.$O\
41: $DEV\
42: boot$CONF.root.$O\
43: stream.$O\
44: $MISC $STREAM\
45: bbmalloc.$O
46:
47: default:V: 9$CONF
48:
49: 9$CONF: $OBJ $CONF.c /68020/lib/libgnot.a
50: $CC $CFLAGS '-DKERNDATE='`{date -n} $CONF.c
51: $LD -o $target -l -H3 -T0x04000000 -R0x2000 $OBJ $CONF.$O -lgnot -lg -lauth -lc
52: size $target
53:
54: devbit.$O screen.$O: /sys/include/gnot.h
55: screen.$O: screen.h keys.h
56: clock.$O fault68040.$O screen.$O fptrap.$O main.$O: /$objtype/include/ureg.h
57:
58: init.h: initcode /sys/src/libc/9syscall/sys.h
59: $AS initcode
60: $LD -l -s -o init.out -R4 initcode.$O
61: {echo 'uchar initcode[]={'
62: xd -r -1x init.out |
63: sed -e 's/^[0-9a-f]+ //' -e 's/ ([0-9a-f][0-9a-f])/0x\1,/g'
64: echo '};'} > init.h
65:
66: <../port/portmkfile
67:
68: nm: $OBJ
69: $LD -a -o 9 -l -T0x80002020 $prereq -lgnot -lc > nm
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.