#!/bin/ksh
name=$1
shift
outputdir=$1
echo "LIBRARY $name" > $outputdir/lib/$name.def
echo "EXETYPE WINDOWS" >> $outputdir/lib/$name.def
echo "CODE PRELOAD MOVEABLE DISCARDABLE" >> $outputdir/lib/$name.def
echo "DATA PRELOAD MOVEABLE MULTIPLE" >> $outputdir/lib/$name.def
echo " " >> $outputdir/lib/$name.def
echo "EXPORTS " >> $outputdir/lib/$name.def
shift
nm $* | \
egrep ' T ' | \
egrep -v ' A | B | D | F | U ' | \
awk '{print $3}' | \
sed -e 's/^_//' \
-e 's/^/ /' \
-e '/DllMain@12/d' \
-e '/^ \([a-zA-Z0-9_]*\)@[0-9]*$/d' \
>> $outputdir/lib/$name.def
exit 0
# |
Change |
User |
Description |
Committed |
|
#1
|
632 |
matt_bruce |
initial check in of BhbJam submitted for approval on Jan-11-2001 |
|
|