Added CPPFLAGS, LDFLAGS.
Removed automake and libtool stuff.
Ignore some autoconf-generated files.