3 .IF
"$(SCP1TARGETN)"!=""
5 LOCALSCP1FILES
+=$(foreach,i
,$(SCP1FILES
) $(foreach,j
,$(SCP1LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
7 $(SCP1TARGETN
): $(LOCALSCP1FILES
)
8 @echo
"Making: " $(@
:f
)
9 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP1LINK_PRODUCT_TYPE
)
10 $(COMMAND_ECHO
)$(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP1FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
13 # Anweisungen fuer das Linken
16 .IF
"$(SCP2TARGETN)"!=""
18 LOCALSCP2FILES
+=$(foreach,i
,$(SCP2FILES
) $(foreach,j
,$(SCP2LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
20 $(SCP2TARGETN
): $(LOCALSCP2FILES
)
21 @echo
"Making: " $(@
:f
)
22 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP2LINK_PRODUCT_TYPE
)
23 $(COMMAND_ECHO
)$(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP2FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
26 # Anweisungen fuer das Linken
29 .IF
"$(SCP3TARGETN)"!=""
31 LOCALSCP3FILES
+=$(foreach,i
,$(SCP3FILES
) $(foreach,j
,$(SCP3LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
33 $(SCP3TARGETN
): $(LOCALSCP3FILES
)
34 @echo
"Making: " $(@
:f
)
35 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP3LINK_PRODUCT_TYPE
)
36 $(COMMAND_ECHO
)$(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP3FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
39 # Anweisungen fuer das Linken
42 .IF
"$(SCP4TARGETN)"!=""
44 LOCALSCP4FILES
+=$(foreach,i
,$(SCP4FILES
) $(foreach,j
,$(SCP4LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
46 $(SCP4TARGETN
): $(LOCALSCP4FILES
)
47 @echo
"Making: " $(@
:f
)
48 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP4LINK_PRODUCT_TYPE
)
49 $(COMMAND_ECHO
)$(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP4FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
52 # Anweisungen fuer das Linken
55 .IF
"$(SCP5TARGETN)"!=""
57 LOCALSCP5FILES
+=$(foreach,i
,$(SCP5FILES
) $(foreach,j
,$(SCP5LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
59 $(SCP5TARGETN
): $(LOCALSCP5FILES
)
60 @echo
"Making: " $(@
:f
)
61 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP5LINK_PRODUCT_TYPE
)
62 $(COMMAND_ECHO
)$(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP5FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
65 # Anweisungen fuer das Linken
68 .IF
"$(SCP6TARGETN)"!=""
70 LOCALSCP6FILES
+=$(foreach,i
,$(SCP6FILES
) $(foreach,j
,$(SCP6LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
72 $(SCP6TARGETN
): $(LOCALSCP6FILES
)
73 @echo
"Making: " $(@
:f
)
74 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP6LINK_PRODUCT_TYPE
)
75 $(COMMAND_ECHO
)$(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP6FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
78 # Anweisungen fuer das Linken
81 .IF
"$(SCP7TARGETN)"!=""
83 LOCALSCP7FILES
+=$(foreach,i
,$(SCP7FILES
) $(foreach,j
,$(SCP7LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
85 $(SCP7TARGETN
): $(LOCALSCP7FILES
)
86 @echo
"Making: " $(@
:f
)
87 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP7LINK_PRODUCT_TYPE
)
88 $(COMMAND_ECHO
)$(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP7FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
91 # Anweisungen fuer das Linken
94 .IF
"$(SCP8TARGETN)"!=""
96 LOCALSCP8FILES
+=$(foreach,i
,$(SCP8FILES
) $(foreach,j
,$(SCP8LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
98 $(SCP8TARGETN
): $(LOCALSCP8FILES
)
99 @echo
"Making: " $(@
:f
)
100 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP8LINK_PRODUCT_TYPE
)
101 $(COMMAND_ECHO
)$(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP8FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
104 # Anweisungen fuer das Linken
107 .IF
"$(SCP9TARGETN)"!=""
109 LOCALSCP9FILES
+=$(foreach,i
,$(SCP9FILES
) $(foreach,j
,$(SCP9LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
111 $(SCP9TARGETN
): $(LOCALSCP9FILES
)
112 @echo
"Making: " $(@
:f
)
113 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP9LINK_PRODUCT_TYPE
)
114 $(COMMAND_ECHO
)$(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP9FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
117 # Anweisungen fuer das Linken
120 .IF
"$(SCP10TARGETN)"!=""
122 LOCALSCP10FILES
+=$(foreach,i
,$(SCP10FILES
) $(foreach,j
,$(SCP10LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
124 $(SCP10TARGETN
): $(LOCALSCP10FILES
)
125 @echo
"Making: " $(@
:f
)
126 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP10LINK_PRODUCT_TYPE
)
127 $(COMMAND_ECHO
)$(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP10FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
130 # Anweisungen fuer das Linken