xref: /aoo41x/main/solenv/inc/_tg_lib.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 "$(LIB1TARGET)" != ""
24.IF "$(LIB1ARCHIV)" != ""
25
26$(LIB1ARCHIV) :	$(LIB1TARGET)
27	@echo "Making:   " $(@:f)
28	@@-$(RM) $@
29.IF "$(GUI)"=="UNX"
30	@-$(RM) $(MISC)/$(LIB1ARCHIV:b).cmd
31.IF "$(OS)" =="HPUX_FRAG_HR"
32	@-$(RM) $(MISC)/$(LIB1ARCHIV:b)_closetempl.cmd
33	@echo $(LINK) +inst_close -c `cat $(LIB1TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB1ARCHIV:b)_closetempl.cmd
34	@cat $(MISC)/$(LIB1ARCHIV:b)_closetempl.cmd
35	@+source $(MISC)/$(LIB1ARCHIV:b)_closetempl.cmd
36.ENDIF
37	@echo $(LIBMGR) $(LIB1FLAGS) $(LIBFLAGS) $(LIB1ARCHIV) `cat $(LIB1TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB1ARCHIV:b).cmd
38.IF "$(OS)$(COM)"=="NETBSDGCC"
39	@echo  ranlib $(LIB1ARCHIV) >> $(MISC)/$(LIB1ARCHIV:b).cmd
40.ENDIF
41.IF "$(OS)" == "MACOSX"
42	@echo  ranlib $(LIB1ARCHIV) >> $(MISC)/$(LIB1ARCHIV:b).cmd
43.ENDIF
44.IF "$(VERBOSE)" == "TRUE"
45	@cat $(MISC)/$(LIB1ARCHIV:b).cmd
46.ENDIF
47	@+source $(MISC)/$(LIB1ARCHIV:b).cmd
48
49.ELIF "$(GUI)"=="OS2"
50
51	@ln -s $(LIB1TARGET) $(LIB1ARCHIV)
52
53.ELSE			# "$(GUI)"=="OS2"
54.IF "$(GUI)$(COM)"=="WNTGCC"
55	@+-$(RM) $(MISC)/$(LIB1ARCHIV:b).cmd
56	@+echo $(LIBMGR) $(LIB1FLAGS) $(LIBFLAGS) $(LIB1ARCHIV) `cat $(LIB1TARGET) | sed s#'^'$(ROUT)#$(PRJ)/$(ROUT)#g` > $(MISC)/$(LIB1ARCHIV:b).cmd
57	@+echo  ranlib $(LIB1ARCHIV) >> $(MISC)/$(LIB1ARCHIV:b).cmd
58.IF "$(VERBOSE)" == "TRUE"
59	@cat $(MISC)/$(LIB1ARCHIV:b).cmd
60.ENDIF
61	@+source $(MISC)/$(LIB1ARCHIV:b).cmd
62.ELSE
63	@echo just a dummy > $@
64.ENDIF			# "$(GUI)$(COM)"=="WNTGCC"
65.ENDIF			# "$(GUI)"=="UNX"
66
67.ENDIF			# "$(LIB1ARCHIV)" != ""
68
69$(LIB1TARGET) :	$(LIB1FILES) \
70						$(LIB1OBJFILES) \
71						$(LIB1DEPN)
72.IF "$(VERBOSE)" == "TRUE"
73	@echo ------------------------------
74	@echo using: $(LIB1FILES)
75	@echo using: $(LIB1TARGET)
76	@echo ------------------------------
77.ENDIF
78	@echo "Making:   " $(@:f)
79	@@-$(RM) $@
80.IF "$(GUI)"=="UNX"
81	@echo $(LIB1OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
82	@cat /dev/null $(LIB1FILES:s/.obj/.o/) | xargs -n 1 >> $@
83	@$(RM) $(@:d)$(@:b).dump
84.IF "$(OS)"=="MACOSX"
85	@-nm `cat $(LIB1TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
86.ELSE
87	@nm `cat $(LIB1TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
88.ENDIF
89
90.ELIF "$(GUI)"=="OS2"
91	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) $@ $(LIB1FILES) $(LIB1OBJFILES)
92	@+-$(RM) $(@:s/.lib/.lin/)
93.IF "$(LIB1OBJFILES)"!=""
94	@+$(TYPE) $(mktmp $(LIB1OBJFILES)) > $(null,$(LIB1OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
95.ENDIF          # "$(LIB1OBJFILES)"!=""
96.IF "$(LIB1FILES)"!=""
97	@-$(TYPE) $(foreach,i,$(LIB1FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
98.ENDIF          # "$(LIB1FILES)"!=""
99	@+$(ECHONL)
100
101.ELSE			# "$(GUI)"=="UNX"
102.IF "$(GUI)"=="WNT"
103.IF "$(COM)"=="GCC"
104	+$(ECHONL) $(LIB1OBJFILES) | sed "s#$(PRJ:s/././)/$(ROUT)#$(ROUT)#g" | xargs -n1 > $@
105	@+cat /dev/null $(LIB1FILES) | xargs -n1 >> $@
106.ELSE
107	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB1FILES) $(LIB1OBJFILES))
108    @-$(RM) $(@:s/.lib/.lin/)
109.IF "$(LIB1OBJFILES)"!=""
110	@$(TYPE) $(mktmp $(LIB1OBJFILES)) > $(null,$(LIB1OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
111.ENDIF          # "$(LIB1OBJFILES)"!=""
112.IF "$(LIB1FILES)"!=""
113	@-$(TYPE) $(foreach,i,$(LIB1FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
114.ENDIF          # "$(LIB1FILES)"!=""
115	@$(ECHONL)
116.ENDIF          # "$(LIB1FILES)"!=""
117.ELSE			# "$(GUI)"=="WNT"
118	@-$(RM) $@
119  .IF "$(VERBOSE)" == "TRUE"
120	@echo $(LIBMGR) r $@ $(LIB1OBJFILES)
121  .ENDIF
122	$(COMMAND_ECHO)$(LIBMGR) r $@ $(LIB1OBJFILES) $(LIB1FILES) bla.lib
123.ENDIF          # "$(GUI)"=="WNT"
124.ENDIF          # "$(GUI)"=="UNX"
125.ENDIF          # "$(LIB1TARGET)" != ""
126
127# Anweisungen fuer das LIBTARGETs
128# unroll begin
129
130.IF "$(LIB2TARGET)" != ""
131.IF "$(LIB2ARCHIV)" != ""
132
133$(LIB2ARCHIV) :	$(LIB2TARGET)
134	@echo "Making:   " $(@:f)
135	@@-$(RM) $@
136.IF "$(GUI)"=="UNX"
137	@-$(RM) $(MISC)/$(LIB2ARCHIV:b).cmd
138.IF "$(OS)" =="HPUX_FRAG_HR"
139	@-$(RM) $(MISC)/$(LIB2ARCHIV:b)_closetempl.cmd
140	@echo $(LINK) +inst_close -c `cat $(LIB2TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB2ARCHIV:b)_closetempl.cmd
141	@cat $(MISC)/$(LIB2ARCHIV:b)_closetempl.cmd
142	@+source $(MISC)/$(LIB2ARCHIV:b)_closetempl.cmd
143.ENDIF
144	@echo $(LIBMGR) $(LIB2FLAGS) $(LIBFLAGS) $(LIB2ARCHIV) `cat $(LIB2TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB2ARCHIV:b).cmd
145.IF "$(OS)$(COM)"=="NETBSDGCC"
146	@echo  ranlib $(LIB2ARCHIV) >> $(MISC)/$(LIB2ARCHIV:b).cmd
147.ENDIF
148.IF "$(OS)" == "MACOSX"
149	@echo  ranlib $(LIB2ARCHIV) >> $(MISC)/$(LIB2ARCHIV:b).cmd
150.ENDIF
151.IF "$(VERBOSE)" == "TRUE"
152	@cat $(MISC)/$(LIB2ARCHIV:b).cmd
153.ENDIF
154	@+source $(MISC)/$(LIB2ARCHIV:b).cmd
155
156.ELIF "$(GUI)"=="OS2"
157
158	@ln -s $(LIB2TARGET) $(LIB2ARCHIV)
159
160.ELSE			# "$(GUI)"=="OS2"
161.IF "$(GUI)$(COM)"=="WNTGCC"
162	@+-$(RM) $(MISC)/$(LIB2ARCHIV:b).cmd
163	@+echo $(LIBMGR) $(LIB2FLAGS) $(LIBFLAGS) $(LIB2ARCHIV) `cat $(LIB2TARGET) | sed s#'^'$(ROUT)#$(PRJ)/$(ROUT)#g` > $(MISC)/$(LIB2ARCHIV:b).cmd
164	@+echo  ranlib $(LIB2ARCHIV) >> $(MISC)/$(LIB2ARCHIV:b).cmd
165.IF "$(VERBOSE)" == "TRUE"
166	@cat $(MISC)/$(LIB2ARCHIV:b).cmd
167.ENDIF
168	@+source $(MISC)/$(LIB2ARCHIV:b).cmd
169.ELSE
170	@echo just a dummy > $@
171.ENDIF			# "$(GUI)$(COM)"=="WNTGCC"
172.ENDIF			# "$(GUI)"=="UNX"
173
174.ENDIF			# "$(LIB2ARCHIV)" != ""
175
176$(LIB2TARGET) :	$(LIB2FILES) \
177						$(LIB2OBJFILES) \
178						$(LIB2DEPN)
179.IF "$(VERBOSE)" == "TRUE"
180	@echo ------------------------------
181	@echo using: $(LIB2FILES)
182	@echo using: $(LIB2TARGET)
183	@echo ------------------------------
184.ENDIF
185	@echo "Making:   " $(@:f)
186	@@-$(RM) $@
187.IF "$(GUI)"=="UNX"
188	@echo $(LIB2OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
189	@cat /dev/null $(LIB2FILES:s/.obj/.o/) | xargs -n 1 >> $@
190	@$(RM) $(@:d)$(@:b).dump
191.IF "$(OS)"=="MACOSX"
192	@-nm `cat $(LIB2TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
193.ELSE
194	@nm `cat $(LIB2TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
195.ENDIF
196
197.ELIF "$(GUI)"=="OS2"
198	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) $@ $(LIB2FILES) $(LIB2OBJFILES)
199	@+-$(RM) $(@:s/.lib/.lin/)
200.IF "$(LIB2OBJFILES)"!=""
201	@+$(TYPE) $(mktmp $(LIB2OBJFILES)) > $(null,$(LIB2OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
202.ENDIF          # "$(LIB2OBJFILES)"!=""
203.IF "$(LIB2FILES)"!=""
204	@-$(TYPE) $(foreach,i,$(LIB2FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
205.ENDIF          # "$(LIB2FILES)"!=""
206	@+$(ECHONL)
207
208.ELSE			# "$(GUI)"=="UNX"
209.IF "$(GUI)"=="WNT"
210.IF "$(COM)"=="GCC"
211	+$(ECHONL) $(LIB2OBJFILES) | sed "s#$(PRJ:s/././)/$(ROUT)#$(ROUT)#g" | xargs -n1 > $@
212	@+cat /dev/null $(LIB2FILES) | xargs -n1 >> $@
213.ELSE
214	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB2FILES) $(LIB2OBJFILES))
215    @-$(RM) $(@:s/.lib/.lin/)
216.IF "$(LIB2OBJFILES)"!=""
217	@$(TYPE) $(mktmp $(LIB2OBJFILES)) > $(null,$(LIB2OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
218.ENDIF          # "$(LIB2OBJFILES)"!=""
219.IF "$(LIB2FILES)"!=""
220	@-$(TYPE) $(foreach,i,$(LIB2FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
221.ENDIF          # "$(LIB2FILES)"!=""
222	@$(ECHONL)
223.ENDIF          # "$(LIB2FILES)"!=""
224.ELSE			# "$(GUI)"=="WNT"
225	@-$(RM) $@
226  .IF "$(VERBOSE)" == "TRUE"
227	@echo $(LIBMGR) r $@ $(LIB2OBJFILES)
228  .ENDIF
229	$(COMMAND_ECHO)$(LIBMGR) r $@ $(LIB2OBJFILES) $(LIB2FILES) bla.lib
230.ENDIF          # "$(GUI)"=="WNT"
231.ENDIF          # "$(GUI)"=="UNX"
232.ENDIF          # "$(LIB2TARGET)" != ""
233
234# Anweisungen fuer das LIBTARGETs
235# unroll begin
236
237.IF "$(LIB3TARGET)" != ""
238.IF "$(LIB3ARCHIV)" != ""
239
240$(LIB3ARCHIV) :	$(LIB3TARGET)
241	@echo "Making:   " $(@:f)
242	@@-$(RM) $@
243.IF "$(GUI)"=="UNX"
244	@-$(RM) $(MISC)/$(LIB3ARCHIV:b).cmd
245.IF "$(OS)" =="HPUX_FRAG_HR"
246	@-$(RM) $(MISC)/$(LIB3ARCHIV:b)_closetempl.cmd
247	@echo $(LINK) +inst_close -c `cat $(LIB3TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB3ARCHIV:b)_closetempl.cmd
248	@cat $(MISC)/$(LIB3ARCHIV:b)_closetempl.cmd
249	@+source $(MISC)/$(LIB3ARCHIV:b)_closetempl.cmd
250.ENDIF
251	@echo $(LIBMGR) $(LIB3FLAGS) $(LIBFLAGS) $(LIB3ARCHIV) `cat $(LIB3TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB3ARCHIV:b).cmd
252.IF "$(OS)$(COM)"=="NETBSDGCC"
253	@echo  ranlib $(LIB3ARCHIV) >> $(MISC)/$(LIB3ARCHIV:b).cmd
254.ENDIF
255.IF "$(OS)" == "MACOSX"
256	@echo  ranlib $(LIB3ARCHIV) >> $(MISC)/$(LIB3ARCHIV:b).cmd
257.ENDIF
258.IF "$(VERBOSE)" == "TRUE"
259	@cat $(MISC)/$(LIB3ARCHIV:b).cmd
260.ENDIF
261	@+source $(MISC)/$(LIB3ARCHIV:b).cmd
262
263.ELIF "$(GUI)"=="OS2"
264
265	@ln -s $(LIB3TARGET) $(LIB3ARCHIV)
266
267.ELSE			# "$(GUI)"=="OS2"
268.IF "$(GUI)$(COM)"=="WNTGCC"
269	@+-$(RM) $(MISC)/$(LIB3ARCHIV:b).cmd
270	@+echo $(LIBMGR) $(LIB3FLAGS) $(LIBFLAGS) $(LIB3ARCHIV) `cat $(LIB3TARGET) | sed s#'^'$(ROUT)#$(PRJ)/$(ROUT)#g` > $(MISC)/$(LIB3ARCHIV:b).cmd
271	@+echo  ranlib $(LIB3ARCHIV) >> $(MISC)/$(LIB3ARCHIV:b).cmd
272.IF "$(VERBOSE)" == "TRUE"
273	@cat $(MISC)/$(LIB3ARCHIV:b).cmd
274.ENDIF
275	@+source $(MISC)/$(LIB3ARCHIV:b).cmd
276.ELSE
277	@echo just a dummy > $@
278.ENDIF			# "$(GUI)$(COM)"=="WNTGCC"
279.ENDIF			# "$(GUI)"=="UNX"
280
281.ENDIF			# "$(LIB3ARCHIV)" != ""
282
283$(LIB3TARGET) :	$(LIB3FILES) \
284						$(LIB3OBJFILES) \
285						$(LIB3DEPN)
286.IF "$(VERBOSE)" == "TRUE"
287	@echo ------------------------------
288	@echo using: $(LIB3FILES)
289	@echo using: $(LIB3TARGET)
290	@echo ------------------------------
291.ENDIF
292	@echo "Making:   " $(@:f)
293	@@-$(RM) $@
294.IF "$(GUI)"=="UNX"
295	@echo $(LIB3OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
296	@cat /dev/null $(LIB3FILES:s/.obj/.o/) | xargs -n 1 >> $@
297	@$(RM) $(@:d)$(@:b).dump
298.IF "$(OS)"=="MACOSX"
299	@-nm `cat $(LIB3TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
300.ELSE
301	@nm `cat $(LIB3TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
302.ENDIF
303
304.ELIF "$(GUI)"=="OS2"
305	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) $@ $(LIB3FILES) $(LIB3OBJFILES)
306	@+-$(RM) $(@:s/.lib/.lin/)
307.IF "$(LIB3OBJFILES)"!=""
308	@+$(TYPE) $(mktmp $(LIB3OBJFILES)) > $(null,$(LIB3OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
309.ENDIF          # "$(LIB3OBJFILES)"!=""
310.IF "$(LIB3FILES)"!=""
311	@-$(TYPE) $(foreach,i,$(LIB3FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
312.ENDIF          # "$(LIB3FILES)"!=""
313	@+$(ECHONL)
314
315.ELSE			# "$(GUI)"=="UNX"
316.IF "$(GUI)"=="WNT"
317.IF "$(COM)"=="GCC"
318	+$(ECHONL) $(LIB3OBJFILES) | sed "s#$(PRJ:s/././)/$(ROUT)#$(ROUT)#g" | xargs -n1 > $@
319	@+cat /dev/null $(LIB3FILES) | xargs -n1 >> $@
320.ELSE
321	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB3FILES) $(LIB3OBJFILES))
322    @-$(RM) $(@:s/.lib/.lin/)
323.IF "$(LIB3OBJFILES)"!=""
324	@$(TYPE) $(mktmp $(LIB3OBJFILES)) > $(null,$(LIB3OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
325.ENDIF          # "$(LIB3OBJFILES)"!=""
326.IF "$(LIB3FILES)"!=""
327	@-$(TYPE) $(foreach,i,$(LIB3FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
328.ENDIF          # "$(LIB3FILES)"!=""
329	@$(ECHONL)
330.ENDIF          # "$(LIB3FILES)"!=""
331.ELSE			# "$(GUI)"=="WNT"
332	@-$(RM) $@
333  .IF "$(VERBOSE)" == "TRUE"
334	@echo $(LIBMGR) r $@ $(LIB3OBJFILES)
335  .ENDIF
336	$(COMMAND_ECHO)$(LIBMGR) r $@ $(LIB3OBJFILES) $(LIB3FILES) bla.lib
337.ENDIF          # "$(GUI)"=="WNT"
338.ENDIF          # "$(GUI)"=="UNX"
339.ENDIF          # "$(LIB3TARGET)" != ""
340
341# Anweisungen fuer das LIBTARGETs
342# unroll begin
343
344.IF "$(LIB4TARGET)" != ""
345.IF "$(LIB4ARCHIV)" != ""
346
347$(LIB4ARCHIV) :	$(LIB4TARGET)
348	@echo "Making:   " $(@:f)
349	@@-$(RM) $@
350.IF "$(GUI)"=="UNX"
351	@-$(RM) $(MISC)/$(LIB4ARCHIV:b).cmd
352.IF "$(OS)" =="HPUX_FRAG_HR"
353	@-$(RM) $(MISC)/$(LIB4ARCHIV:b)_closetempl.cmd
354	@echo $(LINK) +inst_close -c `cat $(LIB4TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB4ARCHIV:b)_closetempl.cmd
355	@cat $(MISC)/$(LIB4ARCHIV:b)_closetempl.cmd
356	@+source $(MISC)/$(LIB4ARCHIV:b)_closetempl.cmd
357.ENDIF
358	@echo $(LIBMGR) $(LIB4FLAGS) $(LIBFLAGS) $(LIB4ARCHIV) `cat $(LIB4TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB4ARCHIV:b).cmd
359.IF "$(OS)$(COM)"=="NETBSDGCC"
360	@echo  ranlib $(LIB4ARCHIV) >> $(MISC)/$(LIB4ARCHIV:b).cmd
361.ENDIF
362.IF "$(OS)" == "MACOSX"
363	@echo  ranlib $(LIB4ARCHIV) >> $(MISC)/$(LIB4ARCHIV:b).cmd
364.ENDIF
365.IF "$(VERBOSE)" == "TRUE"
366	@cat $(MISC)/$(LIB4ARCHIV:b).cmd
367.ENDIF
368	@+source $(MISC)/$(LIB4ARCHIV:b).cmd
369
370.ELIF "$(GUI)"=="OS2"
371
372	@ln -s $(LIB4TARGET) $(LIB4ARCHIV)
373
374.ELSE			# "$(GUI)"=="OS2"
375.IF "$(GUI)$(COM)"=="WNTGCC"
376	@+-$(RM) $(MISC)/$(LIB4ARCHIV:b).cmd
377	@+echo $(LIBMGR) $(LIB4FLAGS) $(LIBFLAGS) $(LIB4ARCHIV) `cat $(LIB4TARGET) | sed s#'^'$(ROUT)#$(PRJ)/$(ROUT)#g` > $(MISC)/$(LIB4ARCHIV:b).cmd
378	@+echo  ranlib $(LIB4ARCHIV) >> $(MISC)/$(LIB4ARCHIV:b).cmd
379.IF "$(VERBOSE)" == "TRUE"
380	@cat $(MISC)/$(LIB4ARCHIV:b).cmd
381.ENDIF
382	@+source $(MISC)/$(LIB4ARCHIV:b).cmd
383.ELSE
384	@echo just a dummy > $@
385.ENDIF			# "$(GUI)$(COM)"=="WNTGCC"
386.ENDIF			# "$(GUI)"=="UNX"
387
388.ENDIF			# "$(LIB4ARCHIV)" != ""
389
390$(LIB4TARGET) :	$(LIB4FILES) \
391						$(LIB4OBJFILES) \
392						$(LIB4DEPN)
393.IF "$(VERBOSE)" == "TRUE"
394	@echo ------------------------------
395	@echo using: $(LIB4FILES)
396	@echo using: $(LIB4TARGET)
397	@echo ------------------------------
398.ENDIF
399	@echo "Making:   " $(@:f)
400	@@-$(RM) $@
401.IF "$(GUI)"=="UNX"
402	@echo $(LIB4OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
403	@cat /dev/null $(LIB4FILES:s/.obj/.o/) | xargs -n 1 >> $@
404	@$(RM) $(@:d)$(@:b).dump
405.IF "$(OS)"=="MACOSX"
406	@-nm `cat $(LIB4TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
407.ELSE
408	@nm `cat $(LIB4TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
409.ENDIF
410
411.ELIF "$(GUI)"=="OS2"
412	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) $@ $(LIB4FILES) $(LIB4OBJFILES)
413	@+-$(RM) $(@:s/.lib/.lin/)
414.IF "$(LIB4OBJFILES)"!=""
415	@+$(TYPE) $(mktmp $(LIB4OBJFILES)) > $(null,$(LIB4OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
416.ENDIF          # "$(LIB4OBJFILES)"!=""
417.IF "$(LIB4FILES)"!=""
418	@-$(TYPE) $(foreach,i,$(LIB4FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
419.ENDIF          # "$(LIB4FILES)"!=""
420	@+$(ECHONL)
421
422.ELSE			# "$(GUI)"=="UNX"
423.IF "$(GUI)"=="WNT"
424.IF "$(COM)"=="GCC"
425	+$(ECHONL) $(LIB4OBJFILES) | sed "s#$(PRJ:s/././)/$(ROUT)#$(ROUT)#g" | xargs -n1 > $@
426	@+cat /dev/null $(LIB4FILES) | xargs -n1 >> $@
427.ELSE
428	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB4FILES) $(LIB4OBJFILES))
429    @-$(RM) $(@:s/.lib/.lin/)
430.IF "$(LIB4OBJFILES)"!=""
431	@$(TYPE) $(mktmp $(LIB4OBJFILES)) > $(null,$(LIB4OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
432.ENDIF          # "$(LIB4OBJFILES)"!=""
433.IF "$(LIB4FILES)"!=""
434	@-$(TYPE) $(foreach,i,$(LIB4FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
435.ENDIF          # "$(LIB4FILES)"!=""
436	@$(ECHONL)
437.ENDIF          # "$(LIB4FILES)"!=""
438.ELSE			# "$(GUI)"=="WNT"
439	@-$(RM) $@
440  .IF "$(VERBOSE)" == "TRUE"
441	@echo $(LIBMGR) r $@ $(LIB4OBJFILES)
442  .ENDIF
443	$(COMMAND_ECHO)$(LIBMGR) r $@ $(LIB4OBJFILES) $(LIB4FILES) bla.lib
444.ENDIF          # "$(GUI)"=="WNT"
445.ENDIF          # "$(GUI)"=="UNX"
446.ENDIF          # "$(LIB4TARGET)" != ""
447
448# Anweisungen fuer das LIBTARGETs
449# unroll begin
450
451.IF "$(LIB5TARGET)" != ""
452.IF "$(LIB5ARCHIV)" != ""
453
454$(LIB5ARCHIV) :	$(LIB5TARGET)
455	@echo "Making:   " $(@:f)
456	@@-$(RM) $@
457.IF "$(GUI)"=="UNX"
458	@-$(RM) $(MISC)/$(LIB5ARCHIV:b).cmd
459.IF "$(OS)" =="HPUX_FRAG_HR"
460	@-$(RM) $(MISC)/$(LIB5ARCHIV:b)_closetempl.cmd
461	@echo $(LINK) +inst_close -c `cat $(LIB5TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB5ARCHIV:b)_closetempl.cmd
462	@cat $(MISC)/$(LIB5ARCHIV:b)_closetempl.cmd
463	@+source $(MISC)/$(LIB5ARCHIV:b)_closetempl.cmd
464.ENDIF
465	@echo $(LIBMGR) $(LIB5FLAGS) $(LIBFLAGS) $(LIB5ARCHIV) `cat $(LIB5TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB5ARCHIV:b).cmd
466.IF "$(OS)$(COM)"=="NETBSDGCC"
467	@echo  ranlib $(LIB5ARCHIV) >> $(MISC)/$(LIB5ARCHIV:b).cmd
468.ENDIF
469.IF "$(OS)" == "MACOSX"
470	@echo  ranlib $(LIB5ARCHIV) >> $(MISC)/$(LIB5ARCHIV:b).cmd
471.ENDIF
472.IF "$(VERBOSE)" == "TRUE"
473	@cat $(MISC)/$(LIB5ARCHIV:b).cmd
474.ENDIF
475	@+source $(MISC)/$(LIB5ARCHIV:b).cmd
476
477.ELIF "$(GUI)"=="OS2"
478
479	@ln -s $(LIB5TARGET) $(LIB5ARCHIV)
480
481.ELSE			# "$(GUI)"=="OS2"
482.IF "$(GUI)$(COM)"=="WNTGCC"
483	@+-$(RM) $(MISC)/$(LIB5ARCHIV:b).cmd
484	@+echo $(LIBMGR) $(LIB5FLAGS) $(LIBFLAGS) $(LIB5ARCHIV) `cat $(LIB5TARGET) | sed s#'^'$(ROUT)#$(PRJ)/$(ROUT)#g` > $(MISC)/$(LIB5ARCHIV:b).cmd
485	@+echo  ranlib $(LIB5ARCHIV) >> $(MISC)/$(LIB5ARCHIV:b).cmd
486.IF "$(VERBOSE)" == "TRUE"
487	@cat $(MISC)/$(LIB5ARCHIV:b).cmd
488.ENDIF
489	@+source $(MISC)/$(LIB5ARCHIV:b).cmd
490.ELSE
491	@echo just a dummy > $@
492.ENDIF			# "$(GUI)$(COM)"=="WNTGCC"
493.ENDIF			# "$(GUI)"=="UNX"
494
495.ENDIF			# "$(LIB5ARCHIV)" != ""
496
497$(LIB5TARGET) :	$(LIB5FILES) \
498						$(LIB5OBJFILES) \
499						$(LIB5DEPN)
500.IF "$(VERBOSE)" == "TRUE"
501	@echo ------------------------------
502	@echo using: $(LIB5FILES)
503	@echo using: $(LIB5TARGET)
504	@echo ------------------------------
505.ENDIF
506	@echo "Making:   " $(@:f)
507	@@-$(RM) $@
508.IF "$(GUI)"=="UNX"
509	@echo $(LIB5OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
510	@cat /dev/null $(LIB5FILES:s/.obj/.o/) | xargs -n 1 >> $@
511	@$(RM) $(@:d)$(@:b).dump
512.IF "$(OS)"=="MACOSX"
513	@-nm `cat $(LIB5TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
514.ELSE
515	@nm `cat $(LIB5TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
516.ENDIF
517
518.ELIF "$(GUI)"=="OS2"
519	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) $@ $(LIB5FILES) $(LIB5OBJFILES)
520	@+-$(RM) $(@:s/.lib/.lin/)
521.IF "$(LIB5OBJFILES)"!=""
522	@+$(TYPE) $(mktmp $(LIB5OBJFILES)) > $(null,$(LIB5OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
523.ENDIF          # "$(LIB5OBJFILES)"!=""
524.IF "$(LIB5FILES)"!=""
525	@-$(TYPE) $(foreach,i,$(LIB5FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
526.ENDIF          # "$(LIB5FILES)"!=""
527	@+$(ECHONL)
528
529.ELSE			# "$(GUI)"=="UNX"
530.IF "$(GUI)"=="WNT"
531.IF "$(COM)"=="GCC"
532	+$(ECHONL) $(LIB5OBJFILES) | sed "s#$(PRJ:s/././)/$(ROUT)#$(ROUT)#g" | xargs -n1 > $@
533	@+cat /dev/null $(LIB5FILES) | xargs -n1 >> $@
534.ELSE
535	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB5FILES) $(LIB5OBJFILES))
536    @-$(RM) $(@:s/.lib/.lin/)
537.IF "$(LIB5OBJFILES)"!=""
538	@$(TYPE) $(mktmp $(LIB5OBJFILES)) > $(null,$(LIB5OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
539.ENDIF          # "$(LIB5OBJFILES)"!=""
540.IF "$(LIB5FILES)"!=""
541	@-$(TYPE) $(foreach,i,$(LIB5FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
542.ENDIF          # "$(LIB5FILES)"!=""
543	@$(ECHONL)
544.ENDIF          # "$(LIB5FILES)"!=""
545.ELSE			# "$(GUI)"=="WNT"
546	@-$(RM) $@
547  .IF "$(VERBOSE)" == "TRUE"
548	@echo $(LIBMGR) r $@ $(LIB5OBJFILES)
549  .ENDIF
550	$(COMMAND_ECHO)$(LIBMGR) r $@ $(LIB5OBJFILES) $(LIB5FILES) bla.lib
551.ENDIF          # "$(GUI)"=="WNT"
552.ENDIF          # "$(GUI)"=="UNX"
553.ENDIF          # "$(LIB5TARGET)" != ""
554
555# Anweisungen fuer das LIBTARGETs
556# unroll begin
557
558.IF "$(LIB6TARGET)" != ""
559.IF "$(LIB6ARCHIV)" != ""
560
561$(LIB6ARCHIV) :	$(LIB6TARGET)
562	@echo "Making:   " $(@:f)
563	@@-$(RM) $@
564.IF "$(GUI)"=="UNX"
565	@-$(RM) $(MISC)/$(LIB6ARCHIV:b).cmd
566.IF "$(OS)" =="HPUX_FRAG_HR"
567	@-$(RM) $(MISC)/$(LIB6ARCHIV:b)_closetempl.cmd
568	@echo $(LINK) +inst_close -c `cat $(LIB6TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB6ARCHIV:b)_closetempl.cmd
569	@cat $(MISC)/$(LIB6ARCHIV:b)_closetempl.cmd
570	@+source $(MISC)/$(LIB6ARCHIV:b)_closetempl.cmd
571.ENDIF
572	@echo $(LIBMGR) $(LIB6FLAGS) $(LIBFLAGS) $(LIB6ARCHIV) `cat $(LIB6TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB6ARCHIV:b).cmd
573.IF "$(OS)$(COM)"=="NETBSDGCC"
574	@echo  ranlib $(LIB6ARCHIV) >> $(MISC)/$(LIB6ARCHIV:b).cmd
575.ENDIF
576.IF "$(OS)" == "MACOSX"
577	@echo  ranlib $(LIB6ARCHIV) >> $(MISC)/$(LIB6ARCHIV:b).cmd
578.ENDIF
579.IF "$(VERBOSE)" == "TRUE"
580	@cat $(MISC)/$(LIB6ARCHIV:b).cmd
581.ENDIF
582	@+source $(MISC)/$(LIB6ARCHIV:b).cmd
583
584.ELIF "$(GUI)"=="OS2"
585
586	@ln -s $(LIB6TARGET) $(LIB6ARCHIV)
587
588.ELSE			# "$(GUI)"=="OS2"
589.IF "$(GUI)$(COM)"=="WNTGCC"
590	@+-$(RM) $(MISC)/$(LIB6ARCHIV:b).cmd
591	@+echo $(LIBMGR) $(LIB6FLAGS) $(LIBFLAGS) $(LIB6ARCHIV) `cat $(LIB6TARGET) | sed s#'^'$(ROUT)#$(PRJ)/$(ROUT)#g` > $(MISC)/$(LIB6ARCHIV:b).cmd
592	@+echo  ranlib $(LIB6ARCHIV) >> $(MISC)/$(LIB6ARCHIV:b).cmd
593.IF "$(VERBOSE)" == "TRUE"
594	@cat $(MISC)/$(LIB6ARCHIV:b).cmd
595.ENDIF
596	@+source $(MISC)/$(LIB6ARCHIV:b).cmd
597.ELSE
598	@echo just a dummy > $@
599.ENDIF			# "$(GUI)$(COM)"=="WNTGCC"
600.ENDIF			# "$(GUI)"=="UNX"
601
602.ENDIF			# "$(LIB6ARCHIV)" != ""
603
604$(LIB6TARGET) :	$(LIB6FILES) \
605						$(LIB6OBJFILES) \
606						$(LIB6DEPN)
607.IF "$(VERBOSE)" == "TRUE"
608	@echo ------------------------------
609	@echo using: $(LIB6FILES)
610	@echo using: $(LIB6TARGET)
611	@echo ------------------------------
612.ENDIF
613	@echo "Making:   " $(@:f)
614	@@-$(RM) $@
615.IF "$(GUI)"=="UNX"
616	@echo $(LIB6OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
617	@cat /dev/null $(LIB6FILES:s/.obj/.o/) | xargs -n 1 >> $@
618	@$(RM) $(@:d)$(@:b).dump
619.IF "$(OS)"=="MACOSX"
620	@-nm `cat $(LIB6TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
621.ELSE
622	@nm `cat $(LIB6TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
623.ENDIF
624
625.ELIF "$(GUI)"=="OS2"
626	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) $@ $(LIB6FILES) $(LIB6OBJFILES)
627	@+-$(RM) $(@:s/.lib/.lin/)
628.IF "$(LIB6OBJFILES)"!=""
629	@+$(TYPE) $(mktmp $(LIB6OBJFILES)) > $(null,$(LIB6OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
630.ENDIF          # "$(LIB6OBJFILES)"!=""
631.IF "$(LIB6FILES)"!=""
632	@-$(TYPE) $(foreach,i,$(LIB6FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
633.ENDIF          # "$(LIB6FILES)"!=""
634	@+$(ECHONL)
635
636.ELSE			# "$(GUI)"=="UNX"
637.IF "$(GUI)"=="WNT"
638.IF "$(COM)"=="GCC"
639	+$(ECHONL) $(LIB6OBJFILES) | sed "s#$(PRJ:s/././)/$(ROUT)#$(ROUT)#g" | xargs -n1 > $@
640	@+cat /dev/null $(LIB6FILES) | xargs -n1 >> $@
641.ELSE
642	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB6FILES) $(LIB6OBJFILES))
643    @-$(RM) $(@:s/.lib/.lin/)
644.IF "$(LIB6OBJFILES)"!=""
645	@$(TYPE) $(mktmp $(LIB6OBJFILES)) > $(null,$(LIB6OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
646.ENDIF          # "$(LIB6OBJFILES)"!=""
647.IF "$(LIB6FILES)"!=""
648	@-$(TYPE) $(foreach,i,$(LIB6FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
649.ENDIF          # "$(LIB6FILES)"!=""
650	@$(ECHONL)
651.ENDIF          # "$(LIB6FILES)"!=""
652.ELSE			# "$(GUI)"=="WNT"
653	@-$(RM) $@
654  .IF "$(VERBOSE)" == "TRUE"
655	@echo $(LIBMGR) r $@ $(LIB6OBJFILES)
656  .ENDIF
657	$(COMMAND_ECHO)$(LIBMGR) r $@ $(LIB6OBJFILES) $(LIB6FILES) bla.lib
658.ENDIF          # "$(GUI)"=="WNT"
659.ENDIF          # "$(GUI)"=="UNX"
660.ENDIF          # "$(LIB6TARGET)" != ""
661
662# Anweisungen fuer das LIBTARGETs
663# unroll begin
664
665.IF "$(LIB7TARGET)" != ""
666.IF "$(LIB7ARCHIV)" != ""
667
668$(LIB7ARCHIV) :	$(LIB7TARGET)
669	@echo "Making:   " $(@:f)
670	@@-$(RM) $@
671.IF "$(GUI)"=="UNX"
672	@-$(RM) $(MISC)/$(LIB7ARCHIV:b).cmd
673.IF "$(OS)" =="HPUX_FRAG_HR"
674	@-$(RM) $(MISC)/$(LIB7ARCHIV:b)_closetempl.cmd
675	@echo $(LINK) +inst_close -c `cat $(LIB7TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB7ARCHIV:b)_closetempl.cmd
676	@cat $(MISC)/$(LIB7ARCHIV:b)_closetempl.cmd
677	@+source $(MISC)/$(LIB7ARCHIV:b)_closetempl.cmd
678.ENDIF
679	@echo $(LIBMGR) $(LIB7FLAGS) $(LIBFLAGS) $(LIB7ARCHIV) `cat $(LIB7TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB7ARCHIV:b).cmd
680.IF "$(OS)$(COM)"=="NETBSDGCC"
681	@echo  ranlib $(LIB7ARCHIV) >> $(MISC)/$(LIB7ARCHIV:b).cmd
682.ENDIF
683.IF "$(OS)" == "MACOSX"
684	@echo  ranlib $(LIB7ARCHIV) >> $(MISC)/$(LIB7ARCHIV:b).cmd
685.ENDIF
686.IF "$(VERBOSE)" == "TRUE"
687	@cat $(MISC)/$(LIB7ARCHIV:b).cmd
688.ENDIF
689	@+source $(MISC)/$(LIB7ARCHIV:b).cmd
690
691.ELIF "$(GUI)"=="OS2"
692
693	@ln -s $(LIB7TARGET) $(LIB7ARCHIV)
694
695.ELSE			# "$(GUI)"=="OS2"
696.IF "$(GUI)$(COM)"=="WNTGCC"
697	@+-$(RM) $(MISC)/$(LIB7ARCHIV:b).cmd
698	@+echo $(LIBMGR) $(LIB7FLAGS) $(LIBFLAGS) $(LIB7ARCHIV) `cat $(LIB7TARGET) | sed s#'^'$(ROUT)#$(PRJ)/$(ROUT)#g` > $(MISC)/$(LIB7ARCHIV:b).cmd
699	@+echo  ranlib $(LIB7ARCHIV) >> $(MISC)/$(LIB7ARCHIV:b).cmd
700.IF "$(VERBOSE)" == "TRUE"
701	@cat $(MISC)/$(LIB7ARCHIV:b).cmd
702.ENDIF
703	@+source $(MISC)/$(LIB7ARCHIV:b).cmd
704.ELSE
705	@echo just a dummy > $@
706.ENDIF			# "$(GUI)$(COM)"=="WNTGCC"
707.ENDIF			# "$(GUI)"=="UNX"
708
709.ENDIF			# "$(LIB7ARCHIV)" != ""
710
711$(LIB7TARGET) :	$(LIB7FILES) \
712						$(LIB7OBJFILES) \
713						$(LIB7DEPN)
714.IF "$(VERBOSE)" == "TRUE"
715	@echo ------------------------------
716	@echo using: $(LIB7FILES)
717	@echo using: $(LIB7TARGET)
718	@echo ------------------------------
719.ENDIF
720	@echo "Making:   " $(@:f)
721	@@-$(RM) $@
722.IF "$(GUI)"=="UNX"
723	@echo $(LIB7OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
724	@cat /dev/null $(LIB7FILES:s/.obj/.o/) | xargs -n 1 >> $@
725	@$(RM) $(@:d)$(@:b).dump
726.IF "$(OS)"=="MACOSX"
727	@-nm `cat $(LIB7TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
728.ELSE
729	@nm `cat $(LIB7TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
730.ENDIF
731
732.ELIF "$(GUI)"=="OS2"
733	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) $@ $(LIB7FILES) $(LIB7OBJFILES)
734	@+-$(RM) $(@:s/.lib/.lin/)
735.IF "$(LIB7OBJFILES)"!=""
736	@+$(TYPE) $(mktmp $(LIB7OBJFILES)) > $(null,$(LIB7OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
737.ENDIF          # "$(LIB7OBJFILES)"!=""
738.IF "$(LIB7FILES)"!=""
739	@-$(TYPE) $(foreach,i,$(LIB7FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
740.ENDIF          # "$(LIB7FILES)"!=""
741	@+$(ECHONL)
742
743.ELSE			# "$(GUI)"=="UNX"
744.IF "$(GUI)"=="WNT"
745.IF "$(COM)"=="GCC"
746	+$(ECHONL) $(LIB7OBJFILES) | sed "s#$(PRJ:s/././)/$(ROUT)#$(ROUT)#g" | xargs -n1 > $@
747	@+cat /dev/null $(LIB7FILES) | xargs -n1 >> $@
748.ELSE
749	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB7FILES) $(LIB7OBJFILES))
750    @-$(RM) $(@:s/.lib/.lin/)
751.IF "$(LIB7OBJFILES)"!=""
752	@$(TYPE) $(mktmp $(LIB7OBJFILES)) > $(null,$(LIB7OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
753.ENDIF          # "$(LIB7OBJFILES)"!=""
754.IF "$(LIB7FILES)"!=""
755	@-$(TYPE) $(foreach,i,$(LIB7FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
756.ENDIF          # "$(LIB7FILES)"!=""
757	@$(ECHONL)
758.ENDIF          # "$(LIB7FILES)"!=""
759.ELSE			# "$(GUI)"=="WNT"
760	@-$(RM) $@
761  .IF "$(VERBOSE)" == "TRUE"
762	@echo $(LIBMGR) r $@ $(LIB7OBJFILES)
763  .ENDIF
764	$(COMMAND_ECHO)$(LIBMGR) r $@ $(LIB7OBJFILES) $(LIB7FILES) bla.lib
765.ENDIF          # "$(GUI)"=="WNT"
766.ENDIF          # "$(GUI)"=="UNX"
767.ENDIF          # "$(LIB7TARGET)" != ""
768
769# Anweisungen fuer das LIBTARGETs
770# unroll begin
771
772.IF "$(LIB8TARGET)" != ""
773.IF "$(LIB8ARCHIV)" != ""
774
775$(LIB8ARCHIV) :	$(LIB8TARGET)
776	@echo "Making:   " $(@:f)
777	@@-$(RM) $@
778.IF "$(GUI)"=="UNX"
779	@-$(RM) $(MISC)/$(LIB8ARCHIV:b).cmd
780.IF "$(OS)" =="HPUX_FRAG_HR"
781	@-$(RM) $(MISC)/$(LIB8ARCHIV:b)_closetempl.cmd
782	@echo $(LINK) +inst_close -c `cat $(LIB8TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB8ARCHIV:b)_closetempl.cmd
783	@cat $(MISC)/$(LIB8ARCHIV:b)_closetempl.cmd
784	@+source $(MISC)/$(LIB8ARCHIV:b)_closetempl.cmd
785.ENDIF
786	@echo $(LIBMGR) $(LIB8FLAGS) $(LIBFLAGS) $(LIB8ARCHIV) `cat $(LIB8TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB8ARCHIV:b).cmd
787.IF "$(OS)$(COM)"=="NETBSDGCC"
788	@echo  ranlib $(LIB8ARCHIV) >> $(MISC)/$(LIB8ARCHIV:b).cmd
789.ENDIF
790.IF "$(OS)" == "MACOSX"
791	@echo  ranlib $(LIB8ARCHIV) >> $(MISC)/$(LIB8ARCHIV:b).cmd
792.ENDIF
793.IF "$(VERBOSE)" == "TRUE"
794	@cat $(MISC)/$(LIB8ARCHIV:b).cmd
795.ENDIF
796	@+source $(MISC)/$(LIB8ARCHIV:b).cmd
797
798.ELIF "$(GUI)"=="OS2"
799
800	@ln -s $(LIB8TARGET) $(LIB8ARCHIV)
801
802.ELSE			# "$(GUI)"=="OS2"
803.IF "$(GUI)$(COM)"=="WNTGCC"
804	@+-$(RM) $(MISC)/$(LIB8ARCHIV:b).cmd
805	@+echo $(LIBMGR) $(LIB8FLAGS) $(LIBFLAGS) $(LIB8ARCHIV) `cat $(LIB8TARGET) | sed s#'^'$(ROUT)#$(PRJ)/$(ROUT)#g` > $(MISC)/$(LIB8ARCHIV:b).cmd
806	@+echo  ranlib $(LIB8ARCHIV) >> $(MISC)/$(LIB8ARCHIV:b).cmd
807.IF "$(VERBOSE)" == "TRUE"
808	@cat $(MISC)/$(LIB8ARCHIV:b).cmd
809.ENDIF
810	@+source $(MISC)/$(LIB8ARCHIV:b).cmd
811.ELSE
812	@echo just a dummy > $@
813.ENDIF			# "$(GUI)$(COM)"=="WNTGCC"
814.ENDIF			# "$(GUI)"=="UNX"
815
816.ENDIF			# "$(LIB8ARCHIV)" != ""
817
818$(LIB8TARGET) :	$(LIB8FILES) \
819						$(LIB8OBJFILES) \
820						$(LIB8DEPN)
821.IF "$(VERBOSE)" == "TRUE"
822	@echo ------------------------------
823	@echo using: $(LIB8FILES)
824	@echo using: $(LIB8TARGET)
825	@echo ------------------------------
826.ENDIF
827	@echo "Making:   " $(@:f)
828	@@-$(RM) $@
829.IF "$(GUI)"=="UNX"
830	@echo $(LIB8OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
831	@cat /dev/null $(LIB8FILES:s/.obj/.o/) | xargs -n 1 >> $@
832	@$(RM) $(@:d)$(@:b).dump
833.IF "$(OS)"=="MACOSX"
834	@-nm `cat $(LIB8TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
835.ELSE
836	@nm `cat $(LIB8TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
837.ENDIF
838
839.ELIF "$(GUI)"=="OS2"
840	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) $@ $(LIB8FILES) $(LIB8OBJFILES)
841	@+-$(RM) $(@:s/.lib/.lin/)
842.IF "$(LIB8OBJFILES)"!=""
843	@+$(TYPE) $(mktmp $(LIB8OBJFILES)) > $(null,$(LIB8OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
844.ENDIF          # "$(LIB8OBJFILES)"!=""
845.IF "$(LIB8FILES)"!=""
846	@-$(TYPE) $(foreach,i,$(LIB8FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
847.ENDIF          # "$(LIB8FILES)"!=""
848	@+$(ECHONL)
849
850.ELSE			# "$(GUI)"=="UNX"
851.IF "$(GUI)"=="WNT"
852.IF "$(COM)"=="GCC"
853	+$(ECHONL) $(LIB8OBJFILES) | sed "s#$(PRJ:s/././)/$(ROUT)#$(ROUT)#g" | xargs -n1 > $@
854	@+cat /dev/null $(LIB8FILES) | xargs -n1 >> $@
855.ELSE
856	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB8FILES) $(LIB8OBJFILES))
857    @-$(RM) $(@:s/.lib/.lin/)
858.IF "$(LIB8OBJFILES)"!=""
859	@$(TYPE) $(mktmp $(LIB8OBJFILES)) > $(null,$(LIB8OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
860.ENDIF          # "$(LIB8OBJFILES)"!=""
861.IF "$(LIB8FILES)"!=""
862	@-$(TYPE) $(foreach,i,$(LIB8FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
863.ENDIF          # "$(LIB8FILES)"!=""
864	@$(ECHONL)
865.ENDIF          # "$(LIB8FILES)"!=""
866.ELSE			# "$(GUI)"=="WNT"
867	@-$(RM) $@
868  .IF "$(VERBOSE)" == "TRUE"
869	@echo $(LIBMGR) r $@ $(LIB8OBJFILES)
870  .ENDIF
871	$(COMMAND_ECHO)$(LIBMGR) r $@ $(LIB8OBJFILES) $(LIB8FILES) bla.lib
872.ENDIF          # "$(GUI)"=="WNT"
873.ENDIF          # "$(GUI)"=="UNX"
874.ENDIF          # "$(LIB8TARGET)" != ""
875
876# Anweisungen fuer das LIBTARGETs
877# unroll begin
878
879.IF "$(LIB9TARGET)" != ""
880.IF "$(LIB9ARCHIV)" != ""
881
882$(LIB9ARCHIV) :	$(LIB9TARGET)
883	@echo "Making:   " $(@:f)
884	@@-$(RM) $@
885.IF "$(GUI)"=="UNX"
886	@-$(RM) $(MISC)/$(LIB9ARCHIV:b).cmd
887.IF "$(OS)" =="HPUX_FRAG_HR"
888	@-$(RM) $(MISC)/$(LIB9ARCHIV:b)_closetempl.cmd
889	@echo $(LINK) +inst_close -c `cat $(LIB9TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB9ARCHIV:b)_closetempl.cmd
890	@cat $(MISC)/$(LIB9ARCHIV:b)_closetempl.cmd
891	@+source $(MISC)/$(LIB9ARCHIV:b)_closetempl.cmd
892.ENDIF
893	@echo $(LIBMGR) $(LIB9FLAGS) $(LIBFLAGS) $(LIB9ARCHIV) `cat $(LIB9TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB9ARCHIV:b).cmd
894.IF "$(OS)$(COM)"=="NETBSDGCC"
895	@echo  ranlib $(LIB9ARCHIV) >> $(MISC)/$(LIB9ARCHIV:b).cmd
896.ENDIF
897.IF "$(OS)" == "MACOSX"
898	@echo  ranlib $(LIB9ARCHIV) >> $(MISC)/$(LIB9ARCHIV:b).cmd
899.ENDIF
900.IF "$(VERBOSE)" == "TRUE"
901	@cat $(MISC)/$(LIB9ARCHIV:b).cmd
902.ENDIF
903	@+source $(MISC)/$(LIB9ARCHIV:b).cmd
904
905.ELIF "$(GUI)"=="OS2"
906
907	@ln -s $(LIB9TARGET) $(LIB9ARCHIV)
908
909.ELSE			# "$(GUI)"=="OS2"
910.IF "$(GUI)$(COM)"=="WNTGCC"
911	@+-$(RM) $(MISC)/$(LIB9ARCHIV:b).cmd
912	@+echo $(LIBMGR) $(LIB9FLAGS) $(LIBFLAGS) $(LIB9ARCHIV) `cat $(LIB9TARGET) | sed s#'^'$(ROUT)#$(PRJ)/$(ROUT)#g` > $(MISC)/$(LIB9ARCHIV:b).cmd
913	@+echo  ranlib $(LIB9ARCHIV) >> $(MISC)/$(LIB9ARCHIV:b).cmd
914.IF "$(VERBOSE)" == "TRUE"
915	@cat $(MISC)/$(LIB9ARCHIV:b).cmd
916.ENDIF
917	@+source $(MISC)/$(LIB9ARCHIV:b).cmd
918.ELSE
919	@echo just a dummy > $@
920.ENDIF			# "$(GUI)$(COM)"=="WNTGCC"
921.ENDIF			# "$(GUI)"=="UNX"
922
923.ENDIF			# "$(LIB9ARCHIV)" != ""
924
925$(LIB9TARGET) :	$(LIB9FILES) \
926						$(LIB9OBJFILES) \
927						$(LIB9DEPN)
928.IF "$(VERBOSE)" == "TRUE"
929	@echo ------------------------------
930	@echo using: $(LIB9FILES)
931	@echo using: $(LIB9TARGET)
932	@echo ------------------------------
933.ENDIF
934	@echo "Making:   " $(@:f)
935	@@-$(RM) $@
936.IF "$(GUI)"=="UNX"
937	@echo $(LIB9OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
938	@cat /dev/null $(LIB9FILES:s/.obj/.o/) | xargs -n 1 >> $@
939	@$(RM) $(@:d)$(@:b).dump
940.IF "$(OS)"=="MACOSX"
941	@-nm `cat $(LIB9TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
942.ELSE
943	@nm `cat $(LIB9TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
944.ENDIF
945
946.ELIF "$(GUI)"=="OS2"
947	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) $@ $(LIB9FILES) $(LIB9OBJFILES)
948	@+-$(RM) $(@:s/.lib/.lin/)
949.IF "$(LIB9OBJFILES)"!=""
950	@+$(TYPE) $(mktmp $(LIB9OBJFILES)) > $(null,$(LIB9OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
951.ENDIF          # "$(LIB9OBJFILES)"!=""
952.IF "$(LIB9FILES)"!=""
953	@-$(TYPE) $(foreach,i,$(LIB9FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
954.ENDIF          # "$(LIB9FILES)"!=""
955	@+$(ECHONL)
956
957.ELSE			# "$(GUI)"=="UNX"
958.IF "$(GUI)"=="WNT"
959.IF "$(COM)"=="GCC"
960	+$(ECHONL) $(LIB9OBJFILES) | sed "s#$(PRJ:s/././)/$(ROUT)#$(ROUT)#g" | xargs -n1 > $@
961	@+cat /dev/null $(LIB9FILES) | xargs -n1 >> $@
962.ELSE
963	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB9FILES) $(LIB9OBJFILES))
964    @-$(RM) $(@:s/.lib/.lin/)
965.IF "$(LIB9OBJFILES)"!=""
966	@$(TYPE) $(mktmp $(LIB9OBJFILES)) > $(null,$(LIB9OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
967.ENDIF          # "$(LIB9OBJFILES)"!=""
968.IF "$(LIB9FILES)"!=""
969	@-$(TYPE) $(foreach,i,$(LIB9FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
970.ENDIF          # "$(LIB9FILES)"!=""
971	@$(ECHONL)
972.ENDIF          # "$(LIB9FILES)"!=""
973.ELSE			# "$(GUI)"=="WNT"
974	@-$(RM) $@
975  .IF "$(VERBOSE)" == "TRUE"
976	@echo $(LIBMGR) r $@ $(LIB9OBJFILES)
977  .ENDIF
978	$(COMMAND_ECHO)$(LIBMGR) r $@ $(LIB9OBJFILES) $(LIB9FILES) bla.lib
979.ENDIF          # "$(GUI)"=="WNT"
980.ENDIF          # "$(GUI)"=="UNX"
981.ENDIF          # "$(LIB9TARGET)" != ""
982
983# Anweisungen fuer das LIBTARGETs
984# unroll begin
985
986.IF "$(LIB10TARGET)" != ""
987.IF "$(LIB10ARCHIV)" != ""
988
989$(LIB10ARCHIV) :	$(LIB10TARGET)
990	@echo "Making:   " $(@:f)
991	@@-$(RM) $@
992.IF "$(GUI)"=="UNX"
993	@-$(RM) $(MISC)/$(LIB10ARCHIV:b).cmd
994.IF "$(OS)" =="HPUX_FRAG_HR"
995	@-$(RM) $(MISC)/$(LIB10ARCHIV:b)_closetempl.cmd
996	@echo $(LINK) +inst_close -c `cat $(LIB10TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB10ARCHIV:b)_closetempl.cmd
997	@cat $(MISC)/$(LIB10ARCHIV:b)_closetempl.cmd
998	@+source $(MISC)/$(LIB10ARCHIV:b)_closetempl.cmd
999.ENDIF
1000	@echo $(LIBMGR) $(LIB10FLAGS) $(LIBFLAGS) $(LIB10ARCHIV) `cat $(LIB10TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(MISC)/$(LIB10ARCHIV:b).cmd
1001.IF "$(OS)$(COM)"=="NETBSDGCC"
1002	@echo  ranlib $(LIB10ARCHIV) >> $(MISC)/$(LIB10ARCHIV:b).cmd
1003.ENDIF
1004.IF "$(OS)" == "MACOSX"
1005	@echo  ranlib $(LIB10ARCHIV) >> $(MISC)/$(LIB10ARCHIV:b).cmd
1006.ENDIF
1007.IF "$(VERBOSE)" == "TRUE"
1008	@cat $(MISC)/$(LIB10ARCHIV:b).cmd
1009.ENDIF
1010	@+source $(MISC)/$(LIB10ARCHIV:b).cmd
1011
1012.ELIF "$(GUI)"=="OS2"
1013
1014	@ln -s $(LIB10TARGET) $(LIB10ARCHIV)
1015
1016.ELSE			# "$(GUI)"=="OS2"
1017.IF "$(GUI)$(COM)"=="WNTGCC"
1018	@+-$(RM) $(MISC)/$(LIB10ARCHIV:b).cmd
1019	@+echo $(LIBMGR) $(LIB10FLAGS) $(LIBFLAGS) $(LIB10ARCHIV) `cat $(LIB10TARGET) | sed s#'^'$(ROUT)#$(PRJ)/$(ROUT)#g` > $(MISC)/$(LIB10ARCHIV:b).cmd
1020	@+echo  ranlib $(LIB10ARCHIV) >> $(MISC)/$(LIB10ARCHIV:b).cmd
1021.IF "$(VERBOSE)" == "TRUE"
1022	@cat $(MISC)/$(LIB10ARCHIV:b).cmd
1023.ENDIF
1024	@+source $(MISC)/$(LIB10ARCHIV:b).cmd
1025.ELSE
1026	@echo just a dummy > $@
1027.ENDIF			# "$(GUI)$(COM)"=="WNTGCC"
1028.ENDIF			# "$(GUI)"=="UNX"
1029
1030.ENDIF			# "$(LIB10ARCHIV)" != ""
1031
1032$(LIB10TARGET) :	$(LIB10FILES) \
1033						$(LIB10OBJFILES) \
1034						$(LIB10DEPN)
1035.IF "$(VERBOSE)" == "TRUE"
1036	@echo ------------------------------
1037	@echo using: $(LIB10FILES)
1038	@echo using: $(LIB10TARGET)
1039	@echo ------------------------------
1040.ENDIF
1041	@echo "Making:   " $(@:f)
1042	@@-$(RM) $@
1043.IF "$(GUI)"=="UNX"
1044	@echo $(LIB10OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
1045	@cat /dev/null $(LIB10FILES:s/.obj/.o/) | xargs -n 1 >> $@
1046	@$(RM) $(@:d)$(@:b).dump
1047.IF "$(OS)"=="MACOSX"
1048	@-nm `cat $(LIB10TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
1049.ELSE
1050	@nm `cat $(LIB10TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)/$(ROUT)\#g` > $(@:d)$(@:b).dump
1051.ENDIF
1052
1053.ELIF "$(GUI)"=="OS2"
1054	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) $@ $(LIB10FILES) $(LIB10OBJFILES)
1055	@+-$(RM) $(@:s/.lib/.lin/)
1056.IF "$(LIB10OBJFILES)"!=""
1057	@+$(TYPE) $(mktmp $(LIB10OBJFILES)) > $(null,$(LIB10OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
1058.ENDIF          # "$(LIB10OBJFILES)"!=""
1059.IF "$(LIB10FILES)"!=""
1060	@-$(TYPE) $(foreach,i,$(LIB10FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
1061.ENDIF          # "$(LIB10FILES)"!=""
1062	@+$(ECHONL)
1063
1064.ELSE			# "$(GUI)"=="UNX"
1065.IF "$(GUI)"=="WNT"
1066.IF "$(COM)"=="GCC"
1067	+$(ECHONL) $(LIB10OBJFILES) | sed "s#$(PRJ:s/././)/$(ROUT)#$(ROUT)#g" | xargs -n1 > $@
1068	@+cat /dev/null $(LIB10FILES) | xargs -n1 >> $@
1069.ELSE
1070	$(COMMAND_ECHO)$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB10FILES) $(LIB10OBJFILES))
1071    @-$(RM) $(@:s/.lib/.lin/)
1072.IF "$(LIB10OBJFILES)"!=""
1073	@$(TYPE) $(mktmp $(LIB10OBJFILES)) > $(null,$(LIB10OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
1074.ENDIF          # "$(LIB10OBJFILES)"!=""
1075.IF "$(LIB10FILES)"!=""
1076	@-$(TYPE) $(foreach,i,$(LIB10FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
1077.ENDIF          # "$(LIB10FILES)"!=""
1078	@$(ECHONL)
1079.ENDIF          # "$(LIB10FILES)"!=""
1080.ELSE			# "$(GUI)"=="WNT"
1081	@-$(RM) $@
1082  .IF "$(VERBOSE)" == "TRUE"
1083	@echo $(LIBMGR) r $@ $(LIB10OBJFILES)
1084  .ENDIF
1085	$(COMMAND_ECHO)$(LIBMGR) r $@ $(LIB10OBJFILES) $(LIB10FILES) bla.lib
1086.ENDIF          # "$(GUI)"=="WNT"
1087.ENDIF          # "$(GUI)"=="UNX"
1088.ENDIF          # "$(LIB10TARGET)" != ""
1089
1090# Anweisungen fuer das LIBTARGETs
1091