--- chewbacca/Makefile 2009/12/15 09:58:23 1.12 +++ chewbacca/Makefile 2010/02/02 09:04:15 1.14 @@ -26,8 +26,8 @@ #export LD_LIBRARY_PATH+=:$(BASEDIR)/event/ # export LDFLAGS+=$(PAM_BIT) -export CFLAGS+=$(PAM_BIT) -export FFLAGS+=$(PAM_BIT) +export CFLAGS+=$(PAM_BIT) -g +export FFLAGS+=$(PAM_BIT) -g # ifeq ($(GCC4),) export GCCVERS=$(shell echo `gcc -dumpversion | sed 's/\./\ /g'`) @@ -96,8 +96,10 @@ @if [ ! -d $(FEV_PLUGIN) ]&&[ "$(FEV_PLUGIN)" != "" ]; then mkdir $(FEV_PLUGIN); fi @(${EGREEN} " Installing: library "${WHITE}"libyoda.so "; ${RESET}) @cp -f $(BASEDIR)/event/libyoda.so.0.0.0 $(PAM_LIB)/ - @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.0 + @cd $(PAM_LIB) && ln -sf libyoda.so.0.0.0 libyoda.so && cd - + @cd $(PAM_LIB) && ln -sf libyoda.so.0.0.0 libyoda.so.0 && cd - +# @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.0 @(${EGREEN} " Installing: exec file "${WHITE}"chewbacca"; ${RESET}) @cp -f $(BASEDIR)/PamOffLineSW/chewbacca $(PAM_BIN)/ @(${EGREEN} " Installing: "${WHITE}"yoda headers";${RESET}) @@ -127,8 +129,8 @@ if [ ! -d $(FEV_PLUGIN) ]&&[ "$(FEV_PLUGIN)" != "" ]; then mkdir $(FEV_PLUGIN); fi (${EGREEN} " Installing "${EWHITE}"libyoda.so "; ${RESET}) cp -f $(BASEDIR)/event/libyoda.so.0.0.0 $(PAM_LIB)/ - 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.0 + cd $(PAM_LIB) && ln -sf libyoda.so.0.0.0 libyoda.so && cd - + cd $(PAM_LIB) && ln -sf libyoda.so.0.0.0 libyoda.so.0 && cd - (${EGREEN} " Installing exec file "${EWHITE}"chewbacca"; ${RESET}) cp -f $(BASEDIR)/PamOffLineSW/chewbacca $(PAM_BIN)/ (${EGREEN} " Installing "${EWHITE}"yoda headers";${RESET})