77 |
@if [ ! -d $(PAM_SRC) ]; then mkdir $(PAM_SRC); fi |
@if [ ! -d $(PAM_SRC) ]; then mkdir $(PAM_SRC); fi |
78 |
@if [ ! -d $(PAM_CALIB) ]; then mkdir $(PAM_CALIB); fi |
@if [ ! -d $(PAM_CALIB) ]; then mkdir $(PAM_CALIB); fi |
79 |
@if [ ! -d $(FEV_PLUGIN) ]&&[ "$(FEV_PLUGIN)" != "" ]; then mkdir $(FEV_PLUGIN); fi |
@if [ ! -d $(FEV_PLUGIN) ]&&[ "$(FEV_PLUGIN)" != "" ]; then mkdir $(FEV_PLUGIN); fi |
80 |
@(${EGREEN} " Installing "${EWHITE}"libyoda.so "; ${RESET}) |
@(${EGREEN} " Installing: library "${WHITE}"libyoda.so "; ${RESET}) |
81 |
@cp -f $(BASEDIR)/event/libyoda.so.0.0.0 $(PAM_LIB)/ |
@cp -f $(BASEDIR)/event/libyoda.so.0.0.0 $(PAM_LIB)/ |
82 |
@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 |
83 |
@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 |
84 |
@(${EGREEN} " Installing exec file "${EWHITE}"chewbacca"; ${RESET}) |
@(${EGREEN} " Installing: exec file "${WHITE}"chewbacca"; ${RESET}) |
85 |
@cp -f $(BASEDIR)/PamOffLineSW/chewbacca $(PAM_BIN)/ |
@cp -f $(BASEDIR)/PamOffLineSW/chewbacca $(PAM_BIN)/ |
86 |
@(${EGREEN} " Installing "${EWHITE}"yoda headers";${RESET}) |
@(${EGREEN} " Installing: "${WHITE}"yoda headers";${RESET}) |
87 |
@(cd $(BASEDIR)/event/ &>/dev/null && make -s distclean) |
@(cd $(BASEDIR)/event/ &>/dev/null && make -s distclean) |
88 |
@rm -rf $(PAM_INC)/yoda/ |
@rm -rf $(PAM_INC)/yoda/ |
89 |
@cp -rf $(BASEDIR)/event/ $(PAM_INC)/yoda |
@cp -rf $(BASEDIR)/event/ $(PAM_INC)/yoda |
90 |
@cp -rf $(PAM_LIB)/libyoda.so $(BASEDIR)/event/ |
@cp -rf $(PAM_LIB)/libyoda.so.0.0.0 $(BASEDIR)/event/ |
91 |
@(${EGREEN}"") |
@(${EGREEN}"") |
92 |
@(cd YodaProfiler && make forceinstall) |
@(cd YodaProfiler &>/dev/null && make -s forceinstall) |
93 |
else |
else |
94 |
(${EGREEN} " Creating PAMELA environment "; ${RESET}) |
(${EGREEN} " Creating PAMELA environment "; ${RESET}) |
95 |
if [ "$(PAM_SOFTWARE)" == "" ]; then (${ERED} ""; ${RESET}); \ |
if [ "$(PAM_SOFTWARE)" == "" ]; then (${ERED} ""; ${RESET}); \ |