If you got these sources from CVS, run
    make -f Makefile.cvs
If you want more automatism, run
    make -f Makefile.cvs Makefile
and it will also run everything around configure.
You can set CONFIG_OPTS for configure options and the usual options
like LDFLAGS and CFLAGS.

If you want to package it, run
    make -f Makefile.dist
This builds the tar.gz, tar.bz2, src.rpm and <arch>.rpm

To see what compile options are available, do a
    ./configure --help
and choose your settings.

Optionally add special search paths for libraries and includes:
    CFLAGS="-I/path/to/includes"
    LDFLAGS="-L/path/to/libs"
Read in the manual of your shell how to set environment variables
and the compiler manual for other options.

Then run
    ./configure <your settings>
There is a sensible default for the device port for many systems.

There are dependencies on libraries:
   1. libc with iconv included (Linux or NetBSD > 1.6.x)
      or libiconv (all other systems)
   2. Either
        libc with getopt_long included (Linux and NetBSD)
        or libgnugetopt (FreeBSD)
      or
        libpopt (all other systems)
   3. libc with gettext included (Linux)
      or libintl (all other systems)
      or no gettext support (if you do not want translation)
   4. bluez (linux, optional)

There are build dependencies on some programs:
   Required:
     1. make and gcc build environment for the program itself
   Optional:
     2. gettext utils to create the message catalogs
     3. docbook2x OR xsltproc to create the manpage files
        (you MUST NOT have docbook2x installed when you want to
	 only use xsltproc)
     4. xsltproc to create the HTML documentation

configure will try to detect what is present on your system
(in the order mentioned above).

Then finally build and install it:
    make
and optionally
    make install

For the parameters to run the program:
    scmxx --help
 or
    man scmxx
