
These files constitute the SAM-QFS libsam library.(version 4.6)
Released under the terms of the GNU Lesser General Public
License version 2.1. See LGPL_LICENSE for more details.

To build libsam do the following :-

$ tar xvf libsam.tar
$ cd libsam
$ export PATH=$PATH:/usr/ccs/bin 
  (or the path where the executable 'ar' can be found)
$ gmake 



libsam depends upon the library libsamconf.
On completion of the build, you will find 32bit and 64bit,
static (.a) and dynamic (.so) versions of libsam and libsamconf
in the directory lib/obj.

To use libsam,
1. Copy the desired version(s) of both libraries to "/opt/SUNWsamfs/lib".
2. Copy "include/pub/lib.h" to "/opt/SUNWsamfs/include"

To run libsam commands,
you may also have to append the path "/opt/SUNWsamfs/lib"
to the LD_LIBRARY_PATH environment variable.

To use the 64bit libraries you can build your application with the
following compiler and linker options:
-xarch=v9 			for SPARC boxes, and
-xarch=amd64 -Ui386 -U__i386 	for x64 boxes.
