/[PAMELA software]/chewbacca/Makefile
ViewVC logotype

Diff of /chewbacca/Makefile

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

revision 1.2 by mocchiut, Tue Sep 23 07:29:29 2008 UTC revision 1.4 by mocchiut, Wed Oct 1 10:04:49 2008 UTC
# Line 33  distclean: Line 33  distclean:
33          for sub_dir in $(DIRS) ; do \          for sub_dir in $(DIRS) ; do \
34                  ( cd $$sub_dir && make distclean) ; \                  ( cd $$sub_dir && make distclean) ; \
35          done          done
36            for sub_dir in `find ./ -name obj` ; do \
37                    rm -rf $$sub_dir ; \
38            done
39    
40  install:  install:
41          if [ "$(PAM_SOFTWARE)" == "" ]; then echo "";\          @echo " Creating PAMELA environment "
42            @if [ "$(PAM_SOFTWARE)" == "" ]; then echo "";\
43                  echo "PLEASE SET THE PAMELA ENVIRONMENT BEFORE INSTALLING";\                  echo "PLEASE SET THE PAMELA ENVIRONMENT BEFORE INSTALLING";\
44                  echo ""; \                  echo ""; \
45                  exit; fi                  exit; fi
46          if [ ! -d $(PAM_SOFTWARE) ]; then mkdir $(PAM_SOFTWARE); fi          @if [ ! -d $(PAM_HOME) ]; then mkdir $(PAM_HOME); fi
47          if [ ! -d $(PAM_LIB) ]; then mkdir $(PAM_LIB); fi          @if [ ! -d $(PAM_SOFTWARE) ]; then mkdir $(PAM_SOFTWARE); fi
48          if [ ! -d $(PAM_INC) ]; then mkdir $(PAM_INC); fi          @if [ ! -d $(PAM_LIB) ]; then mkdir $(PAM_LIB); fi
49          ln -sf $(PAM_SOFTWARE)/inc $(PAM_SOFTWARE)/include          @if [ ! -d $(PAM_INC) ]; then mkdir $(PAM_INC); fi
50          if [ ! -d $(PAM_BIN) ]; then mkdir $(PAM_BIN); fi          @ln -sf $(PAM_SOFTWARE)/inc $(PAM_SOFTWARE)/include
51          if [ ! -d $(PAM_DOC) ]; then mkdir $(PAM_DOC); fi          @if [ ! -d $(PAM_BIN) ]; then mkdir $(PAM_BIN); fi
52          if [ ! -d $(PAM_MACROS) ]; then mkdir $(PAM_MACROS); fi          @if [ ! -d $(PAM_DOC) ]; then mkdir $(PAM_DOC); fi
53          if [ ! -d $(PAM_SRC) ]; then mkdir $(PAM_SRC); fi          @if [ ! -d $(PAM_MACROS) ]; then mkdir $(PAM_MACROS); fi
54          if [ ! -d $(PAM_CALIB) ]; then mkdir $(PAM_CALIB); fi          @if [ ! -d $(PAM_SRC) ]; then mkdir $(PAM_SRC); fi
55          if [ ! -d $(FEV_PLUGIN) ]&&[ "$(FEV_PLUGIN)" != "" ]; then mkdir $(FEV_PLUGIN); fi          @if [ ! -d $(PAM_CALIB) ]; then mkdir $(PAM_CALIB); fi
56          cp -f $(BASEDIR)/event/libyoda.so.0.0.0 $(PAM_LIB)/          @if [ ! -d $(FEV_PLUGIN) ]&&[ "$(FEV_PLUGIN)" != "" ]; then mkdir $(FEV_PLUGIN); fi
57          ln -sf $(PAM_LIB)/libyoda.so.0.0.0 $(PAM_LIB)/libyoda.so          @echo " Installing libyoda.so "
58          ln -sf $(PAM_LIB)/libyoda.so.0.0.0 $(PAM_LIB)/libyoda.so.0          @cp -f $(BASEDIR)/event/libyoda.so.0.0.0 $(PAM_LIB)/
59          cp -rf $(BASEDIR)/event/ $(PAM_INC)/yoda/          @ln -sf $(PAM_LIB)/libyoda.so.0.0.0 $(PAM_LIB)/libyoda.so
60          cp -f $(BASEDIR)/PamOffLineSW/chewbacca $(PAM_BIN)/          @ln -sf $(PAM_LIB)/libyoda.so.0.0.0 $(PAM_LIB)/libyoda.so.0
61          (cd YodaProfiler && make forceinstall)          @echo " Installing chewbacca executable "
62            @cp -f $(BASEDIR)/PamOffLineSW/chewbacca $(PAM_BIN)/
63            @echo " Installing yoda headers "
64            @cp -rf $(BASEDIR)/event/ $(PAM_INC)/yoda/
65            @(cd YodaProfiler && make forceinstall)

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.23