GCC 中的 Makefile.in 没有 Makefile.am?

2024-01-15

我正在阅读 GCC 的源代码并有一些问题。很明显,GCC 是使用 autotools 构建的。但我找不到automake所需的Makefile.am文件。 GCC的Makefile.in文件是手写的吗?如果它们是手工编写的,我在哪里可以找到描述 Makefile.in 语法的文档?

类似的问题:项目中没有 Makefile.am 的 Makefile.in https://stackoverflow.com/questions/11161847/makefile-in-without-makefile-am-in-projects


Makefile.am是 Autotools 系列的后来成员,但并非所有项目都使用它。 GCC 尤其不使用它。顶层Makefile.in是从生成的Makefile.tpl using autogen https://www.gnu.org/software/autogen/ (see here https://gcc.gnu.org/wiki/Regenerating_GCC_Configuration了解详情)。其他Makefile.in是根据手写的自动会议规则 https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Makefile-Substitutions.html#Makefile-Substitutions.

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

GCC 中的 Makefile.in 没有 Makefile.am? 的相关文章

随机推荐