]> git.saurik.com Git - wxWidgets.git/blame - src/os2/dllnames.sh
wxPaletteBase introduction. wxPalette::GetColoursCount() in interface of all platform...
[wxWidgets.git] / src / os2 / dllnames.sh
CommitLineData
d5a547f3
SN
1#!/bin/sh
2#
3# dllnames - a tool to form short DLL names for wxWindows
4#
5# This script will accept an import library name and create
6# a short(er) DLL name from it.
7
8dllFile="$1"
9case $dllFile in
10*wx_base_*)
11 dllFile=`echo $dllFile | sed 's/base_\(...\)/b\1/'`
12 ;;
13*wx_*_*)
14 dllFile=`echo $dllFile | sed 's/_\(..\)[^_]*_\(..\)[^-]*-/\1\2/'`
15 ;;
16*)
17 ;;
18esac
19dllFile="`echo $dllFile | sed 's/\.//' | sed 's/_//' | sed 's/-//'`"
20echo $dllFile
21exit 0