@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
# 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