/[PAMELA software]/YodaProfiler/Makefile
ViewVC logotype

Diff of /YodaProfiler/Makefile

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

revision 1.1 by mocchiut, Wed Aug 30 11:18:13 2006 UTC revision 1.7 by mocchiut, Tue Oct 17 15:19:46 2006 UTC
# Line 1  Line 1 
1  # YodaProfiler  # YodaProfiler
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 25  RESET=tput sgr0 Line 25  RESET=tput sgr0
25  MAKE=make  MAKE=make
26  # C  # C
27  CC=gcc  CC=gcc
28  CFLAGS=-Wall -O -fPIC -pthread -g  #CFLAGS=-Wall -O -fPIC -pthread -g
29  #CFLAGS=-Wall -O -fPIC -pthread  CFLAGS=-Wall -O -fPIC -pthread
30  # Enviroment:  # Enviroment:
31  GCCVER=`gcc --version | head -1`  GCCVER=`gcc --version | head -1`
32  UNAMEA=`uname -a`  UNAMEA=`uname -a`
# Line 37  F77FLAGS=  -Wall -Wno-globals -fvxt -fno Line 37  F77FLAGS=  -Wall -Wno-globals -fvxt -fno
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
41  #CXXFLAGS=-Wall -O -fPIC -pthread  CXXFLAGS=-Wall -O -fPIC -pthread
42  # ROOTCINT  # ROOTCINT
43  ROOTCINT=rootcint  ROOTCINT=rootcint
44  # Here the variables definig the local directories  # Here the variables definig the local directories
# Line 62  FOBJS=$(FSRCS:${DIRSRC}%.for=${DIRLIB}%. Line 62  FOBJS=$(FSRCS:${DIRSRC}%.for=${DIRLIB}%.
62    
63  # -- CPP - no libraries --  # -- CPP - no libraries --
64  CPPSRCS=${DIRSRC}/YodaProfilerVerl2.cpp \  CPPSRCS=${DIRSRC}/YodaProfilerVerl2.cpp \
65          ${DIRSRC}/PamelaDBOperations.cpp          ${DIRSRC}/PamelaDBOperations.cpp \
66            ${DIRSRC}/cEci.cpp \
67            ${DIRSRC}/cJulian.cpp \
68            ${DIRSRC}/cTle.cpp \
69            ${DIRSRC}/cVector.cpp \
70            ${DIRSRC}/globals.cpp
71  CPPOBJS=$(CPPSRCS:${DIRSRC}%.cpp=${DIRLIB}%.o)  CPPOBJS=$(CPPSRCS:${DIRSRC}%.cpp=${DIRLIB}%.o)
72    
73  # -- C - no libraries --  # -- C - no libraries --
# Line 172  ${CXXEXELIBS}: ${CPPOBJS} ${COBJS} ${CXX Line 177  ${CXXEXELIBS}: ${CPPOBJS} ${COBJS} ${CXX
177          @(${EGREEN} "Creating exec file: "${WHITE} "$@"; ${RESET})          @(${EGREEN} "Creating exec file: "${WHITE} "$@"; ${RESET})
178  #       @${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 ${CPPOBJS} ${PAM_YODA}/lib/libyoda.so ${PAM_YODA}/lib/libutils.so -lThread `root-config --cflags --glibs` `cernlib mathlib`
179  #       @${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}/libPacketTypeList.so ${DIRTOP}/${DIRLIB}/libGLTables.so ${CPPOBJS} ${PAM_YODA}/lib/libyoda.so -lThread `root-config --cflags --glibs` `cernlib mathlib`
180          @${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRTOP}/${DIRLIB}/$@.o ${DIRTOP}/${DIRLIB}/libGLTables.so ${CPPOBJS} ${PAM_YODA}/lib/libyoda.so -lThread `root-config --cflags --glibs` `cernlib mathlib`  
181    #       @${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRTOP}/${DIRLIB}/$@.o ${DIRTOP}/${DIRLIB}/libGLTables.so ${CPPOBJS} ${PAM_YODA}/lib/libyoda.so -lThread `root-config --cflags --glibs` `cernlib mathlib`
182            @${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRTOP}/${DIRLIB}/$@.o ${DIRTOP}/${DIRLIB}/libGLTables.so ${CPPOBJS} ${PAM_YODA}/lib/libyoda.so -lThread `root-config --cflags --glibs`
183    
184  # A small target to check environmental variables  # A small target to check environmental variables
185  %_env:  %_env:

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.23