Autotools
来源:互联网 发布:淘宝旗袍模特最红 编辑:程序博客网 时间:2024/05/16 13:02
Files used in preparing a software package for distribution, when using just Autoconf:
your source files --> [autoscan*] --> [configure.scan] --> configure.ac
configure.ac --.
| .------> autoconf* -----> configure
[aclocal.m4] --+---+
| `-----> [autoheader*] --> [config.h.in]
[acsite.m4] ---'
Makefile.in
Additionally, if you use Automake, the following additional productions come into play:
[acinclude.m4] --.
|
[local macros] --+--> aclocal* --> aclocal.m4
|
configure.ac ----'
configure.ac --.
+--> automake* --> Makefile.in
Makefile.am ---'
Files used in configuring a software package:
.-------------> [config.cache]
configure* ------------+-------------> config.log
|
[config.h.in] -. v .-> [config.h] -.
+--> config.status* -+ +--> make*
Makefile.in ---' `-> Makefile ---'
begin:
hello.c--->[autoscan]--->hello.c autoscan.log configure.scan--->[mv configure.scan configure.ac]--->[vi configure.ac]--->[aclocal]--->aclocal.m4 autom4te.cache hello.c autoscan.log configure.scan---[autoconf]--->aclocal.m4 autom4te.cache hello.c autoscan.log configure.scan configure--->[autoheader]--->多出了config.h.in--->[vi Makefile.am]--->[touch NEWS README AUTHORS ChangLog]--->[automake --add-missing]--->多出了COPYING INSTALL missing depcomp install-sh NEWS README AUTHORS ChangLog Makefile.in --->[./configure]--->多出了config.log config.status Makefile config.h---->[make]--->多出了hello hello.o--->[sudo make install]--->make dist(打包).
注:[]表示命令,其余表示目录下
configure.ac代码如下: Makefile.in代码如下:
- autotools
- Autotools
- Autotools
- AUTOTOOLS
- autotools
- autotools
- autotools
- autotools
- autotools
- 使用autotools
- autotools使用
- autotools使用
- autotools学习
- autotools & makefile
- autotools使用
- Autotools Tutorial
- Autotools学习
- autotools使用
- error C2977: “std::tuple”: 模板参数太多 的解决办法
- typedef使用详解
- Hbase分析报告(tablename+startrowkey_regionid/-meta-)
- 集成声卡和独立声卡哪个的性能好些
- ABAP 获取 状态的两个函数 STATUS_TEXT_EDIT 和 STATUS_READ 的简单介绍
- Autotools
- HTML5的新特性的探讨
- next_premutation
- java(JNI)调用c/c++动态链接库 linux
- 利用systeminfo命令查看电脑系统安装时间等信息
- vector
- 17款响应式布局框架
- ios中利用协议实现回调函数功能
- 同问 集成网卡和独立网卡哪个好?