]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ANALYSIS/PROOF-INF.ANALYSIS/SETUP.C
Fixes for #90303: Fix PROOF-INF/SETUP.C to create PAR files for AliRoot trunk
[u/mrichter/AliRoot.git] / ANALYSIS / PROOF-INF.ANALYSIS / SETUP.C
1 void SETUP()
2 {
3   // Load the ANALYSIS library
4    gSystem->Load("libANALYSIS");
5
6    // Set the include paths
7    gROOT->ProcessLine(".include ANALYSIS");
8
9    // Set our location, so that other packages can find us
10    gSystem->Setenv("ANALYSIS_INCLUDE", "ANALYSIS");
11
12    // Set our lib coordinates, so that other packages can link to us
13    TString lib = TString::Format("-L%s -lANALYSIS", gSystem->WorkingDirectory());
14    gSystem->Setenv("ANALYSIS_LIBS", lib.Data());
15 }