Last change
on this file since 9391 was 5109, checked in by moralejo, 20 years ago |
Fixed typo
|
-
Property svn:executable
set to
*
|
File size:
1.3 KB
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 | #
|
---|
3 | #
|
---|
4 | # linking the libranlib.a
|
---|
5 | # +++++++++++++++++++++++
|
---|
6 | #
|
---|
7 | cd ../lib
|
---|
8 |
|
---|
9 | # first check if the file libranlib.a is existing
|
---|
10 | if [ -f libranlib.a ] ; then
|
---|
11 | echo " libranlib.a already linked"
|
---|
12 | else
|
---|
13 | echo "- linking the libranlib "
|
---|
14 |
|
---|
15 | SYSTEM=`echo ${OSTYPE} | grep osf | wc | awk '{print $1}'`
|
---|
16 | if [ $SYSTEM = 1 ]; then
|
---|
17 | echo " --> SYSTEM = osf "
|
---|
18 | ln -s libranlib.a.osf1 libranlib.a
|
---|
19 | fi
|
---|
20 |
|
---|
21 | SYSTEM=`echo ${OSTYPE} | grep linux | wc | awk '{print $1}'`
|
---|
22 | if [ $SYSTEM = 1 ]; then
|
---|
23 | echo " --> SYSTEM = linux "
|
---|
24 | ln -s libranlib.a.linux libranlib.a
|
---|
25 | fi
|
---|
26 | fi
|
---|
27 |
|
---|
28 | if [ -f libranlib.a ] ; then
|
---|
29 | echo " libranlib.a sucessfully linked"
|
---|
30 | else
|
---|
31 | echo " ERROR: no symoblic link for libranlib.a "
|
---|
32 | exit
|
---|
33 | fi
|
---|
34 | echo ""
|
---|
35 | #
|
---|
36 | #
|
---|
37 | # Linking the qe.dat
|
---|
38 | # +++++++++++++++++++++++++++
|
---|
39 | #
|
---|
40 | cd ../Data
|
---|
41 | # first check if qe.dat is already existing
|
---|
42 | if [ -f qe.dat ] ; then
|
---|
43 | echo " qe.dat already linked"
|
---|
44 | else
|
---|
45 | echo "- linking qe.dat to qe-emi-coat.RFL.dat, which is QE for EMI PMTs"
|
---|
46 | ln -s qe-emi-coat.RFL.dat qe.dat
|
---|
47 | fi
|
---|
48 | #
|
---|
49 | echo ""
|
---|
50 | #
|
---|
51 | # compilation
|
---|
52 | # +++++++++++++++++++++++++++
|
---|
53 | #
|
---|
54 |
|
---|
55 | cd ../../../Mars
|
---|
56 | make libmars.so
|
---|
57 | cd ../Simulation/Detector/Camera
|
---|
58 | make
|
---|
59 | cd ../StarResponse
|
---|
60 | make
|
---|
61 | cd ../Camera
|
---|
62 |
|
---|
63 | echo ""
|
---|
64 | echo " Now change the input card and run camera with "
|
---|
65 | echo ""
|
---|
66 | echo " camera < input.card "
|
---|
67 | echo ""
|
---|
68 | echo ""
|
---|
69 | #
|
---|
70 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.