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

📄 rbuild.dbk

📁 ReactOS是一些高手根据Windows XP的内核编写出的类XP。内核实现机理和API函数调用几乎相同。甚至可以兼容XP的程序。喜欢研究系统内核的人可以看一看。
💻 DBK
📖 第 1 页 / 共 4 页
字号:

                <listitem>
                  <para>Name of the module to execute.</para>
                </listitem>
              </varlistentry>
            </variablelist></para>
        </section>

        <section>
          <title>Content</title>

          <para>None.</para>
        </section>

        <section>
          <title>Children</title>

          <para><link linkend="element.input">input</link>, <link
          linkend="element.output">output</link>.</para>
        </section>
      </section>

      <section id="element.library">
        <title>Library element</title>

        <para>A library element specifies the name of another module which is
        to be linked with the current module.</para>

        <section>
          <title>Syntax</title>

          <para><programlisting>&lt;library&gt;<replaceable>MyLibraryModule</replaceable>&lt;/library&gt;</programlisting></para>
        </section>

        <section>
          <title>Attributes</title>

          <para>None.section</para>
        </section>

        <section>
          <title>Parents</title>

          <para><link linkend="element.module">module</link>.</para>
        </section>

        <section>
          <title>Children</title>

          <para>None.</para>
        </section>
      </section>

      <section id="element.linkerflag">
        <title>Linkerflag element</title>

        <para>A likerflag element specifies flags to be passed to the linker
        tool.</para>

        <section>
          <title>Syntax</title>

          <para><programlisting>&lt;linkerflag&gt;<replaceable>-lgcc</replaceable>&lt;/linkerflag&gt;</programlisting></para>
        </section>

        <section>
          <title>Attributes</title>

          <para>None.</para>
        </section>

        <section>
          <title>Content</title>

          <para>The switches to pass to the linker.</para>
        </section>

        <section>
          <title>Parents</title>

          <para><link linkend="element.module">module</link>.</para>
        </section>

        <section>
          <title>Children</title>

          <para>None.</para>
        </section>
      </section>

      <section id="element.module">
        <title>Module element</title>

        <para>There can be zero or more <sgmltag
        class="element">module</sgmltag>s per XML build file.</para>

        <section>
          <title>Syntax</title>

          <para><programlisting>&lt;module if="${MP}" ifnot="${MP}" name="msvcrt" type="win32dll" extension=".dll" entrypoint="_DllMain@12" baseaddress="0x70000000" mangledsymbols="true" installbase="system32" installname="msvcrt.dll" usewrc="false" allowwarnings="true" aliasof="module1"&gt;
  ...
