]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RALICE/scripts/hpcclib.sh
08-oct-2007 NvE ADC (de)calibration function formula corrected for TWR data in IceDB2...
[u/mrichter/AliRoot.git] / RALICE / scripts / hpcclib.sh
CommitLineData
75ad8ddd 1#!/bin/sh
2### Shell script to create a ROOT loadable HP-CC shared lib out of .cxx source code
3###
4### NvE 28-jun-1999 UU-SAP Utrecht
5#
6### The option strings for HP-CC shared lib compilation and linking ***
7### For the HP-CC ROOT loadable shared lib the strict requirements are ***
8### dropped to avoid many warnings from the rootcint generated code ***
9
10hpcomp="-c -s -z +z +a1 +w +DAportable -I$ROOTSYS/include"
11hproot="-c -s -z +z +a1 +DAportable -I$ROOTSYS/include"
12hplink="-L$ROOTSYS/lib/ -l*.sl -lm"
13
14### Go to the directory with the source files
15cd ..
16
17rootcint zzzralicedict.cxx -c RALICEHeaders.h RALICELinkDef.h
18
19CC $hproot *.cxx
20
21CC -b -o ralice.sl *.o
22
23rm zzzralicedict.*
24rm *.o
25
26### Move the created lib to the scripts directory and go there
27mv ralice.sl scripts
28cd scripts
29
30echo '*** hpcclib done. Result in ralice.sl'