Mercurial > hg > Members > kono > nitros9-code
comparison 3rdparty/packages/sierra/spacequest1/makefile @ 2869:cfa6222348f7
makefiles: Separate OS9COPY and CP macros
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sun, 24 Nov 2013 11:18:28 +0100 |
parents | cfa46960b6bd |
children | 46c80d4b0de1 |
comparison
equal
deleted
inserted
replaced
2868:cfa46960b6bd | 2869:cfa6222348f7 |
---|---|
93 $(MERGE) $(OS9BOOT_40D)>os9boot | 93 $(MERGE) $(OS9BOOT_40D)>os9boot |
94 $(MERGE) $(KERNEL)>kernel | 94 $(MERGE) $(KERNEL)>kernel |
95 $(OS9GEN) $@ -b=os9boot -t=kernel | 95 $(OS9GEN) $@ -b=os9boot -t=kernel |
96 $(RM) os9boot kernel | 96 $(RM) os9boot kernel |
97 $(MAKDIR) $@,CMDS | 97 $(MAKDIR) $@,CMDS |
98 $(CP) $(CMDS) $@,CMDS | 98 $(OS9COPY) $(CMDS) $@,CMDS |
99 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | 99 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
100 $(MERGE) $(BOOTCMDS)>shell | 100 $(MERGE) $(BOOTCMDS)>shell |
101 $(CP) shell $@,CMDS | 101 $(OS9COPY) shell $@,CMDS |
102 $(RM) shell | 102 $(RM) shell |
103 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r | 103 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
104 $(OS9RENAME) $@,CMDS/sierra AutoEx | 104 $(OS9RENAME) $@,CMDS/sierra AutoEx |
105 $(CPL) $(TEXTFILES_D1) $@,. | 105 $(CPL) $(TEXTFILES_D1) $@,. |
106 $(OS9RENAME) $@,tOC_40d.txt tOC.txt | 106 $(OS9RENAME) $@,tOC_40d.txt tOC.txt |
107 $(MOVE) tocgen toctmp | 107 $(MOVE) tocgen toctmp |
108 tocgen $@,tOC.txt $@,tOC | 108 tocgen $@,tOC.txt $@,tOC |
109 $(MOVE) toctmp tocgen | 109 $(MOVE) toctmp tocgen |
110 $(CP) $(SUPPORTFILES_D1) $@,. | 110 $(OS9COPY) $(SUPPORTFILES_D1) $@,. |
111 | 111 |
112 $(DISK_2_40D): | 112 $(DISK_2_40D): |
113 $(RM) $@ | 113 $(RM) $@ |
114 $(OS9FORMAT_DS40) -q $@ -n$(DISK_2_40D_NAME) | 114 $(OS9FORMAT_DS40) -q $@ -n$(DISK_2_40D_NAME) |
115 $(CP) $(SUPPORTFILES_D2) $@,. | 115 $(OS9COPY) $(SUPPORTFILES_D2) $@,. |
116 | 116 |
117 $(DISK_80D): | 117 $(DISK_80D): |
118 $(RM) $@ | 118 $(RM) $@ |
119 $(CD) $(LEVEL2)/coco3; make | 119 $(CD) $(LEVEL2)/coco3; make |
120 $(OS9FORMAT_DS80) -q $@ -n$(DISK_80D_NAME) | 120 $(OS9FORMAT_DS80) -q $@ -n$(DISK_80D_NAME) |
121 $(MERGE) $(OS9BOOT_80D)>os9boot | 121 $(MERGE) $(OS9BOOT_80D)>os9boot |
122 $(MERGE) $(KERNEL)>kernel | 122 $(MERGE) $(KERNEL)>kernel |
123 $(OS9GEN) $@ -b=os9boot -t=kernel | 123 $(OS9GEN) $@ -b=os9boot -t=kernel |
124 $(RM) os9boot kernel | 124 $(RM) os9boot kernel |
125 $(MAKDIR) $@,CMDS | 125 $(MAKDIR) $@,CMDS |
126 $(CP) $(CMDS) $@,CMDS | 126 $(OS9COPY) $(CMDS) $@,CMDS |
127 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | 127 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
128 $(MERGE) $(BOOTCMDS)>shell | 128 $(MERGE) $(BOOTCMDS)>shell |
129 $(CP) shell $@,CMDS | 129 $(OS9COPY) shell $@,CMDS |
130 $(RM) shell | 130 $(RM) shell |
131 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r | 131 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
132 $(OS9RENAME) $@,CMDS/sierra AutoEx | 132 $(OS9RENAME) $@,CMDS/sierra AutoEx |
133 $(CPL) $(TEXTFILES) $@,. | 133 $(CPL) $(TEXTFILES) $@,. |
134 $(OS9RENAME) $@,tOC_80d.txt tOC.txt | 134 $(OS9RENAME) $@,tOC_80d.txt tOC.txt |
135 $(MOVE) tocgen toctmp | 135 $(MOVE) tocgen toctmp |
136 tocgen $@,tOC.txt $@,tOC | 136 tocgen $@,tOC.txt $@,tOC |
137 $(MOVE) toctmp tocgen | 137 $(MOVE) toctmp tocgen |
138 $(CP) $(SUPPORTFILES) $@,. | 138 $(OS9COPY) $(SUPPORTFILES) $@,. |
139 | 139 |
140 $(DISK_DW): | 140 $(DISK_DW): |
141 $(RM) $@ | 141 $(RM) $@ |
142 $(CD) $(LEVEL2)/coco3; make | 142 $(CD) $(LEVEL2)/coco3; make |
143 $(OS9FORMAT_DW) -q $@ -n$(DISK_DW_NAME) | 143 $(OS9FORMAT_DW) -q $@ -n$(DISK_DW_NAME) |
144 $(MERGE) $(OS9BOOT_DW)>os9boot | 144 $(MERGE) $(OS9BOOT_DW)>os9boot |
145 $(MERGE) $(KERNEL_DW)>kernel | 145 $(MERGE) $(KERNEL_DW)>kernel |
146 $(OS9GEN) $@ -b=os9boot -t=kernel | 146 $(OS9GEN) $@ -b=os9boot -t=kernel |
147 $(RM) os9boot kernel | 147 $(RM) os9boot kernel |
148 $(MAKDIR) $@,CMDS | 148 $(MAKDIR) $@,CMDS |
149 $(CP) $(CMDS) $@,CMDS | 149 $(OS9COPY) $(CMDS) $@,CMDS |
150 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | 150 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
151 $(MERGE) $(BOOTCMDS)>shell | 151 $(MERGE) $(BOOTCMDS)>shell |
152 $(CP) shell $@,CMDS | 152 $(OS9COPY) shell $@,CMDS |
153 $(RM) shell | 153 $(RM) shell |
154 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r | 154 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
155 $(OS9RENAME) $@,CMDS/sierra AutoEx | 155 $(OS9RENAME) $@,CMDS/sierra AutoEx |
156 $(CPL) $(TEXTFILES) $@,. | 156 $(CPL) $(TEXTFILES) $@,. |
157 $(OS9RENAME) $@,tOC_80d.txt tOC.txt | 157 $(OS9RENAME) $@,tOC_80d.txt tOC.txt |
158 $(MOVE) tocgen toctmp | 158 $(MOVE) tocgen toctmp |
159 tocgen $@,tOC.txt $@,tOC | 159 tocgen $@,tOC.txt $@,tOC |
160 $(MOVE) toctmp tocgen | 160 $(MOVE) toctmp tocgen |
161 $(CP) $(SUPPORTFILES) $@,. | 161 $(OS9COPY) $(SUPPORTFILES) $@,. |
162 | 162 |
163 $(DISK_DW_BECKER): | 163 $(DISK_DW_BECKER): |
164 $(RM) $@ | 164 $(RM) $@ |
165 $(CD) $(LEVEL2)/coco3; make | 165 $(CD) $(LEVEL2)/coco3; make |
166 $(OS9FORMAT_DW) -q $@ -n$(DISK_DW_NAME) | 166 $(OS9FORMAT_DW) -q $@ -n$(DISK_DW_NAME) |
167 $(MERGE) $(OS9BOOT_DW_BECKER)>os9boot | 167 $(MERGE) $(OS9BOOT_DW_BECKER)>os9boot |
168 $(MERGE) $(KERNEL_DW_BECKER)>kernel | 168 $(MERGE) $(KERNEL_DW_BECKER)>kernel |
169 $(OS9GEN) $@ -b=os9boot -t=kernel | 169 $(OS9GEN) $@ -b=os9boot -t=kernel |
170 $(RM) os9boot kernel | 170 $(RM) os9boot kernel |
171 $(MAKDIR) $@,CMDS | 171 $(MAKDIR) $@,CMDS |
172 $(CP) $(CMDS) $@,CMDS | 172 $(OS9COPY) $(CMDS) $@,CMDS |
173 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) | 173 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) |
174 $(MERGE) $(BOOTCMDS)>shell | 174 $(MERGE) $(BOOTCMDS)>shell |
175 $(CP) shell $@,CMDS | 175 $(OS9COPY) shell $@,CMDS |
176 $(RM) shell | 176 $(RM) shell |
177 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r | 177 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r |
178 $(OS9RENAME) $@,CMDS/sierra AutoEx | 178 $(OS9RENAME) $@,CMDS/sierra AutoEx |
179 $(CPL) $(TEXTFILES) $@,. | 179 $(CPL) $(TEXTFILES) $@,. |
180 $(OS9RENAME) $@,tOC_80d.txt tOC.txt | 180 $(OS9RENAME) $@,tOC_80d.txt tOC.txt |
181 $(MOVE) tocgen toctmp | 181 $(MOVE) tocgen toctmp |
182 tocgen $@,tOC.txt $@,tOC | 182 tocgen $@,tOC.txt $@,tOC |
183 $(MOVE) toctmp tocgen | 183 $(MOVE) toctmp tocgen |
184 $(CP) $(SUPPORTFILES) $@,. | 184 $(OS9COPY) $(SUPPORTFILES) $@,. |
185 | 185 |
186 dsk: all $(DSKS) | 186 dsk: all $(DSKS) |
187 | 187 |
188 dskcopy: dsk | 188 dskcopy: dsk |
189 $(CP) $(DSKS) $(DSKDIR) | 189 $(CP) $(DSKS) $(DSKDIR) |