Autoconf 20090618 Auto Conf autoscan edit aclocal autoheader
- Slides: 26
Autoconf介绍 李俊良 2009/06/18
Auto. Conf框架� autoscan edit aclocal autoheader autoconf automake . /configure
Auto. Conf框架� autoscan edit aclocal autoheader autoconf automake . /configure
Auto. Conf框架� autoscan edit aclocal autoheader autoconf automake . /configure
Auto. Conf框架� autoscan edit autoheader aclocal 幻灯片 9 autoconf automake . /configure
Auto. Conf框架� autoscan edit aclocal autoheader autoconf automake . /configure
Autoconf流程—automake automake要用的脚本配置文件是Makefile. am,用�需 要自己�建相�的文件。之后, automake 具��成 Makefile. in。 automake有相��的一些参数可以配置,比如 -a等等 可执行文件 静态库 bin_PROGRAMS = foo lib_LIBRARIES = libfoo. a foo_SOURCES = foo_a_SOURCES = foo_LDADD = foo_a_LDADD = foo_LDFLAGS = foo_a_LIBADD = foo_DEPENDENCIES = foo_a_LDFLAGS =
Auto. Conf框架� autoscan edit aclocal autoheader autoconf automake . /configure
Autoconf小� —rpm方案 我�知道生成 rpm,需要用到一个spec文件,来注明rpm包的信息。 在 程�目中一般通常解决方法是在文件的根目�放一个 *. spec. in (用来生成spec文件)或spec文件,�里我�合了. rpmmacros采 用了生成spec文件的方式: – # define rpm build root – RPMBUILDTOPDIR = $(shell unset RPMBUILDTOPDIR; if [ -f ${HOME}/. rpmmacros ]; then export RPMBUILDTOPDIR=`grep _topdir ${HOME}/. rpmmacros|awk '{print $$2}'`; else export RPMBUILDTOPDIR=/usr/src/redhat; fi; echo $${RPMBUILDTOPDIR}; ) – 或 – RPMBUILDTOPDIR = $(shell echo $(rpm --showrc|grep ' _topdir'|awk '{print $3}’))
Autoconf小� —rpm方案 下面的�些有点像 Makefile吧,但是�个是在 Makefile. am文件中: – . PHONY: rpm – rpm: dist @PACKAGE@. spec – $(RM) ${RPMBUILDTOPDIR}/SOURCES/$(distdir). tar. gz – $(RM) ${RPMBUILDTOPDIR}/SPECS/@PACKAGE@. spec – $(LN_S) `pwd`/$(distdir). tar. gz ${RPMBUILDTOPDIR}/SOURCES – $(LN_S) `pwd`/@PACKAGE@. spec ${RPMBUILDTOPDIR}/SPECS – rpmbuild -ba ${RPMBUILDTOPDIR}/SPECS/@PACKAGE@. spec ��,我就可以通� make rpm命令来生成rpm了,�得注意的是 如果没有在. rpmmacros文件内指定_topdir,�需要 sudo�限来根 据系��量来生成 rpm。
The End
- Hard edit vs soft edit
- Httpd.conf php 설정
- Aix logrotate
- Lambda conf
- Self conf
- Berechnung kalkulatorische zinsen
- Conf t
- Conf t
- Res_odbc.conf
- Splunk taiwan
- Snmpget php
- 오렌지 edit mode
- Translation edit rate
- How to edit and publish a video with maker
- Frivaldszky edit
- Menu edit
- How to edit logs on qualcomm
- Title style
- Daily edit paragraphs
- What is peer editing
- Lemony snicket every day edit
- Cimco edit
- Hva betyr edit
- Cimco edit cena
- Click to edit master title style
- Minimum edit distance backtrace
- Kriston edit