]>
git.saurik.com Git - wxWidgets.git/blob - src/os2/dllnames.sh
3 # dllnames - a tool to form short DLL names for wxWindows
5 # This script will accept an import library name and create
6 # a short(er) DLL name from it.
9 dirName
=`echo $dllFile | sed 's-\(.*[/\\]\)[^/\\]*$-\1-'`
10 dllFile=`echo $dllFile | sed 's-.*[/\\]\([^/\\]*\)$-\1-'`
13 dllFile=`echo $dllFile | sed 's
/base_\
(...\
)/b\
1/'`
16 dllFile=`echo $dllFile | sed 's
/based_\
(...\
)/d\
1/'`
19 dllFile=`echo $dllFile | sed 's
/based
/basd
/'`
22 dllFile=`echo $dllFile | sed 's
/_\
(.\
)[^_
]*_\
(..\
)[^
-]*-/\
1d\
2/'`
25 dllFile=`echo $dllFile | sed 's
/_\
(..\
)[^_
]*_\
(..\
)[^
-]*-/\
1\
2/'`
30 dllFile="`echo $dllFile | sed 's
/\.
//' | sed 's
/_
//' | sed 's
/-//'`"