##################################################################
#
# config.mk
#
# @file        config.mk
# @title       small configuration file for Makefile
# @author      J C Gonz\'alez
# @email       gonzalez@mppmu.mpg.de
# @date        Fri Mar 12 11:51:11 MET 1999
#
#_______________________________________________________________
#
# Created: Fri Mar 12 11:51:11 MET 1999
# Author:  Jose Carlos Gonzalez
# Purpose: Makefile for the compilation of the camera program
# Notes:   
#    
#---------------------------------------------------------------
# $RCSfile: config.mk.osf1,v $
# $Revision: 1.13 $
# $Author: moralejo $ 
# $Date: 2005-02-10 12:09:33 $
##################################################################
# @maintitle

# @code

# program

PROGRAM = camera

# compilers

CC            = cc
CXX           = cxx
F77           = f77

DOCUM         = ${HOME}/detector/sus/sus

# includes

ROOTSYS = `root-config --prefix`
INCLUDE              = ../include-GENERAL
INCLUDE_COR          = ../include-CORSIKA
INCLUDE_MC           = ../include-MC
INCLUDE_LONS         = ../include-MLons
INCLUDE_TRIGGER      = ../include-MTrigger
INCLUDE_FADC         = ../include-MFadc
INCLUDE_STAR         = ../StarResponse
INCLUDE_ROOT         = ${ROOTSYS}/include
INCLUDE_CPLUS        = /usr/include/cxx

INCLUDE_MARS_MBASE    = ../../../Mars/mbase
INCLUDE_MARS_MGEOM    = ../../../Mars/mgeom
INCLUDE_MARS_MGUI     = ../../../Mars/mgui
INCLUDE_MARS_MC       = ../../../Mars/mmc
INCLUDE_MARS_MRAW     = ../../../Mars/mraw
INCLUDE_MARS_MCALIB   = ../../../Mars/mcalib
INCLUDE_MARS_MTRIGGER = ../../../Mars/mtrigger

OPTIM    = -O2 -ieee -arch host -lpthread   
DEBUG    = -g  -w0 -msg_display_tag -msg_disable castqualtyp,undpreid,unrfunprm,extrasemi,intconlosbit,nonfundec,partovrd,stoclsnotfirst,boolexprconst

# libraries
ROOTLIBS = `root-config --libs` -lMinuit -lHistPainter -lThread

ROOTGLIBS = `root-config --glibs` -lMinuit -lHistPainter -lThread -lMatrix -lPhysics -lGui -lm  

ROOTVER   = `root-config  --version`
ROOTCFLAGS= `root-config  --cflags`

GLIBS = 	$(ROOTLIBS) $(ROOTGLIBS)

RANLIBDIR = ../lib
  
# system

SYSTEM  = osf1

# uncomment this for quiet compilation

.SILENT:

# @endcode
##EOF

