]>
Commit | Line | Data |
---|---|---|
7b3b6b55 | 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 *** | |
6c5f9a1b | 9 | hpcomp="-c -s -z +z +a1 +w +DAportable -I$ROOTSYS/include -I$ALIROOT/RALICE" |
10 | hproot="-c -s -z +z +a1 +DAportable -I$ROOTSYS/include -I$ALIROOT/RALICE" | |
7b3b6b55 | 11 | hplink="-L$ROOTSYS/lib/ -l*.sl -lm" |
12 | ||
6c5f9a1b | 13 | ### Go to the directory with the source files |
14 | cd $ALIROOT/RALICE/wa98 | |
15 | ||
16 | rootcint zzzrwa98dict.cxx -c -I$ALIROOT/RALICE RWA98Headers.h RWA98LinkDef.h | |
7b3b6b55 | 17 | |
18 | CC $hproot *.cxx | |
19 | ||
20 | CC -b -o rwa98.sl *.o | |
21 | ||
22 | rm zzzrwa98dict.* | |
23 | rm *.o | |
24 | ||
6c5f9a1b | 25 | ### Move the created lib to the scripts directory and go there |
26 | mv rwa98.sl scripts | |
27 | cd scripts | |
28 | ||
29 | echo '*** hpcclib.sh done. Result in rwa98.sl' |