/[PAMELA software]/DarthVader/docs/cernlib_pam
ViewVC logotype

Diff of /DarthVader/docs/cernlib_pam

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

revision 1.1 by mocchiut, Wed Nov 8 12:11:54 2006 UTC revision 1.2 by mocchiut, Wed Nov 8 13:09:36 2006 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2  # **********************************************************************  # **********************************************************************
3  # * @(#) cernlib  # * @(#) cernlib
4  # * @(#) $Header: /afs/cern.ch/asis/share/cern/CVS/scripts/cernlib,v 1.43 2003/01/23 14:00:37 mclareni Exp $  # * @(#) $Header: /afs/ba.infn.it/user/pamela/src/CVS/DarthVader/docs/cernlib_pam,v 1.1 2006/11/08 12:11:54 mocchiut Exp $
5  # *                                                                    *  # *                                                                    *
6  # * Attachment of CERN Libraries for link step                         *  # * Attachment of CERN Libraries for link step                         *
7  # *                                                                    *  # *                                                                    *
# Line 71  Line 71 
71        fi        fi
72           CERNLIB="$CERNLIB $dir/lib$ln.a"           CERNLIB="$CERNLIB $dir/lib$ln.a"
73    done    done
74    [ $_p -eq 0 ] && CERNLIB="$CERNLIB $CERN/$gver/lib/libpacklib_noshift.a"    if [ -f $CERN/$gver/lib/libpacklib_noshift.a ]; then
75        [ $_p -eq 0 ] && CERNLIB="$CERNLIB $CERN/$gver/lib/libpacklib_noshift.a"
76      else
77        [ $_p -eq 0 ] && CERNLIB="$CERNLIB $CERN/$gver/lib/libpacklib.a"
78      fi;
79    
80  #  get system name  #  get system name
81    [ -d /NextAdmin ] && Msys="NeXT" || Msys=`uname -s`    [ -d /NextAdmin ] && Msys="NeXT" || Msys=`uname -s`
# Line 207  Line 211 
211          echo $CERNLIB | grep pawlib >/dev/null &&   CERNLIB="$CERNLIB -lld"          echo $CERNLIB | grep pawlib >/dev/null &&   CERNLIB="$CERNLIB -lld"
212       fi       fi
213       if [ "$Msys" = "Linux" ] ; then       if [ "$Msys" = "Linux" ] ; then
214      if [ -f $CERN/$gver/lib/libpacklib_noshift.a ]; then
215          CERNLIB="$CERNLIB -lnsl -lcrypt -ldl"          CERNLIB="$CERNLIB -lnsl -lcrypt -ldl"
216      else
217            CERNLIB="$CERNLIB -lshift -lnsl -lcrypt -ldl"
218      fi;
219       fi       fi
220    fi    fi
221    

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

  ViewVC Help
Powered by ViewVC 1.1.23