/[PAMELA software]/YodaProfiler/Makefile
ViewVC logotype

Diff of /YodaProfiler/Makefile

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

revision 1.8 by mocchiut, Fri Oct 20 11:39:29 2006 UTC revision 1.13 by mocchiut, Thu Nov 9 12:02:35 2006 UTC
# Line 1  Line 1 
1  # YodaProfiler  # YodaProfiler
2  # SOFTWARE VERSION  # SOFTWARE VERSION
3  VER= v2r00  VER= v2r03
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 33  UNAMEA=`uname -a` Line 33  UNAMEA=`uname -a`
33  TODAY=`date`  TODAY=`date`
34  # F77  # F77
35  F77=g77  F77=g77
36  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
37  #F77FLAGS=  -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash  F77FLAGS=  -Wall -Wno-globals -fvxt -fno-automatic -fbounds-check -extend_source -static -fno-backslash
38  # C++  # C++
39  CXX=g++  CXX=g++
40  #CXXFLAGS=-Wall -O -fPIC -pthread -g  #CXXFLAGS=-Wall -O -fPIC -pthread -g
# Line 49  DIRLIB=lib/${ARCH} Line 49  DIRLIB=lib/${ARCH}
49  DIRBIN=bin/${ARCH}  DIRBIN=bin/${ARCH}
50  DIRSRC=src  DIRSRC=src
51  DIRINC=inc  DIRINC=inc
52  DIRDOC=doc  DIRDOC=docs
53  DIRMACROS=macros  DIRMACROS=macros
54  DIRCALIB=param  DIRCALIB=param
55  # Here the  PAMELA environmental variables to be checked  # Here the  PAMELA environmental variables to be checked
# Line 83  LIBCPPCLIBS=libsgp4 Line 83  LIBCPPCLIBS=libsgp4
83  FULLLIBCPPLIBS=$(LIBCPPCLIBS:%=${DIRLIB}/%_${VER}.so)  FULLLIBCPPLIBS=$(LIBCPPCLIBS:%=${DIRLIB}/%_${VER}.so)
84    
85  # -- CPP - Executables --  # -- CPP - Executables --
86  CXXEXESRCS=${DIRSRC}/YodaProfiler.cpp  CXXEXESRCS=${DIRSRC}/YodaProfiler.cpp \
87               ${DIRSRC}/R2-D2.cpp
88  CXXEXEOBJS=$(CXXEXESRCS:${DIRSRC}%.cpp=${DIRLIB}%.o)  CXXEXEOBJS=$(CXXEXESRCS:${DIRSRC}%.cpp=${DIRLIB}%.o)
89  CXXEXELIBS:=YodaProfiler  CXXEXELIBS:=YodaProfiler R2-D2
90    
91  # List of all libraries we want to install  # List of all libraries we want to install
92  FULLLIBS = ${FULLROOTCLIBS} ${FULLLIBCPPLIBS} ${DARTHVLIB}  FULLLIBS = ${FULLROOTCLIBS} ${FULLLIBCPPLIBS} ${DARTHVLIB}
93    
94  # Other objects to install  # Other objects to install
95  EXESRCS=${DIRBIN}/YodaProfiler  EXESRCS=${DIRBIN}/YodaProfiler ${DIRBIN}/R2-D2
96    
97  INCSRCS=${DIRINC}/GLTables.h ${DIRINC}/GLTablesStruct.h ${DIRINC}/sgp4.h  INCSRCS=${DIRINC}/GLTables.h ${DIRINC}/GLTablesStruct.h ${DIRINC}/sgp4.h
98    
# Line 99  MACROSSRCS= Line 100  MACROSSRCS=
100    
101  CALIBFILES=  CALIBFILES=
102    
103  DOCFILES=  DOCFILES=${DIRDOC}/retrieve_TLE.sh ${DIRDOC}/YodaProfilerManual.pdf ${DIRDOC}/PAMELAProductionDB.sql ${DIRDOC}/install_DB.sh
104    
105  # Here the Variables used for info target  # Here the Variables used for info target
106  PACKAGE=PAMELA analysis flight software  PACKAGE=PAMELA analysis flight software
# Line 170  ${LIBCPPLIBS}: ${LIBSRCS} ${COBJS} ${FOB Line 171  ${LIBCPPLIBS}: ${LIBSRCS} ${COBJS} ${FOB
171    
172  ${CXXEXELIBS}: ${CPPOBJS} ${COBJS} ${CXXEXEOBJS}  ${CXXEXELIBS}: ${CPPOBJS} ${COBJS} ${CXXEXEOBJS}
173          @(${EGREEN} "Creating exec file: "${WHITE} "$@"; ${RESET})          @(${EGREEN} "Creating exec file: "${WHITE} "$@"; ${RESET})
 #       @${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRTOP}/${DIRLIB}/$@.o ${CPPOBJS} ${PAM_YODA}/lib/libyoda.so ${PAM_YODA}/lib/libutils.so -lThread `root-config --cflags --glibs` `cernlib mathlib`  
 #       @${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRTOP}/${DIRLIB}/$@.o ${DIRTOP}/${DIRLIB}/libPacketTypeList.so ${DIRTOP}/${DIRLIB}/libGLTables.so ${CPPOBJS} ${PAM_YODA}/lib/libyoda.so -lThread `root-config --cflags --glibs` `cernlib mathlib`  
   
 #       @${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRTOP}/${DIRLIB}/$@.o ${DIRTOP}/${DIRLIB}/libGLTables.so ${CPPOBJS} ${PAM_YODA}/lib/libyoda.so -lThread `root-config --cflags --glibs` `cernlib mathlib`  
174          @${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRTOP}/${DIRLIB}/$@.o ${DIRTOP}/${DIRLIB}/libGLTables.so ${DIRTOP}/${DIRLIB}/libsgp4.so ${CPPOBJS} ${PAM_YODA}/lib/libyoda.so -lThread `root-config --cflags --glibs`          @${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRTOP}/${DIRLIB}/$@.o ${DIRTOP}/${DIRLIB}/libGLTables.so ${DIRTOP}/${DIRLIB}/libsgp4.so ${CPPOBJS} ${PAM_YODA}/lib/libyoda.so -lThread `root-config --cflags --glibs`
175    
176  # A small target to check environmental variables  # A small target to check environmental variables

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

  ViewVC Help
Powered by ViewVC 1.1.23