]> rtime.felk.cvut.cz Git - omk.git/blobdiff - doc/omk-manual.texinfo
Replace AM_ variables with OMK_ ones
[omk.git] / doc / omk-manual.texinfo
index 7f92ff1fe41f9b1325ae78ce9fbb54b726446673..dcd81028de19c1a33f24be7cea6e07c53c08ea8f 100644 (file)
@@ -359,13 +359,6 @@ source @file{test.c}.
   source.
 @end defvar
 
-@defvar xxx_GEN_SOURCES
-  Program sources generated (by other rules) in the build directory. See
-  the following example.
-  @verbatiminclude tests/programs/generated-sources/Makefile.omk
-
-@end defvar
-
 @defvar xxx_LIBS
   This variable contains a list of libraries the program @var{xxx} will
   be linked with.
@@ -375,6 +368,28 @@ source @file{test.c}.
   @end example
 @end defvar
 
+@defvar xxx_CFLAGS
+  CFLAGS specific for the compiler program. If this variable is set, its
+  value efectively overrides the value of OMK_CFLAGS variable.
+@end defvar
+
+@defvar xxx_CXXFLAGS
+  CXXFLAGS specific for the compiler program. If this variable is set, its
+  value efectively overrides the value of OMK_CXXFLAGS variable.
+@end defvar
+
+@defvar xxx_CPPFLAGS
+  CPPFLAGS specific for the compiler program. If this variable is set, its
+  value efectively overrides the value of OMK_CPPFLAGS variable.
+@end defvar
+
+@defvar xxx_GEN_SOURCES
+  Program sources generated (by other rules) in the build directory. See
+  the following example.
+  @verbatiminclude tests/programs/generated-sources/Makefile.omk
+
+@end defvar
+
 @defvar lib_LOADLIBES
   This variable contains a list of libraries which needs to be linked to
   to all programs or shared libraries in this directory.
@@ -501,15 +516,15 @@ and what is their destination file name.
 @section Compiler Flags
 
 OMK follows the same philosophy for flag variables as does Automake. The
-variables with AM_ prefix (e.g. AM_CPPFLAGS) are supposed to be used by
+variables with OMK_ prefix (e.g. OMK_CPPFLAGS) are supposed to be used by
 the package developer and variable without that prefix (e.g. CPPFLAGS)
 are reserved for the user. The following
 
-@defvar AM_CPPFLAGS
+@defvar OMK_CPPFLAGS
 Preprocessor switches.
 @end defvar
 
-@defvar AM_CFLAGS
+@defvar OMK_CFLAGS
 C compiler switches.
 @end defvar