Extend autotools build to create shared library libopenocd with libtool:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 10 May 2009 22:03:57 +0000 (22:03 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 10 May 2009 22:03:57 +0000 (22:03 +0000)
commit647e61cc6d9b13dd2799d2302ce9289a1627e36c
tree5172bfbe4df60948bf6d61ebea28366a51c03c12
parent104580e0bfb5aa2f79bc6c4c96935a8832f5f787
Extend autotools build to create shared library libopenocd with libtool:
- Add libtoolize step too bootstrap script; creates ltmain.sh script.
- Add AC_PROG_LIBTOOL to configure.in to add libtool support to build.
- Change Makefile.am library rules from static (_a) to libtool (_la).
- Install libopenocd.{la,so,a} in $(libdir); update openocd link rules.
- Extend MAINTAINERCLEANFILES in top-level Makefile.am to remove ltmain.sh.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1695 b42882b7-edfa-0310-969c-e2dbd0fdcd60
12 files changed:
Makefile.am
bootstrap
configure.in
src/Makefile.am
src/flash/Makefile.am
src/helper/Makefile.am
src/jtag/Makefile.am
src/pld/Makefile.am
src/server/Makefile.am
src/svf/Makefile.am
src/target/Makefile.am
src/xsvf/Makefile.am