/[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.6 by mocchiut, Mon Sep 4 15:43:48 2006 UTC revision 1.12 by mocchiut, Wed Apr 18 14:06:08 2007 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= v1r00  VER= v2r00
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 32  TODAY=`date` Line 32  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
35  F77FLAGS=  -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash  F77FLAGS=  -Wall -Wno-globals -fPIC -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash
36  # C++  # C++
37  CXX=g++  CXX=g++
38  #CXXFLAGS=-Wall -O -fPIC -pthread -g  #CXXFLAGS=-Wall -O -fPIC -pthread -g
# Line 55  PAM_ENV= PAM_BIN_env PAM_LIB_env PAM_INC Line 55  PAM_ENV= PAM_BIN_env PAM_LIB_env PAM_INC
55    
56  # Here the local variables used to build the targets  # Here the local variables used to build the targets
57  # -- F77 - no libraries --  # -- F77 - no libraries --
58  FSRCS=  FSRCS=${DIRSRC}/igrf_sub.for
59  FOBJS=$(FSRCS:${DIRSRC}%.for=${DIRLIB}%.o)  FOBJS=$(FSRCS:${DIRSRC}%.for=${DIRLIB}%.o)
60    
61  # -- CPP - no libraries --  # -- CPP - no libraries --
# Line 67  CSRCS= Line 67  CSRCS=
67  COBJS=$(CSRCS:${DIRSRC}%.c=${DIRLIB}%.o)  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
72    
73  LIBROOTLIBS=$(LIBROOTSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)  LIBROOTLIBS=$(LIBROOTSRCS:${DIRSRC}/%.cpp=${DIRLIB}/lib%_${VER}.so)
74  LIBROOTCLIBS=libOrbitalInfo  LIBROOTCLIBS=libOrbitalInfo libInclinationInfo
75  FULLROOTCLIBS=$(LIBROOTCLIBS:%=${DIRLIB}/%_${VER}.so)  FULLROOTCLIBS=$(LIBROOTCLIBS:%=${DIRLIB}/%_${VER}.so)
76    
77  # -- CPP - NON-ROOT libraries --  # -- CPP - NON-ROOT libraries --
# Line 158  ${LIBROOTLIBS}: ${LIBROOTSRCS} Line 159  ${LIBROOTLIBS}: ${LIBROOTSRCS}
159  #  #
160  #       Create *Dict.cpp and *Dict.h  #       Create *Dict.cpp and *Dict.h
161  #  #
162          @${ROOTCINT} -f ${DIRSRC}/`basename $(@F) _${VER}.so | sed s/lib//`Dict.cpp -c -I${ROOTINC} -I${PAM_YODA}/include/yoda/ -I${PAM_INC}/ ${DIRINC}/`basename $(@F) _${VER}.so | sed s/lib//`.h ${DIRINC}/`basename $(@F) _${VER}.so | sed s/lib//`LinkDef.h          @${ROOTCINT} -f ${DIRSRC}/`basename $(@F) _${VER}.so | sed s/lib//`Dict.cpp -c -I${DIRINC} -I${ROOTINC} -I${PAM_YODA}/include/yoda/ -I${PAM_INC}/ ${DIRINC}/`basename $(@F) _${VER}.so | sed s/lib//`.h ${DIRINC}/`basename $(@F) _${VER}.so | sed s/lib//`LinkDef.h
163  #  #
164  #       create .o  #       create .o
165  #  #

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.23