1# unroll begin 2 3.IF "$(SCP1TARGETN)"!="" 4 5# try to get missing parfiles 6$(PAR)/%.par : $(SOLARPARDIR)/%.par 7 @@-$(MKDIRHIER) $(@:d:d) 8 $(COMMAND_ECHO)$(COPY) $< $@ 9 10LOCALSCP1FILES+=$(foreach,i,$(SCP1FILES) $(foreach,j,$(SCP1LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 11 12$(SCP1TARGETN): $(LOCALSCP1FILES) 13 @echo "Making: " $(@:f) 14 @@-$(MKDIRHIER) $(BIN)/$(SCP1LINK_PRODUCT_TYPE) 15 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP1FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 16.ENDIF 17 18# Anweisungen fuer das Linken 19# unroll begin 20 21.IF "$(SCP2TARGETN)"!="" 22 23# try to get missing parfiles 24$(PAR)/%.par : $(SOLARPARDIR)/%.par 25 @@-$(MKDIRHIER) $(@:d:d) 26 $(COMMAND_ECHO)$(COPY) $< $@ 27 28LOCALSCP2FILES+=$(foreach,i,$(SCP2FILES) $(foreach,j,$(SCP2LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 29 30$(SCP2TARGETN): $(LOCALSCP2FILES) 31 @echo "Making: " $(@:f) 32 @@-$(MKDIRHIER) $(BIN)/$(SCP2LINK_PRODUCT_TYPE) 33 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP2FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 34.ENDIF 35 36# Anweisungen fuer das Linken 37# unroll begin 38 39.IF "$(SCP3TARGETN)"!="" 40 41# try to get missing parfiles 42$(PAR)/%.par : $(SOLARPARDIR)/%.par 43 @@-$(MKDIRHIER) $(@:d:d) 44 $(COMMAND_ECHO)$(COPY) $< $@ 45 46LOCALSCP3FILES+=$(foreach,i,$(SCP3FILES) $(foreach,j,$(SCP3LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 47 48$(SCP3TARGETN): $(LOCALSCP3FILES) 49 @echo "Making: " $(@:f) 50 @@-$(MKDIRHIER) $(BIN)/$(SCP3LINK_PRODUCT_TYPE) 51 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP3FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 52.ENDIF 53 54# Anweisungen fuer das Linken 55# unroll begin 56 57.IF "$(SCP4TARGETN)"!="" 58 59# try to get missing parfiles 60$(PAR)/%.par : $(SOLARPARDIR)/%.par 61 @@-$(MKDIRHIER) $(@:d:d) 62 $(COMMAND_ECHO)$(COPY) $< $@ 63 64LOCALSCP4FILES+=$(foreach,i,$(SCP4FILES) $(foreach,j,$(SCP4LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 65 66$(SCP4TARGETN): $(LOCALSCP4FILES) 67 @echo "Making: " $(@:f) 68 @@-$(MKDIRHIER) $(BIN)/$(SCP4LINK_PRODUCT_TYPE) 69 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP4FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 70.ENDIF 71 72# Anweisungen fuer das Linken 73# unroll begin 74 75.IF "$(SCP5TARGETN)"!="" 76 77# try to get missing parfiles 78$(PAR)/%.par : $(SOLARPARDIR)/%.par 79 @@-$(MKDIRHIER) $(@:d:d) 80 $(COMMAND_ECHO)$(COPY) $< $@ 81 82LOCALSCP5FILES+=$(foreach,i,$(SCP5FILES) $(foreach,j,$(SCP5LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 83 84$(SCP5TARGETN): $(LOCALSCP5FILES) 85 @echo "Making: " $(@:f) 86 @@-$(MKDIRHIER) $(BIN)/$(SCP5LINK_PRODUCT_TYPE) 87 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP5FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 88.ENDIF 89 90# Anweisungen fuer das Linken 91# unroll begin 92 93.IF "$(SCP6TARGETN)"!="" 94 95# try to get missing parfiles 96$(PAR)/%.par : $(SOLARPARDIR)/%.par 97 @@-$(MKDIRHIER) $(@:d:d) 98 $(COMMAND_ECHO)$(COPY) $< $@ 99 100LOCALSCP6FILES+=$(foreach,i,$(SCP6FILES) $(foreach,j,$(SCP6LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 101 102$(SCP6TARGETN): $(LOCALSCP6FILES) 103 @echo "Making: " $(@:f) 104 @@-$(MKDIRHIER) $(BIN)/$(SCP6LINK_PRODUCT_TYPE) 105 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP6FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 106.ENDIF 107 108# Anweisungen fuer das Linken 109# unroll begin 110 111.IF "$(SCP7TARGETN)"!="" 112 113# try to get missing parfiles 114$(PAR)/%.par : $(SOLARPARDIR)/%.par 115 @@-$(MKDIRHIER) $(@:d:d) 116 $(COMMAND_ECHO)$(COPY) $< $@ 117 118LOCALSCP7FILES+=$(foreach,i,$(SCP7FILES) $(foreach,j,$(SCP7LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 119 120$(SCP7TARGETN): $(LOCALSCP7FILES) 121 @echo "Making: " $(@:f) 122 @@-$(MKDIRHIER) $(BIN)/$(SCP7LINK_PRODUCT_TYPE) 123 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP7FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 124.ENDIF 125 126# Anweisungen fuer das Linken 127# unroll begin 128 129.IF "$(SCP8TARGETN)"!="" 130 131# try to get missing parfiles 132$(PAR)/%.par : $(SOLARPARDIR)/%.par 133 @@-$(MKDIRHIER) $(@:d:d) 134 $(COMMAND_ECHO)$(COPY) $< $@ 135 136LOCALSCP8FILES+=$(foreach,i,$(SCP8FILES) $(foreach,j,$(SCP8LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 137 138$(SCP8TARGETN): $(LOCALSCP8FILES) 139 @echo "Making: " $(@:f) 140 @@-$(MKDIRHIER) $(BIN)/$(SCP8LINK_PRODUCT_TYPE) 141 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP8FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 142.ENDIF 143 144# Anweisungen fuer das Linken 145# unroll begin 146 147.IF "$(SCP9TARGETN)"!="" 148 149# try to get missing parfiles 150$(PAR)/%.par : $(SOLARPARDIR)/%.par 151 @@-$(MKDIRHIER) $(@:d:d) 152 $(COMMAND_ECHO)$(COPY) $< $@ 153 154LOCALSCP9FILES+=$(foreach,i,$(SCP9FILES) $(foreach,j,$(SCP9LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 155 156$(SCP9TARGETN): $(LOCALSCP9FILES) 157 @echo "Making: " $(@:f) 158 @@-$(MKDIRHIER) $(BIN)/$(SCP9LINK_PRODUCT_TYPE) 159 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP9FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 160.ENDIF 161 162# Anweisungen fuer das Linken 163# unroll begin 164 165.IF "$(SCP10TARGETN)"!="" 166 167# try to get missing parfiles 168$(PAR)/%.par : $(SOLARPARDIR)/%.par 169 @@-$(MKDIRHIER) $(@:d:d) 170 $(COMMAND_ECHO)$(COPY) $< $@ 171 172LOCALSCP10FILES+=$(foreach,i,$(SCP10FILES) $(foreach,j,$(SCP10LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 173 174$(SCP10TARGETN): $(LOCALSCP10FILES) 175 @echo "Making: " $(@:f) 176 @@-$(MKDIRHIER) $(BIN)/$(SCP10LINK_PRODUCT_TYPE) 177 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP10FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 178.ENDIF 179 180# Anweisungen fuer das Linken 181