annotate level1/makefile @ 1129:c847e6ee341d

Removed CHMODs now that os9 attrs are in place
author boisy
date Mon, 14 Apr 2003 02:58:44 +0000
parents 85eed1cde1b7
children 2690efca4eaf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1 include ../Makefile.rules
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
2
1076
2bb48f58cba5 Made version number change
boisy
parents: 1034
diff changeset
3 RELEASE = os9l1v030101
521
78547a683e60 Stock changes
boisy
parents: 484
diff changeset
4 BOOTFILE = bootfile_stock
78547a683e60 Stock changes
boisy
parents: 484
diff changeset
5 KERNEL = kernel_stock
454
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
6
561
b857a3ab42d5 No longer reference CMDS_D1 or CMDS_D2
boisy
parents: 558
diff changeset
7 CMDS = $(shell $(CD) CMDS; make showcocoobjs)
454
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
8 MODULES = $(shell $(CD) MODULES; make showcopyobjs)
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
9 SYS = $(shell $(CD) SYS; make showobjs)
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
10 DEFS = $(shell $(CD) DEFS; make showobjs)
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
11 ROOTFILES = startup
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
12
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
13 PACKAGENAME = $(RELEASE).zip
1026
33efa4eee488 Now has two distribution DSK images
boisy
parents: 960
diff changeset
14 DSK1 = $(RELEASE)_ds40_1.dsk
33efa4eee488 Now has two distribution DSK images
boisy
parents: 960
diff changeset
15 DSK2 = $(RELEASE)_ds40_2.dsk
323
9ca004356f09 Makefiles modified
boisy
parents: 107
diff changeset
16
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17 # Make all components
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18 all:
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
19 @$(ECHO) "*********************************************"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
20 @$(ECHO) "* *"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
21 @$(ECHO) "* OS-9 Level One Distribution *"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
22 @$(ECHO) "* *"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
23 @$(ECHO) "*********************************************"
323
9ca004356f09 Makefiles modified
boisy
parents: 107
diff changeset
24 $(CD) CMDS; make
9ca004356f09 Makefiles modified
boisy
parents: 107
diff changeset
25 $(CD) MODULES; make
9ca004356f09 Makefiles modified
boisy
parents: 107
diff changeset
26 $(CD) DEFS; make
9ca004356f09 Makefiles modified
boisy
parents: 107
diff changeset
27 $(CD) SYS; make
454
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
28 $(CD) BOOTFILES; make
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 # Clean all components
454
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
31 clean: dskclean
323
9ca004356f09 Makefiles modified
boisy
parents: 107
diff changeset
32 -$(CD) CMDS; make clean
9ca004356f09 Makefiles modified
boisy
parents: 107
diff changeset
33 -$(CD) MODULES; make clean
9ca004356f09 Makefiles modified
boisy
parents: 107
diff changeset
34 -$(CD) DEFS; make clean
9ca004356f09 Makefiles modified
boisy
parents: 107
diff changeset
35 -$(CD) SYS; make clean
454
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
36 -$(CD) BOOTFILES; make clean
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
37
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
38 dskclean:
1026
33efa4eee488 Now has two distribution DSK images
boisy
parents: 960
diff changeset
39 -$(RM) $(PACKAGENAME) $(DSK1) $(DSK2)
454
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
40
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
41 dsk: all $(PACKAGENAME)
14157dc9e1d2 Major mods to Makefiles
boisy
parents: 323
diff changeset
42
1119
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1076
diff changeset
43 dskcopy: dsk
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1076
diff changeset
44 $(CP) $(DSK1) $(DSK2) $(PACKAGENAME) $(DSKDIR)
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1076
diff changeset
45
1026
33efa4eee488 Now has two distribution DSK images
boisy
parents: 960
diff changeset
46 $(PACKAGENAME): $(DSK1) $(DSK2)
1122
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
47 $(ARCHIVE) $(PACKAGENAME) $(DSK1) $(DSK2) ReadMe ChangeLog
710
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
48
1026
33efa4eee488 Now has two distribution DSK images
boisy
parents: 960
diff changeset
49 $(DSK1):
1122
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
50 $(RM) $@
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
51 $(OS9FORMAT_DS40) $@ -n"OS-9 Level One System Disk"
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
52 $(OS9GEN) $@ -b=BOOTFILES/$(BOOTFILE) -t=BOOTFILES/$(KERNEL)
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
53 $(MAKDIR) $@,CMDS
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
54 $(MAKDIR) $@,SYS
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
55 $(CD) CMDS; $(CP) $(CMDS) ../$@,CMDS
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
56 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
1122
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
57 $(CD) SYS; $(CPL) $(SYS) ../$@,SYS
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
58 $(foreach file, $(SYS), $(OS9ATTR_TEXT) $@,SYS/$(file);)
1122
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
59 $(MAKDIR) $@,DEFS
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
60 $(CD) DEFS; $(CPL) $(DEFS) ../$@,DEFS
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
61 $(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
1122
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
62 $(CPL) $(ROOTFILES) $@,.
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
63 $(foreach file, $(ROOTFILES), $(OS9ATTR_TEXT) $@,$(file);)
710
4b8f2de93c51 Added DS40 target
boisy
parents: 588
diff changeset
64
1026
33efa4eee488 Now has two distribution DSK images
boisy
parents: 960
diff changeset
65 $(DSK2):
1122
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
66 $(RM) $@
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
67 $(OS9FORMAT_DS40) $@ -n"OS-9 Level One Modules Disk"
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
68 $(MAKDIR) $@,MODULES
99b993d4c94e Modified to use attr
boisy
parents: 1119
diff changeset
69 $(CD) MODULES; $(CP) $(MODULES) ../$@,MODULES
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1122
diff changeset
70 $(foreach file, $(MODULES), $(OS9ATTR_EXEC) $@,MODULES/$(file);)
1026
33efa4eee488 Now has two distribution DSK images
boisy
parents: 960
diff changeset
71