1 |
# YodaProfiler |
# YodaProfiler |
2 |
# SOFTWARE VERSION |
# SOFTWARE VERSION |
3 |
VER= v2r00 |
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' |
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 |
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 |
|
|
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 |