问题描述
我正在阅读GCC的源代码,并且有一些疑问.显然,GCC是使用自动工具构建的.但是我找不到automake所需的Makefile.am文件. GCC的Makefile.in文件是手写的吗?而且,如果它们是用手写的,那么在哪里可以找到描述Makefile.in语法的文档?
I'm reading GCC's source code and have some questions. It's obvious that GCC is build with autotools. But I couldn't find the Makefile.am files required by automake. Is GCC's Makefile.in files written by hand? And if they are written by hand, where can I find the documents describing the syntax of a Makefile.in?
一个类似的问题:在项目中没有Makefile.am的Makefile.in
推荐答案
Makefile.am
是Autotools系列的更高版本,并非所有项目都使用它.海湾合作委员会特别不使用它.顶级Makefile.in
是使用 autogen 从Makefile.tpl
生成的(请参见此处).其他Makefile.in
是根据自动配置规则.
Makefile.am
is a later addition to Autotools family and not all projects use it. GCC in particular does not use it. The top-level Makefile.in
is generated from Makefile.tpl
using autogen (see here for details). Other Makefile.in
's are written by hand according to Autoconf rules.
这篇关于在GCC中没有Makefile.am的Makefile.in吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!