OSDN Git Service

LaTex用に更新.
[omake-japanese/omake_trans.git] / build.rst
index 6574947..e5ec2a4 100644 (file)
--- a/build.rst
+++ b/build.rst
@@ -2,7 +2,7 @@
 
 .. _label13:
 
-13. ビルド関数とユーティリティ
+ビルド関数とユーティリティ
 ==================================
 
 .. index::
@@ -17,7 +17,7 @@
    single: .BUILD_FAILURE
 .. _label13.1:
 
-13.1 ビルドイン .PHONY ターゲット
+ビルドイン .PHONY ターゲット
 --------------------------------------
 .. The complete set of builtin .PHONY targets include the following.
 
 
 .. _label13.2:
 
-13.2 オプションとバージョン管理
+オプションとバージョン管理
 --------------------------------------
 
 .. index::
    single: OMakeFlags()
 .. _label13.2.1:
 
-13.2.1 OMakeFlags
+OMakeFlags
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
    single: OMakeVersion()
 .. _label13.2.2:
 
-13.2.2 OMakeVersion
+OMakeVersion
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
    single: cmp-versions()
 .. _label13.2.3:
 
-13.2.3 cmp-versions
+cmp-versions
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
    single: DefineCommandVars()
 .. _label13.2.4:
 
-13.2.4 DefineCommandVars
+DefineCommandVars
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
 
 .. _label13.3:
 
-13.3 依存関係グラフの調査
+依存関係グラフの調査
 --------------------------------------
 
 .. index::
    single: dependencies-proper()
 .. _label13.3.1:
 
-13.3.1 dependencies, dependencies-all, dependencies-proper
+dependencies, dependencies-all, dependencies-proper
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
    single: target()
 .. _label13.3.2:
 
-13.3.2 target
+target
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
    single: find-build-targets()
 .. _label13.3.3:
 
-13.3.3 find-build-targets
+find-build-targets
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
    single: project-directories()
 .. _label13.3.4:
 
-13.3.4 project-directories
+project-directories
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
    single: rule()
 .. _label13.3.5:
 
-13.3.5 rule
+rule
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The rule function is called whenever a build rule is defined. It is unlikely that you will need to redefine this function, except in very exceptional cases.
 
    single: build()
 .. _label13.3.6:
 
-13.3.6 build
+build
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 ::
 
 
 .. _label13.4:
 
-13.4 OMakerootファイル
+OMakerootファイル
 --------------------------------------
 .. The standard OMakeroot file defines the functions are rules for building standard projects.
 
    single: SCANNER_MODE
 .. _label13.4.1:
 
-13.4.1 変数
+変数
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 * **ROOT**
   
    single: EXE
 .. _label13.4.2:
 
-13.4.2 システム変数
+システム変数
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The command to install a program (install on Unix, cp on Win32). 
    The normal path separator (: on Unix, ; on Win32). 
 
 .. _label13.5:
 
-13.5 C/C++コードのビルド
+C/C++コードのビルド
 --------------------------------------
 .. OMake provides extensive support for building C and C++ programs. In order to use the functions defined in this section, you need to make sure the line is present in your OMakeroot file.
 
@@ -519,7 +519,7 @@ OMakeではCやC++のプログラムのビルドを広範囲にわたってサ
 
 .. _label13.5.1:
 
-13.5.1 自動設定変数(Autoconfiguration variables)
+自動設定変数(Autoconfiguration variables)
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 .. These variables will get defined based on the “autoconf-style” static. tests executed when you run OMake for the first time. You can use them to configure your project accordingly, and you should not redefine them.
 
@@ -538,7 +538,7 @@ OMakeではCやC++のプログラムのビルドを広範囲にわたってサ
    single: GXX_FOUND
 .. _label13.5.1.1:
 
