]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RALICE/scripts/alphacxxlib
AliHBTNonId3DCorrFctn removed
[u/mrichter/AliRoot.git] / RALICE / scripts / alphacxxlib
1 #!/bin/sh
2 ### Shell script to create a ROOT loadable ALPHA-CXX shared lib out of .cxx source code
3 ###
4 ### NvE 05-jul-2000 UU-SAP Utrecht
5
6 ### Name of the produced shared library
7 lib=ralice.so
8
9 ### The option string for ALPHA-CXX shared lib compilation and linking ***
10 ### For the ALPHA-CXX ROOT loadable shared lib the strict requirements are ***
11 ### dropped to avoid many warnings from the rootcint generated code ***
12 alpharoot="-x cxx -g0 -shared -w1 -I$ROOTSYS/include -o $lib"
13
14 ### Create the dictionary files
15 rootcint zzzralicedict.cxx -c RALICEHeaders.h RALICELinkDef.h
16
17 ### Compile and create the ROOT loadable shared library
18 cxx $alpharoot *.cxx   
19
20 rm zzzralicedict.*
21 rm *.o
22 rm so_locations
23
24 echo ' '
25 echo '*** alphacxxlib done. Result in ralice.so'