
To compile the libsentry library, simply cd into the source
directory and run these commands:

make 
make install

The Makefile is configured to install the library to
/usr/local/lib/libsentry.so
and the executable wrapper to:
/usr/local/bin/sentry

If you want to install to some other prefix, simply edit
the Makefile before compiling and change the line:

PREFIX=/usr/local

to:

PREFIX=/usr

or whatever prefix you wish to use. Running the 'make install'
command will automatically edit the executable wrapper so that
it points to the correct location of the libsentry.so library,
if you have the 'sed' program installed on your system. If not,
you must manually edit the sentry wrapper so that it
points to the correct location of libsentry.so

Testing the library:
After compiling and installing the main library and wrapper,
you can test the functionality of the library by changing to
the directory inside the sources named 'tests'.
There are several tests which can be run, for instance:
make test1
or:
make test2

More realistic test can be found in the Makefile.shell-tests
file. To run tests in hta file use a command such as:
make -f Makefile.shell-tests test1
or:
make -f Makefile.shell-tests testchown

See the Makefiles for more test rules which can be run to test
specific commands or features of the libsentry library.
