/[PAMELA software]/chewbacca/Makefile
ViewVC logotype

Diff of /chewbacca/Makefile

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

revision 1.9 by mocchiut, Wed Jul 29 15:46:55 2009 UTC revision 1.11 by mocchiut, Tue Aug 4 13:57:59 2009 UTC
# Line 29  export LDFLAGS+=$(PAM_BIT) Line 29  export LDFLAGS+=$(PAM_BIT)
29  export CFLAGS+=$(PAM_BIT)  export CFLAGS+=$(PAM_BIT)
30  export FFLAGS+=$(PAM_BIT)  export FFLAGS+=$(PAM_BIT)
31  #  #
32    ifeq ($(GCC4),)
33    export GCCVERS=$(shell echo `gcc -dumpversion | sed 's/\./\ /g'`)
34    export GCCVERMAJ=$(word 1,$(GCCVERS))
35    export GCC4=$(shell echo `echo "${GCCVERMAJ} > 3" |bc -l`)
36    endif
37    #
38  DIRS=event PamOffLineSW YodaProfiler  DIRS=event PamOffLineSW YodaProfiler
39  #  #
40  all:  all:
# Line 77  ifeq ($(verbose),) Line 83  ifeq ($(verbose),)
83          @if [ ! -d $(PAM_SRC) ]; then mkdir $(PAM_SRC); fi          @if [ ! -d $(PAM_SRC) ]; then mkdir $(PAM_SRC); fi
84          @if [ ! -d $(PAM_CALIB) ]; then mkdir $(PAM_CALIB); fi          @if [ ! -d $(PAM_CALIB) ]; then mkdir $(PAM_CALIB); fi
85          @if [ ! -d $(FEV_PLUGIN) ]&&[ "$(FEV_PLUGIN)" != "" ]; then mkdir $(FEV_PLUGIN); fi          @if [ ! -d $(FEV_PLUGIN) ]&&[ "$(FEV_PLUGIN)" != "" ]; then mkdir $(FEV_PLUGIN); fi
86          @(${EGREEN} " Installing "${EWHITE}"libyoda.so "; ${RESET})            @(${EGREEN} " Installing: library "${WHITE}"libyoda.so "; ${RESET})  
87          @cp -f $(BASEDIR)/event/libyoda.so.0.0.0 $(PAM_LIB)/          @cp -f $(BASEDIR)/event/libyoda.so.0.0.0 $(PAM_LIB)/
88          @ln -sf $(PAM_LIB)/libyoda.so.0.0.0 $(PAM_LIB)/libyoda.so          @ln -sf $(PAM_LIB)/libyoda.so.0.0.0 $(PAM_LIB)/libyoda.so
89          @ln -sf $(PAM_LIB)/libyoda.so.0.0.0 $(PAM_LIB)/libyoda.so.0          @ln -sf $(PAM_LIB)/libyoda.so.0.0.0 $(PAM_LIB)/libyoda.so.0
90          @(${EGREEN} " Installing exec file "${EWHITE}"chewbacca"; ${RESET})            @(${EGREEN} " Installing: exec file "${WHITE}"chewbacca"; ${RESET})  
91          @cp -f $(BASEDIR)/PamOffLineSW/chewbacca $(PAM_BIN)/          @cp -f $(BASEDIR)/PamOffLineSW/chewbacca $(PAM_BIN)/
92          @(${EGREEN} " Installing "${EWHITE}"yoda headers";${RESET})            @(${EGREEN} " Installing: "${WHITE}"yoda headers";${RESET})  
93          @(cd $(BASEDIR)/event/ &>/dev/null && make -s distclean)          @(cd $(BASEDIR)/event/ &>/dev/null && make -s distclean)
94          @rm -rf $(PAM_INC)/yoda/          @rm -rf $(PAM_INC)/yoda/
95          @cp -rf $(BASEDIR)/event/ $(PAM_INC)/yoda          @cp -rf $(BASEDIR)/event/ $(PAM_INC)/yoda
96          @cp -rf $(PAM_LIB)/libyoda.so $(BASEDIR)/event/          @cp -rf $(PAM_LIB)/libyoda.so.0.0.0 $(BASEDIR)/event/
97          @(${EGREEN}"")          @(${EGREEN}"")
98          @(cd YodaProfiler && make forceinstall)          @(cd YodaProfiler &>/dev/null && make -s forceinstall)
99  else  else
100          (${EGREEN} " Creating PAMELA environment "; ${RESET})          (${EGREEN} " Creating PAMELA environment "; ${RESET})
101          if [ "$(PAM_SOFTWARE)" == "" ]; then (${ERED} ""; ${RESET}); \          if [ "$(PAM_SOFTWARE)" == "" ]; then (${ERED} ""; ${RESET}); \

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.23