⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 1011.html

📁 著名的linux英雄站点的文档打包
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<br>
#
<br>
# A rule to do nothing
<br>
#
<br>
dummy:
<br>
<br>
#
<br>
# This is useful for testing
<br>
#
<br>
script:
<br>
$(SCRIPT)
<br>
<br>
#
<br>
# This sets version suffixes on exported symbols
<br>
# Separate the object into "normal" objects and "exporting" objects
<br>
# Exporting objects are: all objects that define symbol tables
<br>
#
<br>
ifdef CONFIG_MODULES
<br>
# list-multi列出那些由多个文件复合而成的模块;
<br>
# 从编绎文件表和模块文件表中过滤出复合模块名。
<br>
multi-used := $(filter $(list-multi), $(obj-y) $(obj-m))
<br>
# 取复合模块的构成表。
<br>
multi-objs := $(foreach m, $(multi-used), $($(basename $(m))-objs))
<br>
# 求出需进行编译的总模块表。
<br>
active-objs := $(sort $(multi-objs) $(obj-y) $(obj-m))
<br>
<br>
ifdef CONFIG_MODVERSIONS
<br>
ifneq "$(strip $(export-objs))" ""
<br>
# 如果有需要进行版本化的文件。
<br>
MODINCL = $(TOPDIR)/include/linux/modules
<br>
<br>
# The -w option (enable warnings) for genksyms will return here in 2.1
<br>
# So where has it gone?
<br>
#
<br>
# Added the SMP separator to stop module accidents between uniprocessor
<br>
# and SMP Intel boxes - AC - from bits by Michael Chastain
<br>
#
<br>
<br>
ifdef CONFIG_SMP
<br>
genksyms_smp_prefix := -p smp_
<br>
else
<br>
genksyms_smp_prefix :=
<br>
endif
<br>
# 从源文件计算版本文件的规则。
<br>
$(MODINCL)/%.ver: %.c
<br>
@if [ ! -r $(MODINCL)/$*.stamp -o $(MODINCL)/$*.stamp -ot $&lt; ]; then 
<br>
echo '$(CC) $(CFLAGS) -E -D__GENKSYMS__ $&lt;'; 
<br>
echo '| $(GENKSYMS) $(genksyms_smp_prefix) -k
<br>
$(VERSION).$(PATCHLEVEL).$(SUBLEVEL) &gt; $@.tmp'; 
<br>
$(CC) $(CFLAGS) -E -D__GENKSYMS__ $&lt; 
<br>
| $(GENKSYMS) $(genksyms_smp_prefix) -k
<br>
$(VERSION).$(PATCHLEVEL).$(SUBLEVEL) &gt; $@.tmp; 
<br>
if [ -r $@ ] && cmp -s $@ $@.tmp; then echo $@ is unchanged; rm -f
<br>
$@.tmp; 
<br>
else echo mv $@.tmp $@; mv -f $@.tmp $@; fi; 
<br>
fi; touch $(MODINCL)/$*.stamp
<br>
#
<br>
将版本处理源文件的扩展名改为.ver,并加上完整的路径名,它们依赖于autoconf.h?br&gt;?br&gt;$(addprefix $(MODINCL)/,$(export-objs:.o=.ver)):
<br>
$(TOPDIR)/include/linux/autoconf.h
<br>
<br>
# updates .ver files but not modversions.h
<br>
# 通过fastdep,逐个生成export-objs对应的版本文件。
<br>
fastdep: $(addprefix $(MODINCL)/,$(export-objs:.o=.ver))
<br>
<br>
# updates .ver files and modversions.h like before (is this needed?)
<br>
# make dep过程的入口
<br>
dep: fastdep update-modverfile
<br>
<br>
endif # export-objs
<br>
<br>
# update modversions.h, but only if it would change
<br>
# 刷新版本文件的过程。
<br>
update-modverfile:
<br>
@(echo "#ifndef _LINUX_MODVERSIONS_H";
<br>
echo "#define _LINUX_MODVERSIONS_H"; 
<br>
echo "#include &lt;linux/modsetver.h&gt;"; 
<br>
cd $(TOPDIR)/include/linux/modules; 
<br>
for f in *.ver; do 
<br>
if [ -f $$f ]; then echo "#include &lt;linux/modules/$${f}&gt;"; fi; 
<br>
done; 
<br>
echo "#endif"; 
<br>
) &gt; $(TOPDIR)/include/linux/modversions.h.tmp
<br>
@if [ -r $(TOPDIR)/include/linux/modversions.h ] && cmp -s
<br>
$(TOPDIR)/include/linux/modversions.h
<br>
$(TOPDIR)/include/linux/modversions.h.tmp; then 
<br>
echo $(TOPDIR)/include/linux/modversions.h was not updated; 
<br>
rm -f $(TOPDIR)/include/linux/modversions.h.tmp; 
<br>
else 
<br>
echo $(TOPDIR)/include/linux/modversions.h was updated; 
<br>
mv -f $(TOPDIR)/include/linux/modversions.h.tmp
<br>
$(TOPDIR)/include/linux/modversions.h; 
<br>
fi
<br>
$(active-objs): $(TOPDIR)/include/linux/modversions.h
<br>
<br>
else
<br>
# 如果没有配置版本化,modversions.h的内容。
<br>
$(TOPDIR)/include/linux/modversions.h:
<br>
@echo "#include &lt;linux/modsetver.h&gt;" &gt; $@
<br>
<br>
endif # CONFIG_MODVERSIONS
<br>
<br>
ifneq "$(strip $(export-objs))" ""
<br>
# 版本化目标文件的编绎方法。
<br>
$(export-objs): $(export-objs:.o=.c) $(TOPDIR)/include/linux/modversions.h
<br>
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_$@) -DEXPORT_SYMTAB -c $(@:.o=.c)
<br>
@ ( 
<br>
echo 'ifeq ($(strip $(subst $(comma),:,$(CFLAGS) $(EXTRA_CFLAGS)
<br>
$(CFLAGS_$@) -DEXPORT_SYMTAB)),$$(strip $$(subst $$(comma),:,$$(CFLAGS)
<br>
$$(EXTRA_CFLAGS) $$(CFLAGS_$@) -DEXPORT_SYMTAB)))' ; 
<br>
echo 'FILES_FLAGS_UP_TO_DATE += $@' ; 
<br>
echo 'endif' 
<br>
) &gt; $(dir $@)/.$(notdir $@).flags
<br>
endif
<br>
<br>
endif # CONFIG_MODULES
<br>
<br>
<br>
#
<br>
# include dependency files if they exist
<br>
#
<br>
# 嵌入源文件之间的依赖关系。
<br>
ifneq ($(wildcard .depend),)
<br>
include .depend
<br>
endif
<br>
# 嵌入头文件之间的依赖关系。
<br>
ifneq ($(wildcard $(TOPDIR)/.hdepend),)
<br>
include $(TOPDIR)/.hdepend
<br>
endif
<br>
<br>
#
<br>
# Find files whose flags have changed and force recompilation.
<br>
# For safety, this works in the converse direction:
<br>
# every file is forced, except those whose flags are positively
<br>
up-to-date.
<br>
#
<br>
# 已经更新过的文件列表。
<br>
FILES_FLAGS_UP_TO_DATE :=
<br>
<br>
# For use in expunging commas from flags, which mung our checking.
<br>
comma = ,
<br>
# 将当前目录下所有flags文件嵌入。
<br>
FILES_FLAGS_EXIST := $(wildcard .*.flags)
<br>
ifneq ($(FILES_FLAGS_EXIST),)
<br>
include $(FILES_FLAGS_EXIST)
<br>
endif
<br>
# 将无需更新的文件从总的对象中删除。
<br>
FILES_FLAGS_CHANGED := $(strip 
<br>
$(filter-out $(FILES_FLAGS_UP_TO_DATE), 
<br>
$(O_TARGET) $(L_TARGET) $(active-objs) 
<br>
))
<br>
<br>
# A kludge: .S files don't get flag dependencies (yet),
<br>
# because that will involve changing a lot of Makefiles. Also
<br>
# suppress object files explicitly listed in $(IGNORE_FLAGS_OBJS).
<br>
# This allows handling of assembly files that get translated into
<br>
# multiple object files (see arch/ia64/lib/idiv.S, for example).
<br>
#
<br>
# 将由汇编文件生成的目件文件从FILES_FLAGS_CHANGED删除。
<br>
FILES_FLAGS_CHANGED := $(strip 
<br>
$(filter-out $(patsubst %.S, %.o, $(wildcard *.S)
<br>
$(IGNORE_FLAGS_OBJS)), 
<br>
$(FILES_FLAGS_CHANGED)))
<br>
# 将FILES_FLAGS_CHANGED设为目标。
<br>
ifneq ($(FILES_FLAGS_CHANGED),)
<br>
$(FILES_FLAGS_CHANGED): dummy
<br>
endif
<br>
&lt;/pre&gt;<br>
</FONT><br>
                                      </TD>
                                    </TR>
                                <TR>
                                <TD colSpan=2><FONT 
                                class=middlefont></FONT><BR>
                                        <FONT 
                                class=normalfont>全文结束</FONT> </TD>
                                    </TR>
                                <TR>
                                <TD background="images/dot.gif" tppabs="http://www.linuxhero.com/docs/images/dot.gif" colSpan=2 
                                height=10></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV></TD>
                        <TD vAlign=top width="20%" 
                      background="images/line.gif" tppabs="http://www.linuxhero.com/docs/images/line.gif" rowSpan=2> 
                          <DIV align=center> 
                            <table class=tableoutline cellspacing=1 cellpadding=4 
                        width="100%" align=center border=0>
                              <tr class=firstalt> 
                                <td noWrap background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif" colspan=2 height=21>
                                <font class=normalfont><b>所有分类</b></font></td>
                              </tr>
