Main Page   File List   File Members  

package ROOT

This is the 'interface' package for Root. It sets up the linking and include options that other packages can use to include Root classes. So, to use Root classes in a package, one simply has to add the following to your requirements file

use Root v3r0p6

It is useful to include the version, as switching between arbitrary versions of Root will probably not work.

The Root package uses the EXTLIB package, so by default it expects the actual Root installation to be in a directory defined by the env var GLAST_EXT.


Used Packages

The ROOT package depends on the following packages

EXTLIB v2r4


The Requirements File

package ROOT
version v3r0p8

use EXTLIB 

# $Header: /nfs/slac/g/glast/ground/cvs/ROOT/mgr/requirements,v 1.16 2001/07/06 23:09:38 kyoung Exp $
# GLAST version: use the path and linkopts for VisualC

ignore_pattern package_stamps

set ROOT_PATH       "${ROOT_DIR}/v3.00.06/@sys/root" \
 VisualC            "${ROOT_DIR}/3.00.06" \
 VisualCStatic      "${ROOT_DIR}/3.00.06"

include_dirs "${ROOT_PATH}/include"


macro ROOT_libs     "-L$(ROOT_PATH)/lib -lCint -lCore -ldl -lTree -lpthread" \
 SunOS              "-L$(ROOT_PATH)/lib -lCint -lCore -ldl -lsocket -lTree " \
 VisualC            "$(ROOT_PATH)/lib/libCint.lib $(ROOT_PATH)/lib/libCore.lib $(ROOT_PATH)/lib/libTree.lib $(ROOT_PATH)/lib/libWIN32.lib " \
 VisualCStatic      "$(ROOT_PATH)/lib/libCint.lib $(ROOT_PATH)/lib/libCore.lib $(ROOT_PATH)/lib/libTree.lib $(ROOT_PATH)/lib/libWIN32.lib "

macro ROOT_linkopts "$(ROOT_libs) " \ 
 VisualCStatic      "$(ROOT_libs)" \
 LinuxStatic        "$(ROOT_libs)"


# note override ROOTSYS
set         ROOTSYS         "${ROOT_PATH}"

path_append LD_LIBRARY_PATH "${ROOT_PATH}/bin:${ROOT_PATH}/lib" \
      VisualC               "${ROOT_PATH}/bin;${ROOT_PATH}/lib" \ 
      LinuxStatic           " " \
      LinuxStaticdbx        " " 
     


Generated at Wed Nov 21 12:20:50 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000