xref: /plan9/sys/src/9/pcboot/callsmkfile (revision 07b4782c30a417782adf37507cd9a64239a8e687)
1PORTC=\
2	../port/alarm.c\
3	../port/alloc.c\
4	../port/allocb.c\
5	../port/auth.c\
6	../port/chan.c\
7	../port/dev.c\
8	../port/devcons.c\
9	../port/devroot.c\
10	../port/devuart.c\
11	../port/edf.c\
12	../port/fault.c\
13	../port/latin1.c\
14	../port/netif.c\
15	../port/page.c\
16	../port/parse.c\
17	../port/pgrp.c\
18	../port/portclock.c\
19	../port/print.c\
20	../port/proc.c\
21	../port/qio.c\
22	../port/qlock.c\
23	../port/rdb.c\
24	../port/rebootcmd.c\
25	../port/segment.c\
26	../port/taslock.c\
27	../port/tod.c\
28	../port/xalloc.c\
29
30IPC=../ip/arp.c\
31	../ip/chandial.c\
32	../ip/devip.c\
33	../ip/ethermedium.c\
34	../ip/icmp.c\
35	../ip/icmp6.c\
36	../ip/inferno.c\
37	../ip/ip.c\
38	../ip/ipaux.c\
39	../ip/ipifc.c\
40	../ip/ipmux.c\
41	../ip/iproute.c\
42	../ip/ipv6.c\
43	../ip/loopbackmedium.c\
44	../ip/netdevmedium.c\
45	../ip/netlog.c\
46	../ip/ptclbsum.c\
47	../ip/udp.c\
48
49COMMON=\
50	boot.c\
51	conf.c\
52	cga.c\
53	devarch.c\
54	devrtc.c\
55	i8253.c\
56	i8259.c\
57	kbd.c\
58	memory.c\
59	mmu.c\
60	multiboot.c\
61	pci.c\
62	stub.c\
63	trap.c\
64	uarti8250.c\
65	warp64.c\
66	$CONF.rootc.c\
67
68# print it in landscape orientation; it's way more useful than 80 columns
69disk.calls:D: main.c $CONF.c $COMMON $PORTC diskload.c	#  ${DEVS:%.$O=%.c}
70	calls -w 132 -f main -I. -I../pc -I../port -I../ip $prereq |
71		grep -v '\[external\]' >main.$target
72	calls -w 132 -f bootloadproc -I. -I../pc -I../port -I../ip $prereq |
73		grep -v '\[external\]' >bootloadproc.$target
74	calls -w 132 -I. -I../pc -I../port -I../ip $prereq |
75		grep -v '\[external\]' >$target
76
77pxe.calls:D: main.c $CONF.c $COMMON $IPC $PORTC devether.c ethermii.c \
78	ether82563.c pxeload.c rand.c uarti8250.c	#  ${DEVS:%.$O=%.c}
79	calls -w 132 -f main -I. -I../pc -I../port -I../ip $prereq |
80		grep -v '\[external\]' >main.$target
81	calls -w 132 -f bootloadproc -I. -I../pc -I../port -I../ip $prereq |
82		grep -v '\[external\]' >bootloadproc.$target
83	calls -w 132 -I. -I../pc -I../port -I../ip $prereq |
84		grep -v '\[external\]' >$target
85
86all.calls:V: pxe.calls disk.calls
87