&lt;/module&gt;</programlisting></para>
        </section>

        <section>
          <title>Attributes</title>

          <para><variablelist>
              <varlistentry>
                <term>if</term>

                <listitem>
                  <para>If the value is 1, then the module is enabled,
                  otherwise it is disabled. A disabled module is not
                  processed.</para>
                </listitem>
              </varlistentry>

              <varlistentry>
                <term>ifnot</term>

                <listitem>
                  <para>If the value is 1, then the module is disabled,
                  otherwise it is enabled. A disabled module is not
                  processed.</para>
                </listitem>
              </varlistentry>

              <varlistentry>
                <term>name</term>

                <listitem>
                  <para>Name of the module. Also the base name of the
                  generated file if such file is generated for the particular
                  module type.</para>
                </listitem>
              </varlistentry>

              <varlistentry>
                <term>type</term>

                <listitem>
                  <para>Type of module. See below for an explanation of module
                  types. <emphasis><emphasis>The module type determines the
                  actions that is to be carried out to process the module. The
                  defined module types are seen
                  below:</emphasis></emphasis></para>

                  <table>
                    <title>Module Types</title>

                    <tgroup cols="6">
                      <thead>
                        <row>
                          <entry>Value</entry>

                          <entry>Output name suffix</entry>

                          <entry>Entrypoint</entry>

                          <entry>Baseaddress</entry>

                          <entry>Mangledsymbols</entry>

                          <entry>Description</entry>
                        </row>
                      </thead>

                      <tbody>
                        <row>
                          <entry>buildtool</entry>

                          <entrytbl cols="2">
                            <tbody>
                              <row>
                                <entry><filename>.exe</filename> (Windows)</entry>

                                <entry>none (Linux)</entry>
                              </row>
                            </tbody>
                          </entrytbl>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>Builds a tool that can be run (invoked) when
                          building ReactOS.</entry>
                        </row>

                        <row>
                          <entry>staticlibrary</entry>

                          <entry><filename>.a</filename></entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>Builds a static library containing object
                          files that can be linked together with other
                          modules.</entry>
                        </row>

                        <row>
                          <entry>objectlibrary</entry>

                          <entry><filename>.o</filename></entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>Builds object files that can be linked
                          together with other modules.</entry>
                        </row>

                        <row>
                          <entry>kernel</entry>

                          <entry><filename>.exe</filename></entry>

                          <entry><function>_NtProcessStartup</function></entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>Builds
                          <filename>ntoskrnl.exe</filename>.</entry>
                        </row>

                        <row>
                          <entry>kernelmodedll</entry>

                          <entry><filename>.dll</filename></entry>

                          <entry><function>_DriverEntry@8</function></entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>Builds a kernel-mode DLL.</entry>
                        </row>

                        <row>
                          <entry>kernelmodedriver</entry>

                          <entry><filename>.sys</filename></entry>

                          <entry><function>_DriverEntry@8</function></entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>Builds a kernel-mode driver.</entry>
                        </row>

                        <row>
                          <entry>nativecui</entry>

                          <entry>.exe</entry>

                          <entry><function>_NtProcessStartup</function></entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>Build a native NT/ROS program (no enviroment
                          subsystem required to run).</entry>
                        </row>

                        <row>
                          <entry>nativedll</entry>

                          <entry><filename>.dll</filename></entry>

                          <entry><function>_DllMainCRTStartup@12</function></entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>Builds a native DLL.</entry>
                        </row>

                        <row>
                          <entry>win32dll</entry>

                          <entry><filename>.dll</filename></entry>

                          <entry><function>_DllMain@12</function></entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>Builds a Win32 DLL.</entry>
                        </row>

                        <row>
                          <entry>win32cui</entry>

                          <entry><filename>.exe</filename></entry>

                          <entry><function>_mainCRTStartup</function></entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>Builds a Win32 console executable.</entry>
                        </row>

                        <row>
                          <entry>win32gui</entry>

                          <entry><filename>.exe</filename></entry>

                          <entry><function>_WinMainCRTStartup</function></entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>Builds a Win32 GUI executable.</entry>
                        </row>

                        <row>
                          <entry>bootloader</entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>Builds a bootloader.</entry>
                        </row>

                        <row>
                          <entry>bootsector</entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>Builds one or more bootsector
                          binaries.</entry>
                        </row>

                        <row>
                          <entry>iso</entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>-.</entry>

                          <entry>Builds a bootable CD.</entry>
                        </row>

                        <row>
                          <entry>test</entry>

                          <entry>.exe</entry>

                          <entry><function>_mainCRTStartup</function></entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>Builds a testsuite.</entry>
                        </row>

                        <row>
                          <entry>rpcserver</entry>

                          <entry><filename>.o</filename></entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>Generates and builds server code for an RPC
                          interface.</entry>
                        </row>

                        <row>
                          <entry>rpcclient</entry>

                          <entry><filename>.o</filename></entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>Generates and builds client code for an RPC
                          interface.</entry>
                        </row>

                        <row>
                          <entry>alias</entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>-</entry>

                          <entry>Module is an alias for another module. This
                          module type is the only module type for which the
                          aliasof attribute is applicable. Only the module
                          install functionality is aliased.</entry>
                        </row>
                      </tbody>
                    </tgroup>
                  </table>
                </listitem>
              </varlistentry>

              <varlistentry>
                <term>extension</term>

                <listitem>
                  <para>Extension of the generated file if such file is
                  generated for the particular module type.</para>
                </listitem>

⌨️ 快捷键说明

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