config.mk.svn-base

Go to the documentation of this file.
00001 ################################################################################
00002 #
00003 # config file for HepMCAnalysis library and examples
00004 #
00005 # pathes (variables) are set in setup script
00006 #  
00007 #  
00008 # Judith Katzy, Sebastian Johnert 16.10.2008
00009 #
00010 #
00011 ############################### Libraries ######################################
00012 
00013   INCLUDEF      = -I$(FastJetdir)/include
00014   INCLUDEH      = -I$(HepMCdir)/include -I$(CLHEPdir)/include \
00015                   -I$(HepPDTdir)/include -I$(ROOTSYS)/include
00016   INCLUDES      = $(INCLUDEH) $(INCLUDEF)
00017 
00018   ROOTGLIBS     = `root-config --glibs`
00019   ROOTCFLAGS    = `root-config --cflags` -Wno-long-long
00020 
00021   CLHEPlib     = -L$(CLHEPdir)/lib -lCLHEP
00022   HepPDTlib     = -L$(HepPDTdir)/lib -lHepPDT -lHepPID
00023   HepMClib      = $(HepMCdir)/lib/libHepMC.so $(HepMCdir)/lib/libHepMCfio.a
00024   #FastJetlib    = -L$(FastJetdir)/lib -lfastjet -lSISConePlugin -lCDFConesPlugin -lsiscone
00025   # the next line is needed for use up FastJetversion 2.4.1
00026   FastJetlib    = -L$(FastJetdir)/lib -lfastjet -lSISConePlugin -lCDFConesPlugin -lsiscone -lsiscone_spherical
00027   #ifeq ($(GFORTRAN), 1) 
00028   #LINK_LIBS     = -lgfortran
00029   #else 
00030   #LINK_LIBS     = -lfrtbegin -lg2c
00031   #endif
00032 
00033 #       ifeq ($(GFORTRAN), 1) 
00034 #       LINK_LIBS     = -lgfortran -lgfortranbegin
00035 #       else    
00036 #       LINK_LIBS     = -lfrtbegin -lg2c
00037 #       endif
00038 
00039 ################################################################################
00040 
00041   BINDIR = bin
00042   LIBDIR = lib
00043 
00044 ############################## Compiler options #################################
00045 
00046 #  CXX           = g++
00047 #  F77           = g77 #Fortran compiler (needed?)
00048   CXXFLAGS      = -O2 -Wall -fPIC -pthread   $(INCLUDES) 
00049   FFLAGS        = -O2 -fno-second-underscore $(INCLUDES) 
00050 #  LD            = g++ #needed?
00051 
00052 
00053  .SUFFIXES:      .o  .cc .f .exe
00054 
00055 ################################################################################
00056 # instructions for building a .o file from a .cxx file
00057 #
00058 .cc.o:         $(HDRS) $<
00059         @echo "Compiling $< with $(CXX) $(CXXFLAGS) "
00060         $(CXX) $(CXXFLAGS) -c $< -o $@
00061 
00062 ################################################################################
00063 # instructions for building a .o file from a .f file
00064 #
00065 .f.o:           $<
00066         @echo "Compiling $< with $(F77) ..."
00067         @$(F77) $(FFLAGS) -c $< -o $@
00068 

Generated on Tue Mar 1 01:18:30 2011 for HepMCAnalysis by  doxygen 1.4.7