]> rtime.felk.cvut.cz Git - omk/sssa.git/commitdiff
Added lib_LOADLIBES to documentation
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 5 May 2009 13:01:48 +0000 (15:01 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 5 May 2009 13:01:48 +0000 (15:01 +0200)
doc/omk-manual.texinfo
snippets/linux.omk

index 7c026a7c6cc779cb1835c1cd84df0c7f06952ddc..c85cc52be320f7298d1ff582157429a2ed37e14f 100644 (file)
@@ -362,9 +362,19 @@ source @file{test.c}.
   @end example
 @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.
+@end defvar
+
 @defvar LOADLIBES
-  This variable contains a list of libraries all programs in this
-  directory needs to be linked to.
+  This variable contains a list linker switches to load additional
+  libraries. You usually specify here -L and -l switches.
+
+  Note: The value of this variable is not used used by OMK for any purpose
+  other than linker invocation. Therefore dependency handling of shared
+  libraries does not work if the library is specified in LOADLIBES
+  instead of lib_LOADLIBES.
 @end defvar
 
 @defvar INCLUDES
index c5876b7c37967ee052c8d691a0bef81359603d32..b4975140404b4580005a11182af5c0b5d405aa6d 100644 (file)
@@ -18,6 +18,7 @@
 # rtlinux_MODULES  .. list of RT-Linux the kernel side modules/applications
 # xxx_SOURCES      .. list of specific target sources
 # xxx_LIBS         .. list of specific target libraries
+# lib_LOADLIBES    .. list of libraries linked to each executable
 # INCLUDES         .. additional include directories and defines for user-space
 # kernel_INCLUDES  .. additional include directories and defines for kernel-space
 # rtlinux_INCLUDES .. additional include directories and defines for RT-Linux