xref: /aoo42x/main/solenv/inc/_tg_srs.mk (revision d71964d5)
1# *************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20# *************************************************************
21# unroll begin
22
23.IF "$(SRS1NAME)"!=""
24
25$(MISC)/$(TARGET).$(SRS1NAME).dprr: $(LOCALIZE_ME_DEST)
26
27$(MISC)/$(TARGET).$(SRS1NAME).dprr: $(SRC1FILES)
28	@echo "Making:   " $(@:f)
29	@@-$(RM) $(MISC)/$(TARGET).$(SRS1NAME).dprr
30	$(COMMAND_ECHO)$(RSC) $(VERBOSITY) $(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) -I$(INCLOCPRJ)  -I$(INCLOCAL) -I$(INC) -I$(INCCOM) $(RSCDEFS) $(RSCUPDVERDEF) -fp={$(SRS)/$(SRS1NAME).srs} -fo=$@ -p=$(TARGET) $(SRC1FILES)
31
32.IF "$(WITH_LANG)"!=""
33
34$(foreach,i,$(SRC1FILES) $(COMMONMISC)/$(TARGET)/$i) : $$(@:f) $(LOCALIZESDF)
35	@echo "Making:   " $(@:f)
36	$(COMMAND_ECHO)-$(MKDIR) $(@:d)
37    $(COMMAND_ECHO)-$(RM) $@
38	$(COMMAND_ECHO)-$(MKDIRHIER)  $(COMMONMISC)$/$(PRJNAME)
39	$(COMMAND_ECHO)$(WRAPCMD) $(TRANSEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
40    $(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
41    $(COMMAND_ECHO)-$(RM) $@.$(INPATH)
42
43$(SRS)/$(SRS1NAME).srs: $(LOCALIZE_ME_DEST)
44
45$(SRS)/$(SRS1NAME).srs: $(foreach,i,$(SRC1FILES) $(COMMONMISC)/$(TARGET)/$i)
46.ELSE			# "$(WITH_LANG)"!=""
47$(SRS)/$(SRS1NAME).srs: $(SRC1FILES)
48.ENDIF			# "$(WITH_LANG)"!=""
49	@echo "Making:   " $(@:f)
50	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
51		$(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) \
52		$(INCLUDE) $(RSCDEFS) $(RSCUPDVERDEF) \
53		-fp=$@.$(INPATH) \
54		$< \
55	)
56	$(COMMAND_ECHO)-$(RM) $@
57	$(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
58	$(COMMAND_ECHO)-$(RM) $@.$(INPATH)
59
60.ENDIF          # "$(SRS1NAME)"!=""
61
62# unroll begin
63
64.IF "$(SRS2NAME)"!=""
65
66$(MISC)/$(TARGET).$(SRS2NAME).dprr: $(LOCALIZE_ME_DEST)
67
68$(MISC)/$(TARGET).$(SRS2NAME).dprr: $(SRC2FILES)
69	@echo "Making:   " $(@:f)
70	@@-$(RM) $(MISC)/$(TARGET).$(SRS2NAME).dprr
71	$(COMMAND_ECHO)$(RSC) $(VERBOSITY) $(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) -I$(INCLOCPRJ)  -I$(INCLOCAL) -I$(INC) -I$(INCCOM) $(RSCDEFS) $(RSCUPDVERDEF) -fp={$(SRS)/$(SRS2NAME).srs} -fo=$@ -p=$(TARGET) $(SRC2FILES)
72
73.IF "$(WITH_LANG)"!=""
74
75$(foreach,i,$(SRC2FILES) $(COMMONMISC)/$(TARGET)/$i) : $$(@:f) $(LOCALIZESDF)
76	@echo "Making:   " $(@:f)
77	$(COMMAND_ECHO)-$(MKDIR) $(@:d)
78    $(COMMAND_ECHO)-$(RM) $@
79	$(COMMAND_ECHO)-$(MKDIRHIER)  $(COMMONMISC)$/$(PRJNAME)
80	$(COMMAND_ECHO)$(WRAPCMD) $(TRANSEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
81    $(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
82    $(COMMAND_ECHO)-$(RM) $@.$(INPATH)
83
84$(SRS)/$(SRS2NAME).srs: $(LOCALIZE_ME_DEST)
85
86$(SRS)/$(SRS2NAME).srs: $(foreach,i,$(SRC2FILES) $(COMMONMISC)/$(TARGET)/$i)
87.ELSE			# "$(WITH_LANG)"!=""
88$(SRS)/$(SRS2NAME).srs: $(SRC2FILES)
89.ENDIF			# "$(WITH_LANG)"!=""
90	@echo "Making:   " $(@:f)
91	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
92		$(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) \
93		$(INCLUDE) $(RSCDEFS) $(RSCUPDVERDEF) \
94		-fp=$@.$(INPATH) \
95		$< \
96	)
97	$(COMMAND_ECHO)-$(RM) $@
98	$(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
99	$(COMMAND_ECHO)-$(RM) $@.$(INPATH)
100
101.ENDIF          # "$(SRS2NAME)"!=""
102
103# unroll begin
104
105.IF "$(SRS3NAME)"!=""
106
107$(MISC)/$(TARGET).$(SRS3NAME).dprr: $(LOCALIZE_ME_DEST)
108
109$(MISC)/$(TARGET).$(SRS3NAME).dprr: $(SRC3FILES)
110	@echo "Making:   " $(@:f)
111	@@-$(RM) $(MISC)/$(TARGET).$(SRS3NAME).dprr
112	$(COMMAND_ECHO)$(RSC) $(VERBOSITY) $(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) -I$(INCLOCPRJ)  -I$(INCLOCAL) -I$(INC) -I$(INCCOM) $(RSCDEFS) $(RSCUPDVERDEF) -fp={$(SRS)/$(SRS3NAME).srs} -fo=$@ -p=$(TARGET) $(SRC3FILES)
113
114.IF "$(WITH_LANG)"!=""
115
116$(foreach,i,$(SRC3FILES) $(COMMONMISC)/$(TARGET)/$i) : $$(@:f) $(LOCALIZESDF)
117	@echo "Making:   " $(@:f)
118	$(COMMAND_ECHO)-$(MKDIR) $(@:d)
119    $(COMMAND_ECHO)-$(RM) $@
120	$(COMMAND_ECHO)-$(MKDIRHIER)  $(COMMONMISC)$/$(PRJNAME)
121	$(COMMAND_ECHO)$(WRAPCMD) $(TRANSEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
122    $(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
123    $(COMMAND_ECHO)-$(RM) $@.$(INPATH)
124
125$(SRS)/$(SRS3NAME).srs: $(LOCALIZE_ME_DEST)
126
127$(SRS)/$(SRS3NAME).srs: $(foreach,i,$(SRC3FILES) $(COMMONMISC)/$(TARGET)/$i)
128.ELSE			# "$(WITH_LANG)"!=""
129$(SRS)/$(SRS3NAME).srs: $(SRC3FILES)
130.ENDIF			# "$(WITH_LANG)"!=""
131	@echo "Making:   " $(@:f)
132	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
133		$(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) \
134		$(INCLUDE) $(RSCDEFS) $(RSCUPDVERDEF) \
135		-fp=$@.$(INPATH) \
136		$< \
137	)
138	$(COMMAND_ECHO)-$(RM) $@
139	$(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
140	$(COMMAND_ECHO)-$(RM) $@.$(INPATH)
141
142.ENDIF          # "$(SRS3NAME)"!=""
143
144# unroll begin
145
146.IF "$(SRS4NAME)"!=""
147
148$(MISC)/$(TARGET).$(SRS4NAME).dprr: $(LOCALIZE_ME_DEST)
149
150$(MISC)/$(TARGET).$(SRS4NAME).dprr: $(SRC4FILES)
151	@echo "Making:   " $(@:f)
152	@@-$(RM) $(MISC)/$(TARGET).$(SRS4NAME).dprr
153	$(COMMAND_ECHO)$(RSC) $(VERBOSITY) $(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) -I$(INCLOCPRJ)  -I$(INCLOCAL) -I$(INC) -I$(INCCOM) $(RSCDEFS) $(RSCUPDVERDEF) -fp={$(SRS)/$(SRS4NAME).srs} -fo=$@ -p=$(TARGET) $(SRC4FILES)
154
155.IF "$(WITH_LANG)"!=""
156
157$(foreach,i,$(SRC4FILES) $(COMMONMISC)/$(TARGET)/$i) : $$(@:f) $(LOCALIZESDF)
158	@echo "Making:   " $(@:f)
159	$(COMMAND_ECHO)-$(MKDIR) $(@:d)
160    $(COMMAND_ECHO)-$(RM) $@
161	$(COMMAND_ECHO)-$(MKDIRHIER)  $(COMMONMISC)$/$(PRJNAME)
162	$(COMMAND_ECHO)$(WRAPCMD) $(TRANSEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
163    $(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
164    $(COMMAND_ECHO)-$(RM) $@.$(INPATH)
165
166$(SRS)/$(SRS4NAME).srs: $(LOCALIZE_ME_DEST)
167
168$(SRS)/$(SRS4NAME).srs: $(foreach,i,$(SRC4FILES) $(COMMONMISC)/$(TARGET)/$i)
169.ELSE			# "$(WITH_LANG)"!=""
170$(SRS)/$(SRS4NAME).srs: $(SRC4FILES)
171.ENDIF			# "$(WITH_LANG)"!=""
172	@echo "Making:   " $(@:f)
173	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
174		$(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) \
175		$(INCLUDE) $(RSCDEFS) $(RSCUPDVERDEF) \
176		-fp=$@.$(INPATH) \
177		$< \
178	)
179	$(COMMAND_ECHO)-$(RM) $@
180	$(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
181	$(COMMAND_ECHO)-$(RM) $@.$(INPATH)
182
183.ENDIF          # "$(SRS4NAME)"!=""
184
185# unroll begin
186
187.IF "$(SRS5NAME)"!=""
188
189$(MISC)/$(TARGET).$(SRS5NAME).dprr: $(LOCALIZE_ME_DEST)
190
191$(MISC)/$(TARGET).$(SRS5NAME).dprr: $(SRC5FILES)
192	@echo "Making:   " $(@:f)
193	@@-$(RM) $(MISC)/$(TARGET).$(SRS5NAME).dprr
194	$(COMMAND_ECHO)$(RSC) $(VERBOSITY) $(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) -I$(INCLOCPRJ)  -I$(INCLOCAL) -I$(INC) -I$(INCCOM) $(RSCDEFS) $(RSCUPDVERDEF) -fp={$(SRS)/$(SRS5NAME).srs} -fo=$@ -p=$(TARGET) $(SRC5FILES)
195
196.IF "$(WITH_LANG)"!=""
197
198$(foreach,i,$(SRC5FILES) $(COMMONMISC)/$(TARGET)/$i) : $$(@:f) $(LOCALIZESDF)
199	@echo "Making:   " $(@:f)
200	$(COMMAND_ECHO)-$(MKDIR) $(@:d)
201    $(COMMAND_ECHO)-$(RM) $@
202	$(COMMAND_ECHO)-$(MKDIRHIER)  $(COMMONMISC)$/$(PRJNAME)
203	$(COMMAND_ECHO)$(WRAPCMD) $(TRANSEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
204    $(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
205    $(COMMAND_ECHO)-$(RM) $@.$(INPATH)
206
207$(SRS)/$(SRS5NAME).srs: $(LOCALIZE_ME_DEST)
208
209$(SRS)/$(SRS5NAME).srs: $(foreach,i,$(SRC5FILES) $(COMMONMISC)/$(TARGET)/$i)
210.ELSE			# "$(WITH_LANG)"!=""
211$(SRS)/$(SRS5NAME).srs: $(SRC5FILES)
212.ENDIF			# "$(WITH_LANG)"!=""
213	@echo "Making:   " $(@:f)
214	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
215		$(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) \
216		$(INCLUDE) $(RSCDEFS) $(RSCUPDVERDEF) \
217		-fp=$@.$(INPATH) \
218		$< \
219	)
220	$(COMMAND_ECHO)-$(RM) $@
221	$(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
222	$(COMMAND_ECHO)-$(RM) $@.$(INPATH)
223
224.ENDIF          # "$(SRS5NAME)"!=""
225
226# unroll begin
227
228.IF "$(SRS6NAME)"!=""
229
230$(MISC)/$(TARGET).$(SRS6NAME).dprr: $(LOCALIZE_ME_DEST)
231
232$(MISC)/$(TARGET).$(SRS6NAME).dprr: $(SRC6FILES)
233	@echo "Making:   " $(@:f)
234	@@-$(RM) $(MISC)/$(TARGET).$(SRS6NAME).dprr
235	$(COMMAND_ECHO)$(RSC) $(VERBOSITY) $(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) -I$(INCLOCPRJ)  -I$(INCLOCAL) -I$(INC) -I$(INCCOM) $(RSCDEFS) $(RSCUPDVERDEF) -fp={$(SRS)/$(SRS6NAME).srs} -fo=$@ -p=$(TARGET) $(SRC6FILES)
236
237.IF "$(WITH_LANG)"!=""
238
239$(foreach,i,$(SRC6FILES) $(COMMONMISC)/$(TARGET)/$i) : $$(@:f) $(LOCALIZESDF)
240	@echo "Making:   " $(@:f)
241	$(COMMAND_ECHO)-$(MKDIR) $(@:d)
242    $(COMMAND_ECHO)-$(RM) $@
243	$(COMMAND_ECHO)-$(MKDIRHIER)  $(COMMONMISC)$/$(PRJNAME)
244	$(COMMAND_ECHO)$(WRAPCMD) $(TRANSEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
245    $(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
246    $(COMMAND_ECHO)-$(RM) $@.$(INPATH)
247
248$(SRS)/$(SRS6NAME).srs: $(LOCALIZE_ME_DEST)
249
250$(SRS)/$(SRS6NAME).srs: $(foreach,i,$(SRC6FILES) $(COMMONMISC)/$(TARGET)/$i)
251.ELSE			# "$(WITH_LANG)"!=""
252$(SRS)/$(SRS6NAME).srs: $(SRC6FILES)
253.ENDIF			# "$(WITH_LANG)"!=""
254	@echo "Making:   " $(@:f)
255	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
256		$(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) \
257		$(INCLUDE) $(RSCDEFS) $(RSCUPDVERDEF) \
258		-fp=$@.$(INPATH) \
259		$< \
260	)
261	$(COMMAND_ECHO)-$(RM) $@
262	$(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
263	$(COMMAND_ECHO)-$(RM) $@.$(INPATH)
264
265.ENDIF          # "$(SRS6NAME)"!=""
266
267# unroll begin
268
269.IF "$(SRS7NAME)"!=""
270
271$(MISC)/$(TARGET).$(SRS7NAME).dprr: $(LOCALIZE_ME_DEST)
272
273$(MISC)/$(TARGET).$(SRS7NAME).dprr: $(SRC7FILES)
274	@echo "Making:   " $(@:f)
275	@@-$(RM) $(MISC)/$(TARGET).$(SRS7NAME).dprr
276	$(COMMAND_ECHO)$(RSC) $(VERBOSITY) $(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) -I$(INCLOCPRJ)  -I$(INCLOCAL) -I$(INC) -I$(INCCOM) $(RSCDEFS) $(RSCUPDVERDEF) -fp={$(SRS)/$(SRS7NAME).srs} -fo=$@ -p=$(TARGET) $(SRC7FILES)
277
278.IF "$(WITH_LANG)"!=""
279
280$(foreach,i,$(SRC7FILES) $(COMMONMISC)/$(TARGET)/$i) : $$(@:f) $(LOCALIZESDF)
281	@echo "Making:   " $(@:f)
282	$(COMMAND_ECHO)-$(MKDIR) $(@:d)
283    $(COMMAND_ECHO)-$(RM) $@
284	$(COMMAND_ECHO)-$(MKDIRHIER)  $(COMMONMISC)$/$(PRJNAME)
285	$(COMMAND_ECHO)$(WRAPCMD) $(TRANSEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
286    $(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
287    $(COMMAND_ECHO)-$(RM) $@.$(INPATH)
288
289$(SRS)/$(SRS7NAME).srs: $(LOCALIZE_ME_DEST)
290
291$(SRS)/$(SRS7NAME).srs: $(foreach,i,$(SRC7FILES) $(COMMONMISC)/$(TARGET)/$i)
292.ELSE			# "$(WITH_LANG)"!=""
293$(SRS)/$(SRS7NAME).srs: $(SRC7FILES)
294.ENDIF			# "$(WITH_LANG)"!=""
295	@echo "Making:   " $(@:f)
296	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
297		$(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) \
298		$(INCLUDE) $(RSCDEFS) $(RSCUPDVERDEF) \
299		-fp=$@.$(INPATH) \
300		$< \
301	)
302	$(COMMAND_ECHO)-$(RM) $@
303	$(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
304	$(COMMAND_ECHO)-$(RM) $@.$(INPATH)
305
306.ENDIF          # "$(SRS7NAME)"!=""
307
308# unroll begin
309
310.IF "$(SRS8NAME)"!=""
311
312$(MISC)/$(TARGET).$(SRS8NAME).dprr: $(LOCALIZE_ME_DEST)
313
314$(MISC)/$(TARGET).$(SRS8NAME).dprr: $(SRC8FILES)
315	@echo "Making:   " $(@:f)
316	@@-$(RM) $(MISC)/$(TARGET).$(SRS8NAME).dprr
317	$(COMMAND_ECHO)$(RSC) $(VERBOSITY) $(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) -I$(INCLOCPRJ)  -I$(INCLOCAL) -I$(INC) -I$(INCCOM) $(RSCDEFS) $(RSCUPDVERDEF) -fp={$(SRS)/$(SRS8NAME).srs} -fo=$@ -p=$(TARGET) $(SRC8FILES)
318
319.IF "$(WITH_LANG)"!=""
320
321$(foreach,i,$(SRC8FILES) $(COMMONMISC)/$(TARGET)/$i) : $$(@:f) $(LOCALIZESDF)
322	@echo "Making:   " $(@:f)
323	$(COMMAND_ECHO)-$(MKDIR) $(@:d)
324    $(COMMAND_ECHO)-$(RM) $@
325	$(COMMAND_ECHO)-$(MKDIRHIER)  $(COMMONMISC)$/$(PRJNAME)
326	$(COMMAND_ECHO)$(WRAPCMD) $(TRANSEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
327    $(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
328    $(COMMAND_ECHO)-$(RM) $@.$(INPATH)
329
330$(SRS)/$(SRS8NAME).srs: $(LOCALIZE_ME_DEST)
331
332$(SRS)/$(SRS8NAME).srs: $(foreach,i,$(SRC8FILES) $(COMMONMISC)/$(TARGET)/$i)
333.ELSE			# "$(WITH_LANG)"!=""
334$(SRS)/$(SRS8NAME).srs: $(SRC8FILES)
335.ENDIF			# "$(WITH_LANG)"!=""
336	@echo "Making:   " $(@:f)
337	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
338		$(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) \
339		$(INCLUDE) $(RSCDEFS) $(RSCUPDVERDEF) \
340		-fp=$@.$(INPATH) \
341		$< \
342	)
343	$(COMMAND_ECHO)-$(RM) $@
344	$(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
345	$(COMMAND_ECHO)-$(RM) $@.$(INPATH)
346
347.ENDIF          # "$(SRS8NAME)"!=""
348
349# unroll begin
350
351.IF "$(SRS9NAME)"!=""
352
353$(MISC)/$(TARGET).$(SRS9NAME).dprr: $(LOCALIZE_ME_DEST)
354
355$(MISC)/$(TARGET).$(SRS9NAME).dprr: $(SRC9FILES)
356	@echo "Making:   " $(@:f)
357	@@-$(RM) $(MISC)/$(TARGET).$(SRS9NAME).dprr
358	$(COMMAND_ECHO)$(RSC) $(VERBOSITY) $(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) -I$(INCLOCPRJ)  -I$(INCLOCAL) -I$(INC) -I$(INCCOM) $(RSCDEFS) $(RSCUPDVERDEF) -fp={$(SRS)/$(SRS9NAME).srs} -fo=$@ -p=$(TARGET) $(SRC9FILES)
359
360.IF "$(WITH_LANG)"!=""
361
362$(foreach,i,$(SRC9FILES) $(COMMONMISC)/$(TARGET)/$i) : $$(@:f) $(LOCALIZESDF)
363	@echo "Making:   " $(@:f)
364	$(COMMAND_ECHO)-$(MKDIR) $(@:d)
365    $(COMMAND_ECHO)-$(RM) $@
366	$(COMMAND_ECHO)-$(MKDIRHIER)  $(COMMONMISC)$/$(PRJNAME)
367	$(COMMAND_ECHO)$(WRAPCMD) $(TRANSEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
368    $(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
369    $(COMMAND_ECHO)-$(RM) $@.$(INPATH)
370
371$(SRS)/$(SRS9NAME).srs: $(LOCALIZE_ME_DEST)
372
373$(SRS)/$(SRS9NAME).srs: $(foreach,i,$(SRC9FILES) $(COMMONMISC)/$(TARGET)/$i)
374.ELSE			# "$(WITH_LANG)"!=""
375$(SRS)/$(SRS9NAME).srs: $(SRC9FILES)
376.ENDIF			# "$(WITH_LANG)"!=""
377	@echo "Making:   " $(@:f)
378	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
379		$(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) \
380		$(INCLUDE) $(RSCDEFS) $(RSCUPDVERDEF) \
381		-fp=$@.$(INPATH) \
382		$< \
383	)
384	$(COMMAND_ECHO)-$(RM) $@
385	$(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
386	$(COMMAND_ECHO)-$(RM) $@.$(INPATH)
387
388.ENDIF          # "$(SRS9NAME)"!=""
389
390# unroll begin
391
392.IF "$(SRS10NAME)"!=""
393
394$(MISC)/$(TARGET).$(SRS10NAME).dprr: $(LOCALIZE_ME_DEST)
395
396$(MISC)/$(TARGET).$(SRS10NAME).dprr: $(SRC10FILES)
397	@echo "Making:   " $(@:f)
398	@@-$(RM) $(MISC)/$(TARGET).$(SRS10NAME).dprr
399	$(COMMAND_ECHO)$(RSC) $(VERBOSITY) $(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) -I$(INCLOCPRJ)  -I$(INCLOCAL) -I$(INC) -I$(INCCOM) $(RSCDEFS) $(RSCUPDVERDEF) -fp={$(SRS)/$(SRS10NAME).srs} -fo=$@ -p=$(TARGET) $(SRC10FILES)
400
401.IF "$(WITH_LANG)"!=""
402
403$(foreach,i,$(SRC10FILES) $(COMMONMISC)/$(TARGET)/$i) : $$(@:f) $(LOCALIZESDF)
404	@echo "Making:   " $(@:f)
405	$(COMMAND_ECHO)-$(MKDIR) $(@:d)
406    $(COMMAND_ECHO)-$(RM) $@
407	$(COMMAND_ECHO)-$(MKDIRHIER)  $(COMMONMISC)$/$(PRJNAME)
408	$(COMMAND_ECHO)$(WRAPCMD) $(TRANSEX) -p $(PRJNAME) -i $(@:f) -o $(@).$(INPATH) -m $(LOCALIZESDF) -l all
409    $(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
410    $(COMMAND_ECHO)-$(RM) $@.$(INPATH)
411
412$(SRS)/$(SRS10NAME).srs: $(LOCALIZE_ME_DEST)
413
414$(SRS)/$(SRS10NAME).srs: $(foreach,i,$(SRC10FILES) $(COMMONMISC)/$(TARGET)/$i)
415.ELSE			# "$(WITH_LANG)"!=""
416$(SRS)/$(SRS10NAME).srs: $(SRC10FILES)
417.ENDIF			# "$(WITH_LANG)"!=""
418	@echo "Making:   " $(@:f)
419	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
420		$(SRSDEFAULT) $(RSC_SRS_CHARSET) $(RSCFLAGS) -I$(RSCEXTINC) \
421		$(INCLUDE) $(RSCDEFS) $(RSCUPDVERDEF) \
422		-fp=$@.$(INPATH) \
423		$< \
424	)
425	$(COMMAND_ECHO)-$(RM) $@
426	$(COMMAND_ECHO)$(RENAME) $@.$(INPATH) $@
427	$(COMMAND_ECHO)-$(RM) $@.$(INPATH)
428
429.ENDIF          # "$(SRS10NAME)"!=""
430
431