comparison 3rdparty/packages/sierra/policequest1/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
89 $(MERGE) $(OS9BOOT_40D)>os9boot 89 $(MERGE) $(OS9BOOT_40D)>os9boot
90 $(MERGE) $(KERNEL)>kernel 90 $(MERGE) $(KERNEL)>kernel
91 $(OS9GEN) $@ -b=os9boot -t=kernel 91 $(OS9GEN) $@ -b=os9boot -t=kernel
92 $(RM) os9boot kernel 92 $(RM) os9boot kernel
93 $(MAKDIR) $@,CMDS 93 $(MAKDIR) $@,CMDS
94 $(CP) $(CMDS) $@,CMDS 94 $(OS9COPY) $(CMDS) $@,CMDS
95 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) 95 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
96 $(MERGE) $(BOOTCMDS)>shell 96 $(MERGE) $(BOOTCMDS)>shell
97 $(CP) shell $@,CMDS 97 $(OS9COPY) shell $@,CMDS
98 $(RM) shell 98 $(RM) shell
99 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r 99 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
100 $(OS9RENAME) $@,CMDS/sierra AutoEx 100 $(OS9RENAME) $@,CMDS/sierra AutoEx
101 $(CPL) $(TEXTFILES_D1) $@,. 101 $(CPL) $(TEXTFILES_D1) $@,.
102 $(OS9RENAME) $@,tOC_40d.txt tOC.txt 102 $(OS9RENAME) $@,tOC_40d.txt tOC.txt
103 $(CP) $(SUPPORTFILES_D1) $@,. 103 $(OS9COPY) $(SUPPORTFILES_D1) $@,.
104 $(MOVE) tocgen toctmp 104 $(MOVE) tocgen toctmp
105 tocgen $@,tOC.txt $@,tOC 105 tocgen $@,tOC.txt $@,tOC
106 $(MOVE) toctmp tocgen 106 $(MOVE) toctmp tocgen
107 107
108 $(DISK_2_40D): 108 $(DISK_2_40D):
109 $(RM) $@ 109 $(RM) $@
110 $(OS9FORMAT_DS40) -q $@ -n$(DISK_2_40D_NAME) 110 $(OS9FORMAT_DS40) -q $@ -n$(DISK_2_40D_NAME)
111 $(CP) $(SUPPORTFILES_D2) $@,. 111 $(OS9COPY) $(SUPPORTFILES_D2) $@,.
112 112
113 $(DISK_3_40D): 113 $(DISK_3_40D):
114 $(RM) $@ 114 $(RM) $@
115 $(OS9FORMAT_DS40) -q $@ -n$(DISK_3_40D_NAME) 115 $(OS9FORMAT_DS40) -q $@ -n$(DISK_3_40D_NAME)
116 $(CP) $(SUPPORTFILES_D3) $@,. 116 $(OS9COPY) $(SUPPORTFILES_D3) $@,.
117 117
118 $(DISK_DW): 118 $(DISK_DW):
119 $(RM) $@ 119 $(RM) $@
120 $(CD) $(LEVEL2)/coco3; make 120 $(CD) $(LEVEL2)/coco3; make
121 $(OS9FORMAT_DW) -q $@ -n$(DISK_DW_NAME) 121 $(OS9FORMAT_DW) -q $@ -n$(DISK_DW_NAME)
122 $(MERGE) $(OS9BOOT_DW)>os9boot 122 $(MERGE) $(OS9BOOT_DW)>os9boot
123 $(MERGE) $(KERNEL_DW)>kernel 123 $(MERGE) $(KERNEL_DW)>kernel
124 $(OS9GEN) $@ -b=os9boot -t=kernel 124 $(OS9GEN) $@ -b=os9boot -t=kernel
125 $(RM) os9boot kernel 125 $(RM) os9boot kernel
126 $(MAKDIR) $@,CMDS 126 $(MAKDIR) $@,CMDS
127 $(CP) $(CMDS) $@,CMDS 127 $(OS9COPY) $(CMDS) $@,CMDS
128 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) 128 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
129 $(MERGE) $(BOOTCMDS)>shell 129 $(MERGE) $(BOOTCMDS)>shell
130 $(CP) shell $@,CMDS 130 $(OS9COPY) shell $@,CMDS
131 $(RM) shell 131 $(RM) shell
132 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r 132 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
133 $(OS9RENAME) $@,CMDS/sierra AutoEx 133 $(OS9RENAME) $@,CMDS/sierra AutoEx
134 $(CPL) $(TEXTFILES_DW) $@,. 134 $(CPL) $(TEXTFILES_DW) $@,.
135 $(OS9RENAME) $@,tOC_dw.txt tOC.txt 135 $(OS9RENAME) $@,tOC_dw.txt tOC.txt
136 $(CP) $(SUPPORTFILES) $@,. 136 $(OS9COPY) $(SUPPORTFILES) $@,.
137 $(MOVE) tocgen toctmp 137 $(MOVE) tocgen toctmp
138 tocgen $@,tOC.txt $@,tOC 138 tocgen $@,tOC.txt $@,tOC
139 $(MOVE) toctmp tocgen 139 $(MOVE) toctmp tocgen
140 140
141 $(DISK_DW_BECKER): 141 $(DISK_DW_BECKER):
145 $(MERGE) $(OS9BOOT_DW_BECKER)>os9boot 145 $(MERGE) $(OS9BOOT_DW_BECKER)>os9boot
146 $(MERGE) $(KERNEL_DW_BECKER)>kernel 146 $(MERGE) $(KERNEL_DW_BECKER)>kernel
147 $(OS9GEN) $@ -b=os9boot -t=kernel 147 $(OS9GEN) $@ -b=os9boot -t=kernel
148 $(RM) os9boot kernel 148 $(RM) os9boot kernel
149 $(MAKDIR) $@,CMDS 149 $(MAKDIR) $@,CMDS
150 $(CP) $(CMDS) $@,CMDS 150 $(OS9COPY) $(CMDS) $@,CMDS
151 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) 151 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
152 $(MERGE) $(BOOTCMDS)>shell 152 $(MERGE) $(BOOTCMDS)>shell
153 $(CP) shell $@,CMDS 153 $(OS9COPY) shell $@,CMDS
154 $(RM) shell 154 $(RM) shell
155 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r 155 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
156 $(OS9RENAME) $@,CMDS/sierra AutoEx 156 $(OS9RENAME) $@,CMDS/sierra AutoEx
157 $(CPL) $(TEXTFILES_DW) $@,. 157 $(CPL) $(TEXTFILES_DW) $@,.
158 $(OS9RENAME) $@,tOC_dw.txt tOC.txt 158 $(OS9RENAME) $@,tOC_dw.txt tOC.txt
159 $(CP) $(SUPPORTFILES) $@,. 159 $(OS9COPY) $(SUPPORTFILES) $@,.
160 $(MOVE) tocgen toctmp 160 $(MOVE) tocgen toctmp
161 tocgen $@,tOC.txt $@,tOC 161 tocgen $@,tOC.txt $@,tOC
162 $(MOVE) toctmp tocgen 162 $(MOVE) toctmp tocgen
163 163
164 164