comparison 3rdparty/packages/sierra/kingsquest3/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
99 $(MERGE) $(OS9BOOT_40D)>os9boot_40d 99 $(MERGE) $(OS9BOOT_40D)>os9boot_40d
100 $(MERGE) $(KERNEL)>kernel_1773 100 $(MERGE) $(KERNEL)>kernel_1773
101 $(OS9GEN) $(DISK_1_40D) -b=os9boot_40d -t=kernel_1773 101 $(OS9GEN) $(DISK_1_40D) -b=os9boot_40d -t=kernel_1773
102 $(RM) os9boot_40d kernel_1773 102 $(RM) os9boot_40d kernel_1773
103 $(MAKDIR) $(DISK_1_40D),CMDS 103 $(MAKDIR) $(DISK_1_40D),CMDS
104 $(CP) $(CMDS) $(DISK_1_40D),CMDS 104 $(OS9COPY) $(CMDS) $(DISK_1_40D),CMDS
105 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_1_40D),CMDS/$(file);) 105 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_1_40D),CMDS/$(file);)
106 $(MERGE) $(BOOTCMDS)>shell 106 $(MERGE) $(BOOTCMDS)>shell
107 $(CP) shell $(DISK_1_40D),CMDS 107 $(OS9COPY) shell $(DISK_1_40D),CMDS
108 $(RM) shell 108 $(RM) shell
109 $(OS9ATTR) $(DISK_1_40D),CMDS/shell -e -pe -pr -e -w -r 109 $(OS9ATTR) $(DISK_1_40D),CMDS/shell -e -pe -pr -e -w -r
110 $(OS9RENAME) $(DISK_1_40D),CMDS/sierra AutoEx 110 $(OS9RENAME) $(DISK_1_40D),CMDS/sierra AutoEx
111 $(CPL) $(TEXTFILES_D1) $(DISK_1_40D),. 111 $(CPL) $(TEXTFILES_D1) $(DISK_1_40D),.
112 $(OS9RENAME) $(DISK_1_40D),tOC_40d.txt tOC.txt 112 $(OS9RENAME) $(DISK_1_40D),tOC_40d.txt tOC.txt
113 $(CP) $(SUPPORTFILES_D1) $(DISK_1_40D),. 113 $(OS9COPY) $(SUPPORTFILES_D1) $(DISK_1_40D),.
114 $(MOVE) tocgen toctmp 114 $(MOVE) tocgen toctmp
115 tocgen $(DISK_1_40D),tOC.txt $(DISK_1_40D),tOC 115 tocgen $(DISK_1_40D),tOC.txt $(DISK_1_40D),tOC
116 $(MOVE) toctmp tocgen 116 $(MOVE) toctmp tocgen
117 $(OS9FORMAT_DS40) -q $(DISK_2_40D) -n$(DISK_2_40D_NAME) 117 $(OS9FORMAT_DS40) -q $(DISK_2_40D) -n$(DISK_2_40D_NAME)
118 $(CP) $(SUPPORTFILES_D2) $(DISK_2_40D),. 118 $(OS9COPY) $(SUPPORTFILES_D2) $(DISK_2_40D),.
119 $(OS9FORMAT_DS40) -q $(DISK_3_40D) -n$(DISK_3_40D_NAME) 119 $(OS9FORMAT_DS40) -q $(DISK_3_40D) -n$(DISK_3_40D_NAME)
120 $(CP) $(SUPPORTFILES_D3) $(DISK_3_40D),. 120 $(OS9COPY) $(SUPPORTFILES_D3) $(DISK_3_40D),.
121 121
122 dsk_80d: all 122 dsk_80d: all
123 $(RM) $(DISK_80D) 123 $(RM) $(DISK_80D)
124 $(CD) $(LEVEL2)/coco3; make 124 $(CD) $(LEVEL2)/coco3; make
125 $(OS9FORMAT_DS80) -q $(DISK_80D) -n$(DISK_80D_NAME) 125 $(OS9FORMAT_DS80) -q $(DISK_80D) -n$(DISK_80D_NAME)
126 $(MERGE) $(OS9BOOT_80D)>os9boot_80d 126 $(MERGE) $(OS9BOOT_80D)>os9boot_80d
127 $(MERGE) $(KERNEL)>kernel_1773 127 $(MERGE) $(KERNEL)>kernel_1773
128 $(OS9GEN) $(DISK_80D) -b=os9boot_80d -t=kernel_1773 128 $(OS9GEN) $(DISK_80D) -b=os9boot_80d -t=kernel_1773
129 $(RM) os9boot_80d kernel_1773 129 $(RM) os9boot_80d kernel_1773
130 $(MAKDIR) $(DISK_80D),CMDS 130 $(MAKDIR) $(DISK_80D),CMDS
131 $(CP) $(CMDS) $(DISK_80D),CMDS 131 $(OS9COPY) $(CMDS) $(DISK_80D),CMDS
132 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_80D),CMDS/$(file);) 132 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK_80D),CMDS/$(file);)
133 $(MERGE) $(BOOTCMDS)>shell 133 $(MERGE) $(BOOTCMDS)>shell
134 $(CP) shell $(DISK_80D),CMDS 134 $(OS9COPY) shell $(DISK_80D),CMDS
135 $(RM) shell 135 $(RM) shell
136 $(OS9ATTR) $(DISK_80D),CMDS/shell -e -pe -pr -e -w -r 136 $(OS9ATTR) $(DISK_80D),CMDS/shell -e -pe -pr -e -w -r
137 $(OS9RENAME) $(DISK_80D),CMDS/sierra AutoEx 137 $(OS9RENAME) $(DISK_80D),CMDS/sierra AutoEx
138 $(CPL) $(TEXTFILES) $(DISK_80D),. 138 $(CPL) $(TEXTFILES) $(DISK_80D),.
139 $(OS9RENAME) $(DISK_80D),tOC_80d.txt tOC.txt 139 $(OS9RENAME) $(DISK_80D),tOC_80d.txt tOC.txt
140 $(CP) $(SUPPORTFILES) $(DISK_80D),. 140 $(OS9COPY) $(SUPPORTFILES) $(DISK_80D),.
141 $(MOVE) tocgen toctmp 141 $(MOVE) tocgen toctmp
142 tocgen $(DISK_80D),tOC.txt $(DISK_80D),tOC 142 tocgen $(DISK_80D),tOC.txt $(DISK_80D),tOC
143 $(MOVE) toctmp tocgen 143 $(MOVE) toctmp tocgen
144 144
145 dsk_dw: all 145 dsk_dw: all
149 $(MERGE) $(BOOTFILE_DW)>os9boot_dw 149 $(MERGE) $(BOOTFILE_DW)>os9boot_dw
150 $(MERGE) $(KERNEL_DW)>kernel_dw 150 $(MERGE) $(KERNEL_DW)>kernel_dw
151 $(OS9GEN) $(DSK_DW) -b=os9boot_dw -t=kernel_dw 151 $(OS9GEN) $(DSK_DW) -b=os9boot_dw -t=kernel_dw
152 $(RM) os9boot_dw kernel_dw 152 $(RM) os9boot_dw kernel_dw
153 $(MAKDIR) $(DSK_DW),CMDS 153 $(MAKDIR) $(DSK_DW),CMDS
154 $(CP) $(CMDS) $(DSK_DW),CMDS 154 $(OS9COPY) $(CMDS) $(DSK_DW),CMDS
155 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DSK_DW),CMDS/$(file);) 155 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DSK_DW),CMDS/$(file);)
156 $(MERGE) $(BOOTCMDS)>shell 156 $(MERGE) $(BOOTCMDS)>shell
157 $(CP) shell $(DSK_DW),CMDS 157 $(OS9COPY) shell $(DSK_DW),CMDS
158 $(RM) shell 158 $(RM) shell
159 $(OS9ATTR) $(DSK_DW),CMDS/shell -e -pe -pr -e -w -r 159 $(OS9ATTR) $(DSK_DW),CMDS/shell -e -pe -pr -e -w -r
160 $(OS9RENAME) $(DSK_DW),CMDS/sierra AutoEx 160 $(OS9RENAME) $(DSK_DW),CMDS/sierra AutoEx
161 $(CPL) $(TEXTFILES_DW) $(DSK_DW),. 161 $(CPL) $(TEXTFILES_DW) $(DSK_DW),.
162 $(OS9RENAME) $(DSK_DW),tOC_dw.txt tOC.txt 162 $(OS9RENAME) $(DSK_DW),tOC_dw.txt tOC.txt
163 $(CP) $(SUPPORTFILES) $(DSK_DW),. 163 $(OS9COPY) $(SUPPORTFILES) $(DSK_DW),.
164 $(MOVE) tocgen toctmp 164 $(MOVE) tocgen toctmp
165 tocgen $(DSK_DW),tOC.txt $(DSK_DW),tOC 165 tocgen $(DSK_DW),tOC.txt $(DSK_DW),tOC
166 $(MOVE) toctmp tocgen 166 $(MOVE) toctmp tocgen
167 167
168 dsk_dw_becker: all 168 dsk_dw_becker: all
172 $(MERGE) $(BOOTFILE_DW_BECKER)>os9boot_dw 172 $(MERGE) $(BOOTFILE_DW_BECKER)>os9boot_dw
173 $(MERGE) $(KERNEL_DW_BECKER)>kernel_dw 173 $(MERGE) $(KERNEL_DW_BECKER)>kernel_dw
174 $(OS9GEN) $(DSK_DW_BECKER) -b=os9boot_dw -t=kernel_dw 174 $(OS9GEN) $(DSK_DW_BECKER) -b=os9boot_dw -t=kernel_dw
175 $(RM) os9boot_dw kernel_dw 175 $(RM) os9boot_dw kernel_dw
176 $(MAKDIR) $(DSK_DW_BECKER),CMDS 176 $(MAKDIR) $(DSK_DW_BECKER),CMDS
177 $(CP) $(CMDS) $(DSK_DW_BECKER),CMDS 177 $(OS9COPY) $(CMDS) $(DSK_DW_BECKER),CMDS
178 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DSK_DW_BECKER),CMDS/$(file);) 178 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DSK_DW_BECKER),CMDS/$(file);)
179 $(MERGE) $(BOOTCMDS)>shell 179 $(MERGE) $(BOOTCMDS)>shell
180 $(CP) shell $(DSK_DW_BECKER),CMDS 180 $(OS9COPY) shell $(DSK_DW_BECKER),CMDS
181 $(RM) shell 181 $(RM) shell
182 $(OS9ATTR) $(DSK_DW_BECKER),CMDS/shell -e -pe -pr -e -w -r 182 $(OS9ATTR) $(DSK_DW_BECKER),CMDS/shell -e -pe -pr -e -w -r
183 $(OS9RENAME) $(DSK_DW_BECKER),CMDS/sierra AutoEx 183 $(OS9RENAME) $(DSK_DW_BECKER),CMDS/sierra AutoEx
184 $(CPL) $(TEXTFILES_DW) $(DSK_DW_BECKER),. 184 $(CPL) $(TEXTFILES_DW) $(DSK_DW_BECKER),.
185 $(OS9RENAME) $(DSK_DW_BECKER),tOC_dw.txt tOC.txt 185 $(OS9RENAME) $(DSK_DW_BECKER),tOC_dw.txt tOC.txt
186 $(CP) $(SUPPORTFILES) $(DSK_DW_BECKER),. 186 $(OS9COPY) $(SUPPORTFILES) $(DSK_DW_BECKER),.
187 $(MOVE) tocgen toctmp 187 $(MOVE) tocgen toctmp
188 tocgen $(DSK_DW_BECKER),tOC.txt $(DSK_DW_BECKER),tOC 188 tocgen $(DSK_DW_BECKER),tOC.txt $(DSK_DW_BECKER),tOC
189 $(MOVE) toctmp tocgen 189 $(MOVE) toctmp tocgen
190 190
191 dsk: dsk_40d dsk_80d dsk_dw dsk_dw_becker 191 dsk: dsk_40d dsk_80d dsk_dw dsk_dw_becker