comparison 3rdparty/packages/sierra/goldrush/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 91d0226c431a
comparison
equal deleted inserted replaced
2868:cfa46960b6bd 2869:cfa6222348f7
89 $(MERGE) $(BOOTFILE_DW)>os9boot 89 $(MERGE) $(BOOTFILE_DW)>os9boot
90 $(MERGE) $(KERNEL_DW)>kernel 90 $(MERGE) $(KERNEL_DW)>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_DW) $@,. 101 $(CPL) $(TEXTFILES_DW) $@,.
102 $(OS9RENAME) $@,tOC_dw.txt tOC.txt 102 $(OS9RENAME) $@,tOC_dw.txt tOC.txt
103 $(CP) $(SUPPORTFILES_ALL) $@,. 103 $(OS9COPY) $(SUPPORTFILES_ALL) $@,.
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 $(DSKDWBECKER): 108 $(DSKDWBECKER):
112 $(MERGE) $(BOOTFILE_DW_BECKER)>os9boot 112 $(MERGE) $(BOOTFILE_DW_BECKER)>os9boot
113 $(MERGE) $(KERNEL_DW_BECKER)>kernel 113 $(MERGE) $(KERNEL_DW_BECKER)>kernel
114 $(OS9GEN) $@ -b=os9boot -t=kernel 114 $(OS9GEN) $@ -b=os9boot -t=kernel
115 $(RM) os9boot kernel 115 $(RM) os9boot kernel
116 $(MAKDIR) $@,CMDS 116 $(MAKDIR) $@,CMDS
117 $(CP) $(CMDS) $@,CMDS 117 $(OS9COPY) $(CMDS) $@,CMDS
118 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) 118 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
119 $(MERGE) $(BOOTCMDS)>shell 119 $(MERGE) $(BOOTCMDS)>shell
120 $(CP) shell $@,CMDS 120 $(OS9COPY) shell $@,CMDS
121 $(RM) shell 121 $(RM) shell
122 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r 122 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
123 $(OS9RENAME) $@,CMDS/sierra AutoEx 123 $(OS9RENAME) $@,CMDS/sierra AutoEx
124 $(CPL) $(TEXTFILES_DW_BECKER) $@,. 124 $(CPL) $(TEXTFILES_DW_BECKER) $@,.
125 $(OS9RENAME) $@,tOC_dw_becker.txt tOC.txt 125 $(OS9RENAME) $@,tOC_dw_becker.txt tOC.txt
126 $(CP) $(SUPPORTFILES_ALL) $@,. 126 $(OS9COPY) $(SUPPORTFILES_ALL) $@,.
127 $(MOVE) tocgen toctmp 127 $(MOVE) tocgen toctmp
128 tocgen $@,tOC.txt $@,tOC 128 tocgen $@,tOC.txt $@,tOC
129 $(MOVE) toctmp tocgen 129 $(MOVE) toctmp tocgen
130 130
131 $(DISK_1_80D): 131 $(DISK_1_80D):
135 $(MERGE) $(BOOTFILE_80D)>os9boot 135 $(MERGE) $(BOOTFILE_80D)>os9boot
136 $(MERGE) $(KERNEL_FLOPPY)>kernel 136 $(MERGE) $(KERNEL_FLOPPY)>kernel
137 $(OS9GEN) $@ -b=os9boot -t=kernel 137 $(OS9GEN) $@ -b=os9boot -t=kernel
138 $(RM) os9boot kernel 138 $(RM) os9boot kernel
139 $(MAKDIR) $@,CMDS 139 $(MAKDIR) $@,CMDS
140 $(CP) $(CMDS) $@,CMDS 140 $(OS9COPY) $(CMDS) $@,CMDS
141 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);) 141 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
142 $(MERGE) $(BOOTCMDS)>shell 142 $(MERGE) $(BOOTCMDS)>shell
143 $(CP) shell $@,CMDS 143 $(OS9COPY) shell $@,CMDS
144 $(RM) shell 144 $(RM) shell
145 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r 145 $(OS9ATTR) $@,CMDS/shell -e -pe -pr -e -w -r
146 $(OS9RENAME) $@,CMDS/sierra AutoEx 146 $(OS9RENAME) $@,CMDS/sierra AutoEx
147 $(CPL) $(TEXTFILES_D1) $@,. 147 $(CPL) $(TEXTFILES_D1) $@,.
148 $(OS9RENAME) $@,tOC_80d.txt tOC.txt 148 $(OS9RENAME) $@,tOC_80d.txt tOC.txt
149 $(CP) $(SUPPORTFILES_D1) $@,. 149 $(OS9COPY) $(SUPPORTFILES_D1) $@,.
150 $(MOVE) tocgen toctmp 150 $(MOVE) tocgen toctmp
151 tocgen $@,tOC.txt $@,tOC 151 tocgen $@,tOC.txt $@,tOC
152 $(MOVE) toctmp tocgen 152 $(MOVE) toctmp tocgen
153 153
154 154
155 $(DISK_2_80D): 155 $(DISK_2_80D):
156 $(RM) $@ 156 $(RM) $@
157 $(OS9FORMAT_DS80) -q $@ -n$(DISK_2_80D_NAME) 157 $(OS9FORMAT_DS80) -q $@ -n$(DISK_2_80D_NAME)
158 $(CP) $(SUPPORTFILES_D2) $@,. 158 $(OS9COPY) $(SUPPORTFILES_D2) $@,.
159 159
160 $(DISK_3_80D): 160 $(DISK_3_80D):
161 $(RM) $@ 161 $(RM) $@
162 $(OS9FORMAT_DS80) -q $@ -n$(DISK_3_80D_NAME) 162 $(OS9FORMAT_DS80) -q $@ -n$(DISK_3_80D_NAME)
163 $(CP) $(SUPPORTFILES_D3) $@,. 163 $(OS9COPY) $(SUPPORTFILES_D3) $@,.
164 164
165 dskcopy: dsk 165 dskcopy: dsk
166 $(CP) $(DSKS) $(DSKDIR) 166 $(CP) $(DSKS) $(DSKDIR)
167 167
168 dskclean: 168 dskclean: