source: trunk/MagicSoft/Simulation/Detector/Camera/camera_install@ 5094

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