update dev300-m58
[ooovba.git] / solenv / inc / _tg_scp.mk
blobea37f37cccfda2b2428859646211491c513af087
1 # unroll begin
3 .IF "$(SCP1TARGETN)"!=""
5 # try to get missing parfiles
6 $(PAR)/%.par : $(SOLARPARDIR)/%.par
7 @@-$(MKDIRHIER) $(@:d:d)
8 $(COPY) $< $@
10 LOCALSCP1FILES=$(foreach,i,$(SCP1FILES) $(foreach,j,$(SCP1LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
12 $(SCP1TARGETN): $(LOCALSCP1FILES)
13 @echo ------------------------------
14 @echo Making: $@
15 @@-$(MKDIRHIER) $(BIN)/$(SCP1LINK_PRODUCT_TYPE)
16 $(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP1FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
17 .ENDIF
19 # Anweisungen fuer das Linken
20 # unroll begin
22 .IF "$(SCP2TARGETN)"!=""
24 # try to get missing parfiles
25 $(PAR)/%.par : $(SOLARPARDIR)/%.par
26 @@-$(MKDIRHIER) $(@:d:d)
27 $(COPY) $< $@
29 LOCALSCP2FILES=$(foreach,i,$(SCP2FILES) $(foreach,j,$(SCP2LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
31 $(SCP2TARGETN): $(LOCALSCP2FILES)
32 @echo ------------------------------
33 @echo Making: $@
34 @@-$(MKDIRHIER) $(BIN)/$(SCP2LINK_PRODUCT_TYPE)
35 $(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP2FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
36 .ENDIF
38 # Anweisungen fuer das Linken
39 # unroll begin
41 .IF "$(SCP3TARGETN)"!=""
43 # try to get missing parfiles
44 $(PAR)/%.par : $(SOLARPARDIR)/%.par
45 @@-$(MKDIRHIER) $(@:d:d)
46 $(COPY) $< $@
48 LOCALSCP3FILES=$(foreach,i,$(SCP3FILES) $(foreach,j,$(SCP3LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
50 $(SCP3TARGETN): $(LOCALSCP3FILES)
51 @echo ------------------------------
52 @echo Making: $@
53 @@-$(MKDIRHIER) $(BIN)/$(SCP3LINK_PRODUCT_TYPE)
54 $(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP3FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
55 .ENDIF
57 # Anweisungen fuer das Linken
58 # unroll begin
60 .IF "$(SCP4TARGETN)"!=""
62 # try to get missing parfiles
63 $(PAR)/%.par : $(SOLARPARDIR)/%.par
64 @@-$(MKDIRHIER) $(@:d:d)
65 $(COPY) $< $@
67 LOCALSCP4FILES=$(foreach,i,$(SCP4FILES) $(foreach,j,$(SCP4LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
69 $(SCP4TARGETN): $(LOCALSCP4FILES)
70 @echo ------------------------------
71 @echo Making: $@
72 @@-$(MKDIRHIER) $(BIN)/$(SCP4LINK_PRODUCT_TYPE)
73 $(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP4FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
74 .ENDIF
76 # Anweisungen fuer das Linken
77 # unroll begin
79 .IF "$(SCP5TARGETN)"!=""
81 # try to get missing parfiles
82 $(PAR)/%.par : $(SOLARPARDIR)/%.par
83 @@-$(MKDIRHIER) $(@:d:d)
84 $(COPY) $< $@
86 LOCALSCP5FILES=$(foreach,i,$(SCP5FILES) $(foreach,j,$(SCP5LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
88 $(SCP5TARGETN): $(LOCALSCP5FILES)
89 @echo ------------------------------
90 @echo Making: $@
91 @@-$(MKDIRHIER) $(BIN)/$(SCP5LINK_PRODUCT_TYPE)
92 $(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP5FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
93 .ENDIF
95 # Anweisungen fuer das Linken
96 # unroll begin
98 .IF "$(SCP6TARGETN)"!=""
100 # try to get missing parfiles
101 $(PAR)/%.par : $(SOLARPARDIR)/%.par
102 @@-$(MKDIRHIER) $(@:d:d)
103 $(COPY) $< $@
105 LOCALSCP6FILES=$(foreach,i,$(SCP6FILES) $(foreach,j,$(SCP6LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
107 $(SCP6TARGETN): $(LOCALSCP6FILES)
108 @echo ------------------------------
109 @echo Making: $@
110 @@-$(MKDIRHIER) $(BIN)/$(SCP6LINK_PRODUCT_TYPE)
111 $(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP6FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
112 .ENDIF
114 # Anweisungen fuer das Linken
115 # unroll begin
117 .IF "$(SCP7TARGETN)"!=""
119 # try to get missing parfiles
120 $(PAR)/%.par : $(SOLARPARDIR)/%.par
121 @@-$(MKDIRHIER) $(@:d:d)
122 $(COPY) $< $@
124 LOCALSCP7FILES=$(foreach,i,$(SCP7FILES) $(foreach,j,$(SCP7LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
126 $(SCP7TARGETN): $(LOCALSCP7FILES)
127 @echo ------------------------------
128 @echo Making: $@
129 @@-$(MKDIRHIER) $(BIN)/$(SCP7LINK_PRODUCT_TYPE)
130 $(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP7FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
131 .ENDIF
133 # Anweisungen fuer das Linken
134 # unroll begin
136 .IF "$(SCP8TARGETN)"!=""
138 # try to get missing parfiles
139 $(PAR)/%.par : $(SOLARPARDIR)/%.par
140 @@-$(MKDIRHIER) $(@:d:d)
141 $(COPY) $< $@
143 LOCALSCP8FILES=$(foreach,i,$(SCP8FILES) $(foreach,j,$(SCP8LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
145 $(SCP8TARGETN): $(LOCALSCP8FILES)
146 @echo ------------------------------
147 @echo Making: $@
148 @@-$(MKDIRHIER) $(BIN)/$(SCP8LINK_PRODUCT_TYPE)
149 $(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP8FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
150 .ENDIF
152 # Anweisungen fuer das Linken
153 # unroll begin
155 .IF "$(SCP9TARGETN)"!=""
157 # try to get missing parfiles
158 $(PAR)/%.par : $(SOLARPARDIR)/%.par
159 @@-$(MKDIRHIER) $(@:d:d)
160 $(COPY) $< $@
162 LOCALSCP9FILES=$(foreach,i,$(SCP9FILES) $(foreach,j,$(SCP9LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
164 $(SCP9TARGETN): $(LOCALSCP9FILES)
165 @echo ------------------------------
166 @echo Making: $@
167 @@-$(MKDIRHIER) $(BIN)/$(SCP9LINK_PRODUCT_TYPE)
168 $(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP9FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
169 .ENDIF
171 # Anweisungen fuer das Linken
172 # unroll begin
174 .IF "$(SCP10TARGETN)"!=""
176 # try to get missing parfiles
177 $(PAR)/%.par : $(SOLARPARDIR)/%.par
178 @@-$(MKDIRHIER) $(@:d:d)
179 $(COPY) $< $@
181 LOCALSCP10FILES=$(foreach,i,$(SCP10FILES) $(foreach,j,$(SCP10LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
183 $(SCP10TARGETN): $(LOCALSCP10FILES)
184 @echo ------------------------------
185 @echo Making: $@
186 @@-$(MKDIRHIER) $(BIN)/$(SCP10LINK_PRODUCT_TYPE)
187 $(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP10FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
188 .ENDIF
190 # Anweisungen fuer das Linken