                             SeaMax for Linux v1.3.5
                                  2011-06-03

This suite of software has been tested on Debian GNU/Linux; if you intend to 
compile it on other platforms, please check the Makefile parameters described
below to ensure our software is installed to the correct locations on your 
system.

In order to install the SeaMax suite, you need GNU Make (available with most
distributions) "http://www.gnu.org/software/make/".  You will also need the
GCC and G++ compilers.  The SeaMax suite was developed with GCC-2.95 on the 
2.4.X kernel series and GCC-3.33 on the 2.6.X kernel series.  Additionally,
the open source libftdi (http://www.intra2net.com/en/developer/libftdi/) and 
libusb (http://www.libusb.org/) are required to use SeaMAX.  These third-party 
libraries can typically be obtained though your distribution's package 
management system.  For example, on Debian or Ubuntu: 
    # apt-get install libftdi libusb

To install everything:  simply "make install" as root from the directory where
you untarred seamax.tar.gz.  

The SeaMax library will be compiled and installed to /usr/local/lib by default.
You may change this directory by passing the LIBDIR variable when you call make.
For example if you wanted to install to /usr/lib "make install LIBDIR=/usr/lib".
The header files for the library will be installed, by default, in
/usr/local/include.  You may change this directory in the same manner as
described above with the INCLUDEDIR variable.  The examples for use with each
SeaMax model are installed on your system, and will be compiled and stored 
in the examples directory under each model.  Both a C and C++ example (and 
source code) are included.

When accessing USB direct devices (such as SeaDAC Lite modules) you will need
extended privileges (such as root or super user).

-------------------------------------------------------------------------------
Optional make commands:
-------------------------------------------------------------------------------
	
	"make" or "make subdirs":  this option will build all binaries, but
		will not copy them to the locations described below.

	"make objs":  this option is similar to "make subdirs", but instead of
		building executables, only objects will be created.

	"make clean":  this option removes all the build/executable files in
		the working SeaMax directory.  Installed files remain on
		your system.

	"make uninstall":  this option removes files that were previously
		Installed to the locations described below.

	"make cleaninstall":  removes any previous build files then preforms
		a fresh install.  Everything is built from source again.

	"make purge":  removes installed files and build files in one command.
		(exactly like preforming "make uninstall" then "make clean")

-------------------------------------------------------------------------------
Optional make parameters: (you may either manually edit them in the Makefile or
	pass them at run time like so: "make install LIBDIR=/<PATH_TO_LIB>/")
-------------------------------------------------------------------------------

	LIBDIR=		/usr/local/lib
	  This is where the SeaMax API library is installed.  (libseamax.a)

	INCLUDEDIR=	/usr/local/include
	  This is where the SeaMax headerfiles will be installed.

	EXPDIR=		/usr/local/seamax/
	  This is where the SeaMax example applications will be installed.

-------------------------------------------------------------------------------