<tr class=secondalt> <td noWrap width=27%> <font class=normalfont>1:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type1.html" tppabs="http://www.linuxhero.com/docs/type1.html">非技术类</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>2:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type2.html" tppabs="http://www.linuxhero.com/docs/type2.html">基础知识</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>3:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type3.html" tppabs="http://www.linuxhero.com/docs/type3.html">指令大全</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>4:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type4.html" tppabs="http://www.linuxhero.com/docs/type4.html">shell</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>5:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type5.html" tppabs="http://www.linuxhero.com/docs/type5.html">安装启动</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>6:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type6.html" tppabs="http://www.linuxhero.com/docs/type6.html">xwindow</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>7:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type7.html" tppabs="http://www.linuxhero.com/docs/type7.html">kde</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>8:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type8.html" tppabs="http://www.linuxhero.com/docs/type8.html">gnome</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>9:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type9.html" tppabs="http://www.linuxhero.com/docs/type9.html">输入法类</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>10:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type10.html" tppabs="http://www.linuxhero.com/docs/type10.html">美化汉化</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>11:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type11.html" tppabs="http://www.linuxhero.com/docs/type11.html">网络配置</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>12:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type12.html" tppabs="http://www.linuxhero.com/docs/type12.html">存储备份</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>13:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type13.html" tppabs="http://www.linuxhero.com/docs/type13.html">杂项工具</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>14:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type14.html" tppabs="http://www.linuxhero.com/docs/type14.html">编程技术</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>15:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type15.html" tppabs="http://www.linuxhero.com/docs/type15.html">网络安全</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>16:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type16.html" tppabs="http://www.linuxhero.com/docs/type16.html">内核技术</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>17:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type17.html" tppabs="http://www.linuxhero.com/docs/type17.html">速度优化</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>18:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type18.html" tppabs="http://www.linuxhero.com/docs/type18.html">apache</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>19:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type19.html" tppabs="http://www.linuxhero.com/docs/type19.html">email</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>20:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type20.html" tppabs="http://www.linuxhero.com/docs/type20.html">ftp服务</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>21:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type21.html" tppabs="http://www.linuxhero.com/docs/type21.html">cvs服务</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>22:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type22.html" tppabs="http://www.linuxhero.com/docs/type22.html">代理服务</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>23:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type23.html" tppabs="http://www.linuxhero.com/docs/type23.html">samba</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>24:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type24.html" tppabs="http://www.linuxhero.com/docs/type24.html">域名服务</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>25:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type25.html" tppabs="http://www.linuxhero.com/docs/type25.html">网络过滤</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>26:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type26.html" tppabs="http://www.linuxhero.com/docs/type26.html">其他服务</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>27:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type27.html" tppabs="http://www.linuxhero.com/docs/type27.html">nfs</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>28:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type28.html" tppabs="http://www.linuxhero.com/docs/type28.html">oracle</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>29:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type29.html" tppabs="http://www.linuxhero.com/docs/type29.html">dhcp</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>30:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type30.html" tppabs="http://www.linuxhero.com/docs/type30.html">mysql</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>31:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type31.html" tppabs="http://www.linuxhero.com/docs/type31.html">php</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>32:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type32.html" tppabs="http://www.linuxhero.com/docs/type32.html">ldap</a></font></td>    </tr>  </table></td></tr>                            </table>
                          </DIV></TD></TR>
                    <TR vAlign=top>
                        <TD width="80%"> 
                          <DIV align=center><BR>
                          </DIV>
                        </TD></TR></TBODY></TABLE></TD></TR>
                </TABLE></TD></TR>
          </TABLE>
      <TABLE cellSpacing=0 cellPadding=4 width="100%" bgColor=#eeeeee 
        border=0><TBODY>
        <TR>
          <TD width="50%">
              <P><FONT class=middlefont>版权所有 &copy; 2004 <A 
            href="mailto:bjchenxu@sina.com">linux知识宝库</A><BR>
                违者必究. </FONT></P>
            </TD>
          <TD width="50%">
              <DIV align=right><FONT class=middlefont>Powered by: <A 
            href="mailto:bjchenxu@sina.com">Linux知识宝库</A> Version 0.9.0 </FONT></DIV>
            </TD></TR></TBODY></TABLE>
      <CENTER></CENTER></TD></TR>
    </TABLE></CENTER></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -