FreeBSD/Linux Kernel Cross Reference
sys/port/portmkfile
1 PORTFILES=`{../port/mkfilelist ../port}
2 ^($PORTFILES)\.$O:R: '../port/\1.c'
3 $CC $CFLAGS -I. ../port/$stem1.c
4
5 IPFILES=`{../port/mkfilelist ../ip}
6 ^($IPFILES)\.$O:R: '../ip/\1.c' ../ip/ip.h ../ip/ipv6.h
7 $CC $CFLAGS -I. ../ip/$stem1.c
8
9 %.$O: %.s
10 $AS $AFLAGS $stem.s
11
12 %.$O: %.c
13 $CC $CFLAGS $stem.c
14
15 %.acid: %.c
16 $CC $CFLAGS -a $stem.c >$stem.acid
17
18 %.acid: ../ip/%.c
19 $CC $CFLAGS -a -I. ../ip/$stem.c >$stem.acid
20
21 %.acid: ../port/%.c
22 $CC $CFLAGS -a -I. ../port/$stem.c >$stem.acid
23
24 installall:V:
25 for(i in $CONFLIST)
26 mk 'CONF='$i install
27
28 all:V:
29 for(i in $CONFLIST)
30 mk 'CONF='$i
31
32 clean:V:
33 rm -f *.[$OS] *.root.s *.rootc.c cfs.h fs.h init.h conf.h *.out *.m errstr.h
34 for(i in $CONFLIST $CRAPLIST)
35 mk $i.clean
36
37 %.clean:V:
38 rm -f $stem.c [9bz]$stem [9bz]$stem.gz boot$stem.* *.acid
39
40 %.$O: /$objtype/include/u.h ../port/lib.h mem.h dat.h fns.h io.h ../port/error.h ../port/portdat.h ../port/portfns.h
41
42 ../port/systab.h: /sys/src/libc/9syscall/sys.h ../port/mksystab
43 rc ../port/mksystab > ../port/systab.h
44
45 $CONF.$O: $CONF.c
46 $CC $CFLAGS '-DKERNDATE='`{date -n} $CONF.c
47
48 $CONF.c: ../port/mkdevc $CONF
49 rc ../port/mkdevc $CONF > $CONF.c
50
51 errstr.h: ../port/mkerrstr ../port/error.h
52 rc ../port/mkerrstr > errstr.h
53
54 ../port/latin1.h: /lib/keyboard
55 aux/mklatinkbd /lib/keyboard > ../port/latin1.h
56
57 %.db: main.$O
58 $CC -s$stem main.c | dbfmt > $stem.db
59
60 alloc.$O: /sys/include/pool.h
61 devmnt.$O: /sys/include/fcall.h
62 proc.$O: errstr.h
63 devroot.$O: errstr.h
64 trap.$O: /$objtype/include/ureg.h
65 devproc.$O: /$objtype/include/ureg.h
66 main.$O: init.h
67 trap.$O: ../port/systab.h
68 devpipe.$O: ../port/netif.h
69 netif.$O: ../port/netif.h
70 devuart.$O: ../port/netif.h
71 devmouse.$O: screen.h
72 devdraw.$O: screen.h
73 screen.$O: screen.h
74 latin1.$O: ../port/latin1.h
75 thwack.$O: ../port/thwack.h
76 unthwack.$O: ../port/thwack.h
77 devsdp.$O: ../port/thwack.h
78 devproc.$O sysproc.$O: /sys/include/tos.h
79 devproc.$O edf.$O proc.$O: /sys/include/trace.h
80
81 boot$CONF.out: $CONF print.$O $BOOTDIR/boot.c $BOOTLIB
82 $BOOTDIR/mkboot $CONF > boot$CONF.c
83 $CC $CFLAGS boot$CONF.c
84 $LD -o boot$CONF.out boot$CONF.$O $BOOTLIB
Cache object: 80436017027c3ea98c4c4b926f9f0cde
|