3 .IF
"$(DEF1TARGETN)"!=""
5 #to make intuitiv naming work
6 .IF
"$(DEF1LIBNAME)"!=""
7 DEFLIB1NAME
*=$(DEF1LIBNAME
)
8 .ENDIF
# "$(DEF1LIBNAME)"!=""
10 .IF
"$(DEFLIB1NAME)"!=""
11 DEF1DEPN
+=$(foreach,i
,$(DEFLIB1NAME
) $(SLB
)/$(i
).lib
)
14 .IF
"$(SHL1VERSIONMAP)"!=""
15 .IF
"$(DEF1EXPORTFILE)"==""
17 DEF1EXPORTFILE
=$(MISC
)/$(SHL1VERSIONMAP
:b
)_
$(SHL1TARGET
).dxp
19 $(DEF1EXPORTFILE
) : $(SHL1OBJS
) $(SHL1LIBS
)
20 .ENDIF
# .IF "$(COM)"=="GCC"
22 $(DEF1EXPORTFILE
) : $(SHL1VERSIONMAP
)
23 $(COMMAND_ECHO
)$(TYPE
) $< |
$(AWK
) -f
$(SOLARENV
)/bin
/getcsym.awk
> $@
25 $(COMMAND_ECHO
)-$(GREP
) -v
"\*\|?" $@ |
$(SED
) -e
's@#.*@@' > $@.exported-symbols
26 $(COMMAND_ECHO
)-$(GREP
) "\*\|?" $@
> $@.symbols-regexp
27 # Shared libraries will be build out of the *.obj files specified in SHL?OBJS and SHL?LIBS
28 # Extract RTTI symbols from all the objects that will be used to build a shared library
29 $(COMMAND_ECHO
)$(NM
) -gP
$(SHL1OBJS
) \
30 `$(TYPE) /dev/null $(foreach,j,$(SHL1LIBS) $j) | $(SED) s\#$(ROUT)\#$(PRJ)$/$(ROUT)\#g` \
31 |
$(SOLARENV
)/bin
/addsym-mingw.sh
$@.symbols-regexp
$@.symbols-regexp.tmp
>> $@.exported-symbols
32 # overwrite the map file generate into the local output tree with the generated
33 # exported symbols list
34 $(COMMAND_ECHO
)$(RENAME
) $@.exported-symbols
$@
35 .ENDIF
# .IF "$(COM)"=="GCC"
37 .ENDIF
# "$(GUI)"=="WNT"
39 .ENDIF
# "$(DEF1EXPORTFILE)"==""
40 .ENDIF
# "$(SHL1VERSIONMAP)"!=""
44 DEF1FILTER
=$(SOLARENV
)/inc
/dummy.flt
49 EXPORT_ALL_SWITCH
=-A
$(DEF1CEXP
)
52 .IF
"$(link_always)"==""
56 .ELSE
# "$(link_always)"==""
57 $(DEF1TARGETN
) .PHONY
:
58 .ENDIF
# "$(link_always)"==""
59 $(COMMAND_ECHO
)-$(RM
) $@.tmpfile
60 @echo
"Making: module definition file" $(@
:f
)
61 $(COMMAND_ECHO
)echo LIBRARY
$(EMQ
)"$(SHL1TARGETN:f)$(EMQ)" >$@.tmpfile
63 $(COMMAND_ECHO
)echo HEAPSIZE
0 >>$@.tmpfile
65 $(COMMAND_ECHO
)echo EXPORTS
>>$@.tmpfile
66 .IF
"$(VERSIONOBJ)"!=""
67 # getversioninfo fuer alle!!
68 $(COMMAND_ECHO
)echo GetVersionInfo
>>$@.tmpfile
70 .IF
"$(DEFLIB1NAME)"!=""
72 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL1TARGET
).exp
73 $(COMMAND_ECHO
)$(DLLTOOL
) --output-def
$(MISC
)/$(SHL1TARGET
).exp
--export-all-symbols \
74 `$(TYPE) $(foreach,i,$(DEFLIB1NAME) $(SLB)/$(i).lib) | sed s#$(ROUT)#$(PRJ)/$(ROUT)#g`
75 $(COMMAND_ECHO
)tail
--lines
+3 $(MISC
)/$(SHL1TARGET
).exp | sed
'/^;/d' >>$@.tmpfile
76 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL1TARGET
).exp
78 .IF
"$(SHL1USE_EXPORTS)"==""
79 $(COMMAND_ECHO
)-$(RMHACK1
) $(MISC
)/$(SHL1TARGET
).exp
80 $(COMMAND_ECHO
)$(LIBMGR
) -EXTRACT
:/ /OUT
:$(MISC
)/$(SHL1TARGET
).exp
$(SLB
)/$(DEFLIB1NAME
).lib
81 $(COMMAND_ECHO
)$(LDUMP2
) -N
$(EXPORT_ALL_SWITCH
) -F
$(MISC
)/$(SHL1TARGET
).flt
$(MISC
)/$(SHL1TARGET
).exp
>>$@.tmpfile
82 $(COMMAND_ECHO
)$(RMHACK1
) $(MISC
)/$(SHL1TARGET
).exp
83 .ELSE
# "$(SHL1USE_EXPORTS)"==""
84 $(COMMAND_ECHO
)$(DUMPBIN
) -DIRECTIVES
$(foreach,i
,$(DEFLIB1NAME
) $(SLB
)/$(i
).lib
) |
$(GREP
) EXPORT
: > $(MISC
)/$(SHL1TARGET
).direct
85 $(COMMAND_ECHO
)$(LDUMP2
) -N
-D
$(EXPORT_ALL_SWITCH
) -F
$(DEF1FILTER
) $(MISC
)/$(SHL1TARGET
).direct
>>$@.tmpfile
86 .ENDIF
# "$(SHL1USE_EXPORTS)"==""
88 .ENDIF
# "$(DEFLIB1NAME)"!=""
89 .IF
"$(DEF1EXPORT1)"!=""
90 $(COMMAND_ECHO
)echo
$(DEF1EXPORT1
) >>$@.tmpfile
92 .IF
"$(DEF1EXPORT2)"!=""
93 $(COMMAND_ECHO
)echo
$(DEF1EXPORT2
) >>$@.tmpfile
95 .IF
"$(DEF1EXPORT3)"!=""
96 $(COMMAND_ECHO
)echo
$(DEF1EXPORT3
) >>$@.tmpfile
98 .IF
"$(DEF1EXPORT4)"!=""
99 $(COMMAND_ECHO
)echo
$(DEF1EXPORT4
) >>$@.tmpfile
101 .IF
"$(DEF1EXPORT5)"!=""
102 $(COMMAND_ECHO
)echo
$(DEF1EXPORT5
) >>$@.tmpfile
104 .IF
"$(DEF1EXPORT6)"!=""
105 $(COMMAND_ECHO
)echo
$(DEF1EXPORT6
) >>$@.tmpfile
107 .IF
"$(DEF1EXPORT7)"!=""
108 $(COMMAND_ECHO
)echo
$(DEF1EXPORT7
) >>$@.tmpfile
110 .IF
"$(DEF1EXPORT8)"!=""
111 $(COMMAND_ECHO
)echo
$(DEF1EXPORT8
) >>$@.tmpfile
113 .IF
"$(DEF1EXPORT9)"!=""
114 $(COMMAND_ECHO
)echo
$(DEF1EXPORT9
) >>$@.tmpfile
116 .IF
"$(DEF1EXPORT10)"!=""
117 $(COMMAND_ECHO
)echo
$(DEF1EXPORT10
) >>$@.tmpfile
119 .IF
"$(DEF1EXPORT11)"!=""
120 $(COMMAND_ECHO
)echo
$(DEF1EXPORT11
) >>$@.tmpfile
122 .IF
"$(DEF1EXPORT12)"!=""
123 $(COMMAND_ECHO
)echo
$(DEF1EXPORT12
) >>$@.tmpfile
125 .IF
"$(DEF1EXPORT13)"!=""
126 $(COMMAND_ECHO
)echo
$(DEF1EXPORT13
) >>$@.tmpfile
128 .IF
"$(DEF1EXPORT14)"!=""
129 $(COMMAND_ECHO
)echo
$(DEF1EXPORT14
) >>$@.tmpfile
131 .IF
"$(DEF1EXPORT15)"!=""
132 $(COMMAND_ECHO
)echo
$(DEF1EXPORT15
) >>$@.tmpfile
134 .IF
"$(DEF1EXPORT16)"!=""
135 $(COMMAND_ECHO
)echo
$(DEF1EXPORT16
) >>$@.tmpfile
137 .IF
"$(DEF1EXPORT17)"!=""
138 $(COMMAND_ECHO
)echo
$(DEF1EXPORT17
) >>$@.tmpfile
140 .IF
"$(DEF1EXPORT18)"!=""
141 $(COMMAND_ECHO
)echo
$(DEF1EXPORT18
) >>$@.tmpfile
143 .IF
"$(DEF1EXPORT19)"!=""
144 $(COMMAND_ECHO
)echo
$(DEF1EXPORT19
) >>$@.tmpfile
146 .IF
"$(DEF1EXPORT20)"!=""
147 $(COMMAND_ECHO
)echo
$(DEF1EXPORT20
) >>$@.tmpfile
149 .IF
"$(DEF1EXPORTFILE)"!=""
151 $(COMMAND_ECHO
)$(TYPE
) $(DEF1EXPORTFILE
) | sed
-e s
:PRIVATE
:: >> $@.tmpfile
153 $(COMMAND_ECHO
)$(TYPE
) $(DEF1EXPORTFILE
) >> $@.tmpfile
156 $(COMMAND_ECHO
)-$(RM
) $@
157 $(COMMAND_ECHO
)$(RENAME
) $@.tmpfile
$@
158 .ENDIF
# "$(GUI)"=="WNT"
164 $(COMMAND_ECHO
)echo just a dummy for UNIX
> $@
166 .ENDIF
# "$(DEF1TARGETN)"!=""
169 # Anweisungen fuer das Linken
172 .IF
"$(DEF2TARGETN)"!=""
174 #to make intuitiv naming work
175 .IF
"$(DEF2LIBNAME)"!=""
176 DEFLIB2NAME
*=$(DEF2LIBNAME
)
177 .ENDIF
# "$(DEF2LIBNAME)"!=""
179 .IF
"$(DEFLIB2NAME)"!=""
180 DEF2DEPN
+=$(foreach,i
,$(DEFLIB2NAME
) $(SLB
)/$(i
).lib
)
183 .IF
"$(SHL2VERSIONMAP)"!=""
184 .IF
"$(DEF2EXPORTFILE)"==""
186 DEF2EXPORTFILE
=$(MISC
)/$(SHL2VERSIONMAP
:b
)_
$(SHL2TARGET
).dxp
188 $(DEF2EXPORTFILE
) : $(SHL2OBJS
) $(SHL2LIBS
)
189 .ENDIF
# .IF "$(COM)"=="GCC"
191 $(DEF2EXPORTFILE
) : $(SHL2VERSIONMAP
)
192 $(COMMAND_ECHO
)$(TYPE
) $< |
$(AWK
) -f
$(SOLARENV
)/bin
/getcsym.awk
> $@
194 $(COMMAND_ECHO
)-$(GREP
) -v
"\*\|?" $@ |
$(SED
) -e
's@#.*@@' > $@.exported-symbols
195 $(COMMAND_ECHO
)-$(GREP
) "\*\|?" $@
> $@.symbols-regexp
196 # Shared libraries will be build out of the *.obj files specified in SHL?OBJS and SHL?LIBS
197 # Extract RTTI symbols from all the objects that will be used to build a shared library
198 $(COMMAND_ECHO
)$(NM
) -gP
$(SHL2OBJS
) \
199 `$(TYPE) /dev/null $(foreach,j,$(SHL2LIBS) $j) | $(SED) s\#$(ROUT)\#$(PRJ)$/$(ROUT)\#g` \
200 |
$(SOLARENV
)/bin
/addsym-mingw.sh
$@.symbols-regexp
$@.symbols-regexp.tmp
>> $@.exported-symbols
201 # overwrite the map file generate into the local output tree with the generated
202 # exported symbols list
203 $(COMMAND_ECHO
)$(RENAME
) $@.exported-symbols
$@
204 .ENDIF
# .IF "$(COM)"=="GCC"
206 .ENDIF
# "$(GUI)"=="WNT"
208 .ENDIF
# "$(DEF2EXPORTFILE)"==""
209 .ENDIF
# "$(SHL2VERSIONMAP)"!=""
213 DEF2FILTER
=$(SOLARENV
)/inc
/dummy.flt
217 .IF
"$(DEF2CEXP)"!=""
218 EXPORT_ALL_SWITCH
=-A
$(DEF2CEXP
)
221 .IF
"$(link_always)"==""
225 .ELSE
# "$(link_always)"==""
226 $(DEF2TARGETN
) .PHONY
:
227 .ENDIF
# "$(link_always)"==""
228 $(COMMAND_ECHO
)-$(RM
) $@.tmpfile
229 @echo
"Making: module definition file" $(@
:f
)
230 $(COMMAND_ECHO
)echo LIBRARY
$(EMQ
)"$(SHL2TARGETN:f)$(EMQ)" >$@.tmpfile
232 $(COMMAND_ECHO
)echo HEAPSIZE
0 >>$@.tmpfile
234 $(COMMAND_ECHO
)echo EXPORTS
>>$@.tmpfile
235 .IF
"$(VERSIONOBJ)"!=""
236 # getversioninfo fuer alle!!
237 $(COMMAND_ECHO
)echo GetVersionInfo
>>$@.tmpfile
239 .IF
"$(DEFLIB2NAME)"!=""
241 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL2TARGET
).exp
242 $(COMMAND_ECHO
)$(DLLTOOL
) --output-def
$(MISC
)/$(SHL2TARGET
).exp
--export-all-symbols \
243 `$(TYPE) $(foreach,i,$(DEFLIB2NAME) $(SLB)/$(i).lib) | sed s#$(ROUT)#$(PRJ)/$(ROUT)#g`
244 $(COMMAND_ECHO
)tail
--lines
+3 $(MISC
)/$(SHL2TARGET
).exp | sed
'/^;/d' >>$@.tmpfile
245 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL2TARGET
).exp
247 .IF
"$(SHL2USE_EXPORTS)"==""
248 $(COMMAND_ECHO
)-$(RMHACK2
) $(MISC
)/$(SHL2TARGET
).exp
249 $(COMMAND_ECHO
)$(LIBMGR
) -EXTRACT
:/ /OUT
:$(MISC
)/$(SHL2TARGET
).exp
$(SLB
)/$(DEFLIB2NAME
).lib
250 $(COMMAND_ECHO
)$(LDUMP2
) -N
$(EXPORT_ALL_SWITCH
) -F
$(MISC
)/$(SHL2TARGET
).flt
$(MISC
)/$(SHL2TARGET
).exp
>>$@.tmpfile
251 $(COMMAND_ECHO
)$(RMHACK2
) $(MISC
)/$(SHL2TARGET
).exp
252 .ELSE
# "$(SHL2USE_EXPORTS)"==""
253 $(COMMAND_ECHO
)$(DUMPBIN
) -DIRECTIVES
$(foreach,i
,$(DEFLIB2NAME
) $(SLB
)/$(i
).lib
) |
$(GREP
) EXPORT
: > $(MISC
)/$(SHL2TARGET
).direct
254 $(COMMAND_ECHO
)$(LDUMP2
) -N
-D
$(EXPORT_ALL_SWITCH
) -F
$(DEF2FILTER
) $(MISC
)/$(SHL2TARGET
).direct
>>$@.tmpfile
255 .ENDIF
# "$(SHL2USE_EXPORTS)"==""
257 .ENDIF
# "$(DEFLIB2NAME)"!=""
258 .IF
"$(DEF2EXPORT1)"!=""
259 $(COMMAND_ECHO
)echo
$(DEF2EXPORT1
) >>$@.tmpfile
261 .IF
"$(DEF2EXPORT2)"!=""
262 $(COMMAND_ECHO
)echo
$(DEF2EXPORT2
) >>$@.tmpfile
264 .IF
"$(DEF2EXPORT3)"!=""
265 $(COMMAND_ECHO
)echo
$(DEF2EXPORT3
) >>$@.tmpfile
267 .IF
"$(DEF2EXPORT4)"!=""
268 $(COMMAND_ECHO
)echo
$(DEF2EXPORT4
) >>$@.tmpfile
270 .IF
"$(DEF2EXPORT5)"!=""
271 $(COMMAND_ECHO
)echo
$(DEF2EXPORT5
) >>$@.tmpfile
273 .IF
"$(DEF2EXPORT6)"!=""
274 $(COMMAND_ECHO
)echo
$(DEF2EXPORT6
) >>$@.tmpfile
276 .IF
"$(DEF2EXPORT7)"!=""
277 $(COMMAND_ECHO
)echo
$(DEF2EXPORT7
) >>$@.tmpfile
279 .IF
"$(DEF2EXPORT8)"!=""
280 $(COMMAND_ECHO
)echo
$(DEF2EXPORT8
) >>$@.tmpfile
282 .IF
"$(DEF2EXPORT9)"!=""
283 $(COMMAND_ECHO
)echo
$(DEF2EXPORT9
) >>$@.tmpfile
285 .IF
"$(DEF2EXPORT10)"!=""
286 $(COMMAND_ECHO
)echo
$(DEF2EXPORT10
) >>$@.tmpfile
288 .IF
"$(DEF2EXPORT11)"!=""
289 $(COMMAND_ECHO
)echo
$(DEF2EXPORT11
) >>$@.tmpfile
291 .IF
"$(DEF2EXPORT12)"!=""
292 $(COMMAND_ECHO
)echo
$(DEF2EXPORT12
) >>$@.tmpfile
294 .IF
"$(DEF2EXPORT13)"!=""
295 $(COMMAND_ECHO
)echo
$(DEF2EXPORT13
) >>$@.tmpfile
297 .IF
"$(DEF2EXPORT14)"!=""
298 $(COMMAND_ECHO
)echo
$(DEF2EXPORT14
) >>$@.tmpfile
300 .IF
"$(DEF2EXPORT15)"!=""
301 $(COMMAND_ECHO
)echo
$(DEF2EXPORT15
) >>$@.tmpfile
303 .IF
"$(DEF2EXPORT16)"!=""
304 $(COMMAND_ECHO
)echo
$(DEF2EXPORT16
) >>$@.tmpfile
306 .IF
"$(DEF2EXPORT17)"!=""
307 $(COMMAND_ECHO
)echo
$(DEF2EXPORT17
) >>$@.tmpfile
309 .IF
"$(DEF2EXPORT18)"!=""
310 $(COMMAND_ECHO
)echo
$(DEF2EXPORT18
) >>$@.tmpfile
312 .IF
"$(DEF2EXPORT19)"!=""
313 $(COMMAND_ECHO
)echo
$(DEF2EXPORT19
) >>$@.tmpfile
315 .IF
"$(DEF2EXPORT20)"!=""
316 $(COMMAND_ECHO
)echo
$(DEF2EXPORT20
) >>$@.tmpfile
318 .IF
"$(DEF2EXPORTFILE)"!=""
320 $(COMMAND_ECHO
)$(TYPE
) $(DEF2EXPORTFILE
) | sed
-e s
:PRIVATE
:: >> $@.tmpfile
322 $(COMMAND_ECHO
)$(TYPE
) $(DEF2EXPORTFILE
) >> $@.tmpfile
325 $(COMMAND_ECHO
)-$(RM
) $@
326 $(COMMAND_ECHO
)$(RENAME
) $@.tmpfile
$@
327 .ENDIF
# "$(GUI)"=="WNT"
333 $(COMMAND_ECHO
)echo just a dummy for UNIX
> $@
335 .ENDIF
# "$(DEF2TARGETN)"!=""
338 # Anweisungen fuer das Linken
341 .IF
"$(DEF3TARGETN)"!=""
343 #to make intuitiv naming work
344 .IF
"$(DEF3LIBNAME)"!=""
345 DEFLIB3NAME
*=$(DEF3LIBNAME
)
346 .ENDIF
# "$(DEF3LIBNAME)"!=""
348 .IF
"$(DEFLIB3NAME)"!=""
349 DEF3DEPN
+=$(foreach,i
,$(DEFLIB3NAME
) $(SLB
)/$(i
).lib
)
352 .IF
"$(SHL3VERSIONMAP)"!=""
353 .IF
"$(DEF3EXPORTFILE)"==""
355 DEF3EXPORTFILE
=$(MISC
)/$(SHL3VERSIONMAP
:b
)_
$(SHL3TARGET
).dxp
357 $(DEF3EXPORTFILE
) : $(SHL3OBJS
) $(SHL3LIBS
)
358 .ENDIF
# .IF "$(COM)"=="GCC"
360 $(DEF3EXPORTFILE
) : $(SHL3VERSIONMAP
)
361 $(COMMAND_ECHO
)$(TYPE
) $< |
$(AWK
) -f
$(SOLARENV
)/bin
/getcsym.awk
> $@
363 $(COMMAND_ECHO
)-$(GREP
) -v
"\*\|?" $@ |
$(SED
) -e
's@#.*@@' > $@.exported-symbols
364 $(COMMAND_ECHO
)-$(GREP
) "\*\|?" $@
> $@.symbols-regexp
365 # Shared libraries will be build out of the *.obj files specified in SHL?OBJS and SHL?LIBS
366 # Extract RTTI symbols from all the objects that will be used to build a shared library
367 $(COMMAND_ECHO
)$(NM
) -gP
$(SHL3OBJS
) \
368 `$(TYPE) /dev/null $(foreach,j,$(SHL3LIBS) $j) | $(SED) s\#$(ROUT)\#$(PRJ)$/$(ROUT)\#g` \
369 |
$(SOLARENV
)/bin
/addsym-mingw.sh
$@.symbols-regexp
$@.symbols-regexp.tmp
>> $@.exported-symbols
370 # overwrite the map file generate into the local output tree with the generated
371 # exported symbols list
372 $(COMMAND_ECHO
)$(RENAME
) $@.exported-symbols
$@
373 .ENDIF
# .IF "$(COM)"=="GCC"
375 .ENDIF
# "$(GUI)"=="WNT"
377 .ENDIF
# "$(DEF3EXPORTFILE)"==""
378 .ENDIF
# "$(SHL3VERSIONMAP)"!=""
382 DEF3FILTER
=$(SOLARENV
)/inc
/dummy.flt
386 .IF
"$(DEF3CEXP)"!=""
387 EXPORT_ALL_SWITCH
=-A
$(DEF3CEXP
)
390 .IF
"$(link_always)"==""
394 .ELSE
# "$(link_always)"==""
395 $(DEF3TARGETN
) .PHONY
:
396 .ENDIF
# "$(link_always)"==""
397 $(COMMAND_ECHO
)-$(RM
) $@.tmpfile
398 @echo
"Making: module definition file" $(@
:f
)
399 $(COMMAND_ECHO
)echo LIBRARY
$(EMQ
)"$(SHL3TARGETN:f)$(EMQ)" >$@.tmpfile
401 $(COMMAND_ECHO
)echo HEAPSIZE
0 >>$@.tmpfile
403 $(COMMAND_ECHO
)echo EXPORTS
>>$@.tmpfile
404 .IF
"$(VERSIONOBJ)"!=""
405 # getversioninfo fuer alle!!
406 $(COMMAND_ECHO
)echo GetVersionInfo
>>$@.tmpfile
408 .IF
"$(DEFLIB3NAME)"!=""
410 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL3TARGET
).exp
411 $(COMMAND_ECHO
)$(DLLTOOL
) --output-def
$(MISC
)/$(SHL3TARGET
).exp
--export-all-symbols \
412 `$(TYPE) $(foreach,i,$(DEFLIB3NAME) $(SLB)/$(i).lib) | sed s#$(ROUT)#$(PRJ)/$(ROUT)#g`
413 $(COMMAND_ECHO
)tail
--lines
+3 $(MISC
)/$(SHL3TARGET
).exp | sed
'/^;/d' >>$@.tmpfile
414 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL3TARGET
).exp
416 .IF
"$(SHL3USE_EXPORTS)"==""
417 $(COMMAND_ECHO
)-$(RMHACK3
) $(MISC
)/$(SHL3TARGET
).exp
418 $(COMMAND_ECHO
)$(LIBMGR
) -EXTRACT
:/ /OUT
:$(MISC
)/$(SHL3TARGET
).exp
$(SLB
)/$(DEFLIB3NAME
).lib
419 $(COMMAND_ECHO
)$(LDUMP2
) -N
$(EXPORT_ALL_SWITCH
) -F
$(MISC
)/$(SHL3TARGET
).flt
$(MISC
)/$(SHL3TARGET
).exp
>>$@.tmpfile
420 $(COMMAND_ECHO
)$(RMHACK3
) $(MISC
)/$(SHL3TARGET
).exp
421 .ELSE
# "$(SHL3USE_EXPORTS)"==""
422 $(COMMAND_ECHO
)$(DUMPBIN
) -DIRECTIVES
$(foreach,i
,$(DEFLIB3NAME
) $(SLB
)/$(i
).lib
) |
$(GREP
) EXPORT
: > $(MISC
)/$(SHL3TARGET
).direct
423 $(COMMAND_ECHO
)$(LDUMP2
) -N
-D
$(EXPORT_ALL_SWITCH
) -F
$(DEF3FILTER
) $(MISC
)/$(SHL3TARGET
).direct
>>$@.tmpfile
424 .ENDIF
# "$(SHL3USE_EXPORTS)"==""
426 .ENDIF
# "$(DEFLIB3NAME)"!=""
427 .IF
"$(DEF3EXPORT1)"!=""
428 $(COMMAND_ECHO
)echo
$(DEF3EXPORT1
) >>$@.tmpfile
430 .IF
"$(DEF3EXPORT2)"!=""
431 $(COMMAND_ECHO
)echo
$(DEF3EXPORT2
) >>$@.tmpfile
433 .IF
"$(DEF3EXPORT3)"!=""
434 $(COMMAND_ECHO
)echo
$(DEF3EXPORT3
) >>$@.tmpfile
436 .IF
"$(DEF3EXPORT4)"!=""
437 $(COMMAND_ECHO
)echo
$(DEF3EXPORT4
) >>$@.tmpfile
439 .IF
"$(DEF3EXPORT5)"!=""
440 $(COMMAND_ECHO
)echo
$(DEF3EXPORT5
) >>$@.tmpfile
442 .IF
"$(DEF3EXPORT6)"!=""
443 $(COMMAND_ECHO
)echo
$(DEF3EXPORT6
) >>$@.tmpfile
445 .IF
"$(DEF3EXPORT7)"!=""
446 $(COMMAND_ECHO
)echo
$(DEF3EXPORT7
) >>$@.tmpfile
448 .IF
"$(DEF3EXPORT8)"!=""
449 $(COMMAND_ECHO
)echo
$(DEF3EXPORT8
) >>$@.tmpfile
451 .IF
"$(DEF3EXPORT9)"!=""
452 $(COMMAND_ECHO
)echo
$(DEF3EXPORT9
) >>$@.tmpfile
454 .IF
"$(DEF3EXPORT10)"!=""
455 $(COMMAND_ECHO
)echo
$(DEF3EXPORT10
) >>$@.tmpfile
457 .IF
"$(DEF3EXPORT11)"!=""
458 $(COMMAND_ECHO
)echo
$(DEF3EXPORT11
) >>$@.tmpfile
460 .IF
"$(DEF3EXPORT12)"!=""
461 $(COMMAND_ECHO
)echo
$(DEF3EXPORT12
) >>$@.tmpfile
463 .IF
"$(DEF3EXPORT13)"!=""
464 $(COMMAND_ECHO
)echo
$(DEF3EXPORT13
) >>$@.tmpfile
466 .IF
"$(DEF3EXPORT14)"!=""
467 $(COMMAND_ECHO
)echo
$(DEF3EXPORT14
) >>$@.tmpfile
469 .IF
"$(DEF3EXPORT15)"!=""
470 $(COMMAND_ECHO
)echo
$(DEF3EXPORT15
) >>$@.tmpfile
472 .IF
"$(DEF3EXPORT16)"!=""
473 $(COMMAND_ECHO
)echo
$(DEF3EXPORT16
) >>$@.tmpfile
475 .IF
"$(DEF3EXPORT17)"!=""
476 $(COMMAND_ECHO
)echo
$(DEF3EXPORT17
) >>$@.tmpfile
478 .IF
"$(DEF3EXPORT18)"!=""
479 $(COMMAND_ECHO
)echo
$(DEF3EXPORT18
) >>$@.tmpfile
481 .IF
"$(DEF3EXPORT19)"!=""
482 $(COMMAND_ECHO
)echo
$(DEF3EXPORT19
) >>$@.tmpfile
484 .IF
"$(DEF3EXPORT20)"!=""
485 $(COMMAND_ECHO
)echo
$(DEF3EXPORT20
) >>$@.tmpfile
487 .IF
"$(DEF3EXPORTFILE)"!=""
489 $(COMMAND_ECHO
)$(TYPE
) $(DEF3EXPORTFILE
) | sed
-e s
:PRIVATE
:: >> $@.tmpfile
491 $(COMMAND_ECHO
)$(TYPE
) $(DEF3EXPORTFILE
) >> $@.tmpfile
494 $(COMMAND_ECHO
)-$(RM
) $@
495 $(COMMAND_ECHO
)$(RENAME
) $@.tmpfile
$@
496 .ENDIF
# "$(GUI)"=="WNT"
502 $(COMMAND_ECHO
)echo just a dummy for UNIX
> $@
504 .ENDIF
# "$(DEF3TARGETN)"!=""
507 # Anweisungen fuer das Linken
510 .IF
"$(DEF4TARGETN)"!=""
512 #to make intuitiv naming work
513 .IF
"$(DEF4LIBNAME)"!=""
514 DEFLIB4NAME
*=$(DEF4LIBNAME
)
515 .ENDIF
# "$(DEF4LIBNAME)"!=""
517 .IF
"$(DEFLIB4NAME)"!=""
518 DEF4DEPN
+=$(foreach,i
,$(DEFLIB4NAME
) $(SLB
)/$(i
).lib
)
521 .IF
"$(SHL4VERSIONMAP)"!=""
522 .IF
"$(DEF4EXPORTFILE)"==""
524 DEF4EXPORTFILE
=$(MISC
)/$(SHL4VERSIONMAP
:b
)_
$(SHL4TARGET
).dxp
526 $(DEF4EXPORTFILE
) : $(SHL4OBJS
) $(SHL4LIBS
)
527 .ENDIF
# .IF "$(COM)"=="GCC"
529 $(DEF4EXPORTFILE
) : $(SHL4VERSIONMAP
)
530 $(COMMAND_ECHO
)$(TYPE
) $< |
$(AWK
) -f
$(SOLARENV
)/bin
/getcsym.awk
> $@
532 $(COMMAND_ECHO
)-$(GREP
) -v
"\*\|?" $@ |
$(SED
) -e
's@#.*@@' > $@.exported-symbols
533 $(COMMAND_ECHO
)-$(GREP
) "\*\|?" $@
> $@.symbols-regexp
534 # Shared libraries will be build out of the *.obj files specified in SHL?OBJS and SHL?LIBS
535 # Extract RTTI symbols from all the objects that will be used to build a shared library
536 $(COMMAND_ECHO
)$(NM
) -gP
$(SHL4OBJS
) \
537 `$(TYPE) /dev/null $(foreach,j,$(SHL4LIBS) $j) | $(SED) s\#$(ROUT)\#$(PRJ)$/$(ROUT)\#g` \
538 |
$(SOLARENV
)/bin
/addsym-mingw.sh
$@.symbols-regexp
$@.symbols-regexp.tmp
>> $@.exported-symbols
539 # overwrite the map file generate into the local output tree with the generated
540 # exported symbols list
541 $(COMMAND_ECHO
)$(RENAME
) $@.exported-symbols
$@
542 .ENDIF
# .IF "$(COM)"=="GCC"
544 .ENDIF
# "$(GUI)"=="WNT"
546 .ENDIF
# "$(DEF4EXPORTFILE)"==""
547 .ENDIF
# "$(SHL4VERSIONMAP)"!=""
551 DEF4FILTER
=$(SOLARENV
)/inc
/dummy.flt
555 .IF
"$(DEF4CEXP)"!=""
556 EXPORT_ALL_SWITCH
=-A
$(DEF4CEXP
)
559 .IF
"$(link_always)"==""
563 .ELSE
# "$(link_always)"==""
564 $(DEF4TARGETN
) .PHONY
:
565 .ENDIF
# "$(link_always)"==""
566 $(COMMAND_ECHO
)-$(RM
) $@.tmpfile
567 @echo
"Making: module definition file" $(@
:f
)
568 $(COMMAND_ECHO
)echo LIBRARY
$(EMQ
)"$(SHL4TARGETN:f)$(EMQ)" >$@.tmpfile
570 $(COMMAND_ECHO
)echo HEAPSIZE
0 >>$@.tmpfile
572 $(COMMAND_ECHO
)echo EXPORTS
>>$@.tmpfile
573 .IF
"$(VERSIONOBJ)"!=""
574 # getversioninfo fuer alle!!
575 $(COMMAND_ECHO
)echo GetVersionInfo
>>$@.tmpfile
577 .IF
"$(DEFLIB4NAME)"!=""
579 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL4TARGET
).exp
580 $(COMMAND_ECHO
)$(DLLTOOL
) --output-def
$(MISC
)/$(SHL4TARGET
).exp
--export-all-symbols \
581 `$(TYPE) $(foreach,i,$(DEFLIB4NAME) $(SLB)/$(i).lib) | sed s#$(ROUT)#$(PRJ)/$(ROUT)#g`
582 $(COMMAND_ECHO
)tail
--lines
+3 $(MISC
)/$(SHL4TARGET
).exp | sed
'/^;/d' >>$@.tmpfile
583 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL4TARGET
).exp
585 .IF
"$(SHL4USE_EXPORTS)"==""
586 $(COMMAND_ECHO
)-$(RMHACK4
) $(MISC
)/$(SHL4TARGET
).exp
587 $(COMMAND_ECHO
)$(LIBMGR
) -EXTRACT
:/ /OUT
:$(MISC
)/$(SHL4TARGET
).exp
$(SLB
)/$(DEFLIB4NAME
).lib
588 $(COMMAND_ECHO
)$(LDUMP2
) -N
$(EXPORT_ALL_SWITCH
) -F
$(MISC
)/$(SHL4TARGET
).flt
$(MISC
)/$(SHL4TARGET
).exp
>>$@.tmpfile
589 $(COMMAND_ECHO
)$(RMHACK4
) $(MISC
)/$(SHL4TARGET
).exp
590 .ELSE
# "$(SHL4USE_EXPORTS)"==""
591 $(COMMAND_ECHO
)$(DUMPBIN
) -DIRECTIVES
$(foreach,i
,$(DEFLIB4NAME
) $(SLB
)/$(i
).lib
) |
$(GREP
) EXPORT
: > $(MISC
)/$(SHL4TARGET
).direct
592 $(COMMAND_ECHO
)$(LDUMP2
) -N
-D
$(EXPORT_ALL_SWITCH
) -F
$(DEF4FILTER
) $(MISC
)/$(SHL4TARGET
).direct
>>$@.tmpfile
593 .ENDIF
# "$(SHL4USE_EXPORTS)"==""
595 .ENDIF
# "$(DEFLIB4NAME)"!=""
596 .IF
"$(DEF4EXPORT1)"!=""
597 $(COMMAND_ECHO
)echo
$(DEF4EXPORT1
) >>$@.tmpfile
599 .IF
"$(DEF4EXPORT2)"!=""
600 $(COMMAND_ECHO
)echo
$(DEF4EXPORT2
) >>$@.tmpfile
602 .IF
"$(DEF4EXPORT3)"!=""
603 $(COMMAND_ECHO
)echo
$(DEF4EXPORT3
) >>$@.tmpfile
605 .IF
"$(DEF4EXPORT4)"!=""
606 $(COMMAND_ECHO
)echo
$(DEF4EXPORT4
) >>$@.tmpfile
608 .IF
"$(DEF4EXPORT5)"!=""
609 $(COMMAND_ECHO
)echo
$(DEF4EXPORT5
) >>$@.tmpfile
611 .IF
"$(DEF4EXPORT6)"!=""
612 $(COMMAND_ECHO
)echo
$(DEF4EXPORT6
) >>$@.tmpfile
614 .IF
"$(DEF4EXPORT7)"!=""
615 $(COMMAND_ECHO
)echo
$(DEF4EXPORT7
) >>$@.tmpfile
617 .IF
"$(DEF4EXPORT8)"!=""
618 $(COMMAND_ECHO
)echo
$(DEF4EXPORT8
) >>$@.tmpfile
620 .IF
"$(DEF4EXPORT9)"!=""
621 $(COMMAND_ECHO
)echo
$(DEF4EXPORT9
) >>$@.tmpfile
623 .IF
"$(DEF4EXPORT10)"!=""
624 $(COMMAND_ECHO
)echo
$(DEF4EXPORT10
) >>$@.tmpfile
626 .IF
"$(DEF4EXPORT11)"!=""
627 $(COMMAND_ECHO
)echo
$(DEF4EXPORT11
) >>$@.tmpfile
629 .IF
"$(DEF4EXPORT12)"!=""
630 $(COMMAND_ECHO
)echo
$(DEF4EXPORT12
) >>$@.tmpfile
632 .IF
"$(DEF4EXPORT13)"!=""
633 $(COMMAND_ECHO
)echo
$(DEF4EXPORT13
) >>$@.tmpfile
635 .IF
"$(DEF4EXPORT14)"!=""
636 $(COMMAND_ECHO
)echo
$(DEF4EXPORT14
) >>$@.tmpfile
638 .IF
"$(DEF4EXPORT15)"!=""
639 $(COMMAND_ECHO
)echo
$(DEF4EXPORT15
) >>$@.tmpfile
641 .IF
"$(DEF4EXPORT16)"!=""
642 $(COMMAND_ECHO
)echo
$(DEF4EXPORT16
) >>$@.tmpfile
644 .IF
"$(DEF4EXPORT17)"!=""
645 $(COMMAND_ECHO
)echo
$(DEF4EXPORT17
) >>$@.tmpfile
647 .IF
"$(DEF4EXPORT18)"!=""
648 $(COMMAND_ECHO
)echo
$(DEF4EXPORT18
) >>$@.tmpfile
650 .IF
"$(DEF4EXPORT19)"!=""
651 $(COMMAND_ECHO
)echo
$(DEF4EXPORT19
) >>$@.tmpfile
653 .IF
"$(DEF4EXPORT20)"!=""
654 $(COMMAND_ECHO
)echo
$(DEF4EXPORT20
) >>$@.tmpfile
656 .IF
"$(DEF4EXPORTFILE)"!=""
658 $(COMMAND_ECHO
)$(TYPE
) $(DEF4EXPORTFILE
) | sed
-e s
:PRIVATE
:: >> $@.tmpfile
660 $(COMMAND_ECHO
)$(TYPE
) $(DEF4EXPORTFILE
) >> $@.tmpfile
663 $(COMMAND_ECHO
)-$(RM
) $@
664 $(COMMAND_ECHO
)$(RENAME
) $@.tmpfile
$@
665 .ENDIF
# "$(GUI)"=="WNT"
671 $(COMMAND_ECHO
)echo just a dummy for UNIX
> $@
673 .ENDIF
# "$(DEF4TARGETN)"!=""
676 # Anweisungen fuer das Linken
679 .IF
"$(DEF5TARGETN)"!=""
681 #to make intuitiv naming work
682 .IF
"$(DEF5LIBNAME)"!=""
683 DEFLIB5NAME
*=$(DEF5LIBNAME
)
684 .ENDIF
# "$(DEF5LIBNAME)"!=""
686 .IF
"$(DEFLIB5NAME)"!=""
687 DEF5DEPN
+=$(foreach,i
,$(DEFLIB5NAME
) $(SLB
)/$(i
).lib
)
690 .IF
"$(SHL5VERSIONMAP)"!=""
691 .IF
"$(DEF5EXPORTFILE)"==""
693 DEF5EXPORTFILE
=$(MISC
)/$(SHL5VERSIONMAP
:b
)_
$(SHL5TARGET
).dxp
695 $(DEF5EXPORTFILE
) : $(SHL5OBJS
) $(SHL5LIBS
)
696 .ENDIF
# .IF "$(COM)"=="GCC"
698 $(DEF5EXPORTFILE
) : $(SHL5VERSIONMAP
)
699 $(COMMAND_ECHO
)$(TYPE
) $< |
$(AWK
) -f
$(SOLARENV
)/bin
/getcsym.awk
> $@
701 $(COMMAND_ECHO
)-$(GREP
) -v
"\*\|?" $@ |
$(SED
) -e
's@#.*@@' > $@.exported-symbols
702 $(COMMAND_ECHO
)-$(GREP
) "\*\|?" $@
> $@.symbols-regexp
703 # Shared libraries will be build out of the *.obj files specified in SHL?OBJS and SHL?LIBS
704 # Extract RTTI symbols from all the objects that will be used to build a shared library
705 $(COMMAND_ECHO
)$(NM
) -gP
$(SHL5OBJS
) \
706 `$(TYPE) /dev/null $(foreach,j,$(SHL5LIBS) $j) | $(SED) s\#$(ROUT)\#$(PRJ)$/$(ROUT)\#g` \
707 |
$(SOLARENV
)/bin
/addsym-mingw.sh
$@.symbols-regexp
$@.symbols-regexp.tmp
>> $@.exported-symbols
708 # overwrite the map file generate into the local output tree with the generated
709 # exported symbols list
710 $(COMMAND_ECHO
)$(RENAME
) $@.exported-symbols
$@
711 .ENDIF
# .IF "$(COM)"=="GCC"
713 .ENDIF
# "$(GUI)"=="WNT"
715 .ENDIF
# "$(DEF5EXPORTFILE)"==""
716 .ENDIF
# "$(SHL5VERSIONMAP)"!=""
720 DEF5FILTER
=$(SOLARENV
)/inc
/dummy.flt
724 .IF
"$(DEF5CEXP)"!=""
725 EXPORT_ALL_SWITCH
=-A
$(DEF5CEXP
)
728 .IF
"$(link_always)"==""
732 .ELSE
# "$(link_always)"==""
733 $(DEF5TARGETN
) .PHONY
:
734 .ENDIF
# "$(link_always)"==""
735 $(COMMAND_ECHO
)-$(RM
) $@.tmpfile
736 @echo
"Making: module definition file" $(@
:f
)
737 $(COMMAND_ECHO
)echo LIBRARY
$(EMQ
)"$(SHL5TARGETN:f)$(EMQ)" >$@.tmpfile
739 $(COMMAND_ECHO
)echo HEAPSIZE
0 >>$@.tmpfile
741 $(COMMAND_ECHO
)echo EXPORTS
>>$@.tmpfile
742 .IF
"$(VERSIONOBJ)"!=""
743 # getversioninfo fuer alle!!
744 $(COMMAND_ECHO
)echo GetVersionInfo
>>$@.tmpfile
746 .IF
"$(DEFLIB5NAME)"!=""
748 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL5TARGET
).exp
749 $(COMMAND_ECHO
)$(DLLTOOL
) --output-def
$(MISC
)/$(SHL5TARGET
).exp
--export-all-symbols \
750 `$(TYPE) $(foreach,i,$(DEFLIB5NAME) $(SLB)/$(i).lib) | sed s#$(ROUT)#$(PRJ)/$(ROUT)#g`
751 $(COMMAND_ECHO
)tail
--lines
+3 $(MISC
)/$(SHL5TARGET
).exp | sed
'/^;/d' >>$@.tmpfile
752 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL5TARGET
).exp
754 .IF
"$(SHL5USE_EXPORTS)"==""
755 $(COMMAND_ECHO
)-$(RMHACK5
) $(MISC
)/$(SHL5TARGET
).exp
756 $(COMMAND_ECHO
)$(LIBMGR
) -EXTRACT
:/ /OUT
:$(MISC
)/$(SHL5TARGET
).exp
$(SLB
)/$(DEFLIB5NAME
).lib
757 $(COMMAND_ECHO
)$(LDUMP2
) -N
$(EXPORT_ALL_SWITCH
) -F
$(MISC
)/$(SHL5TARGET
).flt
$(MISC
)/$(SHL5TARGET
).exp
>>$@.tmpfile
758 $(COMMAND_ECHO
)$(RMHACK5
) $(MISC
)/$(SHL5TARGET
).exp
759 .ELSE
# "$(SHL5USE_EXPORTS)"==""
760 $(COMMAND_ECHO
)$(DUMPBIN
) -DIRECTIVES
$(foreach,i
,$(DEFLIB5NAME
) $(SLB
)/$(i
).lib
) |
$(GREP
) EXPORT
: > $(MISC
)/$(SHL5TARGET
).direct
761 $(COMMAND_ECHO
)$(LDUMP2
) -N
-D
$(EXPORT_ALL_SWITCH
) -F
$(DEF5FILTER
) $(MISC
)/$(SHL5TARGET
).direct
>>$@.tmpfile
762 .ENDIF
# "$(SHL5USE_EXPORTS)"==""
764 .ENDIF
# "$(DEFLIB5NAME)"!=""
765 .IF
"$(DEF5EXPORT1)"!=""
766 $(COMMAND_ECHO
)echo
$(DEF5EXPORT1
) >>$@.tmpfile
768 .IF
"$(DEF5EXPORT2)"!=""
769 $(COMMAND_ECHO
)echo
$(DEF5EXPORT2
) >>$@.tmpfile
771 .IF
"$(DEF5EXPORT3)"!=""
772 $(COMMAND_ECHO
)echo
$(DEF5EXPORT3
) >>$@.tmpfile
774 .IF
"$(DEF5EXPORT4)"!=""
775 $(COMMAND_ECHO
)echo
$(DEF5EXPORT4
) >>$@.tmpfile
777 .IF
"$(DEF5EXPORT5)"!=""
778 $(COMMAND_ECHO
)echo
$(DEF5EXPORT5
) >>$@.tmpfile
780 .IF
"$(DEF5EXPORT6)"!=""
781 $(COMMAND_ECHO
)echo
$(DEF5EXPORT6
) >>$@.tmpfile
783 .IF
"$(DEF5EXPORT7)"!=""
784 $(COMMAND_ECHO
)echo
$(DEF5EXPORT7
) >>$@.tmpfile
786 .IF
"$(DEF5EXPORT8)"!=""
787 $(COMMAND_ECHO
)echo
$(DEF5EXPORT8
) >>$@.tmpfile
789 .IF
"$(DEF5EXPORT9)"!=""
790 $(COMMAND_ECHO
)echo
$(DEF5EXPORT9
) >>$@.tmpfile
792 .IF
"$(DEF5EXPORT10)"!=""
793 $(COMMAND_ECHO
)echo
$(DEF5EXPORT10
) >>$@.tmpfile
795 .IF
"$(DEF5EXPORT11)"!=""
796 $(COMMAND_ECHO
)echo
$(DEF5EXPORT11
) >>$@.tmpfile
798 .IF
"$(DEF5EXPORT12)"!=""
799 $(COMMAND_ECHO
)echo
$(DEF5EXPORT12
) >>$@.tmpfile
801 .IF
"$(DEF5EXPORT13)"!=""
802 $(COMMAND_ECHO
)echo
$(DEF5EXPORT13
) >>$@.tmpfile
804 .IF
"$(DEF5EXPORT14)"!=""
805 $(COMMAND_ECHO
)echo
$(DEF5EXPORT14
) >>$@.tmpfile
807 .IF
"$(DEF5EXPORT15)"!=""
808 $(COMMAND_ECHO
)echo
$(DEF5EXPORT15
) >>$@.tmpfile
810 .IF
"$(DEF5EXPORT16)"!=""
811 $(COMMAND_ECHO
)echo
$(DEF5EXPORT16
) >>$@.tmpfile
813 .IF
"$(DEF5EXPORT17)"!=""
814 $(COMMAND_ECHO
)echo
$(DEF5EXPORT17
) >>$@.tmpfile
816 .IF
"$(DEF5EXPORT18)"!=""
817 $(COMMAND_ECHO
)echo
$(DEF5EXPORT18
) >>$@.tmpfile
819 .IF
"$(DEF5EXPORT19)"!=""
820 $(COMMAND_ECHO
)echo
$(DEF5EXPORT19
) >>$@.tmpfile
822 .IF
"$(DEF5EXPORT20)"!=""
823 $(COMMAND_ECHO
)echo
$(DEF5EXPORT20
) >>$@.tmpfile
825 .IF
"$(DEF5EXPORTFILE)"!=""
827 $(COMMAND_ECHO
)$(TYPE
) $(DEF5EXPORTFILE
) | sed
-e s
:PRIVATE
:: >> $@.tmpfile
829 $(COMMAND_ECHO
)$(TYPE
) $(DEF5EXPORTFILE
) >> $@.tmpfile
832 $(COMMAND_ECHO
)-$(RM
) $@
833 $(COMMAND_ECHO
)$(RENAME
) $@.tmpfile
$@
834 .ENDIF
# "$(GUI)"=="WNT"
840 $(COMMAND_ECHO
)echo just a dummy for UNIX
> $@
842 .ENDIF
# "$(DEF5TARGETN)"!=""
845 # Anweisungen fuer das Linken
848 .IF
"$(DEF6TARGETN)"!=""
850 #to make intuitiv naming work
851 .IF
"$(DEF6LIBNAME)"!=""
852 DEFLIB6NAME
*=$(DEF6LIBNAME
)
853 .ENDIF
# "$(DEF6LIBNAME)"!=""
855 .IF
"$(DEFLIB6NAME)"!=""
856 DEF6DEPN
+=$(foreach,i
,$(DEFLIB6NAME
) $(SLB
)/$(i
).lib
)
859 .IF
"$(SHL6VERSIONMAP)"!=""
860 .IF
"$(DEF6EXPORTFILE)"==""
862 DEF6EXPORTFILE
=$(MISC
)/$(SHL6VERSIONMAP
:b
)_
$(SHL6TARGET
).dxp
864 $(DEF6EXPORTFILE
) : $(SHL6OBJS
) $(SHL6LIBS
)
865 .ENDIF
# .IF "$(COM)"=="GCC"
867 $(DEF6EXPORTFILE
) : $(SHL6VERSIONMAP
)
868 $(COMMAND_ECHO
)$(TYPE
) $< |
$(AWK
) -f
$(SOLARENV
)/bin
/getcsym.awk
> $@
870 $(COMMAND_ECHO
)-$(GREP
) -v
"\*\|?" $@ |
$(SED
) -e
's@#.*@@' > $@.exported-symbols
871 $(COMMAND_ECHO
)-$(GREP
) "\*\|?" $@
> $@.symbols-regexp
872 # Shared libraries will be build out of the *.obj files specified in SHL?OBJS and SHL?LIBS
873 # Extract RTTI symbols from all the objects that will be used to build a shared library
874 $(COMMAND_ECHO
)$(NM
) -gP
$(SHL6OBJS
) \
875 `$(TYPE) /dev/null $(foreach,j,$(SHL6LIBS) $j) | $(SED) s\#$(ROUT)\#$(PRJ)$/$(ROUT)\#g` \
876 |
$(SOLARENV
)/bin
/addsym-mingw.sh
$@.symbols-regexp
$@.symbols-regexp.tmp
>> $@.exported-symbols
877 # overwrite the map file generate into the local output tree with the generated
878 # exported symbols list
879 $(COMMAND_ECHO
)$(RENAME
) $@.exported-symbols
$@
880 .ENDIF
# .IF "$(COM)"=="GCC"
882 .ENDIF
# "$(GUI)"=="WNT"
884 .ENDIF
# "$(DEF6EXPORTFILE)"==""
885 .ENDIF
# "$(SHL6VERSIONMAP)"!=""
889 DEF6FILTER
=$(SOLARENV
)/inc
/dummy.flt
893 .IF
"$(DEF6CEXP)"!=""
894 EXPORT_ALL_SWITCH
=-A
$(DEF6CEXP
)
897 .IF
"$(link_always)"==""
901 .ELSE
# "$(link_always)"==""
902 $(DEF6TARGETN
) .PHONY
:
903 .ENDIF
# "$(link_always)"==""
904 $(COMMAND_ECHO
)-$(RM
) $@.tmpfile
905 @echo
"Making: module definition file" $(@
:f
)
906 $(COMMAND_ECHO
)echo LIBRARY
$(EMQ
)"$(SHL6TARGETN:f)$(EMQ)" >$@.tmpfile
908 $(COMMAND_ECHO
)echo HEAPSIZE
0 >>$@.tmpfile
910 $(COMMAND_ECHO
)echo EXPORTS
>>$@.tmpfile
911 .IF
"$(VERSIONOBJ)"!=""
912 # getversioninfo fuer alle!!
913 $(COMMAND_ECHO
)echo GetVersionInfo
>>$@.tmpfile
915 .IF
"$(DEFLIB6NAME)"!=""
917 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL6TARGET
).exp
918 $(COMMAND_ECHO
)$(DLLTOOL
) --output-def
$(MISC
)/$(SHL6TARGET
).exp
--export-all-symbols \
919 `$(TYPE) $(foreach,i,$(DEFLIB6NAME) $(SLB)/$(i).lib) | sed s#$(ROUT)#$(PRJ)/$(ROUT)#g`
920 $(COMMAND_ECHO
)tail
--lines
+3 $(MISC
)/$(SHL6TARGET
).exp | sed
'/^;/d' >>$@.tmpfile
921 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL6TARGET
).exp
923 .IF
"$(SHL6USE_EXPORTS)"==""
924 $(COMMAND_ECHO
)-$(RMHACK6
) $(MISC
)/$(SHL6TARGET
).exp
925 $(COMMAND_ECHO
)$(LIBMGR
) -EXTRACT
:/ /OUT
:$(MISC
)/$(SHL6TARGET
).exp
$(SLB
)/$(DEFLIB6NAME
).lib
926 $(COMMAND_ECHO
)$(LDUMP2
) -N
$(EXPORT_ALL_SWITCH
) -F
$(MISC
)/$(SHL6TARGET
).flt
$(MISC
)/$(SHL6TARGET
).exp
>>$@.tmpfile
927 $(COMMAND_ECHO
)$(RMHACK6
) $(MISC
)/$(SHL6TARGET
).exp
928 .ELSE
# "$(SHL6USE_EXPORTS)"==""
929 $(COMMAND_ECHO
)$(DUMPBIN
) -DIRECTIVES
$(foreach,i
,$(DEFLIB6NAME
) $(SLB
)/$(i
).lib
) |
$(GREP
) EXPORT
: > $(MISC
)/$(SHL6TARGET
).direct
930 $(COMMAND_ECHO
)$(LDUMP2
) -N
-D
$(EXPORT_ALL_SWITCH
) -F
$(DEF6FILTER
) $(MISC
)/$(SHL6TARGET
).direct
>>$@.tmpfile
931 .ENDIF
# "$(SHL6USE_EXPORTS)"==""
933 .ENDIF
# "$(DEFLIB6NAME)"!=""
934 .IF
"$(DEF6EXPORT1)"!=""
935 $(COMMAND_ECHO
)echo
$(DEF6EXPORT1
) >>$@.tmpfile
937 .IF
"$(DEF6EXPORT2)"!=""
938 $(COMMAND_ECHO
)echo
$(DEF6EXPORT2
) >>$@.tmpfile
940 .IF
"$(DEF6EXPORT3)"!=""
941 $(COMMAND_ECHO
)echo
$(DEF6EXPORT3
) >>$@.tmpfile
943 .IF
"$(DEF6EXPORT4)"!=""
944 $(COMMAND_ECHO
)echo
$(DEF6EXPORT4
) >>$@.tmpfile
946 .IF
"$(DEF6EXPORT5)"!=""
947 $(COMMAND_ECHO
)echo
$(DEF6EXPORT5
) >>$@.tmpfile
949 .IF
"$(DEF6EXPORT6)"!=""
950 $(COMMAND_ECHO
)echo
$(DEF6EXPORT6
) >>$@.tmpfile
952 .IF
"$(DEF6EXPORT7)"!=""
953 $(COMMAND_ECHO
)echo
$(DEF6EXPORT7
) >>$@.tmpfile
955 .IF
"$(DEF6EXPORT8)"!=""
956 $(COMMAND_ECHO
)echo
$(DEF6EXPORT8
) >>$@.tmpfile
958 .IF
"$(DEF6EXPORT9)"!=""
959 $(COMMAND_ECHO
)echo
$(DEF6EXPORT9
) >>$@.tmpfile
961 .IF
"$(DEF6EXPORT10)"!=""
962 $(COMMAND_ECHO
)echo
$(DEF6EXPORT10
) >>$@.tmpfile
964 .IF
"$(DEF6EXPORT11)"!=""
965 $(COMMAND_ECHO
)echo
$(DEF6EXPORT11
) >>$@.tmpfile
967 .IF
"$(DEF6EXPORT12)"!=""
968 $(COMMAND_ECHO
)echo
$(DEF6EXPORT12
) >>$@.tmpfile
970 .IF
"$(DEF6EXPORT13)"!=""
971 $(COMMAND_ECHO
)echo
$(DEF6EXPORT13
) >>$@.tmpfile
973 .IF
"$(DEF6EXPORT14)"!=""
974 $(COMMAND_ECHO
)echo
$(DEF6EXPORT14
) >>$@.tmpfile
976 .IF
"$(DEF6EXPORT15)"!=""
977 $(COMMAND_ECHO
)echo
$(DEF6EXPORT15
) >>$@.tmpfile
979 .IF
"$(DEF6EXPORT16)"!=""
980 $(COMMAND_ECHO
)echo
$(DEF6EXPORT16
) >>$@.tmpfile
982 .IF
"$(DEF6EXPORT17)"!=""
983 $(COMMAND_ECHO
)echo
$(DEF6EXPORT17
) >>$@.tmpfile
985 .IF
"$(DEF6EXPORT18)"!=""
986 $(COMMAND_ECHO
)echo
$(DEF6EXPORT18
) >>$@.tmpfile
988 .IF
"$(DEF6EXPORT19)"!=""
989 $(COMMAND_ECHO
)echo
$(DEF6EXPORT19
) >>$@.tmpfile
991 .IF
"$(DEF6EXPORT20)"!=""
992 $(COMMAND_ECHO
)echo
$(DEF6EXPORT20
) >>$@.tmpfile
994 .IF
"$(DEF6EXPORTFILE)"!=""
996 $(COMMAND_ECHO
)$(TYPE
) $(DEF6EXPORTFILE
) | sed
-e s
:PRIVATE
:: >> $@.tmpfile
998 $(COMMAND_ECHO
)$(TYPE
) $(DEF6EXPORTFILE
) >> $@.tmpfile
1001 $(COMMAND_ECHO
)-$(RM
) $@
1002 $(COMMAND_ECHO
)$(RENAME
) $@.tmpfile
$@
1003 .ENDIF
# "$(GUI)"=="WNT"
1009 $(COMMAND_ECHO
)echo just a dummy for UNIX
> $@
1011 .ENDIF
# "$(DEF6TARGETN)"!=""
1014 # Anweisungen fuer das Linken
1017 .IF
"$(DEF7TARGETN)"!=""
1019 #to make intuitiv naming work
1020 .IF
"$(DEF7LIBNAME)"!=""
1021 DEFLIB7NAME
*=$(DEF7LIBNAME
)
1022 .ENDIF
# "$(DEF7LIBNAME)"!=""
1024 .IF
"$(DEFLIB7NAME)"!=""
1025 DEF7DEPN
+=$(foreach,i
,$(DEFLIB7NAME
) $(SLB
)/$(i
).lib
)
1028 .IF
"$(SHL7VERSIONMAP)"!=""
1029 .IF
"$(DEF7EXPORTFILE)"==""
1031 DEF7EXPORTFILE
=$(MISC
)/$(SHL7VERSIONMAP
:b
)_
$(SHL7TARGET
).dxp
1033 $(DEF7EXPORTFILE
) : $(SHL7OBJS
) $(SHL7LIBS
)
1034 .ENDIF
# .IF "$(COM)"=="GCC"
1036 $(DEF7EXPORTFILE
) : $(SHL7VERSIONMAP
)
1037 $(COMMAND_ECHO
)$(TYPE
) $< |
$(AWK
) -f
$(SOLARENV
)/bin
/getcsym.awk
> $@
1039 $(COMMAND_ECHO
)-$(GREP
) -v
"\*\|?" $@ |
$(SED
) -e
's@#.*@@' > $@.exported-symbols
1040 $(COMMAND_ECHO
)-$(GREP
) "\*\|?" $@
> $@.symbols-regexp
1041 # Shared libraries will be build out of the *.obj files specified in SHL?OBJS and SHL?LIBS
1042 # Extract RTTI symbols from all the objects that will be used to build a shared library
1043 $(COMMAND_ECHO
)$(NM
) -gP
$(SHL7OBJS
) \
1044 `$(TYPE) /dev/null $(foreach,j,$(SHL7LIBS) $j) | $(SED) s\#$(ROUT)\#$(PRJ)$/$(ROUT)\#g` \
1045 |
$(SOLARENV
)/bin
/addsym-mingw.sh
$@.symbols-regexp
$@.symbols-regexp.tmp
>> $@.exported-symbols
1046 # overwrite the map file generate into the local output tree with the generated
1047 # exported symbols list
1048 $(COMMAND_ECHO
)$(RENAME
) $@.exported-symbols
$@
1049 .ENDIF
# .IF "$(COM)"=="GCC"
1051 .ENDIF
# "$(GUI)"=="WNT"
1053 .ENDIF
# "$(DEF7EXPORTFILE)"==""
1054 .ENDIF
# "$(SHL7VERSIONMAP)"!=""
1058 DEF7FILTER
=$(SOLARENV
)/inc
/dummy.flt
1062 .IF
"$(DEF7CEXP)"!=""
1063 EXPORT_ALL_SWITCH
=-A
$(DEF7CEXP
)
1066 .IF
"$(link_always)"==""
1070 .ELSE
# "$(link_always)"==""
1071 $(DEF7TARGETN
) .PHONY
:
1072 .ENDIF
# "$(link_always)"==""
1073 $(COMMAND_ECHO
)-$(RM
) $@.tmpfile
1074 @echo
"Making: module definition file" $(@
:f
)
1075 $(COMMAND_ECHO
)echo LIBRARY
$(EMQ
)"$(SHL7TARGETN:f)$(EMQ)" >$@.tmpfile
1077 $(COMMAND_ECHO
)echo HEAPSIZE
0 >>$@.tmpfile
1079 $(COMMAND_ECHO
)echo EXPORTS
>>$@.tmpfile
1080 .IF
"$(VERSIONOBJ)"!=""
1081 # getversioninfo fuer alle!!
1082 $(COMMAND_ECHO
)echo GetVersionInfo
>>$@.tmpfile
1084 .IF
"$(DEFLIB7NAME)"!=""
1086 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL7TARGET
).exp
1087 $(COMMAND_ECHO
)$(DLLTOOL
) --output-def
$(MISC
)/$(SHL7TARGET
).exp
--export-all-symbols \
1088 `$(TYPE) $(foreach,i,$(DEFLIB7NAME) $(SLB)/$(i).lib) | sed s#$(ROUT)#$(PRJ)/$(ROUT)#g`
1089 $(COMMAND_ECHO
)tail
--lines
+3 $(MISC
)/$(SHL7TARGET
).exp | sed
'/^;/d' >>$@.tmpfile
1090 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL7TARGET
).exp
1092 .IF
"$(SHL7USE_EXPORTS)"==""
1093 $(COMMAND_ECHO
)-$(RMHACK7
) $(MISC
)/$(SHL7TARGET
).exp
1094 $(COMMAND_ECHO
)$(LIBMGR
) -EXTRACT
:/ /OUT
:$(MISC
)/$(SHL7TARGET
).exp
$(SLB
)/$(DEFLIB7NAME
).lib
1095 $(COMMAND_ECHO
)$(LDUMP2
) -N
$(EXPORT_ALL_SWITCH
) -F
$(MISC
)/$(SHL7TARGET
).flt
$(MISC
)/$(SHL7TARGET
).exp
>>$@.tmpfile
1096 $(COMMAND_ECHO
)$(RMHACK7
) $(MISC
)/$(SHL7TARGET
).exp
1097 .ELSE
# "$(SHL7USE_EXPORTS)"==""
1098 $(COMMAND_ECHO
)$(DUMPBIN
) -DIRECTIVES
$(foreach,i
,$(DEFLIB7NAME
) $(SLB
)/$(i
).lib
) |
$(GREP
) EXPORT
: > $(MISC
)/$(SHL7TARGET
).direct
1099 $(COMMAND_ECHO
)$(LDUMP2
) -N
-D
$(EXPORT_ALL_SWITCH
) -F
$(DEF7FILTER
) $(MISC
)/$(SHL7TARGET
).direct
>>$@.tmpfile
1100 .ENDIF
# "$(SHL7USE_EXPORTS)"==""
1102 .ENDIF
# "$(DEFLIB7NAME)"!=""
1103 .IF
"$(DEF7EXPORT1)"!=""
1104 $(COMMAND_ECHO
)echo
$(DEF7EXPORT1
) >>$@.tmpfile
1106 .IF
"$(DEF7EXPORT2)"!=""
1107 $(COMMAND_ECHO
)echo
$(DEF7EXPORT2
) >>$@.tmpfile
1109 .IF
"$(DEF7EXPORT3)"!=""
1110 $(COMMAND_ECHO
)echo
$(DEF7EXPORT3
) >>$@.tmpfile
1112 .IF
"$(DEF7EXPORT4)"!=""
1113 $(COMMAND_ECHO
)echo
$(DEF7EXPORT4
) >>$@.tmpfile
1115 .IF
"$(DEF7EXPORT5)"!=""
1116 $(COMMAND_ECHO
)echo
$(DEF7EXPORT5
) >>$@.tmpfile
1118 .IF
"$(DEF7EXPORT6)"!=""
1119 $(COMMAND_ECHO
)echo
$(DEF7EXPORT6
) >>$@.tmpfile
1121 .IF
"$(DEF7EXPORT7)"!=""
1122 $(COMMAND_ECHO
)echo
$(DEF7EXPORT7
) >>$@.tmpfile
1124 .IF
"$(DEF7EXPORT8)"!=""
1125 $(COMMAND_ECHO
)echo
$(DEF7EXPORT8
) >>$@.tmpfile
1127 .IF
"$(DEF7EXPORT9)"!=""
1128 $(COMMAND_ECHO
)echo
$(DEF7EXPORT9
) >>$@.tmpfile
1130 .IF
"$(DEF7EXPORT10)"!=""
1131 $(COMMAND_ECHO
)echo
$(DEF7EXPORT10
) >>$@.tmpfile
1133 .IF
"$(DEF7EXPORT11)"!=""
1134 $(COMMAND_ECHO
)echo
$(DEF7EXPORT11
) >>$@.tmpfile
1136 .IF
"$(DEF7EXPORT12)"!=""
1137 $(COMMAND_ECHO
)echo
$(DEF7EXPORT12
) >>$@.tmpfile
1139 .IF
"$(DEF7EXPORT13)"!=""
1140 $(COMMAND_ECHO
)echo
$(DEF7EXPORT13
) >>$@.tmpfile
1142 .IF
"$(DEF7EXPORT14)"!=""
1143 $(COMMAND_ECHO
)echo
$(DEF7EXPORT14
) >>$@.tmpfile
1145 .IF
"$(DEF7EXPORT15)"!=""
1146 $(COMMAND_ECHO
)echo
$(DEF7EXPORT15
) >>$@.tmpfile
1148 .IF
"$(DEF7EXPORT16)"!=""
1149 $(COMMAND_ECHO
)echo
$(DEF7EXPORT16
) >>$@.tmpfile
1151 .IF
"$(DEF7EXPORT17)"!=""
1152 $(COMMAND_ECHO
)echo
$(DEF7EXPORT17
) >>$@.tmpfile
1154 .IF
"$(DEF7EXPORT18)"!=""
1155 $(COMMAND_ECHO
)echo
$(DEF7EXPORT18
) >>$@.tmpfile
1157 .IF
"$(DEF7EXPORT19)"!=""
1158 $(COMMAND_ECHO
)echo
$(DEF7EXPORT19
) >>$@.tmpfile
1160 .IF
"$(DEF7EXPORT20)"!=""
1161 $(COMMAND_ECHO
)echo
$(DEF7EXPORT20
) >>$@.tmpfile
1163 .IF
"$(DEF7EXPORTFILE)"!=""
1165 $(COMMAND_ECHO
)$(TYPE
) $(DEF7EXPORTFILE
) | sed
-e s
:PRIVATE
:: >> $@.tmpfile
1167 $(COMMAND_ECHO
)$(TYPE
) $(DEF7EXPORTFILE
) >> $@.tmpfile
1170 $(COMMAND_ECHO
)-$(RM
) $@
1171 $(COMMAND_ECHO
)$(RENAME
) $@.tmpfile
$@
1172 .ENDIF
# "$(GUI)"=="WNT"
1178 $(COMMAND_ECHO
)echo just a dummy for UNIX
> $@
1180 .ENDIF
# "$(DEF7TARGETN)"!=""
1183 # Anweisungen fuer das Linken
1186 .IF
"$(DEF8TARGETN)"!=""
1188 #to make intuitiv naming work
1189 .IF
"$(DEF8LIBNAME)"!=""
1190 DEFLIB8NAME
*=$(DEF8LIBNAME
)
1191 .ENDIF
# "$(DEF8LIBNAME)"!=""
1193 .IF
"$(DEFLIB8NAME)"!=""
1194 DEF8DEPN
+=$(foreach,i
,$(DEFLIB8NAME
) $(SLB
)/$(i
).lib
)
1197 .IF
"$(SHL8VERSIONMAP)"!=""
1198 .IF
"$(DEF8EXPORTFILE)"==""
1200 DEF8EXPORTFILE
=$(MISC
)/$(SHL8VERSIONMAP
:b
)_
$(SHL8TARGET
).dxp
1202 $(DEF8EXPORTFILE
) : $(SHL8OBJS
) $(SHL8LIBS
)
1203 .ENDIF
# .IF "$(COM)"=="GCC"
1205 $(DEF8EXPORTFILE
) : $(SHL8VERSIONMAP
)
1206 $(COMMAND_ECHO
)$(TYPE
) $< |
$(AWK
) -f
$(SOLARENV
)/bin
/getcsym.awk
> $@
1208 $(COMMAND_ECHO
)-$(GREP
) -v
"\*\|?" $@ |
$(SED
) -e
's@#.*@@' > $@.exported-symbols
1209 $(COMMAND_ECHO
)-$(GREP
) "\*\|?" $@
> $@.symbols-regexp
1210 # Shared libraries will be build out of the *.obj files specified in SHL?OBJS and SHL?LIBS
1211 # Extract RTTI symbols from all the objects that will be used to build a shared library
1212 $(COMMAND_ECHO
)$(NM
) -gP
$(SHL8OBJS
) \
1213 `$(TYPE) /dev/null $(foreach,j,$(SHL8LIBS) $j) | $(SED) s\#$(ROUT)\#$(PRJ)$/$(ROUT)\#g` \
1214 |
$(SOLARENV
)/bin
/addsym-mingw.sh
$@.symbols-regexp
$@.symbols-regexp.tmp
>> $@.exported-symbols
1215 # overwrite the map file generate into the local output tree with the generated
1216 # exported symbols list
1217 $(COMMAND_ECHO
)$(RENAME
) $@.exported-symbols
$@
1218 .ENDIF
# .IF "$(COM)"=="GCC"
1220 .ENDIF
# "$(GUI)"=="WNT"
1222 .ENDIF
# "$(DEF8EXPORTFILE)"==""
1223 .ENDIF
# "$(SHL8VERSIONMAP)"!=""
1227 DEF8FILTER
=$(SOLARENV
)/inc
/dummy.flt
1231 .IF
"$(DEF8CEXP)"!=""
1232 EXPORT_ALL_SWITCH
=-A
$(DEF8CEXP
)
1235 .IF
"$(link_always)"==""
1239 .ELSE
# "$(link_always)"==""
1240 $(DEF8TARGETN
) .PHONY
:
1241 .ENDIF
# "$(link_always)"==""
1242 $(COMMAND_ECHO
)-$(RM
) $@.tmpfile
1243 @echo
"Making: module definition file" $(@
:f
)
1244 $(COMMAND_ECHO
)echo LIBRARY
$(EMQ
)"$(SHL8TARGETN:f)$(EMQ)" >$@.tmpfile
1246 $(COMMAND_ECHO
)echo HEAPSIZE
0 >>$@.tmpfile
1248 $(COMMAND_ECHO
)echo EXPORTS
>>$@.tmpfile
1249 .IF
"$(VERSIONOBJ)"!=""
1250 # getversioninfo fuer alle!!
1251 $(COMMAND_ECHO
)echo GetVersionInfo
>>$@.tmpfile
1253 .IF
"$(DEFLIB8NAME)"!=""
1255 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL8TARGET
).exp
1256 $(COMMAND_ECHO
)$(DLLTOOL
) --output-def
$(MISC
)/$(SHL8TARGET
).exp
--export-all-symbols \
1257 `$(TYPE) $(foreach,i,$(DEFLIB8NAME) $(SLB)/$(i).lib) | sed s#$(ROUT)#$(PRJ)/$(ROUT)#g`
1258 $(COMMAND_ECHO
)tail
--lines
+3 $(MISC
)/$(SHL8TARGET
).exp | sed
'/^;/d' >>$@.tmpfile
1259 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL8TARGET
).exp
1261 .IF
"$(SHL8USE_EXPORTS)"==""
1262 $(COMMAND_ECHO
)-$(RMHACK8
) $(MISC
)/$(SHL8TARGET
).exp
1263 $(COMMAND_ECHO
)$(LIBMGR
) -EXTRACT
:/ /OUT
:$(MISC
)/$(SHL8TARGET
).exp
$(SLB
)/$(DEFLIB8NAME
).lib
1264 $(COMMAND_ECHO
)$(LDUMP2
) -N
$(EXPORT_ALL_SWITCH
) -F
$(MISC
)/$(SHL8TARGET
).flt
$(MISC
)/$(SHL8TARGET
).exp
>>$@.tmpfile
1265 $(COMMAND_ECHO
)$(RMHACK8
) $(MISC
)/$(SHL8TARGET
).exp
1266 .ELSE
# "$(SHL8USE_EXPORTS)"==""
1267 $(COMMAND_ECHO
)$(DUMPBIN
) -DIRECTIVES
$(foreach,i
,$(DEFLIB8NAME
) $(SLB
)/$(i
).lib
) |
$(GREP
) EXPORT
: > $(MISC
)/$(SHL8TARGET
).direct
1268 $(COMMAND_ECHO
)$(LDUMP2
) -N
-D
$(EXPORT_ALL_SWITCH
) -F
$(DEF8FILTER
) $(MISC
)/$(SHL8TARGET
).direct
>>$@.tmpfile
1269 .ENDIF
# "$(SHL8USE_EXPORTS)"==""
1271 .ENDIF
# "$(DEFLIB8NAME)"!=""
1272 .IF
"$(DEF8EXPORT1)"!=""
1273 $(COMMAND_ECHO
)echo
$(DEF8EXPORT1
) >>$@.tmpfile
1275 .IF
"$(DEF8EXPORT2)"!=""
1276 $(COMMAND_ECHO
)echo
$(DEF8EXPORT2
) >>$@.tmpfile
1278 .IF
"$(DEF8EXPORT3)"!=""
1279 $(COMMAND_ECHO
)echo
$(DEF8EXPORT3
) >>$@.tmpfile
1281 .IF
"$(DEF8EXPORT4)"!=""
1282 $(COMMAND_ECHO
)echo
$(DEF8EXPORT4
) >>$@.tmpfile
1284 .IF
"$(DEF8EXPORT5)"!=""
1285 $(COMMAND_ECHO
)echo
$(DEF8EXPORT5
) >>$@.tmpfile
1287 .IF
"$(DEF8EXPORT6)"!=""
1288 $(COMMAND_ECHO
)echo
$(DEF8EXPORT6
) >>$@.tmpfile
1290 .IF
"$(DEF8EXPORT7)"!=""
1291 $(COMMAND_ECHO
)echo
$(DEF8EXPORT7
) >>$@.tmpfile
1293 .IF
"$(DEF8EXPORT8)"!=""
1294 $(COMMAND_ECHO
)echo
$(DEF8EXPORT8
) >>$@.tmpfile
1296 .IF
"$(DEF8EXPORT9)"!=""
1297 $(COMMAND_ECHO
)echo
$(DEF8EXPORT9
) >>$@.tmpfile
1299 .IF
"$(DEF8EXPORT10)"!=""
1300 $(COMMAND_ECHO
)echo
$(DEF8EXPORT10
) >>$@.tmpfile
1302 .IF
"$(DEF8EXPORT11)"!=""
1303 $(COMMAND_ECHO
)echo
$(DEF8EXPORT11
) >>$@.tmpfile
1305 .IF
"$(DEF8EXPORT12)"!=""
1306 $(COMMAND_ECHO
)echo
$(DEF8EXPORT12
) >>$@.tmpfile
1308 .IF
"$(DEF8EXPORT13)"!=""
1309 $(COMMAND_ECHO
)echo
$(DEF8EXPORT13
) >>$@.tmpfile
1311 .IF
"$(DEF8EXPORT14)"!=""
1312 $(COMMAND_ECHO
)echo
$(DEF8EXPORT14
) >>$@.tmpfile
1314 .IF
"$(DEF8EXPORT15)"!=""
1315 $(COMMAND_ECHO
)echo
$(DEF8EXPORT15
) >>$@.tmpfile
1317 .IF
"$(DEF8EXPORT16)"!=""
1318 $(COMMAND_ECHO
)echo
$(DEF8EXPORT16
) >>$@.tmpfile
1320 .IF
"$(DEF8EXPORT17)"!=""
1321 $(COMMAND_ECHO
)echo
$(DEF8EXPORT17
) >>$@.tmpfile
1323 .IF
"$(DEF8EXPORT18)"!=""
1324 $(COMMAND_ECHO
)echo
$(DEF8EXPORT18
) >>$@.tmpfile
1326 .IF
"$(DEF8EXPORT19)"!=""
1327 $(COMMAND_ECHO
)echo
$(DEF8EXPORT19
) >>$@.tmpfile
1329 .IF
"$(DEF8EXPORT20)"!=""
1330 $(COMMAND_ECHO
)echo
$(DEF8EXPORT20
) >>$@.tmpfile
1332 .IF
"$(DEF8EXPORTFILE)"!=""
1334 $(COMMAND_ECHO
)$(TYPE
) $(DEF8EXPORTFILE
) | sed
-e s
:PRIVATE
:: >> $@.tmpfile
1336 $(COMMAND_ECHO
)$(TYPE
) $(DEF8EXPORTFILE
) >> $@.tmpfile
1339 $(COMMAND_ECHO
)-$(RM
) $@
1340 $(COMMAND_ECHO
)$(RENAME
) $@.tmpfile
$@
1341 .ENDIF
# "$(GUI)"=="WNT"
1347 $(COMMAND_ECHO
)echo just a dummy for UNIX
> $@
1349 .ENDIF
# "$(DEF8TARGETN)"!=""
1352 # Anweisungen fuer das Linken
1355 .IF
"$(DEF9TARGETN)"!=""
1357 #to make intuitiv naming work
1358 .IF
"$(DEF9LIBNAME)"!=""
1359 DEFLIB9NAME
*=$(DEF9LIBNAME
)
1360 .ENDIF
# "$(DEF9LIBNAME)"!=""
1362 .IF
"$(DEFLIB9NAME)"!=""
1363 DEF9DEPN
+=$(foreach,i
,$(DEFLIB9NAME
) $(SLB
)/$(i
).lib
)
1366 .IF
"$(SHL9VERSIONMAP)"!=""
1367 .IF
"$(DEF9EXPORTFILE)"==""
1369 DEF9EXPORTFILE
=$(MISC
)/$(SHL9VERSIONMAP
:b
)_
$(SHL9TARGET
).dxp
1371 $(DEF9EXPORTFILE
) : $(SHL9OBJS
) $(SHL9LIBS
)
1372 .ENDIF
# .IF "$(COM)"=="GCC"
1374 $(DEF9EXPORTFILE
) : $(SHL9VERSIONMAP
)
1375 $(COMMAND_ECHO
)$(TYPE
) $< |
$(AWK
) -f
$(SOLARENV
)/bin
/getcsym.awk
> $@
1377 $(COMMAND_ECHO
)-$(GREP
) -v
"\*\|?" $@ |
$(SED
) -e
's@#.*@@' > $@.exported-symbols
1378 $(COMMAND_ECHO
)-$(GREP
) "\*\|?" $@
> $@.symbols-regexp
1379 # Shared libraries will be build out of the *.obj files specified in SHL?OBJS and SHL?LIBS
1380 # Extract RTTI symbols from all the objects that will be used to build a shared library
1381 $(COMMAND_ECHO
)$(NM
) -gP
$(SHL9OBJS
) \
1382 `$(TYPE) /dev/null $(foreach,j,$(SHL9LIBS) $j) | $(SED) s\#$(ROUT)\#$(PRJ)$/$(ROUT)\#g` \
1383 |
$(SOLARENV
)/bin
/addsym-mingw.sh
$@.symbols-regexp
$@.symbols-regexp.tmp
>> $@.exported-symbols
1384 # overwrite the map file generate into the local output tree with the generated
1385 # exported symbols list
1386 $(COMMAND_ECHO
)$(RENAME
) $@.exported-symbols
$@
1387 .ENDIF
# .IF "$(COM)"=="GCC"
1389 .ENDIF
# "$(GUI)"=="WNT"
1391 .ENDIF
# "$(DEF9EXPORTFILE)"==""
1392 .ENDIF
# "$(SHL9VERSIONMAP)"!=""
1396 DEF9FILTER
=$(SOLARENV
)/inc
/dummy.flt
1400 .IF
"$(DEF9CEXP)"!=""
1401 EXPORT_ALL_SWITCH
=-A
$(DEF9CEXP
)
1404 .IF
"$(link_always)"==""
1408 .ELSE
# "$(link_always)"==""
1409 $(DEF9TARGETN
) .PHONY
:
1410 .ENDIF
# "$(link_always)"==""
1411 $(COMMAND_ECHO
)-$(RM
) $@.tmpfile
1412 @echo
"Making: module definition file" $(@
:f
)
1413 $(COMMAND_ECHO
)echo LIBRARY
$(EMQ
)"$(SHL9TARGETN:f)$(EMQ)" >$@.tmpfile
1415 $(COMMAND_ECHO
)echo HEAPSIZE
0 >>$@.tmpfile
1417 $(COMMAND_ECHO
)echo EXPORTS
>>$@.tmpfile
1418 .IF
"$(VERSIONOBJ)"!=""
1419 # getversioninfo fuer alle!!
1420 $(COMMAND_ECHO
)echo GetVersionInfo
>>$@.tmpfile
1422 .IF
"$(DEFLIB9NAME)"!=""
1424 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL9TARGET
).exp
1425 $(COMMAND_ECHO
)$(DLLTOOL
) --output-def
$(MISC
)/$(SHL9TARGET
).exp
--export-all-symbols \
1426 `$(TYPE) $(foreach,i,$(DEFLIB9NAME) $(SLB)/$(i).lib) | sed s#$(ROUT)#$(PRJ)/$(ROUT)#g`
1427 $(COMMAND_ECHO
)tail
--lines
+3 $(MISC
)/$(SHL9TARGET
).exp | sed
'/^;/d' >>$@.tmpfile
1428 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL9TARGET
).exp
1430 .IF
"$(SHL9USE_EXPORTS)"==""
1431 $(COMMAND_ECHO
)-$(RMHACK9
) $(MISC
)/$(SHL9TARGET
).exp
1432 $(COMMAND_ECHO
)$(LIBMGR
) -EXTRACT
:/ /OUT
:$(MISC
)/$(SHL9TARGET
).exp
$(SLB
)/$(DEFLIB9NAME
).lib
1433 $(COMMAND_ECHO
)$(LDUMP2
) -N
$(EXPORT_ALL_SWITCH
) -F
$(MISC
)/$(SHL9TARGET
).flt
$(MISC
)/$(SHL9TARGET
).exp
>>$@.tmpfile
1434 $(COMMAND_ECHO
)$(RMHACK9
) $(MISC
)/$(SHL9TARGET
).exp
1435 .ELSE
# "$(SHL9USE_EXPORTS)"==""
1436 $(COMMAND_ECHO
)$(DUMPBIN
) -DIRECTIVES
$(foreach,i
,$(DEFLIB9NAME
) $(SLB
)/$(i
).lib
) |
$(GREP
) EXPORT
: > $(MISC
)/$(SHL9TARGET
).direct
1437 $(COMMAND_ECHO
)$(LDUMP2
) -N
-D
$(EXPORT_ALL_SWITCH
) -F
$(DEF9FILTER
) $(MISC
)/$(SHL9TARGET
).direct
>>$@.tmpfile
1438 .ENDIF
# "$(SHL9USE_EXPORTS)"==""
1440 .ENDIF
# "$(DEFLIB9NAME)"!=""
1441 .IF
"$(DEF9EXPORT1)"!=""
1442 $(COMMAND_ECHO
)echo
$(DEF9EXPORT1
) >>$@.tmpfile
1444 .IF
"$(DEF9EXPORT2)"!=""
1445 $(COMMAND_ECHO
)echo
$(DEF9EXPORT2
) >>$@.tmpfile
1447 .IF
"$(DEF9EXPORT3)"!=""
1448 $(COMMAND_ECHO
)echo
$(DEF9EXPORT3
) >>$@.tmpfile
1450 .IF
"$(DEF9EXPORT4)"!=""
1451 $(COMMAND_ECHO
)echo
$(DEF9EXPORT4
) >>$@.tmpfile
1453 .IF
"$(DEF9EXPORT5)"!=""
1454 $(COMMAND_ECHO
)echo
$(DEF9EXPORT5
) >>$@.tmpfile
1456 .IF
"$(DEF9EXPORT6)"!=""
1457 $(COMMAND_ECHO
)echo
$(DEF9EXPORT6
) >>$@.tmpfile
1459 .IF
"$(DEF9EXPORT7)"!=""
1460 $(COMMAND_ECHO
)echo
$(DEF9EXPORT7
) >>$@.tmpfile
1462 .IF
"$(DEF9EXPORT8)"!=""
1463 $(COMMAND_ECHO
)echo
$(DEF9EXPORT8
) >>$@.tmpfile
1465 .IF
"$(DEF9EXPORT9)"!=""
1466 $(COMMAND_ECHO
)echo
$(DEF9EXPORT9
) >>$@.tmpfile
1468 .IF
"$(DEF9EXPORT10)"!=""
1469 $(COMMAND_ECHO
)echo
$(DEF9EXPORT10
) >>$@.tmpfile
1471 .IF
"$(DEF9EXPORT11)"!=""
1472 $(COMMAND_ECHO
)echo
$(DEF9EXPORT11
) >>$@.tmpfile
1474 .IF
"$(DEF9EXPORT12)"!=""
1475 $(COMMAND_ECHO
)echo
$(DEF9EXPORT12
) >>$@.tmpfile
1477 .IF
"$(DEF9EXPORT13)"!=""
1478 $(COMMAND_ECHO
)echo
$(DEF9EXPORT13
) >>$@.tmpfile
1480 .IF
"$(DEF9EXPORT14)"!=""
1481 $(COMMAND_ECHO
)echo
$(DEF9EXPORT14
) >>$@.tmpfile
1483 .IF
"$(DEF9EXPORT15)"!=""
1484 $(COMMAND_ECHO
)echo
$(DEF9EXPORT15
) >>$@.tmpfile
1486 .IF
"$(DEF9EXPORT16)"!=""
1487 $(COMMAND_ECHO
)echo
$(DEF9EXPORT16
) >>$@.tmpfile
1489 .IF
"$(DEF9EXPORT17)"!=""
1490 $(COMMAND_ECHO
)echo
$(DEF9EXPORT17
) >>$@.tmpfile
1492 .IF
"$(DEF9EXPORT18)"!=""
1493 $(COMMAND_ECHO
)echo
$(DEF9EXPORT18
) >>$@.tmpfile
1495 .IF
"$(DEF9EXPORT19)"!=""
1496 $(COMMAND_ECHO
)echo
$(DEF9EXPORT19
) >>$@.tmpfile
1498 .IF
"$(DEF9EXPORT20)"!=""
1499 $(COMMAND_ECHO
)echo
$(DEF9EXPORT20
) >>$@.tmpfile
1501 .IF
"$(DEF9EXPORTFILE)"!=""
1503 $(COMMAND_ECHO
)$(TYPE
) $(DEF9EXPORTFILE
) | sed
-e s
:PRIVATE
:: >> $@.tmpfile
1505 $(COMMAND_ECHO
)$(TYPE
) $(DEF9EXPORTFILE
) >> $@.tmpfile
1508 $(COMMAND_ECHO
)-$(RM
) $@
1509 $(COMMAND_ECHO
)$(RENAME
) $@.tmpfile
$@
1510 .ENDIF
# "$(GUI)"=="WNT"
1516 $(COMMAND_ECHO
)echo just a dummy for UNIX
> $@
1518 .ENDIF
# "$(DEF9TARGETN)"!=""
1521 # Anweisungen fuer das Linken
1524 .IF
"$(DEF10TARGETN)"!=""
1526 #to make intuitiv naming work
1527 .IF
"$(DEF10LIBNAME)"!=""
1528 DEFLIB10NAME
*=$(DEF10LIBNAME
)
1529 .ENDIF
# "$(DEF10LIBNAME)"!=""
1531 .IF
"$(DEFLIB10NAME)"!=""
1532 DEF10DEPN
+=$(foreach,i
,$(DEFLIB10NAME
) $(SLB
)/$(i
).lib
)
1535 .IF
"$(SHL10VERSIONMAP)"!=""
1536 .IF
"$(DEF10EXPORTFILE)"==""
1538 DEF10EXPORTFILE
=$(MISC
)/$(SHL10VERSIONMAP
:b
)_
$(SHL10TARGET
).dxp
1540 $(DEF10EXPORTFILE
) : $(SHL10OBJS
) $(SHL10LIBS
)
1541 .ENDIF
# .IF "$(COM)"=="GCC"
1543 $(DEF10EXPORTFILE
) : $(SHL10VERSIONMAP
)
1544 $(COMMAND_ECHO
)$(TYPE
) $< |
$(AWK
) -f
$(SOLARENV
)/bin
/getcsym.awk
> $@
1546 $(COMMAND_ECHO
)-$(GREP
) -v
"\*\|?" $@ |
$(SED
) -e
's@#.*@@' > $@.exported-symbols
1547 $(COMMAND_ECHO
)-$(GREP
) "\*\|?" $@
> $@.symbols-regexp
1548 # Shared libraries will be build out of the *.obj files specified in SHL?OBJS and SHL?LIBS
1549 # Extract RTTI symbols from all the objects that will be used to build a shared library
1550 $(COMMAND_ECHO
)$(NM
) -gP
$(SHL10OBJS
) \
1551 `$(TYPE) /dev/null $(foreach,j,$(SHL10LIBS) $j) | $(SED) s\#$(ROUT)\#$(PRJ)$/$(ROUT)\#g` \
1552 |
$(SOLARENV
)/bin
/addsym-mingw.sh
$@.symbols-regexp
$@.symbols-regexp.tmp
>> $@.exported-symbols
1553 # overwrite the map file generate into the local output tree with the generated
1554 # exported symbols list
1555 $(COMMAND_ECHO
)$(RENAME
) $@.exported-symbols
$@
1556 .ENDIF
# .IF "$(COM)"=="GCC"
1558 .ENDIF
# "$(GUI)"=="WNT"
1560 .ENDIF
# "$(DEF10EXPORTFILE)"==""
1561 .ENDIF
# "$(SHL10VERSIONMAP)"!=""
1565 DEF10FILTER
=$(SOLARENV
)/inc
/dummy.flt
1569 .IF
"$(DEF10CEXP)"!=""
1570 EXPORT_ALL_SWITCH
=-A
$(DEF10CEXP
)
1573 .IF
"$(link_always)"==""
1577 .ELSE
# "$(link_always)"==""
1578 $(DEF10TARGETN
) .PHONY
:
1579 .ENDIF
# "$(link_always)"==""
1580 $(COMMAND_ECHO
)-$(RM
) $@.tmpfile
1581 @echo
"Making: module definition file" $(@
:f
)
1582 $(COMMAND_ECHO
)echo LIBRARY
$(EMQ
)"$(SHL10TARGETN:f)$(EMQ)" >$@.tmpfile
1584 $(COMMAND_ECHO
)echo HEAPSIZE
0 >>$@.tmpfile
1586 $(COMMAND_ECHO
)echo EXPORTS
>>$@.tmpfile
1587 .IF
"$(VERSIONOBJ)"!=""
1588 # getversioninfo fuer alle!!
1589 $(COMMAND_ECHO
)echo GetVersionInfo
>>$@.tmpfile
1591 .IF
"$(DEFLIB10NAME)"!=""
1593 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL10TARGET
).exp
1594 $(COMMAND_ECHO
)$(DLLTOOL
) --output-def
$(MISC
)/$(SHL10TARGET
).exp
--export-all-symbols \
1595 `$(TYPE) $(foreach,i,$(DEFLIB10NAME) $(SLB)/$(i).lib) | sed s#$(ROUT)#$(PRJ)/$(ROUT)#g`
1596 $(COMMAND_ECHO
)tail
--lines
+3 $(MISC
)/$(SHL10TARGET
).exp | sed
'/^;/d' >>$@.tmpfile
1597 $(COMMAND_ECHO
)-$(RM
) $(MISC
)/$(SHL10TARGET
).exp
1599 .IF
"$(SHL10USE_EXPORTS)"==""
1600 $(COMMAND_ECHO
)-$(RMHACK10
) $(MISC
)/$(SHL10TARGET
).exp
1601 $(COMMAND_ECHO
)$(LIBMGR
) -EXTRACT
:/ /OUT
:$(MISC
)/$(SHL10TARGET
).exp
$(SLB
)/$(DEFLIB10NAME
).lib
1602 $(COMMAND_ECHO
)$(LDUMP2
) -N
$(EXPORT_ALL_SWITCH
) -F
$(MISC
)/$(SHL10TARGET
).flt
$(MISC
)/$(SHL10TARGET
).exp
>>$@.tmpfile
1603 $(COMMAND_ECHO
)$(RMHACK10
) $(MISC
)/$(SHL10TARGET
).exp
1604 .ELSE
# "$(SHL10USE_EXPORTS)"==""
1605 $(COMMAND_ECHO
)$(DUMPBIN
) -DIRECTIVES
$(foreach,i
,$(DEFLIB10NAME
) $(SLB
)/$(i
).lib
) |
$(GREP
) EXPORT
: > $(MISC
)/$(SHL10TARGET
).direct
1606 $(COMMAND_ECHO
)$(LDUMP2
) -N
-D
$(EXPORT_ALL_SWITCH
) -F
$(DEF10FILTER
) $(MISC
)/$(SHL10TARGET
).direct
>>$@.tmpfile
1607 .ENDIF
# "$(SHL10USE_EXPORTS)"==""
1609 .ENDIF
# "$(DEFLIB10NAME)"!=""
1610 .IF
"$(DEF10EXPORT1)"!=""
1611 $(COMMAND_ECHO
)echo
$(DEF10EXPORT1
) >>$@.tmpfile
1613 .IF
"$(DEF10EXPORT2)"!=""
1614 $(COMMAND_ECHO
)echo
$(DEF10EXPORT2
) >>$@.tmpfile
1616 .IF
"$(DEF10EXPORT3)"!=""
1617 $(COMMAND_ECHO
)echo
$(DEF10EXPORT3
) >>$@.tmpfile
1619 .IF
"$(DEF10EXPORT4)"!=""
1620 $(COMMAND_ECHO
)echo
$(DEF10EXPORT4
) >>$@.tmpfile
1622 .IF
"$(DEF10EXPORT5)"!=""
1623 $(COMMAND_ECHO
)echo
$(DEF10EXPORT5
) >>$@.tmpfile
1625 .IF
"$(DEF10EXPORT6)"!=""
1626 $(COMMAND_ECHO
)echo
$(DEF10EXPORT6
) >>$@.tmpfile
1628 .IF
"$(DEF10EXPORT7)"!=""
1629 $(COMMAND_ECHO
)echo
$(DEF10EXPORT7
) >>$@.tmpfile
1631 .IF
"$(DEF10EXPORT8)"!=""
1632 $(COMMAND_ECHO
)echo
$(DEF10EXPORT8
) >>$@.tmpfile
1634 .IF
"$(DEF10EXPORT9)"!=""
1635 $(COMMAND_ECHO
)echo
$(DEF10EXPORT9
) >>$@.tmpfile
1637 .IF
"$(DEF10EXPORT10)"!=""
1638 $(COMMAND_ECHO
)echo
$(DEF10EXPORT10
) >>$@.tmpfile
1640 .IF
"$(DEF10EXPORT11)"!=""
1641 $(COMMAND_ECHO
)echo
$(DEF10EXPORT11
) >>$@.tmpfile
1643 .IF
"$(DEF10EXPORT12)"!=""
1644 $(COMMAND_ECHO
)echo
$(DEF10EXPORT12
) >>$@.tmpfile
1646 .IF
"$(DEF10EXPORT13)"!=""
1647 $(COMMAND_ECHO
)echo
$(DEF10EXPORT13
) >>$@.tmpfile
1649 .IF
"$(DEF10EXPORT14)"!=""
1650 $(COMMAND_ECHO
)echo
$(DEF10EXPORT14
) >>$@.tmpfile
1652 .IF
"$(DEF10EXPORT15)"!=""
1653 $(COMMAND_ECHO
)echo
$(DEF10EXPORT15
) >>$@.tmpfile
1655 .IF
"$(DEF10EXPORT16)"!=""
1656 $(COMMAND_ECHO
)echo
$(DEF10EXPORT16
) >>$@.tmpfile
1658 .IF
"$(DEF10EXPORT17)"!=""
1659 $(COMMAND_ECHO
)echo
$(DEF10EXPORT17
) >>$@.tmpfile
1661 .IF
"$(DEF10EXPORT18)"!=""
1662 $(COMMAND_ECHO
)echo
$(DEF10EXPORT18
) >>$@.tmpfile
1664 .IF
"$(DEF10EXPORT19)"!=""
1665 $(COMMAND_ECHO
)echo
$(DEF10EXPORT19
) >>$@.tmpfile
1667 .IF
"$(DEF10EXPORT20)"!=""
1668 $(COMMAND_ECHO
)echo
$(DEF10EXPORT20
) >>$@.tmpfile
1670 .IF
"$(DEF10EXPORTFILE)"!=""
1672 $(COMMAND_ECHO
)$(TYPE
) $(DEF10EXPORTFILE
) | sed
-e s
:PRIVATE
:: >> $@.tmpfile
1674 $(COMMAND_ECHO
)$(TYPE
) $(DEF10EXPORTFILE
) >> $@.tmpfile
1677 $(COMMAND_ECHO
)-$(RM
) $@
1678 $(COMMAND_ECHO
)$(RENAME
) $@.tmpfile
$@
1679 .ENDIF
# "$(GUI)"=="WNT"
1685 $(COMMAND_ECHO
)echo just a dummy for UNIX
> $@
1687 .ENDIF
# "$(DEF10TARGETN)"!=""
1690 # Anweisungen fuer das Linken