Contents of this directory are copyright (C) Kevin B. McCarty, 2001-2007,
except where noted otherwise.  They are licensed under the GNU General
Public License, version 2 or later, at your choice.

A copy of the GNU GPL may be found on Debian systems at:
/usr/share/common-licenses/GPL
or on the Web at: http://www.gnu.org/copyleft/gpl.html

This directory contains numerous patches and additions to the canonical version
of CERNLIB supplied by CERN.  To compile CERNLIB accordingly, copy the Makefile
in this directory to the top-level CERNLIB source directory and run make with
whatever variables you like.

This packaging of CERNLIB adds support for:

- shared libraries and shadow passwords (Linux only)
- Mac OS X compilation
- Filesystem Hierarchy Standard: run make with these variables set:
	"make prefix=/usr sysconfdir=/etc mandir=/usr/share/man"
- recursive dependency checking with a rewritten "cernlib" script
- common GNU Makefile directories, e.g. $prefix, $datadir
- automatic generation of CERNLIB documents included with the source
- nice X11 app-defaults
- various other bug fixes

Note that unlike the upstream version of CERNLIB, which installs to
$CERN/$CERN_LEVEL (e.g. /opt/cern/2003), this packaging of CERNLIB will
install binaries to /usr/local/bin, daemons to /usr/local/sbin, shared
data to /usr/local/share, etc.  Or change this by specifying $prefix with
the "make" command.

This source package no longer includes PAW, Monte Carlo libraries, or
GEANT 3.21; those are now available separately.  You will need to first
compile and install this source code before attempting to install those
other modules.

Things NOT included in this packaging of CERNLIB:

- FLUKA code; see www.fluka.org to obtain that
- Pythia/Jetset/Ariadne/Lepto; see the respective web sites

These are omitted for licensing reasons (i.e. I am not convinced that it
is permissible for me to distribute them under the terms of the GPL).
See http://people.debian.org/~kmccarty/cernlib/ for more information.

--Kevin McCarty, 15 February 2005

