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