0
|
1 include ../../Makefile.rules
|
|
2
|
|
3 # Module directory
|
|
4 MD = ../MODULES
|
|
5 # Commands directory
|
|
6 CD = ../CMDS
|
|
7
|
|
8 DEPENDS = ./Makefile
|
|
9
|
509
|
10 KERNEL_STOCK = $(MD)/rel $(MD)/boot_1773 $(MD)/os9p1
|
0
|
11
|
|
12 # OS-9 disk bootfile to allow booting from WD1773 disk controller
|
509
|
13 BOOTFILE_STOCK = $(MD)/os9p2 $(MD)/ioman $(MD)/init \
|
429
|
14 $(MD)/rbf.mn \
|
|
15 $(MD)/cc3disk.dr $(MD)/d0_40d.dd $(MD)/d1_80d.dd \
|
|
16 $(MD)/ddd0_40d.dd \
|
|
17 $(MD)/scf.mn $(MD)/cc3io.dr \
|
|
18 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \
|
|
19 $(MD)/windint.io $(MD)/vdgint.io \
|
|
20 $(MD)/term_vdg.dt \
|
|
21 $(MD)/w.dw $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \
|
|
22 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \
|
|
23 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
|
|
24 $(MD)/clock $(MD)/clock2_soft
|
0
|
25
|
509
|
26 BOOTFILES = bootfile_stock
|
|
27 KERNELS = kernel_stock
|
0
|
28
|
428
|
29 ALLOBJS = $(BOOTFILES) $(KERNELS)
|
|
30
|
|
31 all: $(ALLOBJS)
|
|
32 $(CHMOD) 600 $(ALLOBJS)
|
0
|
33
|
509
|
34 bootfile_stock: $(BOOTFILE_STOCK) $(DEPENDS)
|
|
35 $(MERGE) $(BOOTFILE_STOCK)>$@
|
428
|
36
|
509
|
37 kernel_stock: $(KERNEL_STOCK) $(DEPENDS)
|
|
38 $(MERGE) $(KERNEL_STOCK)>$@
|
0
|
39
|
|
40 clean:
|
428
|
41 $(RM) $(ALLOBJS)
|
0
|
42
|