]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - macros/loadlibs.C
Charged D added. (A. Dainese)
[u/mrichter/AliRoot.git] / macros / loadlibs.C
index b7aa230e8be2638c90cecf1db5e703fb36f97590..ad8f6175c4e5a01634c6aa99b1ac0f83eb9e004c 100644 (file)
@@ -1,28 +1,43 @@
 void loadlibs () 
 {
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libminicern");
-  gSystem->Load("$(ROOTSYS)/lib/libPhysics");
-  gSystem->Load("$(ROOTSYS)/lib/libEG");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libSTEER");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTGeant3Dummy");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libhijing.so");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTHijing");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libdummypythia6");
-  gSystem->Load("$(ROOTSYS)/lib/libEGPythia6");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libEVGEN");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libRALICE");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libFMD");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libMUON");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libPHOS");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libPMD");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libRICH");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libSTRUCT");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTOF");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTPC");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTRD");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libZDC");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libITS");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libCASTOR");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libSTART");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libCONTAINERS");
+  gSystem->Load("libPhysics");
+
+  // Uncomment the following line for Darwin
+  // Waiting for a better solution
+  // gSystem->Load("libg2c_sh");
+  gSystem->Load("libmicrocern");
+  gSystem->Load("libpdf");
+  gSystem->Load("libpythia6");
+
+  gSystem->Load("libEG");
+  gSystem->Load("libGeom");
+  gSystem->Load("libVMC");
+
+  gSystem->Load("libEGPythia6");
+  gSystem->Load("libSTEER");
+  gSystem->Load("libEVGEN");
+  gSystem->Load("libAliPythia6");
+
+  gSystem->Load("libRAW");
+
+  gSystem->Load("libSTRUCT");
+  gSystem->Load("libPHOS");
+  gSystem->Load("libMUON");
+  gSystem->Load("libFMD");
+  gSystem->Load("libPMD");
+  gSystem->Load("libRICH");
+  gSystem->Load("libSTART");
+  gSystem->Load("libZDC");
+  gSystem->Load("libCRT");
+  gSystem->Load("libVZERO");
+  gSystem->Load("libEMCAL");
+  gSystem->Load("libCONTAINERS");
+
+  // The following lines have to be commented on Darwin
+  // for the moment due to cross dependencies
+  gSystem->Load("libTPC");
+  gSystem->Load("libITS");
+  gSystem->Load("libTPCBarrel");
+  gSystem->Load("libTRD");
+  gSystem->Load("libTOF");
 }