[英]Makefile.in without Makefile.am in GCC?
I'm reading GCC's source code and have some questions. 我正在阅读GCC的源代码,并且有一些疑问。 It's obvious that GCC is build with autotools. 显然,GCC是使用自动工具构建的。 But I couldn't find the Makefile.am files required by automake. 但是我找不到automake所需的Makefile.am文件。 Is GCC's Makefile.in files written by hand? GCC的Makefile.in文件是手写的吗? And if they are written by hand, where can I find the documents describing the syntax of a Makefile.in? 而且,如果它们是用手写的,那么在哪里可以找到描述Makefile.in语法的文档?
A similar question: Makefile.in without Makefile.am in projects 一个类似的问题: 项目中没有Makefile.am的Makefile.in
Makefile.am
is a later addition to Autotools family and not all projects use it. Makefile.am
是Autotools系列的更高版本,并非所有项目都使用它。 GCC in particular does not use it. 海湾合作委员会特别不使用它。 The top-level Makefile.in
is generated from Makefile.tpl
using autogen (see here for details). 顶层Makefile.in
是使用autogen从Makefile.tpl
生成的(有关详细信息,请参见此处 )。 Other Makefile.in
's are written by hand according to Autoconf rules . 其他Makefile.in
是根据Autoconf规则手工编写的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.