/[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.17 by mocchiut, Thu Sep 25 12:28:06 2008 UTC revision 1.19 by mocchiut, Wed Oct 1 15:25:36 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= v2r02  VER= v2r04
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 ${PAM_BIT}  #CFLAGS=-Wall -O -fPIC -pthread -g ${PAM_BIT}
27  #CFLAGS=-Wall -O -fPIC -pthread ${PAM_BIT}  CFLAGS=-Wall -O -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`
# Line 35  F77=g77 Line 35  F77=g77
35  F77FLAGS=  -Wall -Wno-globals -fPIC -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash ${PAM_BIT}  F77FLAGS=  -Wall -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 ${PAM_BIT}  #CXXFLAGS=-Wall -O -fPIC -pthread -g ${PAM_BIT}
39  #CXXFLAGS=-Wall -O -fPIC -pthread ${PAM_BIT}  CXXFLAGS=-Wall -O -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}
# 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.17  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.23