yu@MCW-xnYu:~/1temp/modify_makefile_for_bench/memcached-1.4.14-modify$ automake doc/Makefile.am:12: `%'-style pattern rules are a GNU make extension doc/Makefile.am:15: `%'-style pattern rules are a GNU make extension doc/Makefile.am:18: `%'-style pattern rules are a GNU make extension Makefile.am: required file `./INSTALL' not found Makefile.am: `automake --add-missing' can install `INSTALL' Makefile.am: required file `./README' not found
1 The `--add-missing' option copies some boilerplate files fromyour Automake installation into the current directory. Files such as`COPYING', which contain the GNU General Public License changeinfrequently, and so can be generated without user intervention. Anumber of utility scripts are also installed--these are used by thegenerated`Makefile's, particularly by theinstall
target.Notice that some required files are still missing. These are:
For now, we'll do enough to placate Automake:
$ touch NEWS README AUTHORS ChangeLog $ automake --add-missing |
Automake has now produced a `Makefile.in'. At this point, you maywish to take a snapshot of this directory before we really let loosewith automatically generated files.
doc/Makefile.am:12: `%'-style pattern rules are a GNU make extension 还没有解决,找到解决方案再发上来
在http://www.cppblog.com/seahouse/archive/2011/01/18/137750.html找到了答案。
执行automake -a,出现:Makefile.am:29: `%'-style pattern rules are a GNU make extension
解决:执行automake -Wno-portability
参考:http://bugs.mysql.com/bug.php?id=30708
学习:http://www.gnu.org/software/automake/manual/automake.html
http://www.ibm.com/developerworks/cn/linux/l-makefile/