3 .IF
"$(SCP1TARGETN)"!=""
5 # try to get missing parfiles
6 $(PAR
)/%.par
: $(SOLARPARDIR
)/%.par
7 @@
-$(MKDIRHIER
) $(@
:d
:d
)
10 LOCALSCP1FILES
=$(foreach,i
,$(SCP1FILES
) $(foreach,j
,$(SCP1LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
12 $(SCP1TARGETN
): $(LOCALSCP1FILES
)
13 @echo
------------------------------
15 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP1LINK_PRODUCT_TYPE
)
16 $(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP1FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
19 # Anweisungen fuer das Linken
22 .IF
"$(SCP2TARGETN)"!=""
24 # try to get missing parfiles
25 $(PAR
)/%.par
: $(SOLARPARDIR
)/%.par
26 @@
-$(MKDIRHIER
) $(@
:d
:d
)
29 LOCALSCP2FILES
=$(foreach,i
,$(SCP2FILES
) $(foreach,j
,$(SCP2LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
31 $(SCP2TARGETN
): $(LOCALSCP2FILES
)
32 @echo
------------------------------
34 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP2LINK_PRODUCT_TYPE
)
35 $(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP2FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
38 # Anweisungen fuer das Linken
41 .IF
"$(SCP3TARGETN)"!=""
43 # try to get missing parfiles
44 $(PAR
)/%.par
: $(SOLARPARDIR
)/%.par
45 @@
-$(MKDIRHIER
) $(@
:d
:d
)
48 LOCALSCP3FILES
=$(foreach,i
,$(SCP3FILES
) $(foreach,j
,$(SCP3LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
50 $(SCP3TARGETN
): $(LOCALSCP3FILES
)
51 @echo
------------------------------
53 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP3LINK_PRODUCT_TYPE
)
54 $(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP3FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
57 # Anweisungen fuer das Linken
60 .IF
"$(SCP4TARGETN)"!=""
62 # try to get missing parfiles
63 $(PAR
)/%.par
: $(SOLARPARDIR
)/%.par
64 @@
-$(MKDIRHIER
) $(@
:d
:d
)
67 LOCALSCP4FILES
=$(foreach,i
,$(SCP4FILES
) $(foreach,j
,$(SCP4LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
69 $(SCP4TARGETN
): $(LOCALSCP4FILES
)
70 @echo
------------------------------
72 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP4LINK_PRODUCT_TYPE
)
73 $(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP4FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
76 # Anweisungen fuer das Linken
79 .IF
"$(SCP5TARGETN)"!=""
81 # try to get missing parfiles
82 $(PAR
)/%.par
: $(SOLARPARDIR
)/%.par
83 @@
-$(MKDIRHIER
) $(@
:d
:d
)
86 LOCALSCP5FILES
=$(foreach,i
,$(SCP5FILES
) $(foreach,j
,$(SCP5LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
88 $(SCP5TARGETN
): $(LOCALSCP5FILES
)
89 @echo
------------------------------
91 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP5LINK_PRODUCT_TYPE
)
92 $(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP5FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
95 # Anweisungen fuer das Linken
98 .IF
"$(SCP6TARGETN)"!=""
100 # try to get missing parfiles
101 $(PAR
)/%.par
: $(SOLARPARDIR
)/%.par
102 @@
-$(MKDIRHIER
) $(@
:d
:d
)
105 LOCALSCP6FILES
=$(foreach,i
,$(SCP6FILES
) $(foreach,j
,$(SCP6LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
107 $(SCP6TARGETN
): $(LOCALSCP6FILES
)
108 @echo
------------------------------
110 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP6LINK_PRODUCT_TYPE
)
111 $(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP6FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
114 # Anweisungen fuer das Linken
117 .IF
"$(SCP7TARGETN)"!=""
119 # try to get missing parfiles
120 $(PAR
)/%.par
: $(SOLARPARDIR
)/%.par
121 @@
-$(MKDIRHIER
) $(@
:d
:d
)
124 LOCALSCP7FILES
=$(foreach,i
,$(SCP7FILES
) $(foreach,j
,$(SCP7LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
126 $(SCP7TARGETN
): $(LOCALSCP7FILES
)
127 @echo
------------------------------
129 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP7LINK_PRODUCT_TYPE
)
130 $(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP7FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
133 # Anweisungen fuer das Linken
136 .IF
"$(SCP8TARGETN)"!=""
138 # try to get missing parfiles
139 $(PAR
)/%.par
: $(SOLARPARDIR
)/%.par
140 @@
-$(MKDIRHIER
) $(@
:d
:d
)
143 LOCALSCP8FILES
=$(foreach,i
,$(SCP8FILES
) $(foreach,j
,$(SCP8LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
145 $(SCP8TARGETN
): $(LOCALSCP8FILES
)
146 @echo
------------------------------
148 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP8LINK_PRODUCT_TYPE
)
149 $(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP8FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
152 # Anweisungen fuer das Linken
155 .IF
"$(SCP9TARGETN)"!=""
157 # try to get missing parfiles
158 $(PAR
)/%.par
: $(SOLARPARDIR
)/%.par
159 @@
-$(MKDIRHIER
) $(@
:d
:d
)
162 LOCALSCP9FILES
=$(foreach,i
,$(SCP9FILES
) $(foreach,j
,$(SCP9LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
164 $(SCP9TARGETN
): $(LOCALSCP9FILES
)
165 @echo
------------------------------
167 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP9LINK_PRODUCT_TYPE
)
168 $(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP9FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
171 # Anweisungen fuer das Linken
174 .IF
"$(SCP10TARGETN)"!=""
176 # try to get missing parfiles
177 $(PAR
)/%.par
: $(SOLARPARDIR
)/%.par
178 @@
-$(MKDIRHIER
) $(@
:d
:d
)
181 LOCALSCP10FILES
=$(foreach,i
,$(SCP10FILES
) $(foreach,j
,$(SCP10LINK_PRODUCT_TYPE
) $(PAR
)/$j/$i ))
183 $(SCP10TARGETN
): $(LOCALSCP10FILES
)
184 @echo
------------------------------
186 @@
-$(MKDIRHIER
) $(BIN
)/$(SCP10LINK_PRODUCT_TYPE
)
187 $(SCPLINK
) $(SCPLINKFLAGS
) @@
$(mktmp
$(foreach,i
,$(SCP10FILES
) $(subst,$(@
:d
:d
:d
), $(@
:d
:d
))/$(i
:+","))) -o
$@
190 # Anweisungen fuer das Linken