On 18/06/2015 10:11, Michael Tokarev wrote: > 18.06.2015 11:09, Paolo Bonzini пишет: >> On 17/06/2015 22:15, Michael Tokarev wrote: >>> I tried autoconf&automake&libtool. It is a HugeMess, I disliked it. >>> So I rewrote it as a simple shell script. >>> >>> The result of both attempts is available at >>> http://www.corpit.ru/mjt/tmp/libcacard/ >>> There are 4 files in there: >>> >>> configure.ac Makefile.am -- auto*shit version, requires bootstrap like >>> libtoolize && aclocal && automake --foreign --add-missing && autoconf >> >> More like autoreconf -fvi. > > My 10-minute expirience with auto*tools did't go that far :)
You got everything else right, though. Kudos. >>> configure Makefile.in -- my small version based on what qemu ./configure >>> currently does. >> >> Doesn't have dependency tracking. That's already a no-no I think. > > Well, it is trivial to add. For a first cut it works. And then it will be something else with cross-compilation, or something else. Let's just use autotools and call it a day... Paolo