-13.5.1.1 Unixライクなシステム
+Unixライクなシステム
 """"""""""""""""""""""""""""""""""""""
 .. A boolean flag specifying whether the gcc binary was found in your path. 
    A boolean flag specifying whether the g++ binary was found in your path.
@@ -551,7 +551,7 @@ OMakeではCやC++のプログラムのビルドを広範囲にわたってサ
    single: LIB_FOUND
 .. _label13.5.1.2:
 
-13.5.1.2 Win32
+Win32
 """"""""""""""""""""""""""""""""""""""
 .. A boolean flag specifying whether the cl binary was found in your path. 
    A boolean flag specifying whether the lib binary was found in your path.
@@ -580,7 +580,7 @@ OMakeではCやC++のプログラムのビルドを広範囲にわたってサ
    single: LEX
 .. _label13.5.2:
 
-13.5.2 C/C++用の設定変数
+C/C++用の設定変数
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The following variables can be redefined in your project.
 
@@ -696,7 +696,7 @@ OMakeではCやC++のプログラムのビルドを広範囲にわたってサ
 
 .. _label13.5.3:
 
-13.5.3 Cファイルの生成
+Cファイルの生成
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 .. Because the C scanners do not normally know anything about generated source files (such as generated header files), these files may need to be created before running the scanner. 
 
@@ -707,7 +707,7 @@ Cのスキャナは(生成されたヘッダファイルのような)生成さ
    single: LocalCGeneratedFiles()
 .. _label13.5.3.1:
 
-13.5.3.1 CGeneratedFiles, LocalCGeneratedFiles
+CGeneratedFiles, LocalCGeneratedFiles
 """"""""""""""""""""""""""""""""""""""""""""""""""""
 ::
 
@@ -726,7 +726,7 @@ Cのスキャナは(生成されたヘッダファイルのような)生成さ
 
 .. _label13.5.4:
 
-13.5.4 Cプログラムとライブラリをビルド
+Cプログラムとライブラリをビルド
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 .. index::
@@ -738,7 +738,7 @@ Cのスキャナは(生成されたヘッダファイルのような)生成さ
    single: CDLL_IMPLIES_STATIC
 .. _label13.5.4.1:
 
-13.5.4.1 StaticCLibrary, DynamicCLibrary
+StaticCLibrary, DynamicCLibrary
 """""""""""""""""""""""""""""""""""""""""""""""
 .. The StaticCLibrary builds a static library and the DynamicCLibrary function builds a shared library (DLL).
 
@@ -773,7 +773,7 @@ Cのスキャナは(生成されたヘッダファイルのような)生成さ
    single: DynamicCLibraryCopy()
 .. _label13.5.4.2:
 
