modify the Makefile to be more portable

Removing the dependency to libtool host tool. Newer autotool
enabled applications integrate libtool into the package to be
more portable. For a linux only software, there is no need for
complicated libtool stuff.

Fix rebuild on every make call. Create shared library files with
major and minor versions. Set correct SONAME in the shared library.

I think embedded developers will profit from this Makefile changes.
I tested the changes natively on Ubuntu/Linux x86/amd64. And
tested to cross-compile for MIPS architecture.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
2 files changed