]> rtime.felk.cvut.cz Git - omk.git/commitdiff
Added documentation to BUILD_OS and TARGET_OS.
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 11 Nov 2007 23:02:00 +0000 (23:02 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 11 Nov 2007 23:02:00 +0000 (23:02 +0000)
darcs-hash:20071111230243-f2ef6-6fa67b6667943dc8d87a3baa697fb85d1d3b721e.gz

doc/omk-manual.texinfo

index a2d2640d74ad3d6eb09366d759db70b599c0ad32..07d607e5c27b04980fd9b35e7141b868a2850bac 100644 (file)
@@ -169,6 +169,7 @@ about the process of modularization.
 * Dependency Tracking::         
 * Configuration and Conditional Compilation::  
 * Advanced OMK Features::       
+* Properties of Specific Makefile.rules::  
 * Running OMK under Windows OS::  
 * Interfacing OMK to popular IDEs::  
 * Troubleshooting::             
@@ -712,7 +713,7 @@ to the desired configuration.
   compiler.
 @end vtable
 
-@node Advanced OMK Features, Running OMK under Windows OS, Configuration and Conditional Compilation, OMK User's Manual
+@node Advanced OMK Features, Properties of Specific Makefile.rules, Configuration and Conditional Compilation, OMK User's Manual
 @section Advanced OMK Features
 
 In this section we list several OMK features, which are more complicated
@@ -754,9 +755,44 @@ If this variable equals to @samp{1}, the @b{whole} project is
 @end defvar
 
 
+@node Properties of Specific Makefile.rules, Running OMK under Windows OS, Advanced OMK Features, OMK User's Manual
+@section Properties of Specific Makefile.rules
 
+In previous sections, general properties of @file{Makefile.rules} were
+documented. This section contains documentation to features found only
+in some particular @file{Makefile.rules}.
+
+@menu
+* Linux::                       
+* System-Less::                 
+* RTEMS::                       
+@end menu
+
+@node Linux, System-Less, Properties of Specific Makefile.rules, Properties of Specific Makefile.rules
+@subsection Linux
+
+This @file{Makefile.rules} is used not only for Linux as the name
+sugest, but also for other Unices and even for Windows.
+
+@defvar BUILD_OS
+  The name of the operating system (OS) where make was invoked.
+@end defvar
+
+@defvar TARGET_OS
+  Should specify the name of OS where the resulting binary should be
+  used. If not specified manually, it equals to BUILD_OS. 
+@end defvar
+
+
+
+@node System-Less, RTEMS, Linux, Properties of Specific Makefile.rules
+@subsection System-Less
+
+@node RTEMS,  , System-Less, Properties of Specific Makefile.rules
+@subsection RTEMS
  
-@node Running OMK under Windows OS, Interfacing OMK to popular IDEs, Advanced OMK Features, OMK User's Manual
+@node Running OMK under Windows OS, Interfacing OMK to popular IDEs, Properties of Specific Makefile.rules, OMK User's Manual
 @section Running OMK under Windows OS
 
 @node Interfacing OMK to popular IDEs, Troubleshooting, Running OMK under Windows OS, OMK User's Manual