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