automake中Makefile.am和configure.ac的格式及编译过程

step1:写Makefile.am
step2:执行autoscan,会生成configurae.scan,修改configure.scan内容之后,命名为configure.ac
step3:执行libtoolize,生成config.guess, config.sub, ltmain.sh, ltconfig
step4:执行aclocal,生成aclocal.m4
step5:执行autoconf,生成configure文件
step6:执行atuoheader,生成config.h.in
step7:执行automake --add-missing,生成Makefile.in文件
step8:执行./configure --prefix=`pwd`,生成Makefile文件
step9:执行make && make install,编译&安装二进制文件
原文地址:https://www.cnblogs.com/navysummer/p/10819875.html