From e8faa8742a3edf79106dbd5a889b1e34c9250572 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Tue, 5 May 2009 15:01:48 +0200 Subject: [PATCH] Added lib_LOADLIBES to documentation --- doc/omk-manual.texinfo | 14 ++++++++++++-- snippets/linux.omk | 1 + 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/omk-manual.texinfo b/doc/omk-manual.texinfo index 7c026a7..c85cc52 100644 --- a/doc/omk-manual.texinfo +++ b/doc/omk-manual.texinfo @@ -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 diff --git a/snippets/linux.omk b/snippets/linux.omk index c5876b7..b497514 100644 --- a/snippets/linux.omk +++ b/snippets/linux.omk @@ -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 -- 2.39.2