| 1 |
#!/bin/sh |
#!/bin/sh |
| 2 |
# ********************************************************************** |
# ********************************************************************** |
| 3 |
# * @(#) cernlib |
# * @(#) cernlib |
| 4 |
# * @(#) $Header: /afs/ba.infn.it/user/pamela/src/CVS/DarthVader/docs/cernlib_pam,v 1.2 2006/11/08 13:09:36 mocchiut Exp $ |
<<<<<<< cernlib_pam |
| 5 |
|
# * @(#) $Header: /afs/ba.infn.it/user/pamela/src/CVS/PamelaLevel2/doc/cernlib_pam,v 1.2 2007/01/24 09:07:49 mocchiut Exp $ |
| 6 |
|
======= |
| 7 |
|
# * @(#) $Header: /afs/ba.infn.it/user/pamela/src/CVS/PamelaLevel2/doc/cernlib_pam,v 1.3 2008-12-04 15:34:25 pam-fi Exp $ |
| 8 |
|
>>>>>>> 1.3 |
| 9 |
# * * |
# * * |
| 10 |
# * Attachment of CERN Libraries for link step * |
# * Attachment of CERN Libraries for link step * |
| 11 |
# * * |
# * * |
| 215 |
echo $CERNLIB | grep pawlib >/dev/null && CERNLIB="$CERNLIB -lld" |
echo $CERNLIB | grep pawlib >/dev/null && CERNLIB="$CERNLIB -lld" |
| 216 |
fi |
fi |
| 217 |
if [ "$Msys" = "Linux" ] ; then |
if [ "$Msys" = "Linux" ] ; then |
| 218 |
if [ -f $CERN/$gver/lib/libpacklib_noshift.a ]; then |
if [ -f $CERN/$gver/lib/libpacklib_noshift.a ]||[ -f $CERN/$gver/lib/libpacklib-shift.a ]; then |
| 219 |
CERNLIB="$CERNLIB -lnsl -lcrypt -ldl" |
CERNLIB="$CERNLIB -lnsl -lcrypt -ldl" |
| 220 |
else |
else |
| 221 |
CERNLIB="$CERNLIB -lshift -lnsl -lcrypt -ldl" |
CERNLIB="$CERNLIB -lshift -lnsl -lcrypt -ldl" |