]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RALICE/icepack/iceconvert/scripts/hpcclib.sh
Removing extra namespace (alpha)
[u/mrichter/AliRoot.git] / RALICE / icepack / iceconvert / scripts / hpcclib.sh
CommitLineData
f60271ca 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 ***
9hpcomp="-c -s -z +z +a1 +w +DAportable -I$ROOTSYS/include -I$ALIROOT/RALICE"
10hproot="-c -s -z +z +a1 +DAportable -I$ROOTSYS/include -I$ALIROOT/RALICE -I$ALIROOT/RALICE/icepack"
11hplink="-L$ROOTSYS/lib/ -l*.sl -lm"
12
13### Go to the directory with the source files
14cd $ALIROOT/RALICE/icepack/iceconvert
15
16rootcint zzziceconvertdict.cxx -c -p -I$ALIROOT/RALICE -I$ALIROOT/RALICE/icepack ICEConvHeaders.h ICEConvLinkDef.h
17
18CC $hpcomp *.c
19
20CC $hproot *.cxx
21
22CC -b -o iceconvert.sl *.o
23
24rm zzziceconvertdict.*
25rm *.o
26
27### Move the created lib to the scripts directory and go there
28mv iceconvert.sl scripts
29cd scripts
30
31echo '*** hpcclib.sh done. Result in iceconvert.sl'