0
|
1 include ../Makefile.rules
|
|
2
|
558
|
3 RELEASE = os9l1v020100cc
|
521
|
4 BOOTFILE = bootfile_stock
|
|
5 KERNEL = kernel_stock
|
454
|
6
|
561
|
7 CMDS = $(shell $(CD) CMDS; make showcocoobjs)
|
454
|
8 MODULES = $(shell $(CD) MODULES; make showcopyobjs)
|
|
9 SYS = $(shell $(CD) SYS; make showobjs)
|
|
10 DEFS = $(shell $(CD) DEFS; make showobjs)
|
|
11 ROOTFILES = startup
|
|
12
|
|
13 PACKAGENAME = $(RELEASE).zip
|
558
|
14 DSK_DS40_1 = $(RELEASE)_ds40_1.dsk
|
|
15 DSK_DS40_2 = $(RELEASE)_ds40_2.dsk
|
323
|
16
|
0
|
17 # Make all components
|
|
18 all:
|
|
19 @$(ECHO) "*********************************************"
|
|
20 @$(ECHO) "* *"
|
|
21 @$(ECHO) "* OS-9 Level One Distribution *"
|
|
22 @$(ECHO) "* *"
|
|
23 @$(ECHO) "*********************************************"
|
323
|
24 $(CD) CMDS; make
|
|
25 $(CD) MODULES; make
|
|
26 $(CD) DEFS; make
|
|
27 $(CD) SYS; make
|
454
|
28 $(CD) BOOTFILES; make
|
|
29 $(UNIX2OS9) $(ROOTFILES)
|
|
30 $(CHMOD) 644 $(ROOTFILES)
|
0
|
31
|
|
32 # Clean all components
|
454
|
33 clean: dskclean
|
323
|
34 -$(CD) CMDS; make clean
|
|
35 -$(CD) MODULES; make clean
|
|
36 -$(CD) DEFS; make clean
|
|
37 -$(CD) SYS; make clean
|
454
|
38 -$(CD) BOOTFILES; make clean
|
|
39 -$(OS92UNIX) $(ROOTFILES)
|
|
40
|
|
41 dskclean:
|
558
|
42 -$(RM) $(PACKAGENAME) $(DSK_DS40_1) $(DSK_DS40_2)
|
454
|
43
|
|
44 dsk: all $(PACKAGENAME)
|
|
45
|
558
|
46 $(PACKAGENAME): $(DSK_DS40_1) $(DSK_DS40_2)
|
|
47 $(ZIP) $(PACKAGENAME) $(DSK_DS40_1) $(DSK_DS40_2) ReleaseNotes ChangeLog
|
454
|
48
|
558
|
49 $(DSK_DS40_1):
|
|
50 $(RM) $(DSK_DS40_1)
|
|
51 $(OS9FORMAT) $(DSK_DS40_1) -t40 -h1 -n"OS-9 Level One System Disk"
|
|
52 $(OS9GEN) $(DSK_DS40_1) BOOTFILES/$(BOOTFILE) BOOTFILES/$(KERNEL)
|
|
53 $(MAKDIR) $(DSK_DS40_1),CMDS
|
|
54 $(MAKDIR) $(DSK_DS40_1),SYS
|
561
|
55 $(CD) CMDS; $(CP) $(CMDS) ../$(DSK_DS40_1),CMDS
|
558
|
56 $(CD) SYS; $(CP) $(SYS) ../$(DSK_DS40_1),SYS
|
|
57 $(CP) $(ROOTFILES) $(DSK_DS40_1),.
|
454
|
58
|
558
|
59 $(DSK_DS40_2):
|
|
60 -$(RM) $(DSK_DS40_2)
|
|
61 $(OS9FORMAT) $(DSK_DS40_2) -t40 -h1 -n"OS-9 Level One Development Disk"
|
|
62 $(MAKDIR) $(DSK_DS40_2),DEFS
|
|
63 $(CD) DEFS; $(CP) $(DEFS) ../$(DSK_DS40_2),DEFS
|
454
|
64
|