use automake and libtool

This commits replaces the handwritten makefile with automake+libtool.
There is some hackery needed for the LD_PRELOAD shared library,
but apart from that there is nothing special and it is a large gain in
portability and standardization.

The spec file is modified as little as is needed to properly build
the RPMs.
This commit is contained in:
Paolo Bonzini
2011-10-28 14:29:43 +02:00
parent d56fa027ff
commit 17319072b1
10 changed files with 127 additions and 152 deletions

16
.gitignore vendored
View File

@@ -1,13 +1,25 @@
/autom4te.cache
/depcomp
/aclocal.m4
/missing
/config.guess
/config.sub
/install-sh
/configure
/config.h.in
/Makefile.in
/Makefile
.deps
.libs
/stamp-h1
*.o
*.a
*.so*
*.lo
*.la
bin
/config.h
/config.log
/config.status
.dirstamp
/libtool
/ltmain.sh
libiscsi-*.tar.gz