-13.5.4.2 StaticCLibraryCopy, DynamicCLibraryCopy
+StaticCLibraryCopy, DynamicCLibraryCopy
 """""""""""""""""""""""""""""""""""""""""""""""""""""
 .. The StaticCLibraryCopy and DynamicCLibraryCopy functions copy a library to an install location.
 
@@ -803,7 +803,7 @@ Cのスキャナは(生成されたヘッダファイルのような)生成さ
    single: DynamicCLibraryInstall()
 .. _label13.5.4.3:
 
-13.5.4.3 StaticCLibraryInstall, DynamicCLibraryInstall
+StaticCLibraryInstall, DynamicCLibraryInstall
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 .. The StaticCLibraryInstall and DynamicCLibraryInstall functions build a library, and set the install location in one step. Return the filename of the library in the target directory.
 
@@ -822,7 +822,7 @@ Cのスキャナは(生成されたヘッダファイルのような)生成さ
    single: StaticCObjectInstall()
 .. _label13.5.4.4:
 
-13.5.4.4 StaticCObject, StaticCObjectCopy, StaticCObjectInstall
+StaticCObject, StaticCObjectCopy, StaticCObjectInstall
 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 .. These functions mirror the StaticCLibrary, StaticCLibraryCopy, and StaticCLibraryInstall functions, but they build an object file (a .o file on Unix, and a .obj file on Win32).
 
@@ -835,7 +835,7 @@ Cのスキャナは(生成されたヘッダファイルのような)生成さ
    single: LIBS
 .. _label13.5.4.5:
 
-13.5.4.5 CProgram
+CProgram
 """""""""""""""""""""""""
 .. The CProgram function builds a C program from a set of object files and libraries.
 
@@ -872,7 +872,7 @@ Cのスキャナは(生成されたヘッダファイルのような)生成さ
    single: CProgramCopy()
 .. _label13.5.4.6:
 
-13.5.4.6 CProgramCopy
+CProgramCopy
 """"""""""""""""""""""""""""""""""""""
 .. The CProgramCopy function copies a file to an install location.
 
@@ -886,7 +886,7 @@ Cのスキャナは(生成されたヘッダファイルのような)生成さ
    single: CProgramInstall()
 .. _label13.5.4.7:
 
-13.5.4.7 CProgramInstall
+CProgramInstall
 """"""""""""""""""""""""""""""""""""""
 .. The CProgramInstall function specifies a program to build, and a location to install, simultaneously.
 
@@ -906,7 +906,7 @@ Cのスキャナは(生成されたヘッダファイルのような)生成さ
    single: CXXFLAGS
 .. _label13.5.4.8:
 
-13.5.4.8 CXXProgram, CXXProgramInstall
+CXXProgram, CXXProgramInstall
 """"""""""""""""""""""""""""""""""""""""""
 .. The CXXProgram and CXXProgramInstall functions are equivalent to their C counterparts, except that would use $(CXX) and $(CXXFLAGS) for linking instead of $(CC) and $(CFLAGS). 
 
@@ -921,7 +921,7 @@ Cのスキャナは(生成されたヘッダファイルのような)生成さ
    single: DynamicCXXLibraryInstall()
 .. _label13.5.4.9:
 
-13.5.4.9 StaticCXXLibrary, StaticCXXLibraryCopy, StaticCXXLibraryInstall, DynamicCXXLibrary, DynamicCXXLibraryCopy, DynamicCXXLibararyInstall
+StaticCXXLibrary, StaticCXXLibraryCopy, StaticCXXLibraryInstall, DynamicCXXLibrary, DynamicCXXLibraryCopy, DynamicCXXLibararyInstall
 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 .. Similarly, the six CXXLibrary functions the C++ equivalents of the corresponding CLibrary functions.
 
@@ -929,7 +929,7 @@ Cのスキャナは(生成されたヘッダファイルのような)生成さ
 
 .. _label13.6:
 
-13.6 OCamlコードのビルド
+OCamlコードのビルド
 --------------------------------------
 .. OMake provides extensive support for building OCaml code, including support for tools like ocamlfind, ocamlyacc and menhir. In order to use the functions defined in this section, you need to make sure the line
 
@@ -944,7 +944,7 @@ OMakeではOCamlコードをビルドするための、広範的なサポート
    single: MENHIR_AVAILABLE
 .. _label13.6.1:
 
-13.6.1 OCamlコンパイルに用いる自動設定用の変数
+OCamlコンパイルに用いる自動設定用の変数
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 .. These variables will get defined based on the “autoconf-style” tests executed when you run OMake for the first time. You can use them to configure your project accordingly, and you should not redefine them.
 
@@ -1002,7 +1002,7 @@ OMakeではOCamlコードをビルドするための、広範的なサポート
    single: MENHIR_ENABLED
 .. _label13.6.2:
 
-13.6.2 OCamlコンパイルに用いる設定用の変数
+OCamlコンパイルに用いる設定用の変数
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The following variables can be redefined in your project. 
 
@@ -1146,7 +1146,7 @@ OMakeではOCamlコードをビルドするための、広範的なサポート
    single: MENHIR_FLAGS
 .. _label13.6.3:
 
-13.6.3 OCamlコマンドフラグ
+OCamlコマンドフラグ
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The following variables specify additional options to be passed to the OCaml tools. 
 
@@ -1214,7 +1214,7 @@ OMakeではOCamlコードをビルドするための、広範的なサポート
    single: ABORT_ON_DEPENDENCY_ERRORS
 .. _label13.6.4:
 
-13.6.4 ライブラリ変数
+ライブラリ変数
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The following variables are used during linking.
 
@@ -1252,7 +1252,7 @@ OMakeではOCamlコードをビルドするための、広範的なサポート
 
 .. _label13.6.5:
 
-13.6.5 OCamlファイルを生成
+OCamlファイルを生成
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 .. As of OCaml version 3.09.2, the standard ocamldep scanner is “broken”. The main issue is that it finds only those dependencies that already exist. If foo.ml contains a dependency on Bar, 
 
@@ -1274,7 +1274,7 @@ OCaml バージョン 3.09.2に関しては、標準の ``ocamldep`` スキャ
    single: LocalOCamlGeneratedFiles()
 .. _label13.6.5.1:
 
-13.6.5.1 OCamlGeneratedFiles, LocalOCamlGeneratedFiles
+OCamlGeneratedFiles, LocalOCamlGeneratedFiles
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 ::
 
@@ -1297,7 +1297,7 @@ OCaml バージョン 3.09.2に関しては、標準の ``ocamldep`` スキャ
 
 .. _label13.6.5.2:
 
-13.6.5.2 依存関係の解析中に生成されるファイルを自動的に調査
+依存関係の解析中に生成されるファイルを自動的に調査
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 .. Having to specify the generated files manualy when OMake could discover them automatically is obviously suboptimal. To address this, we tell ocamldep to only find the free module names in a file and then post-process the results internally.
 
@@ -1315,7 +1315,7 @@ OMakeが自動的に調査してくれるときに、いちいち手動で生成
    single: Menhir
 .. _label13.6.6:
 
-13.6.6 Menhirパーサジェネレータを使用
+Menhirパーサジェネレータを使用
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 .. Menhir is a parser generator that is mostly compatible with ocamlyacc, but with many improvements. A few of these are listed here (excerpted from the Menhir home page http://cristal.inria.fr/~fpottier/menhir/).
 
@@ -1372,7 +1372,7 @@ Menhirは ``ocamlyacc`` とほとんど互換性がとれており、かつ様
    single: OCamlLibrary()
 .. _label13.6.6.1:
 
-13.6.6.1 OCamlLibrary
+OCamlLibrary
 """"""""""""""""""""""""""""""""""""""
 .. The OCamlLibrary function builds an OCaml library.
 
@@ -1398,7 +1398,7 @@ Menhirは ``ocamlyacc`` とほとんど互換性がとれており、かつ様
    single: OCamlPackage()
 .. _label13.6.6.2:
 
-13.6.6.2 OCamlPackage
+OCamlPackage
 """"""""""""""""""""""""""""""""""""""
 .. The OCamlPackage function builds an OCaml package.
 
@@ -1424,7 +1424,7 @@ Menhirは ``ocamlyacc`` とほとんど互換性がとれており、かつ様
    single: OCamlLibraryCopy()
 .. _label13.6.6.3:
 
-13.6.6.3 OCamlLibraryCopy
+OCamlLibraryCopy
 """"""""""""""""""""""""""""""""""""""
 .. The OCamlLibraryCopy function copies a library to an install location.
 
@@ -1440,7 +1440,7 @@ Menhirは ``ocamlyacc`` とほとんど互換性がとれており、かつ様
    single: OCamlLibraryInstall()
 .. _label13.6.6.4:
 
-13.6.6.4 OCamlLibraryInstall
+OCamlLibraryInstall
 """"""""""""""""""""""""""""""""""""""
 .. The OCamlLibraryInstall function builds a library and copies it to an install location in one step.
 
@@ -1458,7 +1458,7 @@ Menhirは ``ocamlyacc`` とほとんど互換性がとれており、かつ様
    single: OCAMLE_LINK_FLAGS
 .. _label13.6.6.5:
 
-13.6.6.5 OCamlProgram
+OCamlProgram
 """"""""""""""""""""""""""""""""""""""
 .. The OCamlProgram function builds an OCaml program. It returns the array with all the targets for which it has defined the rules ($(name)$(EXE) and $(name).run and/or $(name).opt, depending on the NATIVE_ENABLED and BYTE_ENABLED variables).
 
@@ -1511,7 +1511,7 @@ Menhirは ``ocamlyacc`` とほとんど互換性がとれており、かつ様
    single: NATIVE_ENABLED
 .. _label13.6.6.6:
 
-13.6.6.6 OCamlProgramCopy
+OCamlProgramCopy
 """"""""""""""""""""""""""""""""""""""
 .. The OCamlProgramCopy function copies an OCaml program to an install location.
 
@@ -1533,7 +1533,7 @@ Menhirは ``ocamlyacc`` とほとんど互換性がとれており、かつ様
    single: OCamlProgramInstall()
 .. _label13.6.6.7:
 
-13.6.6.7 OCamlProgramInstall
+OCamlProgramInstall
 """"""""""""""""""""""""""""""""""""""
 .. The OCamlProgramInstall function builds a programs and copies it to an install location in one step.
 
@@ -1543,7 +1543,7 @@ Menhirは ``ocamlyacc`` とほとんど互換性がとれており、かつ様
 
 .. _label13.7:
 
-13.7 LaTeXファイルのビルド
+LaTeXファイルのビルド
 --------------------------------------
 .. OMake provides support for building LATEX documents, including support for automatically running BiBTex and for producing PostScript and PDF files. In order to use the functions defined in this section, you need to make sure the line is present in your OMakeroot file.
 
@@ -1566,7 +1566,7 @@ OMakeではLaTeXドキュメントのビルドをサポートします。この
    single: USEPDFLATEX
 .. _label13.7.1:
 
-13.7.1 設定用の変数
+設定用の変数
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 .. The following variables can be modified in your project. 
 
@@ -1646,7 +1646,7 @@ OMakeではLaTeXドキュメントのビルドをサポートします。この
 
 .. _label13.7.2:
 
-13.7.2 LaTeXドキュメントのビルド
+LaTeXドキュメントのビルド
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 .. index::
@@ -1656,7 +1656,7 @@ OMakeではLaTeXドキュメントのビルドをサポートします。この
    single: TEXVARS
 .. _label13.7.2.1:
 
-13.7.2.1 LaTeXDocument
+LaTeXDocument
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 .. The LaTeXDocument produces a LATEX document.
 
@@ -1695,7 +1695,7 @@ OMakeではLaTeXドキュメントのビルドをサポートします。この
    single: LocalTeXGeneratedFiles()
 .. _label13.7.2.2:
 
-13.7.2.2 TeXGeneratedFiles, LocalTeXGeneratedFiles
+TeXGeneratedFiles, LocalTeXGeneratedFiles
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 ::
 
@@ -1716,7 +1716,7 @@ OMakeではLaTeXドキュメントのビルドをサポートします。この
    single: LaTeXDocumentCopy()
 .. _label13.7.2.3:
 
-13.7.2.3 LaTeXDocumentCopy
+LaTeXDocumentCopy
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 .. The LaTeXDocumentCopy copies the document to an install location.
 
@@ -1732,7 +1732,7 @@ OMakeではLaTeXドキュメントのビルドをサポートします。この
    single: LaTeXDocumentInstall()
 .. _label13.7.2.4:
 
-13.7.2.4 LaTeXDocumentInstall
+LaTeXDocumentInstall
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 .. The LaTeXDocumentInstall builds a document and copies it to an install location in one step.