merge the formfield patch from ooo-build
[ooovba.git] / solenv / inc / _tg_scp.mk
blob288bfa48741d9397351a93b23acf317f50e1964f
1 # unroll begin
3 .IF "$(SCP1TARGETN)"!=""
5 # try to get missing parfiles
6 $(PAR)/%.par : $(SOLARPARDIR)/%.par
7 @@-$(MKDIRHIER) $(@:d:d)
8 $(COMMAND_ECHO)$(COPY) $< $@
10 LOCALSCP1FILES=$(foreach,i,$(SCP1FILES) $(foreach,j,$(SCP1LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
12 $(SCP1TARGETN): $(LOCALSCP1FILES)
13 .IF "$(VERBOSE)" == "TRUE"
14 @echo ------------------------------
15 .ENDIF
16 @echo "Making: " $(@:f)
17 @@-$(MKDIRHIER) $(BIN)/$(SCP1LINK_PRODUCT_TYPE)
18 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP1FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
19 .ENDIF
21 # Anweisungen fuer das Linken
22 # unroll begin
24 .IF "$(SCP2TARGETN)"!=""
26 # try to get missing parfiles
27 $(PAR)/%.par : $(SOLARPARDIR)/%.par
28 @@-$(MKDIRHIER) $(@:d:d)
29 $(COMMAND_ECHO)$(COPY) $< $@
31 LOCALSCP2FILES=$(foreach,i,$(SCP2FILES) $(foreach,j,$(SCP2LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
33 $(SCP2TARGETN): $(LOCALSCP2FILES)
34 .IF "$(VERBOSE)" == "TRUE"
35 @echo ------------------------------
36 .ENDIF
37 @echo "Making: " $(@:f)
38 @@-$(MKDIRHIER) $(BIN)/$(SCP2LINK_PRODUCT_TYPE)
39 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP2FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
40 .ENDIF
42 # Anweisungen fuer das Linken
43 # unroll begin
45 .IF "$(SCP3TARGETN)"!=""
47 # try to get missing parfiles
48 $(PAR)/%.par : $(SOLARPARDIR)/%.par
49 @@-$(MKDIRHIER) $(@:d:d)
50 $(COMMAND_ECHO)$(COPY) $< $@
52 LOCALSCP3FILES=$(foreach,i,$(SCP3FILES) $(foreach,j,$(SCP3LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
54 $(SCP3TARGETN): $(LOCALSCP3FILES)
55 .IF "$(VERBOSE)" == "TRUE"
56 @echo ------------------------------
57 .ENDIF
58 @echo "Making: " $(@:f)
59 @@-$(MKDIRHIER) $(BIN)/$(SCP3LINK_PRODUCT_TYPE)
60 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP3FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
61 .ENDIF
63 # Anweisungen fuer das Linken
64 # unroll begin
66 .IF "$(SCP4TARGETN)"!=""
68 # try to get missing parfiles
69 $(PAR)/%.par : $(SOLARPARDIR)/%.par
70 @@-$(MKDIRHIER) $(@:d:d)
71 $(COMMAND_ECHO)$(COPY) $< $@
73 LOCALSCP4FILES=$(foreach,i,$(SCP4FILES) $(foreach,j,$(SCP4LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
75 $(SCP4TARGETN): $(LOCALSCP4FILES)
76 .IF "$(VERBOSE)" == "TRUE"
77 @echo ------------------------------
78 .ENDIF
79 @echo "Making: " $(@:f)
80 @@-$(MKDIRHIER) $(BIN)/$(SCP4LINK_PRODUCT_TYPE)
81 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP4FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
82 .ENDIF
84 # Anweisungen fuer das Linken
85 # unroll begin
87 .IF "$(SCP5TARGETN)"!=""
89 # try to get missing parfiles
90 $(PAR)/%.par : $(SOLARPARDIR)/%.par
91 @@-$(MKDIRHIER) $(@:d:d)
92 $(COMMAND_ECHO)$(COPY) $< $@
94 LOCALSCP5FILES=$(foreach,i,$(SCP5FILES) $(foreach,j,$(SCP5LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
96 $(SCP5TARGETN): $(LOCALSCP5FILES)
97 .IF "$(VERBOSE)" == "TRUE"
98 @echo ------------------------------
99 .ENDIF
100 @echo "Making: " $(@:f)
101 @@-$(MKDIRHIER) $(BIN)/$(SCP5LINK_PRODUCT_TYPE)
102 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP5FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
103 .ENDIF
105 # Anweisungen fuer das Linken
106 # unroll begin
108 .IF "$(SCP6TARGETN)"!=""
110 # try to get missing parfiles
111 $(PAR)/%.par : $(SOLARPARDIR)/%.par
112 @@-$(MKDIRHIER) $(@:d:d)
113 $(COMMAND_ECHO)$(COPY) $< $@
115 LOCALSCP6FILES=$(foreach,i,$(SCP6FILES) $(foreach,j,$(SCP6LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
117 $(SCP6TARGETN): $(LOCALSCP6FILES)
118 .IF "$(VERBOSE)" == "TRUE"
119 @echo ------------------------------
120 .ENDIF
121 @echo "Making: " $(@:f)
122 @@-$(MKDIRHIER) $(BIN)/$(SCP6LINK_PRODUCT_TYPE)
123 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP6FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
124 .ENDIF
126 # Anweisungen fuer das Linken
127 # unroll begin
129 .IF "$(SCP7TARGETN)"!=""
131 # try to get missing parfiles
132 $(PAR)/%.par : $(SOLARPARDIR)/%.par
133 @@-$(MKDIRHIER) $(@:d:d)
134 $(COMMAND_ECHO)$(COPY) $< $@
136 LOCALSCP7FILES=$(foreach,i,$(SCP7FILES) $(foreach,j,$(SCP7LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
138 $(SCP7TARGETN): $(LOCALSCP7FILES)
139 .IF "$(VERBOSE)" == "TRUE"
140 @echo ------------------------------
141 .ENDIF
142 @echo "Making: " $(@:f)
143 @@-$(MKDIRHIER) $(BIN)/$(SCP7LINK_PRODUCT_TYPE)
144 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP7FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
145 .ENDIF
147 # Anweisungen fuer das Linken
148 # unroll begin
150 .IF "$(SCP8TARGETN)"!=""
152 # try to get missing parfiles
153 $(PAR)/%.par : $(SOLARPARDIR)/%.par
154 @@-$(MKDIRHIER) $(@:d:d)
155 $(COMMAND_ECHO)$(COPY) $< $@
157 LOCALSCP8FILES=$(foreach,i,$(SCP8FILES) $(foreach,j,$(SCP8LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
159 $(SCP8TARGETN): $(LOCALSCP8FILES)
160 .IF "$(VERBOSE)" == "TRUE"
161 @echo ------------------------------
162 .ENDIF
163 @echo "Making: " $(@:f)
164 @@-$(MKDIRHIER) $(BIN)/$(SCP8LINK_PRODUCT_TYPE)
165 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP8FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
166 .ENDIF
168 # Anweisungen fuer das Linken
169 # unroll begin
171 .IF "$(SCP9TARGETN)"!=""
173 # try to get missing parfiles
174 $(PAR)/%.par : $(SOLARPARDIR)/%.par
175 @@-$(MKDIRHIER) $(@:d:d)
176 $(COMMAND_ECHO)$(COPY) $< $@
178 LOCALSCP9FILES=$(foreach,i,$(SCP9FILES) $(foreach,j,$(SCP9LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
180 $(SCP9TARGETN): $(LOCALSCP9FILES)
181 .IF "$(VERBOSE)" == "TRUE"
182 @echo ------------------------------
183 .ENDIF
184 @echo "Making: " $(@:f)
185 @@-$(MKDIRHIER) $(BIN)/$(SCP9LINK_PRODUCT_TYPE)
186 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP9FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
187 .ENDIF
189 # Anweisungen fuer das Linken
190 # unroll begin
192 .IF "$(SCP10TARGETN)"!=""
194 # try to get missing parfiles
195 $(PAR)/%.par : $(SOLARPARDIR)/%.par
196 @@-$(MKDIRHIER) $(@:d:d)
197 $(COMMAND_ECHO)$(COPY) $< $@
199 LOCALSCP10FILES=$(foreach,i,$(SCP10FILES) $(foreach,j,$(SCP10LINK_PRODUCT_TYPE) $(PAR)/$j/$i ))
201 $(SCP10TARGETN): $(LOCALSCP10FILES)
202 .IF "$(VERBOSE)" == "TRUE"
203 @echo ------------------------------
204 .ENDIF
205 @echo "Making: " $(@:f)
206 @@-$(MKDIRHIER) $(BIN)/$(SCP10LINK_PRODUCT_TYPE)
207 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP10FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@
208 .ENDIF
210 # Anweisungen fuer das Linken