Chinaunix

标题: autoconf 生成的makefile 文件里面 .MAKE 目标是干什么用的? [打印本页]

作者: jueduiyingxiong    时间: 2012-08-30 15:18
标题: autoconf 生成的makefile 文件里面 .MAKE 目标是干什么用的?
autoconf 生成的makefile 文件里面 .MAKE 目标是干什么用的?
作者: EricFisher    时间: 2012-08-30 21:57
autoconf是用来根据configure.ac生成configure 的;configure脚本是用来根据Makefile.in生成Makefile的。
作者: jueduiyingxiong    时间: 2012-08-31 15:22
.MAKE-它里面的这个是干什么的?在makefile,里面可以看出,它应该是一个目标,而不是自定义的变量!
作者: EricFisher    时间: 2012-09-04 10:57
贴出来代码看看
作者: jueduiyingxiong    时间: 2012-09-05 16:17
ps-am:

uninstall-am: uninstall-binPROGRAMS uninstall-pkgincludeHEADERS

.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
        install-strip

.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
        all all-am am--refresh check check-am clean clean-binPROGRAMS \
        clean-generic clean-noinstPROGRAMS ctags ctags-recursive dist \
        dist-all dist-bzip2 dist-gzip dist-hook dist-lzma dist-shar \
        dist-tarZ dist-zip distcheck distclean distclean-compile \
        distclean-generic distclean-hdr distclean-tags distcleancheck \
        distdir distuninstallcheck dvi dvi-am html html-am info \
        info-am install install-am install-binPROGRAMS install-data \
        install-data-am install-dvi install-dvi-am install-exec \
        install-exec-am install-html install-html-am install-info \
        install-info-am install-man install-pdf install-pdf-am \
        install-pkgincludeHEADERS install-ps install-ps-am \

makefilecontext.rar

20.77 KB, 下载次数: 3


作者: jueduiyingxiong    时间: 2012-09-05 16:18
附件里面有makefile的相关文件
作者: EricFisher    时间: 2012-09-13 15:02
我查了下最新的make手册,里面已经没有.MAKE这个内建目标了(4.8 Special Built-in Target Names)。我看了下你的Makefile.in,里面说道“Makefile.in generated by automake 1.10.2 from Makefile.am.”所以,我觉得,1.10.2的make手册里可能有这个.MAKE的介绍。

从网上搜了一个,不知是否正确:

.MAKE
    Execute the commands associated with this target even if the -n or -t options were specified. Normally used to mark recursive make's.
作者: jueduiyingxiong    时间: 2012-09-14 15:18
回复 7# EricFisher


    您找到的应该是比较正确的了!谢了
作者: flyd1005    时间: 2012-10-15 16:46
EricFisher is so patient:wink:
But I consider this issue should not be placed in this board




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2