title: Autotools - Build static and shared libraries with different names
body: <p>When building <strong>both</strong> static and shared libraries with <strong>cmake</strong> on <strong>Windows</strong> I have to append "-static" to the static library name (On Windows, both static an shared libraries can have the .lib extension) so the resulting file name for a static library <strong>lib</strong> is <strong>lib-static.lib</strong>.
  How this can be achieved with <strong>automake+libtool</strong> (i.e. instructing libtool to append "<em>-static</em>" to the resulting static library filename) on whatever system it is running on?</p>