comparison 3rdparty/packages/sierra/blackcauldron/makefile @ 2873:46c80d4b0de1

makefiles: Factor out OS9ATTR_* command when using foreach() in order to call the command once with all the files.
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 24 Nov 2013 13:26:20 +0100
parents cfa6222348f7
children 28ed72477814
comparison
equal deleted inserted replaced
2872:dbc6d0647ac4 2873:46c80d4b0de1
93 $(MERGE) $(KERNEL_FLOPPY)>kernel 93 $(MERGE) $(KERNEL_FLOPPY)>kernel
94 $(OS9GEN) $(DSK_1_40D) -b=os9boot -t=kernel 94 $(OS9GEN) $(DSK_1_40D) -b=os9boot -t=kernel
95 $(RM) os9boot kernel 95 $(RM) os9boot kernel
96 $(MAKDIR) $(DSK_1_40D),CMDS 96 $(MAKDIR) $(DSK_1_40D),CMDS
97 $(OS9COPY) $(CMDS) $(DSK_1_40D),CMDS 97 $(OS9COPY) $(CMDS) $(DSK_1_40D),CMDS
98 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DSK_1_40D),CMDS/$(file);) 98 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$(DSK_1_40D),CMDS/$(file))
99 $(MERGE) $(BOOTCMDS)>shell 99 $(MERGE) $(BOOTCMDS)>shell
100 $(OS9COPY) shell $(DSK_1_40D),CMDS 100 $(OS9COPY) shell $(DSK_1_40D),CMDS
101 $(RM) shell 101 $(RM) shell
102 $(OS9ATTR) $(DSK_1_40D),CMDS/shell -e -pe -pr -e -w -r 102 $(OS9ATTR) $(DSK_1_40D),CMDS/shell -e -pe -pr -e -w -r
103 $(OS9RENAME) $(DSK_1_40D),CMDS/sierra AutoEx 103 $(OS9RENAME) $(DSK_1_40D),CMDS/sierra AutoEx
118 $(MERGE) $(KERNEL_FLOPPY)>kernel 118 $(MERGE) $(KERNEL_FLOPPY)>kernel
119 $(OS9GEN) $(DSK_80D) -b=os9boot -t=kernel 119 $(OS9GEN) $(DSK_80D) -b=os9boot -t=kernel
120 $(RM) os9boot kernel 120 $(RM) os9boot kernel
121 $(MAKDIR) $(DSK_80D),CMDS 121 $(MAKDIR) $(DSK_80D),CMDS
122 $(OS9COPY) $(CMDS) $(DSK_80D),CMDS 122 $(OS9COPY) $(CMDS) $(DSK_80D),CMDS
123 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DSK_80D),CMDS/$(file);) 123 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$(DSK_80D),CMDS/$(file))
124 $(MERGE) $(BOOTCMDS)>shell 124 $(MERGE) $(BOOTCMDS)>shell
125 $(OS9COPY) shell $(DSK_80D),CMDS 125 $(OS9COPY) shell $(DSK_80D),CMDS
126 $(RM) shell 126 $(RM) shell
127 $(OS9ATTR) $(DSK_80D),CMDS/shell -e -pe -pr -e -w -r 127 $(OS9ATTR) $(DSK_80D),CMDS/shell -e -pe -pr -e -w -r
128 $(OS9RENAME) $(DSK_80D),CMDS/sierra AutoEx 128 $(OS9RENAME) $(DSK_80D),CMDS/sierra AutoEx
141 $(MERGE) $(KERNEL_DW)>kernel 141 $(MERGE) $(KERNEL_DW)>kernel
142 $(OS9GEN) $(DSK_DW) -b=os9boot -t=kernel 142 $(OS9GEN) $(DSK_DW) -b=os9boot -t=kernel
143 $(RM) os9boot kernel 143 $(RM) os9boot kernel
144 $(MAKDIR) $(DSK_DW),CMDS 144 $(MAKDIR) $(DSK_DW),CMDS
145 $(OS9COPY) $(CMDS) $(DSK_DW),CMDS 145 $(OS9COPY) $(CMDS) $(DSK_DW),CMDS
146 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DSK_DW),CMDS/$(file);) 146 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$(DSK_DW),CMDS/$(file))
147 $(MERGE) $(BOOTCMDS)>shell 147 $(MERGE) $(BOOTCMDS)>shell
148 $(OS9COPY) shell $(DSK_DW),CMDS 148 $(OS9COPY) shell $(DSK_DW),CMDS
149 $(RM) shell 149 $(RM) shell
150 $(OS9ATTR) $(DSK_DW),CMDS/shell -e -pe -pr -e -w -r 150 $(OS9ATTR) $(DSK_DW),CMDS/shell -e -pe -pr -e -w -r
151 $(OS9RENAME) $(DSK_DW),CMDS/sierra AutoEx 151 $(OS9RENAME) $(DSK_DW),CMDS/sierra AutoEx
164 $(MERGE) $(KERNEL_DW_BECKER)>kernel 164 $(MERGE) $(KERNEL_DW_BECKER)>kernel
165 $(OS9GEN) $(DSK_DW_BECKER) -b=os9boot -t=kernel 165 $(OS9GEN) $(DSK_DW_BECKER) -b=os9boot -t=kernel
166 $(RM) os9boot kernel 166 $(RM) os9boot kernel
167 $(MAKDIR) $(DSK_DW_BECKER),CMDS 167 $(MAKDIR) $(DSK_DW_BECKER),CMDS
168 $(OS9COPY) $(CMDS) $(DSK_DW_BECKER),CMDS 168 $(OS9COPY) $(CMDS) $(DSK_DW_BECKER),CMDS
169 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DSK_DW_BECKER),CMDS/$(file);) 169 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$(DSK_DW_BECKER),CMDS/$(file))
170 $(MERGE) $(BOOTCMDS)>shell 170 $(MERGE) $(BOOTCMDS)>shell
171 $(OS9COPY) shell $(DSK_DW_BECKER),CMDS 171 $(OS9COPY) shell $(DSK_DW_BECKER),CMDS
172 $(RM) shell 172 $(RM) shell
173 $(OS9ATTR) $(DSK_DW_BECKER),CMDS/shell -e -pe -pr -e -w -r 173 $(OS9ATTR) $(DSK_DW_BECKER),CMDS/shell -e -pe -pr -e -w -r
174 $(OS9RENAME) $(DSK_DW_BECKER),CMDS/sierra AutoEx 174 $(OS9RENAME) $(DSK_DW_BECKER),CMDS/sierra AutoEx