]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/wa98/scripts/hpcclib.sh
01-dev-2004 NvE Installation scripts modified to make use of environment variable...
[u/mrichter/AliRoot.git] / RALICE / wa98 / scripts / hpcclib.sh
index 42eccbe34e1266faef417cc098d8d5f19b9590de..1954a8e60ff2021247cd78a86075d565b998358e 100644 (file)
@@ -6,12 +6,14 @@
 ### The option strings for HP-CC shared lib compilation and linking ***
 ### For the HP-CC ROOT loadable shared lib the strict requirements are ***
 ### dropped to avoid many warnings from the rootcint generated code ***
-
-hpcomp="-c -s -z +z +a1 +w +DAportable -I$ROOTSYS/include"
-hproot="-c -s -z +z +a1 +DAportable -I$ROOTSYS/include"
+hpcomp="-c -s -z +z +a1 +w +DAportable -I$ROOTSYS/include -I$ALIROOT/RALICE"
+hproot="-c -s -z +z +a1 +DAportable -I$ROOTSYS/include -I$ALIROOT/RALICE"
 hplink="-L$ROOTSYS/lib/ -l*.sl -lm"
 
-rootcint zzzrwa98dict.cxx -c RWA98Headers.h RWA98LinkDef.h
+### Go to the directory with the source files
+cd $ALIROOT/RALICE/wa98
+
+rootcint zzzrwa98dict.cxx -c -I$ALIROOT/RALICE RWA98Headers.h RWA98LinkDef.h
 
 CC $hproot *.cxx   
 
@@ -20,4 +22,8 @@ CC -b -o rwa98.sl *.o
 rm zzzrwa98dict.*
 rm *.o
 
-echo '*** hpcclib done. Result in rwa98.sl'
+### Move the created lib to the scripts directory and go there
+mv rwa98.sl scripts
+cd scripts
+
+echo '*** hpcclib.sh done. Result in rwa98.sl'