Fix from Salvatore for new framework
[u/mrichter/AliRoot.git] / ANALYSIS / PROOF-INF.ANALYSISalice / SETUP.C
1 void SETUP()
2 {
3   // Load the ANALYSIS library
4    gSystem->Load("libANALYSISalice");
5
6    // Set the include paths
7    gROOT->ProcessLine(".include ANALYSISalice");
8
9    // Set our location, so that other packages can find us
10    gSystem->Setenv("ANALYSISalice_INCLUDE", "ANALYSISalice");
11
12    // Set our lib coordinates, so that other packages can link to us
13    TString lib = TString::Format("-L%s -lANALYSISalice", gSystem->WorkingDirectory());
14    gSystem->Setenv("ANALYSISalice_LIBS", lib.Data());
15 }