**************************************************************************
*                                                                        *
*                    APM interface for Objective Caml                    *
*                                                                        *
*           Vincent Simonet, projet Cristal, INRIA Rocquencourt          *
*                                                                        *
*  Copyright 2002                                                        *
*  Institut National de Recherche en Informatique et en Automatique      *
*  All rights reserved.  This file is distributed under the terms of     *
*  the GNU Library General Public License (see file LICENSE).            *
*                                                                        *
*  Vincent.Simonet@inria.fr        http://cristal.inria.fr/~simonet/     *
*                                                                        *
**************************************************************************



This package provides basic interface to Linux APM driver for
Objective Caml programs.  Full documentation of the interface of the
library is available in the doc/ subdirectory of the distribution in
various formats (including HTML and PDF).  The package also includes a
sample program, mlapm, which is an approximative clone of the usual
apm command.



---------------------------------------------------------------------------
Requirements

- Objective Caml 3.06 or up
- GNU make
- The APM C library



---------------------------------------------------------------------------
Compilation and installation

1. Run the auto-configuration script.  From the source directoty do:
        ./configure

   Default installation path is OCAML_LIB/apm.  You can set an
   alternative path with the --libdir option, e.g.
       ./configure --libdir /usr/lib/ocamlapm


2. Compilation.  From the source directory do:
        make all

   This builds the library in byte-code and native-code (if
   available).  It also compiles the demonstration program (mlapm).


4. Become super-user (if necessary) and do:
        make install

   This install library files in the directory defined at
   configuration time.
