/[PAMELA software]/DarthVader/OrbitalInfo/Makefile
ViewVC logotype

Diff of /DarthVader/OrbitalInfo/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by mocchiut, Thu May 3 20:09:29 2007 UTC revision 1.23 by mocchiut, Fri Dec 19 14:00:06 2008 UTC
# Line 1  Line 1 
1  #Orbital Information for flight analysis software  #Orbital Information for flight analysis software
2  # SOFTWARE VERSION  # SOFTWARE VERSION
3  VER= v2r01  VER= v2r06
4  # An almost general purpouse Makefile for PAMELA repository  # An almost general purpouse Makefile for PAMELA repository
5  # Let's start with some usefull definition for colorize the echo  # Let's start with some usefull definition for colorize the echo
6  RED='\E[1;31;40m'  RED='\E[1;31;40m'
# Line 23  RESET=tput sgr0 Line 23  RESET=tput sgr0
23  # Here the variables used to override the standard make flags  # Here the variables used to override the standard make flags
24  # C  # C
25  CC=gcc  CC=gcc
26  CFLAGS=-Wall -O -fPIC -pthread -g  #CFLAGS=-Wall -funroll-loops -fPIC -pthread -g ${PAM_BIT}
27  #CFLAGS=-Wall -O -fPIC -pthread  CFLAGS=-Wall -O3 -funroll-loops -fPIC -pthread ${PAM_BIT}
28  # Enviroment:  # Enviroment:
29  GCCVER=`gcc --version | head -1`  GCCVER=`gcc --version | head -1`
30  UNAMEA=`uname -a`  UNAMEA=`uname -a`
31  TODAY=`date`  TODAY=`date`
32  # F77  # F77
33  F77=g77  F77=g77
34  F77FLAGS=  -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -g -extend_source -static -fno-backslash  #F77FLAGS=  -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -g -extend_source -static -fno-backslash ${PAM_BIT}
35  #F77FLAGS=  -Wall -Wno-globals -fPIC -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash  F77FLAGS=  -Wall -funroll-loops -Wno-globals -fPIC -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash ${PAM_BIT}
36  # C++  # C++
37  CXX=g++  CXX=g++
38  CXXFLAGS=-Wall -O -fPIC -pthread -g  #CXXFLAGS=-Wall -funroll-loops -fPIC -pthread -g ${PAM_BIT}
39  #CXXFLAGS=-Wall -O -fPIC -pthread  CXXFLAGS=-Wall -O3 -funroll-loops -fPIC -pthread ${PAM_BIT}
40  # ROOTCINT  # ROOTCINT
41  ROOTCINT=rootcint  ROOTCINT=rootcint
42  # Here the variables definig the local directories  # Here the variables definig the local directories
# Line 68  COBJS=$(CSRCS:${DIRSRC}%.c=${DIRLIB}%.o) Line 68  COBJS=$(CSRCS:${DIRSRC}%.c=${DIRLIB}%.o)
68    
69  # -- CPP - ROOT libraries --  # -- CPP - ROOT libraries --
70  LIBROOTSRCS=${DIRSRC}/OrbitalInfo.cpp \  LIBROOTSRCS=${DIRSRC}/OrbitalInfo.cpp \
71              ${DIRSRC}/InclinationInfo.cpp              ${DIRSRC}/InclinationInfo.cpp \
72                ${DIRSRC}/OrientationInfo.cpp
73    
74  LIBROOTLIBS=$(LIBROOTSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)  LIBROOTLIBS=$(LIBROOTSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)
75  LIBROOTCLIBS=libOrbitalInfo libInclinationInfo  LIBROOTCLIBS=libOrbitalInfo libInclinationInfo libOrientationInfo
76  FULLROOTCLIBS=$(LIBROOTCLIBS:%=${DIRLIB}/%_${VER}.so)  FULLROOTCLIBS=$(LIBROOTCLIBS:%=${DIRLIB}/%_${VER}.so)
77    
78  # -- CPP - NON-ROOT libraries --  # -- CPP - NON-ROOT libraries --
# Line 90  CXXEXELIBS:=OrbitalInfoLevel2 Line 91  CXXEXELIBS:=OrbitalInfoLevel2
91  #TRKOBJS=${DIRTOP}/../lib2/libTrkLevel2.so ${DIRTOP}/../lib2/libtrack.so  #TRKOBJS=${DIRTOP}/../lib2/libTrkLevel2.so ${DIRTOP}/../lib2/libtrack.so
92  #TRKOBJS=${PAM_LIB}/libTrkLevel2.so ${PAM_LIB}/libtrack.so ${PAM_LIB}/libreadB.so ${PAM_LIB}/libinterB.so ${PAM_LIB}/libGLTables.so ${PAM_LIB}/libRunInfo.so  #TRKOBJS=${PAM_LIB}/libTrkLevel2.so ${PAM_LIB}/libtrack.so ${PAM_LIB}/libreadB.so ${PAM_LIB}/libinterB.so ${PAM_LIB}/libGLTables.so ${PAM_LIB}/libRunInfo.so
93  #TRKOBJS=  #TRKOBJS=
94  OTHERLIBS=${PAM_LIB}/libGLTables.so ${DIRLIB}/libRunInfo.so  OTHERLIBS=${PAM_LIB}/libGLTables.so ${DIRLIB}/libRunInfo.so ${DIRLIB}/libToFLevel2.so
95  # -- directory where to find tracker headers needed to compile  # -- directory where to find tracker headers needed to compile
96  #TRKHEAD=${DIRTOP}/../tracker/inc  #TRKHEAD=${DIRTOP}/../tracker/inc
97  #TRKHEAD=${PAM_INC}  #TRKHEAD=${PAM_INC}
98  SUBDIR=../RunInfo  SUBDIR=../RunInfo ../ToFLevel2 ../TrackerLevel2 ../TriggerLevel2
99  SUBINC=$(shell for dir in `echo ${SUBDIR}`; do echo -I$${dir}/inc; done)  SUBINC=$(shell for dir in `echo ${SUBDIR}`; do echo -I$${dir}/inc; done)
100    
101  # List of all libraries we want to install  # List of all libraries we want to install
# Line 103  FULLLIBS = ${FULLROOTCLIBS} ${FULLLIBCPP Line 104  FULLLIBS = ${FULLROOTCLIBS} ${FULLLIBCPP
104  # Other objects to install  # Other objects to install
105  EXESRCS=${DIRBIN}/OrbitalInfoLevel2  EXESRCS=${DIRBIN}/OrbitalInfoLevel2
106    
107  INCSRCS=${DIRINC}/OrbitalInfo.h ${DIRINC}/OrbitalInfoStruct.h  INCSRCS=${DIRINC}/OrbitalInfo.h ${DIRINC}/OrbitalInfoStruct.h ${DIRINC}/InclinationInfo.h ${DIRINC}/OrientationInfo.h
108    
109  MACROSSRCS=  MACROSSRCS=
110    

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.23

  ViewVC Help
Powered by ViewVC 1.1.23