Preliminary files for CMake
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 31 Jul 2008 14:38:57 +0000 (14:38 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 31 Jul 2008 14:38:57 +0000 (14:38 +0000)
246 files changed:
ACORDE/CMakeLists.txt [new file with mode: 0644]
ACORDE/CMake_libACORDEbase.txt [new file with mode: 0644]
ACORDE/CMake_libACORDErec.txt [new file with mode: 0644]
ACORDE/CMake_libACORDEsim.txt [new file with mode: 0644]
ALIROOT/CMakeLists.txt [new file with mode: 0644]
ALIROOT/CMake_binaliroot.txt [new file with mode: 0644]
ANALYSIS/CMakeLists.txt [new file with mode: 0644]
ANALYSIS/CMake_binaliengui.txt [new file with mode: 0644]
ANALYSIS/CMake_libANALYSIS.txt [new file with mode: 0644]
ANALYSIS/CMake_libANALYSISRL.txt [new file with mode: 0644]
ANALYSIS/CMake_libANALYSISalice.txt [new file with mode: 0644]
ANALYSIS/CMake_libAliengui.txt [new file with mode: 0644]
ANALYSIS/CMake_libAnalysisOld.txt [new file with mode: 0644]
BCM/CMakeLists.txt [new file with mode: 0644]
BCM/CMake_libBCM.txt [new file with mode: 0644]
CMakeLists.txt [new file with mode: 0644]
CORRFW/CMakeLists.txt [new file with mode: 0644]
CORRFW/CMake_libCORRFW.txt [new file with mode: 0644]
DPMJET/CMakeLists.txt [new file with mode: 0644]
DPMJET/CMake_libDPMJET.txt [new file with mode: 0644]
EMCAL/CMakeLists.txt [new file with mode: 0644]
EMCAL/CMake_libEMCALbase.txt [new file with mode: 0644]
EMCAL/CMake_libEMCALcalib.txt [new file with mode: 0644]
EMCAL/CMake_libEMCALrec.txt [new file with mode: 0644]
EMCAL/CMake_libEMCALsim.txt [new file with mode: 0644]
ESDCheck/CMakeLists.txt [new file with mode: 0644]
ESDCheck/CMake_libAnalysisCheck.txt [new file with mode: 0644]
EVE/CMakeLists.txt [new file with mode: 0644]
EVE/CMake_binalieve.txt [new file with mode: 0644]
EVE/CMake_libEveBase.txt [new file with mode: 0644]
EVE/CMake_libEveDet.txt [new file with mode: 0644]
EVE/CMake_libEveHLT.txt [new file with mode: 0644]
EVGEN/CMakeLists.txt [new file with mode: 0644]
EVGEN/CMake_libEVGEN.txt [new file with mode: 0644]
FASTSIM/CMakeLists.txt [new file with mode: 0644]
FASTSIM/CMake_libFASTSIM.txt [new file with mode: 0644]
FMD/CMakeLists.txt [new file with mode: 0644]
FMD/CMake_libFMDbase.txt [new file with mode: 0644]
FMD/CMake_libFMDflow.txt [new file with mode: 0644]
FMD/CMake_libFMDrec.txt [new file with mode: 0644]
FMD/CMake_libFMDsim.txt [new file with mode: 0644]
FMD/CMake_libFMDutil.txt [new file with mode: 0644]
HBTAN/CMakeLists.txt [new file with mode: 0644]
HBTAN/CMake_libHBTAN.txt [new file with mode: 0644]
HERWIG/CMakeLists.txt [new file with mode: 0644]
HERWIG/CMake_libHERWIG.txt [new file with mode: 0644]
HIJING/CMakeLists.txt [new file with mode: 0644]
HIJING/CMake_libHIJING.txt [new file with mode: 0644]
HLT/BASE/interface/HLTinterfaceLinkDef.h [new file with mode: 0644]
HLT/BASE/util/AliHLTUtilLinkDef.h [new file with mode: 0644]
HLT/CMakeLists.txt [new file with mode: 0644]
HLT/CMake_bindHLTdumpraw.txt [new file with mode: 0644]
HLT/CMake_libAliHLTComp.txt [new file with mode: 0644]
HLT/CMake_libAliHLTEMCAL.txt [new file with mode: 0644]
HLT/CMake_libAliHLTHOMER.txt [new file with mode: 0644]
HLT/CMake_libAliHLTITS.txt [new file with mode: 0644]
HLT/CMake_libAliHLTMUON.txt [new file with mode: 0644]
HLT/CMake_libAliHLTPHOS.txt [new file with mode: 0644]
HLT/CMake_libAliHLTRCU.txt [new file with mode: 0644]
HLT/CMake_libAliHLTSample.txt [new file with mode: 0644]
HLT/CMake_libAliHLTTPC.txt [new file with mode: 0644]
HLT/CMake_libAliHLTTRD.txt [new file with mode: 0644]
HLT/CMake_libAliHLTTrigger.txt [new file with mode: 0644]
HLT/CMake_libAliHLTUtil.txt [new file with mode: 0644]
HLT/CMake_libHLTbase.txt [new file with mode: 0644]
HLT/CMake_libHLTinterface.txt [new file with mode: 0644]
HLT/CMake_libHLTrec.txt [new file with mode: 0644]
HLT/CMake_libHLTshuttle.txt [new file with mode: 0644]
HLT/CMake_libHLTsim.txt [new file with mode: 0644]
HLT/HLTbaseLinkDef.h [new file with mode: 0644]
HLT/ITS/AliHLTITSLinkDef.h [new file with mode: 0644]
HLT/RCU/AliHLTRCULinkDef.h [new file with mode: 0644]
HLT/SampleLib/AliHLTSampleLinkDef.h [new file with mode: 0644]
HLT/TPCLib/AliHLTTPCLinkDef.h [new file with mode: 0644]
HLT/comp/AliHLTCompLinkDef.h [new file with mode: 0644]
HLT/rec/HLTrecLinkDef.h [new file with mode: 0644]
HLT/shuttle/HLTshuttleLinkDef.h [new file with mode: 0644]
HLT/sim/HLTsimLinkDef.h [new file with mode: 0644]
HLT/trigger/AliHLTTriggerLinkDef.h
HMPID/CMakeLists.txt [new file with mode: 0644]
HMPID/CMake_libHMPIDbase.txt [new file with mode: 0644]
HMPID/CMake_libHMPIDrec.txt [new file with mode: 0644]
HMPID/CMake_libHMPIDsim.txt [new file with mode: 0644]
ISAJET/CMakeLists.txt [new file with mode: 0644]
ISAJET/CMake_libisajet.txt [new file with mode: 0644]
ITS/CMakeLists.txt [new file with mode: 0644]
ITS/CMake_libITSbase.txt [new file with mode: 0644]
ITS/CMake_libITSrec.txt [new file with mode: 0644]
ITS/CMake_libITSsim.txt [new file with mode: 0644]
JETAN/CMakeLists.txt [new file with mode: 0644]
JETAN/CMake_libJETAN.txt [new file with mode: 0644]
JETAN/CMake_libJETANMC.txt [new file with mode: 0644]
LHAPDF/CMakeLists.txt [new file with mode: 0644]
LHAPDF/CMake_libLHAPDF.txt [new file with mode: 0644]
LHC/CMakeLists.txt [new file with mode: 0644]
LHC/CMake_libLHC.txt [new file with mode: 0644]
MICROCERN/CMakeLists.txt [new file with mode: 0644]
MICROCERN/CMake_libMICROCERN.txt [new file with mode: 0644]
MONITOR/CMakeLists.txt [new file with mode: 0644]
MONITOR/CMake_binderoot.txt [new file with mode: 0644]
MONITOR/CMake_binmonitorCheck.txt [new file with mode: 0644]
MONITOR/CMake_binmonitorGDC.txt [new file with mode: 0644]
MONITOR/CMake_libMONITOR.txt [new file with mode: 0644]
MUON/CMakeLists.txt [new file with mode: 0644]
MUON/CMake_binmchview.txt [new file with mode: 0644]
MUON/CMake_libMUONbase.txt [new file with mode: 0644]
MUON/CMake_libMUONcalib.txt [new file with mode: 0644]
MUON/CMake_libMUONcore.txt [new file with mode: 0644]
MUON/CMake_libMUONevaluation.txt [new file with mode: 0644]
MUON/CMake_libMUONgeometry.txt [new file with mode: 0644]
MUON/CMake_libMUONgraphics.txt [new file with mode: 0644]
MUON/CMake_libMUONmapping.txt [new file with mode: 0644]
MUON/CMake_libMUONraw.txt [new file with mode: 0644]
MUON/CMake_libMUONrec.txt [new file with mode: 0644]
MUON/CMake_libMUONshuttle.txt [new file with mode: 0644]
MUON/CMake_libMUONsim.txt [new file with mode: 0644]
MUON/CMake_libMUONtrigger.txt [new file with mode: 0644]
PHOS/CMakeLists.txt [new file with mode: 0644]
PHOS/CMake_libPHOSbase.txt [new file with mode: 0644]
PHOS/CMake_libPHOSrec.txt [new file with mode: 0644]
PHOS/CMake_libPHOSshuttle.txt [new file with mode: 0644]
PHOS/CMake_libPHOSsim.txt [new file with mode: 0644]
PMD/CMakeLists.txt [new file with mode: 0644]
PMD/CMake_libPMDbase.txt [new file with mode: 0644]
PMD/CMake_libPMDrec.txt [new file with mode: 0644]
PMD/CMake_libPMDsim.txt [new file with mode: 0644]
PMD/libPMDsim.pkg
PWG0/CMakeLists.txt [new file with mode: 0644]
PWG0/CMake_libPWG0base.txt [new file with mode: 0644]
PWG0/CMake_libPWG0dep.txt [new file with mode: 0644]
PWG0/CMake_libPWG0selectors.txt [new file with mode: 0644]
PWG1/CMakeLists.txt [new file with mode: 0644]
PWG1/CMake_libPWG1.txt [new file with mode: 0644]
PWG2/CMakeLists.txt [new file with mode: 0644]
PWG2/CMake_libPWG2.txt [new file with mode: 0644]
PWG2/CMake_libPWG2AOD.txt [new file with mode: 0644]
PWG2/CMake_libPWG2ebye.txt [new file with mode: 0644]
PWG2/CMake_libPWG2femtoscopy.txt [new file with mode: 0644]
PWG2/CMake_libPWG2femtoscopyUser.txt [new file with mode: 0644]
PWG2/CMake_libPWG2flow.txt [new file with mode: 0644]
PWG2/CMake_libPWG2resonances.txt [new file with mode: 0644]
PWG2/CMake_libPWG2spectra.txt [new file with mode: 0644]
PWG3/CMakeLists.txt [new file with mode: 0644]
PWG3/CMake_libPWG3.txt [new file with mode: 0644]
PWG3/CMake_libPWG3base.txt [new file with mode: 0644]
PWG3/CMake_libPWG3muon.txt [new file with mode: 0644]
PWG3/CMake_libPWG3vertexingHF.txt [new file with mode: 0644]
PWG3/CMake_libPWG3vertexingOld.txt [new file with mode: 0644]
PWG4/CMakeLists.txt [new file with mode: 0644]
PWG4/CMake_libPWG4PartCorr.txt [new file with mode: 0644]
PYTHIA6/CMakeLists.txt [new file with mode: 0644]
PYTHIA6/CMake_libAliPythia6.txt [new file with mode: 0644]
PYTHIA6/CMake_libpythia6.txt [new file with mode: 0644]
PYTHIA8/CMakeLists.txt [new file with mode: 0644]
PYTHIA8/CMake_libAliPythia8.txt [new file with mode: 0644]
RALICE/CMakeLists.txt [new file with mode: 0644]
RALICE/CMake_libRALICE.txt [new file with mode: 0644]
RAW/CMakeLists.txt [new file with mode: 0644]
RAW/CMake_binalimdc.txt [new file with mode: 0644]
RAW/CMake_binalirawdump.txt [new file with mode: 0644]
RAW/CMake_bindateStream.txt [new file with mode: 0644]
RAW/CMake_libMDC.txt [new file with mode: 0644]
RAW/CMake_libMDCFilter.txt [new file with mode: 0644]
RAW/CMake_libRAWDatabase.txt [new file with mode: 0644]
RAW/CMake_libRAWDatarec.txt [new file with mode: 0644]
RAW/CMake_libRAWDatarecOnline.txt [new file with mode: 0644]
RAW/CMake_libRAWDatasim.txt [new file with mode: 0644]
STAT/CMakeLists.txt [new file with mode: 0644]
STAT/CMake_libSTAT.txt [new file with mode: 0644]
STEER/ARVersion.h.in [new file with mode: 0644]
STEER/CMakeLists.txt [new file with mode: 0644]
STEER/CMake_libAOD.txt [new file with mode: 0644]
STEER/CMake_libCDB.txt [new file with mode: 0644]
STEER/CMake_libESD.txt [new file with mode: 0644]
STEER/CMake_libSTEER.txt [new file with mode: 0644]
STEER/CMake_libSTEER.txt.ori [new file with mode: 0644]
STEER/CMake_libSTEERBase.txt [new file with mode: 0644]
STEER/CMake_libSTEERBase.txt.ori [new file with mode: 0644]
STRUCT/CMakeLists.txt [new file with mode: 0644]
STRUCT/CMake_libSTRUCT.txt [new file with mode: 0644]
T0/CMakeLists.txt [new file with mode: 0644]
T0/CMake_libT0base.txt [new file with mode: 0644]
T0/CMake_libT0rec.txt [new file with mode: 0644]
T0/CMake_libT0shuttle.txt [new file with mode: 0644]
T0/CMake_libT0sim.txt [new file with mode: 0644]
TDPMjet/CMakeLists.txt [new file with mode: 0644]
TDPMjet/CMake_libTDPMjet.txt [new file with mode: 0644]
TEPEMGEN/CMakeLists.txt [new file with mode: 0644]
TEPEMGEN/CMake_libTEPEMGEN.txt [new file with mode: 0644]
TFluka/CMakeLists.txt [new file with mode: 0644]
THbtp/CMakeLists.txt [new file with mode: 0644]
THbtp/CMake_libTHbtp.txt [new file with mode: 0644]
THerwig/CMakeLists.txt [new file with mode: 0644]
THerwig/CMake_libTHerwig.txt [new file with mode: 0644]
THijing/CMakeLists.txt [new file with mode: 0644]
THijing/CMake_libTHijing.txt [new file with mode: 0644]
THydjet/CMakeLists.txt [new file with mode: 0644]
THydjet/CMake_libTHydjet.txt [new file with mode: 0644]
TIsajet/CMakeLists.txt [new file with mode: 0644]
TIsajet/CMake_libTIsajet.txt [new file with mode: 0644]
TOF/CMakeLists.txt [new file with mode: 0644]
TOF/CMake_libTOFbase.txt [new file with mode: 0644]
TOF/CMake_libTOFrec.txt [new file with mode: 0644]
TOF/CMake_libTOFsim.txt [new file with mode: 0644]
TPC/CMakeLists.txt [new file with mode: 0644]
TPC/CMake_libTPCbase.txt [new file with mode: 0644]
TPC/CMake_libTPCcalib.txt [new file with mode: 0644]
TPC/CMake_libTPCfast.txt [new file with mode: 0644]
TPC/CMake_libTPCmon.txt [new file with mode: 0644]
TPC/CMake_libTPCrec.txt [new file with mode: 0644]
TPC/CMake_libTPCsim.txt [new file with mode: 0644]
TPHIC/CMakeLists.txt [new file with mode: 0644]
TPHIC/CMake_libTPHIC.txt [new file with mode: 0644]
TRD/CMakeLists.txt [new file with mode: 0644]
TRD/CMake_libTRDbase.txt [new file with mode: 0644]
TRD/CMake_libTRDfast.txt [new file with mode: 0644]
TRD/CMake_libTRDgui.txt [new file with mode: 0644]
TRD/CMake_libTRDqaAnalysis.txt [new file with mode: 0644]
TRD/CMake_libTRDrec.txt [new file with mode: 0644]
TRD/CMake_libTRDsim.txt [new file with mode: 0644]
TTherminator/CMakeLists.txt [new file with mode: 0644]
TTherminator/CMake_libTTherminator.txt [new file with mode: 0644]
VZERO/CMakeLists.txt [new file with mode: 0644]
VZERO/CMake_libVZERObase.txt [new file with mode: 0644]
VZERO/CMake_libVZEROrec.txt [new file with mode: 0644]
VZERO/CMake_libVZEROsim.txt [new file with mode: 0644]
ZDC/CMakeLists.txt [new file with mode: 0644]
ZDC/CMake_libZDCbase.txt [new file with mode: 0644]
ZDC/CMake_libZDCrec.txt [new file with mode: 0644]
ZDC/CMake_libZDCsim.txt [new file with mode: 0644]
cmake/modules/ALICEMacros.cmake [new file with mode: 0644]
cmake/modules/CbmMacros.cmake [new file with mode: 0644]
cmake/modules/CheckCompiler.cmake [new file with mode: 0644]
cmake/modules/CheckCompiler.cmake.ori [new file with mode: 0644]
cmake/modules/FindCLHEP.cmake [new file with mode: 0644]
cmake/modules/FindDATE.cmake [new file with mode: 0644]
cmake/modules/FindGEANT3.cmake [new file with mode: 0644]
cmake/modules/FindGEANT4.cmake [new file with mode: 0644]
cmake/modules/FindGEANT4VMC.cmake [new file with mode: 0644]
cmake/modules/FindGENERATORS.cmake [new file with mode: 0644]
cmake/modules/FindPLUTO.cmake [new file with mode: 0644]
cmake/modules/FindROOT.cmake [new file with mode: 0644]
cmake/modules/FindRuleChecker.cmake [new file with mode: 0644]
cmake/modules/FindRuleChecker.cmake.ori [new file with mode: 0644]
cmake/modules/Findfink.cmake [new file with mode: 0644]
cmake/modules/WriteConfigFile.cmake [new file with mode: 0644]

diff --git a/ACORDE/CMakeLists.txt b/ACORDE/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d489e42
--- /dev/null
@@ -0,0 +1,29 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/ACORDE
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/RAW
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include (CMake_libACORDErec.txt)
+
+include (CMake_libACORDEbase.txt)
+
+include (CMake_libACORDEsim.txt)
+
+
diff --git a/ACORDE/CMake_libACORDEbase.txt b/ACORDE/CMake_libACORDEbase.txt
new file mode 100644 (file)
index 0000000..7bc3082
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliACORDEConstants.cxx AliACORDECalibData.cxx AliACORDERawReader.cxx 
+AliGenACORDE.cxx AliACORDEQAChecker.cxx  AliACORDELoader.cxx AliACORDEPreprocessor.cxx AliACORDEdigit.cxx AliACORDEDataDCS.cxx AliACORDERawStream.cxx 
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(ACORDEbase "${SRCS}" "${HDRS}")
diff --git a/ACORDE/CMake_libACORDErec.txt b/ACORDE/CMake_libACORDErec.txt
new file mode 100644 (file)
index 0000000..47c4d72
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliACORDEReconstructor.cxx 
+AliACORDEQADataMakerRec.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(ACORDErec "${SRCS}" "${HDRS}")
diff --git a/ACORDE/CMake_libACORDEsim.txt b/ACORDE/CMake_libACORDEsim.txt
new file mode 100644 (file)
index 0000000..06db63b
--- /dev/null
@@ -0,0 +1,13 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliACORDE.cxx AliACORDEv1.cxx AliACORDEhit.cxx 
+AliACORDEDigitizer.cxx AliACORDETrigger.cxx 
+AliACORDERawData.cxx AliACORDEQADataMakerSim.cxx 
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(ACORDEsim "${SRCS}" "${HDRS}")
diff --git a/ALIROOT/CMakeLists.txt b/ALIROOT/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f30e3f3
--- /dev/null
@@ -0,0 +1,22 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/ALIROOT
+${CMAKE_SOURCE_DIR}/STEER
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_binaliroot.txt)
diff --git a/ALIROOT/CMake_binaliroot.txt b/ALIROOT/CMake_binaliroot.txt
new file mode 100644 (file)
index 0000000..14764e6
--- /dev/null
@@ -0,0 +1,18 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+aliroot.cxx
+fpu.c
+)
+
+Set(LIBS MUONcore MUONgeometry MUONrec MUONsim MUONbase MUONtrigger MUONraw
+         MUONcalib MUONmapping TPCbase TPCsim TPCrec TPCfast ITSbase ITSsim ITSrec
+         PMDbase PMDsim PMDrec TRDbase TRDsim TRDrec TRDfast FMDbase FMDsim FMDrec
+         TOFbase TOFrec TOFsim PHOSbase PHOSsim PHOSrec ACORDEbase ACORDEsim
+         ACORDErec HMPIDbase HMPIDrec HMPIDsim ZDCbase ZDCsim ZDCrec VZERObase
+         VZEROsim VZEROrec EMCALbase EMCALsim EMCALrec BCM STRUCT T0base T0sim
+         T0rec EVGEN STEERBase ESD AOD CDB STEER THijing hijing FASTSIM microcern
+         RAWDatabase RAWDatarec RAWDatasim MUONevaluation HLTbase )
+
+AddExecutable(aliroot "${SRCS}" "${LIBS}")
+
diff --git a/ANALYSIS/CMakeLists.txt b/ANALYSIS/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ca8c912
--- /dev/null
@@ -0,0 +1,38 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/ANALYSIS
+${CMAKE_SOURCE_DIR}/ANALYSIS/Aliengui
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/TPC
+${CMAKE_SOURCE_DIR}/ITS
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libANALYSISalice.txt)
+
+include(CMake_libANALYSIS.txt)
+
+include(CMake_libAnalysisOld.txt)
+
+include(CMake_libANALYSISRL.txt)
+
+include(CMake_libAliengui.txt)
+
+include(CMake_binaliengui.txt)
+
+
+
diff --git a/ANALYSIS/CMake_binaliengui.txt b/ANALYSIS/CMake_binaliengui.txt
new file mode 100644 (file)
index 0000000..fa2d49e
--- /dev/null
@@ -0,0 +1,17 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+Aliengui/aliengui_main/aliengui_main.cxx
+)
+
+Set(LIBS Aliengui MUONevaluation MUONgeometry MUONrec MUONsim MUONbase 
+         MUONtrigger MUONraw MUONcalib MUONmapping MUONcore TPCbase TPCsim 
+         TPCrec TPCfast ITSbase ITSsim ITSrec PMDbase PMDsim PMDrec TRDbase 
+         TRDsim TRDrec TRDfast FMDbase FMDsim FMDrec TOFbase TOFrec TOFsim 
+         PHOSbase PHOSsim PHOSrec ACORDEbase ACORDEsim ACORDErec HMPIDbase 
+         HMPIDrec HMPIDsim ZDCbase ZDCsim ZDCrec VZERObase VZEROsim VZEROrec 
+         EMCALbase EMCALsim EMCALrec STRUCT T0base T0sim T0rec EVGEN STEERBase 
+         ESD AOD CDB STEER THijing hijing THbtp TEPEMGEN FASTSIM microcern 
+         RAWDatabase RAWDatarec RAWDatasim HLTbase ANALYSIS ANALYSISalice)
+
+AddExecutable(alienguiexe "${SRCS}" "${LIBS}")
diff --git a/ANALYSIS/CMake_libANALYSIS.txt b/ANALYSIS/CMake_libANALYSIS.txt
new file mode 100644 (file)
index 0000000..4cb36de
--- /dev/null
@@ -0,0 +1,15 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliAnalysisDataContainer.cxx AliAnalysisDataSlot.cxx 
+AliAnalysisManager.cxx AliAnalysisTask.cxx 
+AliAnalysisSelector.cxx 
+AliAnalysisFilter.cxx AliAnalysisCuts.cxx 
+AliVEventPool.cxx      
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(ANALYSIS "${SRCS}" "${HDRS}")
diff --git a/ANALYSIS/CMake_libANALYSISRL.txt b/ANALYSIS/CMake_libANALYSISRL.txt
new file mode 100644 (file)
index 0000000..fba9188
--- /dev/null
@@ -0,0 +1,11 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliAnalysisTaskRL.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(ANALYSISRL "${SRCS}" "${HDRS}")
diff --git a/ANALYSIS/CMake_libANALYSISalice.txt b/ANALYSIS/CMake_libANALYSISalice.txt
new file mode 100644 (file)
index 0000000..32d3acf
--- /dev/null
@@ -0,0 +1,17 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       AliAnalysisTaskSE.cxx AliAnalysisTaskME.cxx
+       AliAnalysisTaskESDfilter.cxx AliAnalysisTaskKineFilter.cxx
+       AliKineTrackCuts.cxx AliESDtrackCuts.cxx AliESDv0Cuts.cxx
+       AliEventPoolOTF.cxx AliEventPoolLoop.cxx AliEventPoolSparse.cxx
+)
+
+Set_source_files_properties(${SRCS} COMPILE_FLAGS -DWITHXML)
+Set(SRCS ${SRCS} AliTagAnalysis.cxx AliXMLCollection.cxx)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(ANALYSISalice "${SRCS}" "${HDRS}")
diff --git a/ANALYSIS/CMake_libAliengui.txt b/ANALYSIS/CMake_libAliengui.txt
new file mode 100644 (file)
index 0000000..055b441
--- /dev/null
@@ -0,0 +1,20 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+Aliengui/AliAlienBrowser.cxx
+Aliengui/AliAnalysisGUI.cxx
+Aliengui/AliSelectorFrame.cxx
+Aliengui/AliFileListFrame.cxx
+Aliengui/AliLoginFrame.cxx
+Aliengui/AliPackageFrame.cxx
+Aliengui/AliTagAnalysisFrame.cxx
+Aliengui/AliTagFrame.cxx
+)
+
+Add_Definitions(-DWITHXML)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(Aliengui "${SRCS}" "${HDRS}")
diff --git a/ANALYSIS/CMake_libAnalysisOld.txt b/ANALYSIS/CMake_libAnalysisOld.txt
new file mode 100644 (file)
index 0000000..74a7f2c
--- /dev/null
@@ -0,0 +1,36 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+TGliteXmlEventlist.cxx
+AliAOD.cxx
+AliEventBuffer.cxx
+AliRunAnalysis.cxx
+AliAnalysis.cxx
+AliVAODParticle.cxx
+AliAODParticle.cxx
+AliAODPair.cxx
+AliAODRun.cxx
+AliAODParticleCut.cxx
+AliAODParticleBaseCut.cxx
+AliAODPairCut.cxx
+AliAODPairBaseCut.cxx
+AliEventCut.cxx
+AliEventBaseCut.cxx
+AliReader.cxx
+AliReaderAOD.cxx
+AliReaderKineTree.cxx
+AliReaderESD.cxx
+AliReaderESDTree.cxx
+AliTrackPoints.cxx
+AliClusterMap.cxx
+AliFlowAnalysis.cxx
+AliMuonAnalysis.cxx
+AliAnalysisEventCuts.cxx
+AliAnalysisTrackCuts.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(AnalysisOld "${SRCS}" "${HDRS}")
diff --git a/BCM/CMakeLists.txt b/BCM/CMakeLists.txt
new file mode 100644 (file)
index 0000000..cdafaba
--- /dev/null
@@ -0,0 +1,24 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/BCM
+${CMAKE_SOURCE_DIR}/STEER 
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libBCM.txt)
+
diff --git a/BCM/CMake_libBCM.txt b/BCM/CMake_libBCM.txt
new file mode 100644 (file)
index 0000000..56ef903
--- /dev/null
@@ -0,0 +1,14 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliBCM.cxx
+AliBCMHit.cxx
+AliBCMLoader.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(BCM "${SRCS}" "${HDRS}")
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644 (file)
index 0000000..b1375dc
--- /dev/null
@@ -0,0 +1,146 @@
+# -*- mode: cmake -*-
+# The name of our project is "AliRoot".  
+
+# Check if cmake has the required version
+Cmake_Minimum_Required(VERSION 2.6 FATAL_ERROR)
+
+# Set name of our project to AliRoot. To be done after check of cmake version
+Project(AliRoot)
+
+# Set AliRoot variables
+Set(ALICE_ROOT $ENV{ALICE_ROOT})
+Set(ALICE      $ENV{ALICE})
+Set(ALICE_STATIC_BUILD ON CACHE BOOL "Build also statics libs")
+
+#Set(CMAKE_VERBOSE_MAKEFILE ON)
+
+# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ 
+Set(CMAKE_MODULE_PATH "${ALICE_ROOT}/cmake/modules")
+
+# Load some basic macros which are needed later on
+#Include(WriteConfigFile)
+Include(Dart)
+Include(ALICEMacros)
+
+# Check if the user wants to build the project in the source directory
+Check_out_of_Source_Build()
+
+# searches for needed packages
+
+# Setup ROOT
+Find_package(ROOT 5.0.0 REQUIRED)
+Enable_Language(Fortran)
+Set(ALIROOT_INSTALL_DIR ${ALICE_ROOT}/${ALICE_TARGET})
+
+# Setup GEANT3
+Find_package(GEANT3 REQUIRED)
+
+# Setup RuleChecker
+Find_Package(RuleChecker)
+
+# Check if DATE is installed
+Find_Package(DATE)
+
+# Setup system dependent flags 
+SetupSystem()
+
+# Set the library version in the main CMakeLists.txt
+SET(ALIROOT_MAJOR_VERSION 0)
+SET(ALIROOT_MINOR_VERSION 0)
+SET(ALIROOT_PATCH_VERSION 0)
+SET(ALIROOT_VERSION "${ALIROOT_MAJOR_VERSION}.${ALIROOT_MINOR_VERSION}.${ALIROOT_PATCH_VERSION}")
+SET(ALIROOT_LIBRARY_PROPERTIES ${ALIROOT_LIBRARY_PROPERTIES}
+    VERSION "${ALIROOT_VERSION}"
+    SOVERSION "${ALIROOT_MAJOR_VERSION}"
+    SUFFIX ".so"
+)
+
+# Set version variables
+Execute_process(COMMAND svn info $ENV{ALICE_ROOT} 
+  OUTPUT_VARIABLE _svn_out)
+
+String(REGEX REPLACE "^.*Revision: ([^\n]*).*$" "\\1" 
+  ALIROOT_SVN_REVISION ${_svn_out})
+String(REGEX REPLACE "^.*URL: https://alisoft.cern.ch/AliRoot/([^\n]*).*$" "w \\1"
+  ALIROOT_SVN_BRANCH ${_svn_out})
+
+# Additional targets
+Add_Custom_Target(check-all COMMENT "Checking coding conventions")
+
+# Configure special include file
+If(UNIX)
+  Set(_in ${CMAKE_CURRENT_SOURCE_DIR}/STEER/ARVersion.h.in)
+  Set(_out ${CMAKE_CURRENT_BINARY_DIR}/STEER/ARVersion.h)
+  Add_custom_target(ARversion ALL
+    COMMAND sed < ${_in}
+                -e "s/\\@ALIROOT_SVN_REVISION\\@/${ALIROOT_SVN_REVISION}/" 
+                -e "s/\\@ALIROOT_SVN_BRANCH\\@/${ALIROOT_SVN_BRANCH}/" 
+                -e "s/\\@ALIROOT_VERSION\\@/${ALIROOT_VERSION}/" >  ${_out})
+  Install(FILES ${_out} DESTINATION ${ALIROOT_INSTALL_DIR}/include)
+Endif(UNIX)
+
+# This would work, but just once... we want this to happen at every make
+#  Configure_file(${CMAKE_CURRENT_SOURCE_DIR}/STEER/ARVersion.h.in 
+#${CMAKE_CURRENT_BINARY_DIR}/STEER/ARVersion.h @ONLY)
+
+# Recurse into the given subdirectories.  This does not actually
+# cause another cmake executable to run.  The same process will walk through
+# the project's entire directory structure.
+
+#Add_subdirectory(PYTHIA8) 
+#Add_subdirectory(TFluka) 
+#Add_subdirectory(THydjet) 
+
+Add_subdirectory(ACORDE) 
+Add_subdirectory(ANALYSIS) 
+Add_subdirectory(BCM) 
+Add_subdirectory(CORRFW) 
+Add_subdirectory(DPMJET) 
+Add_subdirectory(EMCAL) 
+Add_subdirectory(ESDCheck) 
+Add_subdirectory(EVE) 
+Add_subdirectory(EVGEN) 
+Add_subdirectory(FASTSIM) 
+Add_subdirectory(FMD)
+Add_subdirectory(HBTAN)
+Add_subdirectory(HERWIG) 
+Add_subdirectory(HIJING) 
+Add_subdirectory(HLT) 
+Add_subdirectory(HMPID) 
+Add_subdirectory(ITS) 
+Add_subdirectory(JETAN)
+Add_subdirectory(LHAPDF) 
+Add_subdirectory(LHC) 
+Add_subdirectory(MICROCERN) 
+Add_subdirectory(MONITOR) 
+Add_subdirectory(MUON) 
+Add_subdirectory(PHOS) 
+Add_subdirectory(PMD) 
+Add_subdirectory(PWG0) 
+Add_subdirectory(PWG1) 
+Add_subdirectory(PWG2) 
+Add_subdirectory(PWG3) 
+Add_subdirectory(PWG4)
+Add_subdirectory(PYTHIA6)
+Add_subdirectory(RALICE) 
+Add_subdirectory(RAW) 
+Add_subdirectory(STAT) 
+Add_subdirectory(STEER)
+Add_subdirectory(STRUCT) 
+Add_subdirectory(T0) 
+Add_subdirectory(TDPMjet) 
+Add_subdirectory(TEPEMGEN) 
+Add_subdirectory(THbtp) 
+Add_subdirectory(THerwig) 
+Add_subdirectory(THijing)
+Add_subdirectory(TIsajet) 
+Add_subdirectory(TOF) 
+Add_subdirectory(TPC)
+Add_subdirectory(TPHIC) 
+Add_subdirectory(TRD) 
+Add_subdirectory(TTherminator) 
+Add_subdirectory(VZERO) 
+Add_subdirectory(ZDC) 
+
+Add_subdirectory(ALIROOT)
+
diff --git a/CORRFW/CMakeLists.txt b/CORRFW/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d4a1f2c
--- /dev/null
@@ -0,0 +1,25 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/CORRFW
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/ANALYSIS
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libCORRFW.txt)
+
diff --git a/CORRFW/CMake_libCORRFW.txt b/CORRFW/CMake_libCORRFW.txt
new file mode 100644 (file)
index 0000000..f2c37b1
--- /dev/null
@@ -0,0 +1,35 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliCFFrame.cxx
+AliCFVGrid.cxx
+AliCFGrid.cxx
+AliCFGridSparse.cxx
+AliCFEffGrid.cxx
+AliCFDataGrid.cxx
+AliCFContainer.cxx
+AliCFManager.cxx
+AliCFCutBase.cxx
+AliCFEventClassCuts.cxx
+AliCFEventGenCuts.cxx
+AliCFEventRecCuts.cxx
+AliCFParticleGenCuts.cxx
+AliCFAcceptanceCuts.cxx
+AliCFTrackKineCuts.cxx
+AliCFTrackQualityCuts.cxx
+AliCFTrackIsPrimaryCuts.cxx
+AliCFTrackCutPid.cxx
+AliCFPair.cxx
+AliCFPairAcceptanceCuts.cxx
+AliCFPairQualityCuts.cxx
+AliCFPairIsPrimaryCuts.cxx
+AliCFPairPidCut.cxx
+AliCFV0TopoCuts.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(CORRFW "${SRCS}" "${HDRS}")
+
diff --git a/DPMJET/CMakeLists.txt b/DPMJET/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d60dd8f
--- /dev/null
@@ -0,0 +1,23 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/DPMJET
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libDPMJET.txt)
+
diff --git a/DPMJET/CMake_libDPMJET.txt b/DPMJET/CMake_libDPMJET.txt
new file mode 100644 (file)
index 0000000..5320937
--- /dev/null
@@ -0,0 +1,22 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliDpmJetRndm.cxx
+)
+
+set(FSRCS
+dpmjet3.0-5.f
+phojet1.12-35c3.f
+pythia6115dpm3.f
+user3.0-5.f
+openfile.f
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+Set(SRCS ${SRCS} ${FSRCS})
+
+AddLibrary(dpmjet "${SRCS}" "${HDRS}")
+
diff --git a/EMCAL/CMakeLists.txt b/EMCAL/CMakeLists.txt
new file mode 100644 (file)
index 0000000..193b2b4
--- /dev/null
@@ -0,0 +1,33 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/EMCAL
+${CMAKE_SOURCE_DIR}/EMCAL/Calib
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/RAW
+${CMAKE_SOURCE_DIR}/ANALYSIS
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libEMCALrec.txt)
+
+include(CMake_libEMCALbase.txt)
+
+include(CMake_libEMCALsim.txt)
+
+include(CMake_libEMCALcalib.txt)
+
+
diff --git a/EMCAL/CMake_libEMCALbase.txt b/EMCAL/CMake_libEMCALbase.txt
new file mode 100644 (file)
index 0000000..85b40a1
--- /dev/null
@@ -0,0 +1,32 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliEMCALGeometry.cxx
+AliEMCALHit.cxx
+AliEMCALLoader.cxx
+AliEMCALShishKebabModule.cxx
+AliEMCALShishKebabTrd1Module.cxx
+AliEMCALWsuCosmicRaySetUp.cxx
+AliEMCALRecPoint.cxx
+AliEMCALClusterizer.cxx
+AliEMCALHistoUtilities.cxx
+AliEMCALSDigitizer.cxx
+AliEMCALDigit.cxx
+AliEMCALCalibData.cxx
+AliEMCALCalibHistoProducer.cxx
+AliEMCALPreprocessor.cxx
+AliEMCALSensorTemp.cxx
+AliEMCALSensorTempArray.cxx
+AliCaloCalibPedestal.cxx
+AliCaloCalibSignal.cxx
+AliEMCALSurvey.cxx
+AliEMCALRecParam.cxx
+AliEMCALQAChecker.cxx
+AliEMCALCalibTimeDep.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(EMCALbase "${SRCS}" "${HDRS}")
diff --git a/EMCAL/CMake_libEMCALcalib.txt b/EMCAL/CMake_libEMCALcalib.txt
new file mode 100644 (file)
index 0000000..60ee267
--- /dev/null
@@ -0,0 +1,17 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+Calib/AliEMCALPi0Calibration.cxx
+Calib/AliEMCALPi0SelectionParam.cxx
+Calib/AliEMCALFolder.cxx
+Calib/AliEMCALSuperModule.cxx
+Calib/AliEMCALCalibCoefs.cxx
+Calib/AliEMCALCellInfo.cxx
+Calib/AliEMCALCell.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(EMCALcalib "${SRCS}" "${HDRS}")
diff --git a/EMCAL/CMake_libEMCALrec.txt b/EMCAL/CMake_libEMCALrec.txt
new file mode 100644 (file)
index 0000000..50f33a2
--- /dev/null
@@ -0,0 +1,16 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliEMCALReconstructor.cxx
+AliEMCALClusterizerv1.cxx
+AliEMCALTrack.cxx
+AliEMCALTracker.cxx
+AliEMCALPID.cxx
+AliEMCALQADataMakerRec.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(EMCALrec "${SRCS}" "${HDRS}")
diff --git a/EMCAL/CMake_libEMCALsim.txt b/EMCAL/CMake_libEMCALsim.txt
new file mode 100644 (file)
index 0000000..c4b5bc3
--- /dev/null
@@ -0,0 +1,19 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliEMCAL.cxx
+AliEMCALv0.cxx
+AliEMCALv1.cxx
+AliEMCALv2.cxx
+AliEMCALDigitizer.cxx
+AliEMCALTick.cxx
+AliEMCALRawUtils.cxx
+AliEMCALTrigger.cxx
+AliEMCALQADataMakerSim.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(EMCALsim "${SRCS}" "${HDRS}")
diff --git a/ESDCheck/CMakeLists.txt b/ESDCheck/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ecd32ad
--- /dev/null
@@ -0,0 +1,24 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/ESDCheck
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/ANALYSIS
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libAnalysisCheck.txt)
+
diff --git a/ESDCheck/CMake_libAnalysisCheck.txt b/ESDCheck/CMake_libAnalysisCheck.txt
new file mode 100644 (file)
index 0000000..1ddae9b
--- /dev/null
@@ -0,0 +1,23 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliPHOSQATask.cxx
+AliEMCALQATask.cxx
+AliPMDQATask.cxx
+AliPMDUtility.cxx
+AliAnalysisTaskPt.cxx
+AliHMPIDQATask.cxx
+AliT0QATask.cxx
+AliMUONQATask.cxx
+AliFMDQATask.cxx
+AliTRDQATask.cxx
+AliTOFQATask.cxx
+AliVZEROQATask.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(AnalysisCheck "${SRCS}" "${HDRS}")
+
diff --git a/EVE/CMakeLists.txt b/EVE/CMakeLists.txt
new file mode 100644 (file)
index 0000000..94c1847
--- /dev/null
@@ -0,0 +1,44 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/EMCAL
+${CMAKE_SOURCE_DIR}/EVE
+${CMAKE_SOURCE_DIR}/EVE/EveBase
+${CMAKE_SOURCE_DIR}/EVE/EveDet
+${CMAKE_SOURCE_DIR}/EVE/EveHLT
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/RAW
+${CMAKE_SOURCE_DIR}/MUON
+${CMAKE_SOURCE_DIR}/MUON/mapping
+${CMAKE_SOURCE_DIR}/TRD
+${CMAKE_SOURCE_DIR}/TOF
+${CMAKE_SOURCE_DIR}/ITS
+${CMAKE_SOURCE_DIR}/TPC
+${CMAKE_SOURCE_DIR}/PMD
+${CMAKE_SOURCE_DIR}/T0
+${CMAKE_SOURCE_DIR}/HLT/BASE
+${CMAKE_SOURCE_DIR}/HLT/BASE/HOMER
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libEveBase.txt)
+
+include(CMake_libEveDet.txt)
+
+include(CMake_libEveHLT.txt)
+
+include(CMake_binalieve.txt)
+
diff --git a/EVE/CMake_binalieve.txt b/EVE/CMake_binalieve.txt
new file mode 100644 (file)
index 0000000..25455e2
--- /dev/null
@@ -0,0 +1,17 @@
+# -*- mode: cmake -*-
+set(SRCS
+alieve_main/alieve_main.cxx
+)
+
+Set(LIBS EveBase EveDet EveHLT MUONbase MUONevaluation MUONmapping MUONshuttle
+         MUONcalib MUONgeometry MUONraw MUONsim MUONcore MUONgraphics MUONrec
+         MUONtrigger TPCbase TPCsim TPCrec TPCfast ITSbase ITSsim ITSrec PMDbase
+         PMDsim PMDrec TRDbase TRDsim TRDrec TRDfast FMDbase FMDsim FMDrec TOFbase
+         TOFrec TOFsim PHOSbase PHOSsim PHOSrec ACORDEbase ACORDEsim ACORDErec
+         HMPIDbase HMPIDrec HMPIDsim ZDCbase ZDCsim ZDCrec VZERObase VZEROsim
+         VZEROrec EMCALbase EMCALsim EMCALrec BCM STRUCT T0base T0sim T0rec EVGEN
+         STEERBase ESD AOD CDB STEER THijing hijing TEPEMGEN FASTSIM microcern
+         RAWDatabase RAWDatarec RAWDatasim HLTbase XMLParser)
+
+AddExecutable(alieve "${SRCS}" "${LIBS}")
diff --git a/EVE/CMake_libEveBase.txt b/EVE/CMake_libEveBase.txt
new file mode 100644 (file)
index 0000000..f013017
--- /dev/null
@@ -0,0 +1,24 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+EveBase/AliEveEventManagerEditor.cxx        
+EveBase/AliEveV0.cxx
+EveBase/AliEveV0Editor.cxx
+EveBase/AliEveV0ListEditor.cxx
+EveBase/AliEveCosmicRayFitter.cxx        
+EveBase/AliEveJetPlaneGL.cxx
+EveBase/AliEveCosmicRayFitterEditor.cxx  
+EveBase/AliEveKineTools.cxx
+EveBase/AliEveEventManager.cxx           
+EveBase/AliEveTrackFitter.cxx
+EveBase/AliEveJetPlane.cxx               
+EveBase/AliEveTrackFitterEditor.cxx
+EveBase/AliEveJetPlaneEditor.cxx         
+EveBase/AliEveVSDCreator.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(EveBase "${SRCS}" "${HDRS}")
diff --git a/EVE/CMake_libEveDet.txt b/EVE/CMake_libEveDet.txt
new file mode 100644 (file)
index 0000000..e7ab1af
--- /dev/null
@@ -0,0 +1,54 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+EveDet/AliEveEMCALData.cxx
+EveDet/AliEveEMCALSModule.cxx
+EveDet/AliEveEMCALSModuleData.cxx
+EveDet/AliEveFMDLoader.cxx
+EveDet/AliEveITSDigitsInfo.cxx
+EveDet/AliEveITSModule.cxx
+EveDet/AliEveITSModuleStepper.cxx
+EveDet/AliEveITSModuleStepperEditor.cxx
+EveDet/AliEveITSScaledModule.cxx
+EveDet/AliEveITSScaledModuleEditor.cxx
+EveDet/AliEveMUONChamber.cxx
+EveDet/AliEveMUONChamberData.cxx
+EveDet/AliEveMUONChamberEditor.cxx
+EveDet/AliEveMUONChamberGL.cxx
+EveDet/AliEveMUONData.cxx
+EveDet/AliEveMUONTrack.cxx
+EveDet/AliEvePMDModule.cxx
+EveDet/AliEvePMDModuleEditor.cxx
+EveDet/AliEveT0Module.cxx
+EveDet/AliEveTOFDigitsInfo.cxx
+EveDet/AliEveTOFDigitsInfoEditor.cxx
+EveDet/AliEveTOFSector.cxx
+EveDet/AliEveTOFSectorEditor.cxx
+EveDet/AliEveTOFStrip.cxx
+EveDet/AliEveTOFStripEditor.cxx
+EveDet/AliEveTPCData.cxx
+EveDet/AliEveTPCLoader.cxx
+EveDet/AliEveTPCLoaderEditor.cxx
+EveDet/AliEveTPCSector2D.cxx
+EveDet/AliEveTPCSector2DEditor.cxx
+EveDet/AliEveTPCSector2DGL.cxx
+EveDet/AliEveTPCSector3D.cxx
+EveDet/AliEveTPCSector3DEditor.cxx
+EveDet/AliEveTPCSector3DGL.cxx
+EveDet/AliEveTPCSectorData.cxx
+EveDet/AliEveTPCSectorViz.cxx
+EveDet/AliEveTPCSectorVizEditor.cxx
+EveDet/AliEveTRDData.cxx
+EveDet/AliEveTRDDataEditor.cxx
+EveDet/AliEveTRDLoader.cxx
+EveDet/AliEveTRDLoaderImp.cxx
+EveDet/AliEveTRDLoaderManager.cxx
+EveDet/AliEveTRDModule.cxx
+EveDet/AliEveTRDModuleImp.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(EveDet "${SRCS}" "${HDRS}")
diff --git a/EVE/CMake_libEveHLT.txt b/EVE/CMake_libEveHLT.txt
new file mode 100644 (file)
index 0000000..5e8c2f3
--- /dev/null
@@ -0,0 +1,15 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+EveHLT/AliEveHOMERManager.cxx        
+EveHLT/AliEveHOMERSourceList.cxx
+EveHLT/AliEveHOMERManagerEditor.cxx  
+EveHLT/AliEveHOMERSourceMap.cxx
+EveHLT/AliEveHOMERSource.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(EveHLT "${SRCS}" "${HDRS}")
diff --git a/EVGEN/CMakeLists.txt b/EVGEN/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e6f1fe7
--- /dev/null
@@ -0,0 +1,25 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/EVGEN
+${CMAKE_SOURCE_DIR}/STEER 
+${CMAKE_SOURCE_DIR}/FASTSIM
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libEVGEN.txt)
+
diff --git a/EVGEN/CMake_libEVGEN.txt b/EVGEN/CMake_libEVGEN.txt
new file mode 100644 (file)
index 0000000..27be0bb
--- /dev/null
@@ -0,0 +1,56 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliGenHIJINGpara.cxx
+AliGenBox.cxx
+AliGenFixed.cxx
+AliGenCocktail.cxx
+AliGenCocktailAfterBurner.cxx
+AliGenFLUKAsource.cxx
+AliGenLib.cxx
+AliGenMUONlib.cxx
+AliGenHMPIDlib.cxx
+AliGenParam.cxx
+AliDimuCombinator.cxx
+AliGenHalo.cxx
+AliGenHaloProtvino.cxx
+AliGenExtFile.cxx
+AliGenScan.cxx
+AliGenPHOSlib.cxx
+AliGenDoubleScan.cxx
+AliGenCocktailEntry.cxx
+AliGenGSIlib.cxx
+AliGenPMDlib.cxx
+AliGenMC.cxx
+AliGenReader.cxx
+AliGenReaderCwn.cxx
+AliGenReaderTreeK.cxx
+AliGenReaderEcalHijing.cxx
+AliGenReaderEcalJets.cxx
+AliGenHIJINGparaBa.cxx
+AliGeVSimParticle.cxx
+AliGenGeVSim.cxx
+AliGenThetaSlice.cxx
+AliGenSTRANGElib.cxx
+AliGenBeamGas.cxx
+AliGenAfterBurnerFlow.cxx
+AliGenSlowNucleons.cxx
+AliGenGeVSimEventHeader.cxx
+AliSlowNucleonModel.cxx
+AliSlowNucleonModelExp.cxx
+AliGenMUONCocktail.cxx
+AliGenMUONCocktailpp.cxx
+AliGenHBTosl.cxx
+AliGenReaderEMD.cxx
+AliDecayerPolarized.cxx
+AliGenCorrHF.cxx
+AliGenCosmicsParam.cxx
+AliGenKrypton.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(EVGEN "${SRCS}" "${HDRS}")
+
diff --git a/FASTSIM/CMakeLists.txt b/FASTSIM/CMakeLists.txt
new file mode 100644 (file)
index 0000000..8fd40b8
--- /dev/null
@@ -0,0 +1,24 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/FASTSIM
+${CMAKE_SOURCE_DIR}/STEER 
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libFASTSIM.txt)
+
diff --git a/FASTSIM/CMake_libFASTSIM.txt b/FASTSIM/CMake_libFASTSIM.txt
new file mode 100644 (file)
index 0000000..cb26231
--- /dev/null
@@ -0,0 +1,23 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliFastDetector.cxx
+AliFastResponse.cxx
+AliFastParticle.cxx
+AliFastEvent.cxx
+AliFastMuonTrackingAcc.cxx
+AliFastMuonTrackingEff.cxx
+AliFastMuonTrackingRes.cxx
+AliFastMuonTriggerEff.cxx
+AliMUONFastTracking.cxx
+AliMUONFastTrackingEntry.cxx
+AliFastGlauber.cxx
+AliQuenchingWeights.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(FASTSIM "${SRCS}" "${HDRS}")
+
diff --git a/FMD/CMakeLists.txt b/FMD/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f9ce2ba
--- /dev/null
@@ -0,0 +1,33 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/FMD
+${CMAKE_SOURCE_DIR}/FMD/flow
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/RAW
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libFMDbase.txt)
+
+include(CMake_libFMDrec.txt)
+
+include(CMake_libFMDutil.txt)
+
+include(CMake_libFMDflow.txt)
+
+include(CMake_libFMDsim.txt)
+
diff --git a/FMD/CMake_libFMDbase.txt b/FMD/CMake_libFMDbase.txt
new file mode 100644 (file)
index 0000000..6add82b
--- /dev/null
@@ -0,0 +1,31 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliFMDIndex.cxx
+AliFMDBaseDigit.cxx
+AliFMDDigit.cxx
+AliFMDSDigit.cxx
+AliFMDBoolMap.cxx
+AliFMDUShortMap.cxx
+AliFMDCalibPedestal.cxx
+AliFMDCalibGain.cxx
+AliFMDCalibSampleRate.cxx
+AliFMDCalibStripRange.cxx
+AliFMDAltroMapping.cxx
+AliFMDParameters.cxx
+AliFMDGeometry.cxx
+AliFMDRing.cxx
+AliFMDDetector.cxx
+AliFMD1.cxx
+AliFMD2.cxx
+AliFMD3.cxx
+AliFMDPreprocessor.cxx
+AliFMDQAChecker.cxx
+AliFMDGeometryBuilder.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(FMDbase "${SRCS}" "${HDRS}")
diff --git a/FMD/CMake_libFMDflow.txt b/FMD/CMake_libFMDflow.txt
new file mode 100644 (file)
index 0000000..6765e0c
--- /dev/null
@@ -0,0 +1,21 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+flow/AliFMDFlowAxis.cxx
+flow/AliFMDFlowBessel.cxx
+flow/AliFMDFlowBin.cxx
+flow/AliFMDFlowBinned1D.cxx
+flow/AliFMDFlowBinned2D.cxx
+flow/AliFMDFlowEfficiency.cxx
+flow/AliFMDFlowEventPlane.cxx
+flow/AliFMDFlowHarmonic.cxx
+flow/AliFMDFlowResolution.cxx
+flow/AliFMDFlowTrue.cxx
+flow/AliFMDFlowSplitter.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(FMDflow "${SRCS}" "${HDRS}")
diff --git a/FMD/CMake_libFMDrec.txt b/FMD/CMake_libFMDrec.txt
new file mode 100644 (file)
index 0000000..f758dad
--- /dev/null
@@ -0,0 +1,15 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliFMDReconstructor.cxx
+AliFMDRawStream.cxx
+AliFMDRawReader.cxx
+AliFMDRecPoint.cxx
+AliFMDQADataMakerRec.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(FMDrec "${SRCS}" "${HDRS}")
diff --git a/FMD/CMake_libFMDsim.txt b/FMD/CMake_libFMDsim.txt
new file mode 100644 (file)
index 0000000..9b422fa
--- /dev/null
@@ -0,0 +1,22 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliFMD.cxx
+AliFMDv0.cxx
+AliFMDv1.cxx
+AliFMDPoints.cxx
+AliFMDHit.cxx
+AliFMDBaseDigitizer.cxx
+AliFMDDigitizer.cxx
+AliFMDSDigitizer.cxx
+AliFMDEdepMap.cxx
+AliFMDRawWriter.cxx
+AliFMDQADataMakerSim.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(FMDsim "${SRCS}" "${HDRS}")
+
diff --git a/FMD/CMake_libFMDutil.txt b/FMD/CMake_libFMDutil.txt
new file mode 100644 (file)
index 0000000..ca3594c
--- /dev/null
@@ -0,0 +1,21 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliFMDInput.cxx
+AliFMDDisplay.cxx
+AliFMDPattern.cxx
+AliFMDFancy.cxx
+AliFMDCalibFaker.cxx
+AliFMDAlignFaker.cxx
+AliFMDAnaRing.cxx
+AliFMDAnaESD.cxx
+AliFMDBaseDA.cxx
+AliFMDPedestalDA.cxx
+AliFMDGainDA.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(FMDutil "${SRCS}" "${HDRS}")
diff --git a/HBTAN/CMakeLists.txt b/HBTAN/CMakeLists.txt
new file mode 100644 (file)
index 0000000..a3610db
--- /dev/null
@@ -0,0 +1,25 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/HBTAN
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/ANALYSIS
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libHBTAN.txt)
+
diff --git a/HBTAN/CMake_libHBTAN.txt b/HBTAN/CMake_libHBTAN.txt
new file mode 100644 (file)
index 0000000..6b4672a
--- /dev/null
@@ -0,0 +1,33 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliHBTWeights.cxx AliHBTCrab.cxx AliHBTAnalysis.cxx
+AliHBTPair.cxx  AliHBTAnalysisStavinskyMixing.cxx
+AliHBTFunction.cxx    AliHBTCorrelFctn.cxx
+AliHBTMonitorFunction.cxx       AliHBTTwoTrackEffFctn.cxx
+AliHBTQResolutionFctns.cxx      AliHBTQDistributionVsQInvFctns.cxx AliHBTQDistributionVsKtFctns.cxx
+AliHBTRDistributions.cxx
+AliHBTMonDistributionFctns.cxx  AliHBTMonResolutionFctns.cxx
+AliHBTLLWeights.cxx             AliHBTWeightFctn.cxx
+AliHBTWeightsPID.cxx            AliHBTWeightTheorFctn.cxx
+AliHBTPositionRandomizer.cxx
+AliHBTCorrFitFctn.cxx AliHBTPIDPurityFctns.cxx
+AliHBTCorrectQInvCorrelFctn.cxx AliHBTCorrectOSLCorrelFctn.cxx
+AliHBTasCorrFctn.cxx AliHBTMonSplitting.cxx
+)
+
+set(FSRCS
+fsiini.F
+fsiw.F
+led_bldata.F
+ltran12.F
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+Set(SRCS ${SRCS} ${FSRCS})
+
+AddLibrary(HBTAN "${SRCS}" "${HDRS}")
+
diff --git a/HERWIG/CMakeLists.txt b/HERWIG/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ce6c424
--- /dev/null
@@ -0,0 +1,23 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/HERWIG
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libHERWIG.txt)
+
+
diff --git a/HERWIG/CMake_libHERWIG.txt b/HERWIG/CMake_libHERWIG.txt
new file mode 100644 (file)
index 0000000..f1cebfa
--- /dev/null
@@ -0,0 +1,103 @@
+# -*- mode: cmake -*-
+
+Set(SRCS
+AliHerwigRndm.cxx
+)
+
+set(CSRCS
+main.c
+herwig6_address.c
+)
+
+set(FSRCS
+herwig6_called_from_cc.f
+herwig6_common_block_address.f
+herwig6510.f
+hwlhin.f
+str.f
+jimmy/cernmisc/jmabend.F
+jimmy/cernmisc/jmdbs4.F
+jimmy/cernmisc/jmdbsir3.F
+jimmy/cernmisc/jmdbska.F
+jimmy/cernmisc/jmlnoc.F
+jimmy/cernmisc/jmmlpt.F
+jimmy/cernmisc/jmmlst.F
+jimmy/cernmisc/jmucpy.F
+jimmy/divon4/addbnd.F
+jimmy/divon4/bfgs.F
+jimmy/divon4/bndopt.F
+jimmy/divon4/bndtst.F
+jimmy/divon4/bounds.F
+jimmy/divon4/bucmve.F
+jimmy/divon4/bufopt.F
+jimmy/divon4/delbnd.F
+jimmy/divon4/delete.F
+jimmy/divon4/delslv.F
+jimmy/divon4/divon.F
+jimmy/divon4/dvcopy.F
+jimmy/divon4/dvdot.F
+jimmy/divon4/dvnbkd.F
+jimmy/divon4/exmbuc.F
+jimmy/divon4/feasmv.F
+jimmy/divon4/feqn.F
+jimmy/divon4/fun.F
+jimmy/divon4/genpnt.F
+jimmy/divon4/grdcmp.F
+jimmy/divon4/intgrl.F
+jimmy/divon4/ldlsol.F
+jimmy/divon4/locsch.F
+jimmy/divon4/modchl.F
+jimmy/divon4/mulchk.F
+jimmy/divon4/mxstep.F
+jimmy/divon4/newptq.F
+jimmy/divon4/nmdchl.F
+jimmy/divon4/nocut.F
+jimmy/divon4/nodaud.F
+jimmy/divon4/orthvc.F
+jimmy/divon4/partn.F
+jimmy/divon4/quad.F
+jimmy/divon4/quasi.F
+jimmy/divon4/ranums.F
+jimmy/divon4/recparz.F
+jimmy/divon4/rlen.F
+jimmy/divon4/settol.F
+jimmy/divon4/shrnk.F
+jimmy/divon4/split.F
+jimmy/divon4/treaud.F
+jimmy/divon4/tredmp.F
+jimmy/divon4/tstext.F
+jimmy/divon4/usrint.F
+jimmy/divon4/usrtrm.F
+jimmy/jimmy/dfun.F
+jimmy/jimmy/dvnopt.F
+jimmy/jimmy/eikfun.F
+jimmy/jimmy/eikon.F
+jimmy/jimmy/epfun.F
+jimmy/jimmy/hwmsct.F
+jimmy/jimmy/hwnsct.F
+jimmy/jimmy/jimmin.F
+jimmy/jimmy/jmarea.F
+jimmy/jimmy/jmefin.F
+jimmy/jimmy/jmfact.F
+jimmy/jimmy/jmgamz.F
+jimmy/jimmy/jmgrid.F
+jimmy/jimmy/jminit.F
+jimmy/jimmy/jmkern.F
+jimmy/jimmy/jmknif.F
+jimmy/jimmy/jmpn.F
+jimmy/jimmy/jmrndm.F
+jimmy/jimmy/jmsn.F
+jimmy/jimmy/jmsnfn.F
+jimmy/jimmy/jmxs1.F
+jimmy/jimmy/qcdres.F
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+Set(SRCS ${SRCS} ${CSRCS} ${FSRCS})
+
+AddLibrary(herwig "${SRCS}" "${HDRS}")
+
+
diff --git a/HIJING/CMakeLists.txt b/HIJING/CMakeLists.txt
new file mode 100644 (file)
index 0000000..b6512f3
--- /dev/null
@@ -0,0 +1,24 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/HIJING
+${CMAKE_SOURCE_DIR}/HIJING/hijing
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libHIJING.txt)
+
diff --git a/HIJING/CMake_libHIJING.txt b/HIJING/CMake_libHIJING.txt
new file mode 100644 (file)
index 0000000..c54f683
--- /dev/null
@@ -0,0 +1,171 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliHijingRndm.cxx
+)
+
+set(FSRCS
+hijing1_36/ar3jet.F
+hijing1_36/aran9.F
+hijing1_36/arorie.F
+hijing1_36/atrobo.F
+hijing1_36/attflv.F
+hijing1_36/attrad.F
+hijing1_36/bk.F
+hijing1_36/crsjet.F
+hijing1_36/fgp1.F
+hijing1_36/fgp2.F
+hijing1_36/fgp3.F
+hijing1_36/fhin.F
+hijing1_36/fjet.F
+hijing1_36/fjetrig.F
+hijing1_36/flap.F
+hijing1_36/flap1.F
+hijing1_36/flap2.F
+hijing1_36/fnjet.F
+hijing1_36/fnkick.F
+hijing1_36/fnkick2.F
+hijing1_36/fnstru.F
+hijing1_36/fnstrum.F
+hijing1_36/fnstrus.F
+hijing1_36/ftot.F
+hijing1_36/ftotjet.F
+hijing1_36/ftotrig.F
+hijing1_36/g.F
+hijing1_36/gauss1.F
+hijing1_36/gauss2.F
+hijing1_36/gauss3.F
+hijing1_36/gauss4.F
+hijing1_36/ghvq.F
+hijing1_36/gmin.F
+hijing1_36/gmre.F
+hijing1_36/gphoton.F
+hijing1_36/hiboost.F
+hijing1_36/hidata.F
+hijing1_36/hifun.F
+hijing1_36/hijcrs.F
+hijing1_36/hijcsc.F
+hijing1_36/hijels.F
+hijing1_36/hijflv.F
+hijing1_36/hijfrg.F
+hijing1_36/hijhrd.F
+hijing1_36/hijing.F
+hijing1_36/hijini.F
+hijing1_36/hijset.F
+hijing1_36/hijsft.F
+hijing1_36/hijsrt.F
+hijing1_36/hijwds.F
+hijing1_36/hiptdi.F
+hijing1_36/hirnd.F
+hijing1_36/hirnd2.F
+hijing1_36/jetini.F
+hijing1_36/omg0.F
+hijing1_36/parton.F
+hijing1_36/profile.F
+hijing1_36/quench.F
+hijing1_36/romg.F
+hijing1_36/rwdsax.F
+hijing1_36/sgmin.F
+hijing1_36/subcrs1.F
+hijing1_36/subcrs2.F
+hijing1_36/subcrs3.F
+hijing1_36/subcrs4.F
+hijing1_36/subcrs5.F
+hijing1_36/subcrs6.F
+hijing1_36/subcrs7.F
+hijing1_36/title.F
+hijing1_36/vegas.F
+hijing1_36/wdsax.F
+hijing1_36/wdsax1.F
+hijing1_36/wdsax2.F
+hipyset1_35/hirobo.F
+hipyset1_35/klu_hijing.F
+hipyset1_35/lu1ent_hijing.F
+hipyset1_35/lu2ent_hijing.F
+hipyset1_35/lu3ent_hijing.F
+hipyset1_35/lu4ent_hijing.F
+hipyset1_35/luboei_hijing.F
+hipyset1_35/lucell_hijing.F
+hipyset1_35/luchge_hijing.F
+hipyset1_35/luclus_hijing.F
+hipyset1_35/lucomp_hijing.F
+hipyset1_35/ludata_hijing.F
+hipyset1_35/ludecy_hijing.F
+hipyset1_35/luedit_hijing.F
+hipyset1_35/lueevt_hijing.F
+hipyset1_35/luerrm_hijing.F
+hipyset1_35/luexec_hijing.F
+hipyset1_35/lufowo_hijing.F
+hipyset1_35/lugive_hijing.F
+hipyset1_35/luhepc_hijing.F
+hipyset1_35/luindf_hijing.F
+hipyset1_35/lujmas_hijing.F
+hipyset1_35/lujoin_hijing.F
+hipyset1_35/lukfdi_hijing.F
+hipyset1_35/lulist_hijing.F
+hipyset1_35/luname_hijing.F
+hipyset1_35/luonia_hijing.F
+hipyset1_35/luprep_hijing.F
+hipyset1_35/luptdi_hijing.F
+hipyset1_35/luradk_hijing.F
+hipyset1_35/lurobo_hijing.F
+hipyset1_35/lushow_hijing.F
+hipyset1_35/lusphe_hijing.F
+hipyset1_35/lustrf_hijing.F
+hipyset1_35/lutabu_hijing.F
+hipyset1_35/lutest_hijing.F
+hipyset1_35/luthru_hijing.F
+hipyset1_35/luupda_hijing.F
+hipyset1_35/lux3jt_hijing.F
+hipyset1_35/lux4jt_hijing.F
+hipyset1_35/luxdif_hijing.F
+hipyset1_35/luxjet_hijing.F
+hipyset1_35/luxkfl_hijing.F
+hipyset1_35/luxtot_hijing.F
+hipyset1_35/luzdis_hijing.F
+hipyset1_35/plu_hijing.F
+hipyset1_35/pydata_hijing.F
+hipyset1_35/pydiff_hijing.F
+hipyset1_35/pyfram_hijing.F
+hipyset1_35/pygamm_hijing.F
+hipyset1_35/pyi3au_hijing.F
+hipyset1_35/pyinit_hijing.F
+hipyset1_35/pyinki_hijing.F
+hipyset1_35/pyinre_hijing.F
+hipyset1_35/pykcut_hijing.F
+hipyset1_35/pyklim_hijing.F
+hipyset1_35/pykmap_hijing.F
+hipyset1_35/pymaxi_hijing.F
+hipyset1_35/pymult_hijing.F
+hipyset1_35/pyovly_hijing.F
+hipyset1_35/pyrand_hijing.F
+hipyset1_35/pyremn_hijing.F
+hipyset1_35/pyresd_hijing.F
+hipyset1_35/pyscat_hijing.F
+hipyset1_35/pysigh_hijing.F
+hipyset1_35/pyspen_hijing.F
+hipyset1_35/pyspli_hijing.F
+hipyset1_35/pysspa_hijing.F
+hipyset1_35/pystat_hijing.F
+hipyset1_35/pystfe_hijing.F
+hipyset1_35/pystfu_hijing.F
+hipyset1_35/pytest_hijing.F
+hipyset1_35/pythia_hijing.F
+hipyset1_35/pyw1au_hijing.F
+hipyset1_35/pyw2au_hijing.F
+hipyset1_35/pywidt_hijing.F
+hipyset1_35/pyxtot_hijing.F
+hipyset1_35/ulalps_hijing.F
+hipyset1_35/ulangl_hijing.F
+hipyset1_35/ulmass_hijing.F
+)
+
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+Set(SRCS ${SRCS} ${FSRCS})
+
+AddLibrary(hijing "${SRCS}" "${HDRS}")
+
diff --git a/HLT/BASE/interface/HLTinterfaceLinkDef.h b/HLT/BASE/interface/HLTinterfaceLinkDef.h
new file mode 100644 (file)
index 0000000..19a0be9
--- /dev/null
@@ -0,0 +1,8 @@
+//automatically generated ROOT DICT definition
+//!!! DO NOT EDIT THIS FILE !!!
+//add further class definitions to the CLASS_HDRS variable in Makefile.am
+#ifdef __CINT__
+#pragma link off all globals;
+#pragma link off all classes;
+#pragma link off all functions;
+#endif
diff --git a/HLT/BASE/util/AliHLTUtilLinkDef.h b/HLT/BASE/util/AliHLTUtilLinkDef.h
new file mode 100644 (file)
index 0000000..611ea30
--- /dev/null
@@ -0,0 +1,18 @@
+//automatically generated ROOT DICT definition
+//!!! DO NOT EDIT THIS FILE !!!
+//add further class definitions to the CLASS_HDRS variable in Makefile.am
+#ifdef __CINT__
+#pragma link off all globals;
+#pragma link off all classes;
+#pragma link off all functions;
+#pragma link C++ class AliHLTFilePublisher+;
+#pragma link C++ class AliHLTFileWriter+;
+#pragma link C++ class AliHLTRootFilePublisherComponent+;
+#pragma link C++ class AliHLTRootFileWriterComponent+;
+#pragma link C++ class AliHLTRootFileStreamerComponent+;
+#pragma link C++ class AliHLTLoaderPublisherComponent+;
+#pragma link C++ class AliHLTRawReaderPublisherComponent+;
+#pragma link C++ class AliHLTDataGenerator+;
+#pragma link C++ class AliHLTBlockFilterComponent+;
+#pragma link C++ class AliHLTAgentUtil+;
+#endif
diff --git a/HLT/CMakeLists.txt b/HLT/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5d7da2e
--- /dev/null
@@ -0,0 +1,92 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/EMCAL
+${CMAKE_SOURCE_DIR}/HLT
+${CMAKE_SOURCE_DIR}/HLT/BASE
+${CMAKE_SOURCE_DIR}/HLT/BASE/HOMER
+${CMAKE_SOURCE_DIR}/HLT/BASE/interface
+${CMAKE_SOURCE_DIR}/HLT/BASE/util
+${CMAKE_SOURCE_DIR}/HLT/EMCAL
+${CMAKE_SOURCE_DIR}/HLT/ITS
+${CMAKE_SOURCE_DIR}/HLT/MUON
+${CMAKE_SOURCE_DIR}/HLT/MUON/OfflineInterface
+${CMAKE_SOURCE_DIR}/HLT/MUON/OnlineAnalysis
+${CMAKE_SOURCE_DIR}/HLT/MUON/utils
+${CMAKE_SOURCE_DIR}/HLT/PHOS
+${CMAKE_SOURCE_DIR}/HLT/RCU
+${CMAKE_SOURCE_DIR}/HLT/SampleLib
+${CMAKE_SOURCE_DIR}/HLT/TPCLib
+${CMAKE_SOURCE_DIR}/HLT/TPCLib/comp
+${CMAKE_SOURCE_DIR}/HLT/TPCLib/offline
+${CMAKE_SOURCE_DIR}/HLT/TPCLib/tracking-ca
+${CMAKE_SOURCE_DIR}/HLT/TRD
+${CMAKE_SOURCE_DIR}/HLT/comp
+${CMAKE_SOURCE_DIR}/HLT/offline
+${CMAKE_SOURCE_DIR}/HLT/rec
+${CMAKE_SOURCE_DIR}/HLT/shuttle
+${CMAKE_SOURCE_DIR}/HLT/sim
+${CMAKE_SOURCE_DIR}/HLT/tracking-ca
+${CMAKE_SOURCE_DIR}/HLT/trigger
+${CMAKE_SOURCE_DIR}/ITS
+${CMAKE_SOURCE_DIR}/MUON
+${CMAKE_SOURCE_DIR}/MUON/mapping
+${CMAKE_SOURCE_DIR}/PHOS
+${CMAKE_SOURCE_DIR}/RAW
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/TPC
+${CMAKE_SOURCE_DIR}/TRD
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+ADD_DEFINITIONS(-Duse_aliroot -Duse_root -DROWHOUGHPARAMS -Duse_reconstruction -Duse_newio -DROOTVERSION=\"unchecked\" -DALIROOTVERSION=\"unchecked\" -D__ROOT__ -DUSE_ALILOG -DLINUX -DLIBHLTSIM_VERSION=0)
+
+SetModule()
+
+Include(CMake_libAliHLTHOMER.txt)
+
+Include(CMake_libHLTinterface.txt)
+
+Include(CMake_libAliHLTUtil.txt)
+
+Include(CMake_libAliHLTSample.txt)
+
+Include(CMake_libAliHLTRCU.txt)
+
+Include(CMake_libHLTshuttle.txt)
+
+Include(CMake_libAliHLTTrigger.txt)
+
+Include(CMake_libAliHLTMUON.txt)
+
+Include(CMake_libHLTrec.txt)
+
+Include(CMake_libHLTbase.txt)
+
+Include(CMake_libAliHLTTPC.txt)
+
+Include(CMake_libAliHLTTRD.txt)
+
+Include(CMake_libAliHLTComp.txt)
+
+Include(CMake_libAliHLTITS.txt)
+
+Include(CMake_libHLTsim.txt)
+
+Include(CMake_libAliHLTPHOS.txt)
+
+Include(CMake_libAliHLTEMCAL.txt)
+
+Include(CMake_bindHLTdumpraw.txt)
+
diff --git a/HLT/CMake_bindHLTdumpraw.txt b/HLT/CMake_bindHLTdumpraw.txt
new file mode 100644 (file)
index 0000000..baa9edb
--- /dev/null
@@ -0,0 +1,11 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+MUON/utils/dHLTdumpraw.cxx
+)
+
+Set(LIBS STEERBase ESD AOD RAWDatabase RAWDatarec RAWDatasim CDB STEER HLTbase
+         MUONevaluation MUONsim MUONrec MUONbase MUONtrigger MUONgeometry MUONraw
+         MUONcalib MUONmapping MUONcore AliHLTMUON AliHLTHOMER HLTshuttle)
+
+AddExecutable(dHLTdumpraw "${SRCS}" "${LIBS}")
diff --git a/HLT/CMake_libAliHLTComp.txt b/HLT/CMake_libAliHLTComp.txt
new file mode 100644 (file)
index 0000000..ba33275
--- /dev/null
@@ -0,0 +1,19 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+comp/AliHLTCompAgent.cxx
+comp/AliHLTCompPreprocessor.cxx
+comp/AliHLTCompDefinitions.cxx
+comp/AliHLTCOMPHuffmanAltro.cxx
+comp/AliHLTCOMPHuffmanAltroComponent.cxx
+comp/AliHLTCOMPHuffmanCodeData.cxx
+comp/AliHLTCOMPHuffmanData.cxx
+comp/AliHLTCOMPHuffmanOccurrenceData.cxx
+comp/AliHLTCOMPHuffmanAltroCalibComponent.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(AliHLTComp "${SRCS}" "${HDRS}")
diff --git a/HLT/CMake_libAliHLTEMCAL.txt b/HLT/CMake_libAliHLTEMCAL.txt
new file mode 100644 (file)
index 0000000..0d99354
--- /dev/null
@@ -0,0 +1,15 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+EMCAL/AliHLTEMCALClusterizerComponent.cxx
+EMCAL/AliHLTEMCALDefinitions.cxx
+EMCAL/AliHLTEMCALTrackerComponent.cxx
+EMCAL/AliHLTEMCALCalibrationComponent.cxx
+EMCAL/AliHLTEMCALUtils.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(AliHLTEMCAL "${SRCS}" "${HDRS}")
diff --git a/HLT/CMake_libAliHLTHOMER.txt b/HLT/CMake_libAliHLTHOMER.txt
new file mode 100644 (file)
index 0000000..3becfe1
--- /dev/null
@@ -0,0 +1,21 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+BASE/HOMER/AliHLTHOMERReader.cxx
+BASE/HOMER/AliHLTHOMERWriter.cxx
+)
+
+Set_source_files_properties(${SRCS} PROPERTIES COMPILE_FLAGS 
+  "-Duse_aliroot -DUSE_ROOT -Duse_root -DROWHOUGHPARAMS -Duse_reconstruction -Duse_newio -DROOTVERSION=\"unchecked\" -DALIROOTVERSION=\"unchecked\" -D__ROOT__ -DUSE_ALILOG -DLINUX")
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+
+Set(HDRS "${HDRS}"
+BASE/HOMER/AliHLTHOMERData.h
+)
+
+AddLibrary(AliHLTHOMER "${SRCS}" "${HDRS}")
+
diff --git a/HLT/CMake_libAliHLTITS.txt b/HLT/CMake_libAliHLTITS.txt
new file mode 100644 (file)
index 0000000..6b71a84
--- /dev/null
@@ -0,0 +1,14 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+ITS/AliHLTITStrack.cxx
+ITS/AliHLTITStracker.cxx
+ITS/AliHLTITSVertexerZ.cxx
+ITS/AliHLTITSclusterer.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(AliHLTITS "${SRCS}" "${HDRS}")
diff --git a/HLT/CMake_libAliHLTMUON.txt b/HLT/CMake_libAliHLTMUON.txt
new file mode 100644 (file)
index 0000000..92b97ba
--- /dev/null
@@ -0,0 +1,53 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+MUON/OfflineInterface/AliHLTMUONAgent.cxx
+MUON/OfflineInterface/AliHLTMUONTriggerRecordsSource.cxx
+MUON/OfflineInterface/AliHLTMUONRecHitsSource.cxx
+MUON/OfflineInterface/AliHLTMUONDigitPublisherComponent.cxx
+MUON/OfflineInterface/AliHLTMUONRootifierComponent.cxx
+MUON/OfflineInterface/AliHLTMUONESDMaker.cxx
+MUON/OnlineAnalysis/AliHLTMUONTriggerReconstructorComponent.cxx
+MUON/OnlineAnalysis/AliHLTMUONHitReconstructorComponent.cxx
+MUON/OnlineAnalysis/AliHLTMUONMansoTrackerFSMComponent.cxx
+MUON/OnlineAnalysis/AliHLTMUONDecisionComponent.cxx
+MUON/utils/AliHLTMUONEmptyEventFilterComponent.cxx
+MUON/utils/AliHLTMUONDataCheckerComponent.cxx
+MUON/AliHLTMUONProcessor.cxx
+MUON/AliHLTMUONRecHit.cxx
+MUON/AliHLTMUONTriggerRecord.cxx
+MUON/AliHLTMUONMansoTrack.cxx
+MUON/AliHLTMUONDecision.cxx
+MUON/AliHLTMUONEvent.cxx
+MUON/AliHLTMUONUtils.cxx
+MUON/AliHLTMUONConstants.cxx
+MUON/AliHLTMUONTriggerRecordsBlockStruct.cxx
+MUON/AliHLTMUONTrigRecsDebugBlockStruct.cxx
+MUON/AliHLTMUONRecHitsBlockStruct.cxx
+MUON/AliHLTMUONClustersBlockStruct.cxx
+MUON/AliHLTMUONChannelsBlockStruct.cxx
+MUON/AliHLTMUONMansoTracksBlockStruct.cxx
+MUON/AliHLTMUONMansoCandidatesBlockStruct.cxx
+MUON/AliHLTMUONSinglesDecisionBlockStruct.cxx
+MUON/AliHLTMUONPairsDecisionBlockStruct.cxx
+MUON/OnlineAnalysis/AliHLTMUONCalculations.cxx
+MUON/OnlineAnalysis/AliHLTMUONTriggerReconstructor.cxx
+MUON/OnlineAnalysis/AliHLTMUONHitReconstructor.cxx
+MUON/OnlineAnalysis/AliHLTMUONMansoTrackerFSM.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+Set(HDRS "${HDRS}"
+MUON/AliHLTMUONDataBlockReader.h
+MUON/AliHLTMUONDataBlockWriter.h
+MUON/AliHLTMUONDataTypes.h
+MUON/AliHLTMUONList.h
+MUON/AliHLTMUONCountedList.h
+MUON/OnlineAnalysis/AliHLTMUONMansoTrackerFSMCallback.h
+)
+
+AddLibrary(AliHLTMUON "${SRCS}" "${HDRS}")
+
diff --git a/HLT/CMake_libAliHLTPHOS.txt b/HLT/CMake_libAliHLTPHOS.txt
new file mode 100644 (file)
index 0000000..2d5387e
--- /dev/null
@@ -0,0 +1,85 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+PHOS/AliHLTPHOSBase.cxx
+PHOS/AliHLTPHOSClusterizer.cxx
+PHOS/AliHLTPHOSClusterizerComponent.cxx
+PHOS/AliHLTPHOSDataCorruptor.cxx
+PHOS/AliHLTPHOSDataQualityMonitor.cxx
+PHOS/AliHLTPHOSDefinitions.cxx
+PHOS/AliHLTPHOSEmcCalibData.cxx
+PHOS/AliHLTPHOSPhysicsAnalyzer.cxx
+PHOS/AliHLTPHOSPhysicsAnalyzerPeakFitter.cxx
+PHOS/AliHLTPHOSPhysicsAnalyzerSpectrum.cxx
+PHOS/AliHLTPHOSPhysicsAnalyzerSpectrumComponent.cxx
+PHOS/AliHLTPHOSProcessor.cxx
+PHOS/AliHLTPHOSPulseGenerator.cxx
+PHOS/AliHLTPHOSRawAnalyzer.cxx
+PHOS/AliHLTPHOSRawAnalyzerChiSquareFit.cxx
+PHOS/AliHLTPHOSRawAnalyzerComponent.cxx
+PHOS/AliHLTPHOSRawAnalyzerCrude.cxx
+PHOS/AliHLTPHOSRawAnalyzerCrudeComponent.cxx
+PHOS/AliHLTPHOSRawAnalyzerKLevel.cxx
+PHOS/AliHLTPHOSRawAnalyzerLMS.cxx
+PHOS/AliHLTPHOSRawAnalyzerPeakFinderComponent.cxx
+PHOS/AliHLTPHOSRcuDataQualityMonitorComponent.cxx
+PHOS/AliHLTPHOSRcuHistogramProducer.cxx
+PHOS/AliHLTPHOSRcuHistogramProducerComponent.cxx
+PHOS/AliHLTPHOSRcuProcessor.cxx
+PHOS/AliHLTPHOSMapper.cxx
+PHOS/AliHLTPHOSRawAnalyzerPeakFinder.cxx
+PHOS/AliHLTPHOSSanityInspector.cxx
+PHOS/AliHLTPHOSDigitMaker.cxx
+PHOS/AliHLTPHOSDigitMakerComponent.cxx
+PHOS/AliHLTPHOSDigit.cxx
+PHOS/AliHLTPHOSBaselineAnalyzer.cxx
+PHOS/AliHLTPHOSBaselineAnalyzerComponent.cxx
+PHOS/AliHLTPHOSBaseline.cxx
+PHOS/AliHLTPHOSConfig.cxx
+PHOS/AliHLTPHOSAltroConfig.cxx
+PHOS/AliHLTPHOSSharedMemoryInterface.cxx
+PHOS/AliHLTPHOSClusterAnalyser.cxx
+PHOS/AliHLTPHOSClusterAnalyserComponent.cxx
+PHOS/AliHLTPHOSESDMaker.cxx
+PHOS/AliHLTPHOSESDMakerComponent.cxx
+PHOS/AliHLTPHOSRcuCalibrationProcessorComponent.cxx
+PHOS/AliHLTPHOSRcuCalibrationProcessor.cxx
+PHOS/AliHLTPHOSPattern.cxx
+PHOS/AliHLTPHOSRcuAltroPatternTest.cxx
+PHOS/AliHLTPHOSRcuAltroPatternTestComponent.cxx
+PHOS/AliHLTPHOSModuleCalibrationProcessorComponent.cxx
+PHOS/AliHLTPHOSRcuDAComponent.cxx
+PHOS/AliHLTPHOSRcuProperties.cxx
+PHOS/AliHLTPHOSUtilities.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+
+Set(HDRS "${HDRS}"
+PHOS/AliHLTPHOSCommonDefs.h
+PHOS/AliHLTPHOSConstants.h
+PHOS/AliHLTPHOSRecPointDataStruct.h
+PHOS/AliHLTPHOSRawAnalyzer.h
+PHOS/AliHLTPHOSDefinitions.h
+PHOS/AliHLTPHOSModuleCellEnergyDataStruct.h
+PHOS/AliHLTPHOSRcuCellEnergyDataStruct.h
+PHOS/AliHLTPHOSValidCellDataStruct.h
+PHOS/AliHLTPHOSDataHeaderStruct.h
+PHOS/AliHLTPHOSModuleCellAccumulatedEnergyDataStruct.h
+PHOS/AliHLTPHOSModuleCellAverageEnergyDataStruct.h
+PHOS/AliHLTPHOSRcuCellAccumulatedEnergyDataStruct.h
+PHOS/AliHLTPHOSRcuCellAverageEnergyDataStruct.h
+PHOS/AliHLTPHOSRecPointDataStruct.h
+PHOS/AliHLTPHOSRecPointContainerStruct.h
+PHOS/AliHLTPHOSDigitContainerDataStruct.h
+PHOS/AliHLTPHOSRcuDigitContainerDataStruct.h
+PHOS/AliHLTPHOSDigitDataStruct.h
+PHOS/AliHLTPHOSCaloClusterDataStruct.h
+PHOS/AliHLTPHOSCaloClusterContainerStruct.h
+)
+
+AddLibrary(AliHLTPHOS "${SRCS}" "${HDRS}")
+
diff --git a/HLT/CMake_libAliHLTRCU.txt b/HLT/CMake_libAliHLTRCU.txt
new file mode 100644 (file)
index 0000000..65d00c3
--- /dev/null
@@ -0,0 +1,14 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+RCU/AliHLTAltroChannelSelectorComponent.cxx
+RCU/AliHLTAltroEncoder.cxx
+RCU/AliHLTAltroGenerator.cxx
+RCU/AliHLTRCUAgent.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(AliHLTRCU "${SRCS}" "${HDRS}")
diff --git a/HLT/CMake_libAliHLTSample.txt b/HLT/CMake_libAliHLTSample.txt
new file mode 100644 (file)
index 0000000..3fc685a
--- /dev/null
@@ -0,0 +1,17 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+SampleLib/AliHLTSampleComponent1.cxx
+SampleLib/AliHLTSampleComponent2.cxx
+SampleLib/AliHLTSampleMonitoringComponent.cxx
+SampleLib/AliHLTAgentSample.cxx
+SampleLib/AliHLTSamplePreprocessor.cxx
+SampleLib/AliHLTSampleOfflineSinkComponent.cxx
+SampleLib/AliHLTDummyComponent.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(AliHLTSample "${SRCS}" "${HDRS}")
diff --git a/HLT/CMake_libAliHLTTPC.txt b/HLT/CMake_libAliHLTTPC.txt
new file mode 100644 (file)
index 0000000..90b6b73
--- /dev/null
@@ -0,0 +1,104 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+TPClib/AliHLTTPCTransform.cxx
+TPClib/AliHLTTPCAgent.cxx
+TPClib/AliHLTTPCMemHandler.cxx
+TPClib/AliHLTTPCDataCompressorHelper.cxx
+TPClib/AliHLTTPCFitter.cxx
+TPClib/AliHLTTPCFileHandler.cxx
+TPClib/AliHLTTPCClusterFinder.cxx
+TPClib/AliHLTTPCMapping.cxx
+TPClib/AliHLTTPCDigitReader.cxx
+TPClib/AliHLTTPCDigitReaderPacked.cxx
+TPClib/AliHLTTPCDigitReaderUnpacked.cxx
+TPClib/AliHLTTPCDigitReaderDecoder.cxx
+TPClib/AliHLTTPCDigitDumpComponent.cxx
+TPClib/AliHLTTPCZeroSuppressionComponent.cxx
+TPClib/AliHLTTPCNoiseMap.cxx
+TPClib/AliHLTTPCNoiseMapComponent.cxx
+TPClib/AliHLTTPCVertex.cxx
+TPClib/AliHLTTPCVertexArray.cxx
+TPClib/AliHLTTPCVertexFinder.cxx
+TPClib/AliHLTTPCTrackArray.cxx
+TPClib/AliHLTTPCTrack.cxx
+TPClib/offline/AliHLTTPCDigitPublisherComponent.cxx
+TPClib/offline/AliHLTTPCOfflineClustererComponent.cxx
+TPClib/offline/AliHLTTPCOfflineTrackerComponent.cxx
+TPClib/offline/AliHLTTPCOfflineCalibrationComponent.cxx
+TPClib/offline/AliHLTTPCOfflineCluster.cxx
+TPClib/AliHLTTPCClusters.cxx
+TPClib/AliHLTTPCConfMapFit.cxx
+TPClib/AliHLTTPCConfMapTrack.cxx
+TPClib/AliHLTTPCConfMapPoint.cxx
+TPClib/AliHLTTPCConfMapper.cxx
+TPClib/AliHLTTPCModelTrack.cxx
+TPClib/AliHLTTPCMerger.cxx
+TPClib/AliHLTTPCTrackMerger.cxx
+TPClib/AliHLTTPCGlobalMerger.cxx
+TPClib/AliHLTTPCInterMerger.cxx
+TPClib/AliHLTTPCPad.cxx
+TPClib/AliHLTTPCDefinitions.cxx
+TPClib/AliHLTTPCRawDataUnpackerComponent.cxx
+TPClib/AliHLTTPCClusterFinderComponent.cxx
+TPClib/AliHLTTPCVertexFinderComponent.cxx
+TPClib/AliHLTTPCSliceTrackerComponent.cxx
+TPClib/AliHLTTPCGlobalMergerComponent.cxx
+TPClib/AliHLTTPCEsdWriterComponent.cxx
+TPClib/AliHLTTPCHistogramHandlerComponent.cxx
+TPClib/AliHLTTPCClusterConverterComponent.cxx
+TPClib/tracking-ca/AliHLTTPCCACell.cxx
+TPClib/tracking-ca/AliHLTTPCCADisplay.cxx
+TPClib/tracking-ca/AliHLTTPCCAHit.cxx
+TPClib/tracking-ca/AliHLTTPCCAOutTrack.cxx
+TPClib/tracking-ca/AliHLTTPCCAParam.cxx
+TPClib/tracking-ca/AliHLTTPCCARow.cxx
+TPClib/tracking-ca/AliHLTTPCCATrackerComponent.cxx
+TPClib/tracking-ca/AliHLTTPCCATracker.cxx
+TPClib/tracking-ca/AliHLTTPCCATrack.cxx
+TPClib/tracking-ca/AliHLTTPCCATrackPar.cxx
+TPClib/comp/AliHLTTPCCompDataCompressorHelper.cxx
+TPClib/comp/AliHLTTPCCompDumpComponent.cxx
+TPClib/comp/AliHLTTPCCompModelAnalysis.cxx
+TPClib/comp/AliHLTTPCCompModelConverter.cxx
+TPClib/comp/AliHLTTPCCompModelConverterComponent.cxx
+TPClib/comp/AliHLTTPCCompModelDeconverter.cxx
+TPClib/comp/AliHLTTPCCompModelDeconverterComponent.cxx
+TPClib/comp/AliHLTTPCCompModelDeflater.cxx
+TPClib/comp/AliHLTTPCCompModelDeflaterComponent.cxx
+TPClib/comp/AliHLTTPCCompModelInflater.cxx
+TPClib/comp/AliHLTTPCCompModelInflaterComponent.cxx
+TPClib/AliHLTTPCCalibPedestalComponent.cxx
+TPClib/AliHLTTPCCalibPulserComponent.cxx
+TPClib/AliHLTTPCCalibCEComponent.cxx
+TPClib/AliHLTTPCEventStatistics.cxx
+TPClib/AliHLTTPCEventStatisticsProducerComponent.cxx
+TPClib/AliHLTTPCRunStatistics.cxx
+TPClib/AliHLTTPCRunStatisticsProducerComponent.cxx
+TPClib/AliHLTTPCKryptonClusterFinder.cxx
+TPClib/AliHLTTPCKryptonClusterFinderComponent.cxx
+TPClib/AliHLTTPCClusterHistoComponent.cxx
+TPClib/AliHLTTPCTrackHistoComponent.cxx
+TPClib/AliHLTTPCTrackDumpComponent.cxx
+TPClib/AliHLTTPCClusterDumpComponent.cxx
+TPCLib/AliHLTTPCLog.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+
+set(HDRS ${HDRS}
+TPClib/AliHLTTPCLogging.h
+TPClib/AliHLTTPCSpacePointData.h
+TPClib/AliHLTTPCRootTypes.h
+TPClib/AliHLTTPCDigitData.h
+TPClib/AliHLTTPCTrackSegmentData.h
+TPClib/AliHLTTPCVertexData.h
+TPClib/AliHLTTPCTrackletDataFormat.h
+TPClib/AliHLTTPCClusterDataFormat.h
+TPClib/AliHLTTPCModels.h
+)
+
+AddLibrary(AliHLTTPC "${SRCS}" "${HDRS}")
diff --git a/HLT/CMake_libAliHLTTRD.txt b/HLT/CMake_libAliHLTTRD.txt
new file mode 100644 (file)
index 0000000..db9f173
--- /dev/null
@@ -0,0 +1,17 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+TRD/AliHLTTRDClusterizerComponent.cxx
+TRD/AliHLTTRDDefinitions.cxx
+TRD/AliHLTTRDTrackerComponent.cxx
+TRD/AliHLTTRDTrackerV1Component.cxx
+TRD/AliTRDclusterizerHLT.cxx
+TRD/AliHLTTRDEsdWriterComponent.cxx
+TRD/AliHLTTRDCalibrationComponent.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(AliHLTTRD "${SRCS}" "${HDRS}")
diff --git a/HLT/CMake_libAliHLTTrigger.txt b/HLT/CMake_libAliHLTTrigger.txt
new file mode 100644 (file)
index 0000000..d3a8620
--- /dev/null
@@ -0,0 +1,15 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+trigger/AliHLTEventSummary.cxx
+trigger/AliHLTEventSummaryProducerComponent.cxx
+trigger/AliHLTRunSummary.cxx
+trigger/AliHLTRunSummaryProducerComponent.cxx
+trigger/AliHLTTriggerSelectiveReadoutComponent.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(AliHLTTrigger "${SRCS}" "${HDRS}")
diff --git a/HLT/CMake_libAliHLTUtil.txt b/HLT/CMake_libAliHLTUtil.txt
new file mode 100644 (file)
index 0000000..a4a6c6b
--- /dev/null
@@ -0,0 +1,29 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+BASE/util/AliHLTFilePublisher.cxx
+BASE/util/AliHLTFileWriter.cxx
+BASE/util/AliHLTRootFilePublisherComponent.cxx
+BASE/util/AliHLTRootFileWriterComponent.cxx
+BASE/util/AliHLTRootFileStreamerComponent.cxx
+BASE/util/AliHLTLoaderPublisherComponent.cxx
+BASE/util/AliHLTRawReaderPublisherComponent.cxx
+BASE/util/AliHLTOUTPublisherComponent.cxx
+BASE/util/AliHLTEsdCollectorComponent.cxx
+BASE/util/AliHLTDataGenerator.cxx
+BASE/util/AliHLTBlockFilterComponent.cxx
+BASE/util/AliHLTAgentUtil.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(AliHLTUtil "${SRCS}" "${HDRS}")
+
+
+
+
+
+
+
diff --git a/HLT/CMake_libHLTbase.txt b/HLT/CMake_libHLTbase.txt
new file mode 100644 (file)
index 0000000..40a62de
--- /dev/null
@@ -0,0 +1,52 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+BASE/AliHLTComponent.cxx
+BASE/AliHLTComponentHandler.cxx
+BASE/AliHLTSystem.cxx
+BASE/AliHLTReconstructorBase.cxx
+BASE/AliHLTProcessor.cxx
+BASE/AliHLTCalibrationProcessor.cxx
+BASE/AliHLTConfiguration.cxx
+BASE/AliHLTConfigurationHandler.cxx
+BASE/AliHLTTask.cxx
+BASE/AliHLTLogging.cxx
+BASE/AliHLTDataBuffer.cxx
+BASE/AliHLTConsumerDescriptor.cxx
+BASE/AliHLTDataSource.cxx
+BASE/AliHLTDataSink.cxx
+BASE/AliHLTOfflineInterface.cxx
+BASE/AliHLTOfflineDataSource.cxx
+BASE/AliHLTOfflineDataSink.cxx
+BASE/AliHLTModuleAgent.cxx
+BASE/AliHLTModulePreprocessor.cxx
+BASE/AliHLTShuttleInterface.cxx
+BASE/AliHLTHOMERLibManager.cxx
+BASE/AliHLTHOMERBlockDesc.cxx
+BASE/AliHLTHOMERSourceDesc.cxx
+BASE/AliHLTEsdManager.cxx
+BASE/AliHLTOUT.cxx
+BASE/AliHLTOUTHomerBuffer.cxx
+BASE/AliHLTOUTHandler.cxx
+BASE/AliHLTOUTHandlerEquId.cxx
+BASE/AliHLTMemoryFile.cxx
+BASE/AliHLTMessage.cxx
+BASE/AliHLTEventStatistics.cxx
+BASE/AliHLTRunStatistics.cxx
+BASE/AliHLT_C_Component_WrapperInterface.cxx
+BASE/AliHLTDataTypes.cxx 
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+set(HDRS ${HDRS}
+BASE/AliHLTCommonCDBEntries.h 
+BASE/AliHLTMisc.h 
+BASE/AliHLTDefinitions.h 
+BASE/AliHLTStdIncludes.h
+)
+
+AddLibrary(HLTbase "${SRCS}" "${HDRS}")
+
diff --git a/HLT/CMake_libHLTinterface.txt b/HLT/CMake_libHLTinterface.txt
new file mode 100644 (file)
index 0000000..bcbf134
--- /dev/null
@@ -0,0 +1,11 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+BASE/interface/AliHLTExternalInterface.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(HLTinterface "${SRCS}" "${HDRS}")
diff --git a/HLT/CMake_libHLTrec.txt b/HLT/CMake_libHLTrec.txt
new file mode 100644 (file)
index 0000000..4de3bd8
--- /dev/null
@@ -0,0 +1,16 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+rec/AliHLTReconstructor.cxx
+rec/AliRawReaderHLT.cxx
+rec/AliHLTOUTHomerCollection.cxx
+rec/AliHLTEsdManagerImplementation.cxx
+rec/AliHLTOUTDigitReader.cxx
+rec/AliHLTOUTRawReader.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(HLTrec "${SRCS}" "${HDRS}")
diff --git a/HLT/CMake_libHLTshuttle.txt b/HLT/CMake_libHLTshuttle.txt
new file mode 100644 (file)
index 0000000..daab83a
--- /dev/null
@@ -0,0 +1,11 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+shuttle/AliHLTPreprocessor.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(HLTshuttle "${SRCS}" "${HDRS}")
diff --git a/HLT/CMake_libHLTsim.txt b/HLT/CMake_libHLTsim.txt
new file mode 100644 (file)
index 0000000..e831447
--- /dev/null
@@ -0,0 +1,13 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+sim/AliHLTSimulation.cxx
+sim/AliHLTAgentSim.cxx
+sim/AliHLTOUTComponent.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(HLTsim "${SRCS}" "${HDRS}")
diff --git a/HLT/HLTbaseLinkDef.h b/HLT/HLTbaseLinkDef.h
new file mode 100644 (file)
index 0000000..dc377e8
--- /dev/null
@@ -0,0 +1,40 @@
+//automatically generated ROOT DICT definition
+//!!! DO NOT EDIT THIS FILE !!!
+//add further class definitions to the CLASS_HDRS variable in Makefile.am
+#ifdef __CINT__
+#pragma link off all globals;
+#pragma link off all classes;
+#pragma link off all functions;
+#pragma link C++ class AliHLTComponent+;
+#pragma link C++ class AliHLTComponentHandler+;
+#pragma link C++ class AliHLTSystem+;
+#pragma link C++ class AliHLTReconstructorBase+;
+#pragma link C++ class AliHLTProcessor+;
+#pragma link C++ class AliHLTCalibrationProcessor+;
+#pragma link C++ class AliHLTConfiguration+;
+#pragma link C++ class AliHLTConfigurationHandler+;
+#pragma link C++ class AliHLTTask+;
+#pragma link C++ class AliHLTLogging+;
+#pragma link C++ class AliHLTDataBuffer+;
+#pragma link C++ class AliHLTConsumerDescriptor+;
+#pragma link C++ class AliHLTDataSource+;
+#pragma link C++ class AliHLTDataSink+;
+#pragma link C++ class AliHLTOfflineInterface+;
+#pragma link C++ class AliHLTOfflineDataSource+;
+#pragma link C++ class AliHLTOfflineDataSink+;
+#pragma link C++ class AliHLTModuleAgent+;
+#pragma link C++ class AliHLTModulePreprocessor+;
+#pragma link C++ class AliHLTShuttleInterface+;
+#pragma link C++ class AliHLTHOMERLibManager+;
+#pragma link C++ class AliHLTHOMERBlockDesc+;
+#pragma link C++ class AliHLTHOMERSourceDesc+;
+#pragma link C++ class AliHLTEsdManager+;
+#pragma link C++ class AliHLTOUT+;
+#pragma link C++ class AliHLTOUTHomerBuffer+;
+#pragma link C++ class AliHLTOUTHandler+;
+#pragma link C++ class AliHLTOUTHandlerEquId+;
+#pragma link C++ class AliHLTMemoryFile+;
+#pragma link C++ class AliHLTMessage+;
+#pragma link C++ class AliHLTEventStatistics+;
+#pragma link C++ class AliHLTRunStatistics+;
+#endif
diff --git a/HLT/ITS/AliHLTITSLinkDef.h b/HLT/ITS/AliHLTITSLinkDef.h
new file mode 100644 (file)
index 0000000..d87baa5
--- /dev/null
@@ -0,0 +1,12 @@
+//automatically generated ROOT DICT definition
+//!!! DO NOT EDIT THIS FILE !!!
+//add further class definitions to the CLASS_HDRS variable in Makefile.am
+#ifdef __CINT__
+#pragma link off all globals;
+#pragma link off all classes;
+#pragma link off all functions;
+#pragma link C++ class AliHLTITStrack+;
+#pragma link C++ class AliHLTITStracker+;
+#pragma link C++ class AliHLTITSVertexerZ+;
+#pragma link C++ class AliHLTITSclusterer+;
+#endif
diff --git a/HLT/RCU/AliHLTRCULinkDef.h b/HLT/RCU/AliHLTRCULinkDef.h
new file mode 100644 (file)
index 0000000..cf33d46
--- /dev/null
@@ -0,0 +1,12 @@
+//automatically generated ROOT DICT definition
+//!!! DO NOT EDIT THIS FILE !!!
+//add further class definitions to the CLASS_HDRS variable in Makefile.am
+#ifdef __CINT__
+#pragma link off all globals;
+#pragma link off all classes;
+#pragma link off all functions;
+#pragma link C++ class AliHLTAltroChannelSelectorComponent+;
+#pragma link C++ class AliHLTAltroEncoder+;
+#pragma link C++ class AliHLTAltroGenerator+;
+#pragma link C++ class AliHLTRCUAgent+;
+#endif
diff --git a/HLT/SampleLib/AliHLTSampleLinkDef.h b/HLT/SampleLib/AliHLTSampleLinkDef.h
new file mode 100644 (file)
index 0000000..6a74f08
--- /dev/null
@@ -0,0 +1,15 @@
+//automatically generated ROOT DICT definition
+//!!! DO NOT EDIT THIS FILE !!!
+//add further class definitions to the CLASS_HDRS variable in Makefile.am
+#ifdef __CINT__
+#pragma link off all globals;
+#pragma link off all classes;
+#pragma link off all functions;
+#pragma link C++ class AliHLTSampleComponent1+;
+#pragma link C++ class AliHLTSampleComponent2+;
+#pragma link C++ class AliHLTSampleMonitoringComponent+;
+#pragma link C++ class AliHLTAgentSample+;
+#pragma link C++ class AliHLTSamplePreprocessor+;
+#pragma link C++ class AliHLTSampleOfflineSinkComponent+;
+#pragma link C++ class AliHLTDummyComponent+;
+#endif
diff --git a/HLT/TPCLib/AliHLTTPCLinkDef.h b/HLT/TPCLib/AliHLTTPCLinkDef.h
new file mode 100644 (file)
index 0000000..9fce0d2
--- /dev/null
@@ -0,0 +1,73 @@
+
+#ifdef __CINT__
+#pragma link off all globals;
+#pragma link off all classes;
+#pragma link off all functions;
+#pragma link C++ class  AliHLTTPCTransform+;
+#pragma link C++ class  AliHLTTPCAgent+;
+#pragma link C++ class  AliHLTTPCMemHandler+;
+#pragma link C++ class  AliHLTTPCDataCompressorHelper+;
+#pragma link C++ class  AliHLTTPCFitter+;
+#pragma link C++ class  AliHLTTPCFileHandler+;
+#pragma link C++ class  AliHLTTPCClusterFinder+;
+#pragma link C++ class  AliHLTTPCMapping+;
+#pragma link C++ class  AliHLTTPCDigitReader+;
+#pragma link C++ class  AliHLTTPCDigitReaderPacked+;
+#pragma link C++ class  AliHLTTPCDigitReaderUnpacked+;
+#pragma link C++ class  AliHLTTPCDigitReaderDecoder+;
+#pragma link C++ class  AliHLTTPCDigitDumpComponent+;
+#pragma link C++ class  AliHLTTPCZeroSuppressionComponent+;
+#pragma link C++ class  AliHLTTPCNoiseMapComponent+;
+#pragma link C++ class  AliHLTTPCVertex+;
+#pragma link C++ class  AliHLTTPCVertexArray+;
+#pragma link C++ class  AliHLTTPCVertexFinder+;
+#pragma link C++ class  AliHLTTPCTrackArray+;
+#pragma link C++ class  AliHLTTPCTrack+;
+#pragma link C++ class  AliHLTTPCDigitPublisherComponent+;
+#pragma link C++ class  AliHLTTPCClusters+;
+#pragma link C++ class  AliHLTTPCConfMapFit+;
+#pragma link C++ class  AliHLTTPCConfMapTrack+;
+#pragma link C++ class  AliHLTTPCConfMapPoint+;
+#pragma link C++ class  AliHLTTPCConfMapper+;
+#pragma link C++ class  AliHLTTPCModelTrack+;
+#pragma link C++ class  AliHLTTPCMerger+;
+#pragma link C++ class  AliHLTTPCTrackMerger+;
+#pragma link C++ class  AliHLTTPCGlobalMerger+;
+#pragma link C++ class  AliHLTTPCInterMerger+;
+#pragma link C++ class  AliHLTTPCPad+;
+#pragma link C++ class  AliHLTTPCDefinitions+;
+#pragma link C++ class  AliHLTTPCRawDataUnpackerComponent+;
+#pragma link C++ class  AliHLTTPCClusterFinderComponent+;
+#pragma link C++ class  AliHLTTPCVertexFinderComponent+;
+#pragma link C++ class  AliHLTTPCSliceTrackerComponent+;
+#pragma link C++ class  AliHLTTPCGlobalMergerComponent+;
+#pragma link C++ class  AliHLTTPCEsdWriterComponent+;
+#pragma link C++ class  AliHLTTPCCACell+;
+#pragma link C++ class  AliHLTTPCCADisplay+;
+#pragma link C++ class  AliHLTTPCCAHit+;
+#pragma link C++ class  AliHLTTPCCAOutTrack+;
+#pragma link C++ class  AliHLTTPCCAParam+;
+#pragma link C++ class  AliHLTTPCCARow+;
+#pragma link C++ class  AliHLTTPCCATrackerComponent+;
+#pragma link C++ class  AliHLTTPCCATracker+;
+#pragma link C++ class  AliHLTTPCCATrack+;
+#pragma link C++ class  AliHLTTPCCATrackPar+;
+#pragma link C++ class  AliHLTTPCCompDataCompressorHelper+;
+#pragma link C++ class  AliHLTTPCCompDumpComponent+;
+#pragma link C++ class  AliHLTTPCCompModelAnalysis+;
+#pragma link C++ class  AliHLTTPCCompModelConverter+;
+#pragma link C++ class  AliHLTTPCCompModelConverterComponent+;
+#pragma link C++ class  AliHLTTPCCompModelDeconverter+;
+#pragma link C++ class  AliHLTTPCCompModelDeconverterComponent+;
+#pragma link C++ class  AliHLTTPCCompModelDeflater+;
+#pragma link C++ class  AliHLTTPCCompModelDeflaterComponent+;
+#pragma link C++ class  AliHLTTPCCompModelInflater+;
+#pragma link C++ class  AliHLTTPCCompModelInflaterComponent+;
+#pragma link C++ class  AliHLTTPCCalibPedestalComponent+;
+#pragma link C++ class  AliHLTTPCCalibPulserComponent+;
+#pragma link C++ class  AliHLTTPCCalibCEComponent+;
+#pragma link C++ class  AliHLTTPCEventStatistics+;
+#pragma link C++ class  AliHLTTPCEventStatisticsProducerComponent+;
+#pragma link C++ class  AliHLTTPCRunStatistics+;
+#pragma link C++ class  AliHLTTPCRunStatisticsProducerComponent+;
+#endif
diff --git a/HLT/comp/AliHLTCompLinkDef.h b/HLT/comp/AliHLTCompLinkDef.h
new file mode 100644 (file)
index 0000000..a51c220
--- /dev/null
@@ -0,0 +1,17 @@
+//automatically generated ROOT DICT definition
+//!!! DO NOT EDIT THIS FILE !!!
+//add further class definitions to the CLASS_HDRS variable in Makefile.am
+#ifdef __CINT__
+#pragma link off all globals;
+#pragma link off all classes;
+#pragma link off all functions;
+#pragma link C++ class AliHLTCompAgent+;
+#pragma link C++ class AliHLTCompPreprocessor+;
+#pragma link C++ class AliHLTCompDefinitions+;
+#pragma link C++ class AliHLTCOMPHuffmanAltro+;
+#pragma link C++ class AliHLTCOMPHuffmanAltroComponent+;
+#pragma link C++ class AliHLTCOMPHuffmanCodeData+;
+#pragma link C++ class AliHLTCOMPHuffmanData+;
+#pragma link C++ class AliHLTCOMPHuffmanOccurrenceData+;
+#pragma link C++ class AliHLTCOMPHuffmanAltroCalibComponent+;
+#endif
diff --git a/HLT/rec/HLTrecLinkDef.h b/HLT/rec/HLTrecLinkDef.h
new file mode 100644 (file)
index 0000000..1bc19c7
--- /dev/null
@@ -0,0 +1,12 @@
+
+#ifdef __CINT__
+#pragma link off all globals;
+#pragma link off all classes;
+#pragma link off all functions;
+#pragma link C++ class AliHLTReconstructor+;
+#pragma link C++ class AliRawReaderHLT+;
+#pragma link C++ class AliHLTOUTHomerCollection+;
+#pragma link C++ class AliHLTEsdManager+;
+#pragma link C++ class AliHLTOUTDigitReader+;
+#pragma link C++ class AliHLTOUTRawReader+;
+#endif
diff --git a/HLT/shuttle/HLTshuttleLinkDef.h b/HLT/shuttle/HLTshuttleLinkDef.h
new file mode 100644 (file)
index 0000000..bf6352b
--- /dev/null
@@ -0,0 +1,9 @@
+//automatically generated ROOT DICT definition
+//!!! DO NOT EDIT THIS FILE !!!
+//add further class definitions to the CLASS_HDRS variable in Makefile.am
+#ifdef __CINT__
+#pragma link off all globals;
+#pragma link off all classes;
+#pragma link off all functions;
+#pragma link C++ class AliHLTPreprocessor+;
+#endif
diff --git a/HLT/sim/HLTsimLinkDef.h b/HLT/sim/HLTsimLinkDef.h
new file mode 100644 (file)
index 0000000..b248353
--- /dev/null
@@ -0,0 +1,11 @@
+//automatically generated ROOT DICT definition
+//!!! DO NOT EDIT THIS FILE !!!
+//add further class definitions to the CLASS_HDRS variable in Makefile.am
+#ifdef __CINT__
+#pragma link off all globals;
+#pragma link off all classes;
+#pragma link off all functions;
+#pragma link C++ class AliHLTSimulation+;
+#pragma link C++ class AliHLTAgentSim+;
+#pragma link C++ class AliHLTOUTComponent+;
+#endif
index bcd2a85..fd31cf5 100644 (file)
@@ -6,9 +6,11 @@
 #pragma link off all classes;
 #pragma link off all functions;
 
-#pragma link C++ class AliD0toKpi;
-#pragma link C++ class AliD0Trigger;
-
+#pragma link C++ class AliHLTEventSummary+;
+#pragma link C++ class AliHLTEventSummaryProducerComponent+;
+#pragma link C++ class AliHLTRunSummary+;
+#pragma link C++ class AliHLTRunSummaryProducerComponent+;
+#pragma link C++ class AliHLTTriggerSelectiveReadoutComponent+;
        
 #endif
 
diff --git a/HMPID/CMakeLists.txt b/HMPID/CMakeLists.txt
new file mode 100644 (file)
index 0000000..a22b9ba
--- /dev/null
@@ -0,0 +1,27 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/HMPID
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/RAW
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libHMPIDbase.txt)
+
+include(CMake_libHMPIDsim.txt)
+
+include(CMake_libHMPIDrec.txt)
diff --git a/HMPID/CMake_libHMPIDbase.txt b/HMPID/CMake_libHMPIDbase.txt
new file mode 100644 (file)
index 0000000..6581876
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+  AliHMPIDHit.cxx AliHMPIDDigit.cxx  AliHMPIDCluster.cxx AliHMPIDParam.cxx AliHMPIDPreprocessor.cxx 
+               AliHMPIDQAChecker.cxx AliHMPIDCalib.cxx AliHMPIDRawStream.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(HMPIDbase "${SRCS}" "${HDRS}")
diff --git a/HMPID/CMake_libHMPIDrec.txt b/HMPID/CMake_libHMPIDrec.txt
new file mode 100644 (file)
index 0000000..b73447e
--- /dev/null
@@ -0,0 +1,15 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+  AliHMPIDReconstructor.cxx AliHMPIDTracker.cxx 
+        AliHMPIDRecon.cxx AliHMPIDRecoParam.cxx 
+        AliHMPIDReconHTA.cxx AliHMPIDPid.cxx 
+               AliHMPIDQADataMakerRec.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(HMPIDrec "${SRCS}" "${HDRS}")
+
diff --git a/HMPID/CMake_libHMPIDsim.txt b/HMPID/CMake_libHMPIDsim.txt
new file mode 100644 (file)
index 0000000..7edc89e
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliHMPID.cxx AliHMPIDv0.cxx AliHMPIDv1.cxx AliHMPIDv2.cxx AliHMPIDv3.cxx AliHMPIDDigitizer.cxx AliHMPIDQADataMakerSim.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(HMPIDsim "${SRCS}" "${HDRS}")
+
diff --git a/ISAJET/CMakeLists.txt b/ISAJET/CMakeLists.txt
new file mode 100644 (file)
index 0000000..04224ad
--- /dev/null
@@ -0,0 +1,26 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/ISAJET
+${CMAKE_SOURCE_DIR}/ISAJET/isajet
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libisajet.txt)
+
+
+
+
diff --git a/ISAJET/CMake_libisajet.txt b/ISAJET/CMake_libisajet.txt
new file mode 100644 (file)
index 0000000..855ef09
--- /dev/null
@@ -0,0 +1,363 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(isajet_SRCS
+AliIsajetRndm.cxx
+)
+
+set(isajet_CSRCS
+main.c
+)
+
+set(isajet_FSRCS
+code/alqcd.F 
+code/amass.F 
+code/amgmw.F 
+code/charge.F 
+code/ctxc2i.F 
+code/ctxi2c.F 
+code/ctxin.F 
+code/ctxout.F 
+code/datime.F 
+code/dblpcm.F 
+code/dblvec.F 
+code/dboost.F 
+code/decay.F 
+code/decjet.F 
+code/decps1.F 
+code/decps2.F 
+code/decss3.F 
+code/dectau.F 
+code/decva.F 
+code/dhelas.F 
+code/dincgm.F 
+code/domssm.F 
+code/drllyn.F 
+code/ebeam.F 
+code/eebeg.F 
+code/eemax.F 
+code/elctrn.F 
+code/epf.F 
+code/estruc.F 
+code/evol01.F 
+code/evol02.F 
+code/evol03.F 
+code/evol05.F 
+code/evol06.F 
+code/evol07.F 
+code/evol11.F 
+code/evolms.F 
+code/evolve.F 
+code/fbrbm.F 
+code/flavor.F 
+code/fortop.F 
+code/frgjet.F 
+code/frgmnt.F 
+code/gamma.F 
+code/getpt.F 
+code/gettot.F 
+code/heavyx.F 
+code/hevolv.F 
+code/higgs.F 
+code/idanti.F 
+code/idgen.F 
+code/iframs.F 
+code/inisap.F 
+code/ipartns.F 
+code/ipjset.F 
+code/iprtns.F 
+code/irmov0.F 
+code/isabeg.F 
+code/isabg2.F 
+code/isaend.F 
+code/isaevt.F 
+code/isaini.F 
+code/isajet.F 
+code/isasrt.F 
+code/ispjet.F 
+code/istrad.F 
+code/iswdky.F 
+code/jetgen.F 
+code/kkgf1.F 
+code/kkgf2.F 
+code/kkgf3.F 
+code/label.F 
+code/lboost.F 
+code/logerr.F 
+code/logic.F 
+code/logmgm.F 
+code/logmgy.F 
+code/logmij.F 
+code/logp.F 
+code/logphi.F 
+code/logphw.F 
+code/logpt.F 
+code/logqm.F 
+code/logqt.F 
+code/logthw.F 
+code/logx.F 
+code/logxw.F 
+code/logyth.F 
+code/logyw.F 
+code/lstsq.F 
+code/mbias.F 
+code/mbset.F 
+code/mginit.F 
+code/muljet.F 
+code/nogood.F 
+code/ordecr.F 
+code/order.F 
+code/prtevt.F 
+code/prtlim.F 
+code/ptfun.F 
+code/qcdini.F 
+code/qcdint.F 
+code/qcdinz.F 
+code/qcdjet.F 
+code/qcdt.F 
+code/qcdz.F 
+code/qfunc.F 
+code/ranfgt.F 
+code/ranfmt.F 
+code/ranfst.F 
+code/readin.F 
+code/rejfrg.F 
+code/rejjet.F 
+code/rescal.F 
+code/reset.F 
+code/setcon.F 
+code/setdky.F 
+code/seth.F 
+code/sethss.F 
+code/setkkg.F 
+code/setnxt.F 
+code/settyp.F 
+code/setw.F 
+code/sigdy2.F 
+code/sigdy.F 
+code/sigee.F 
+code/sigfil.F 
+code/siggam.F 
+code/sigh2.F 
+code/sigh3.F 
+code/sigh.F 
+code/sighss.F 
+code/sigint.F 
+code/sigkkg.F 
+code/sigqcd.F 
+code/sigsse.F 
+code/sigssl.F 
+code/sigssy.F 
+code/sigssz.F 
+code/sigtc2.F 
+code/sigtc3.F 
+code/sigtc.F 
+code/sigwh.F 
+code/sigwhs.F 
+code/sigww2.F 
+code/sigww.F 
+code/smszg.F 
+code/spline.F 
+code/ssfel.F 
+code/ssgst.F 
+code/ssgt.F 
+code/struc.F 
+code/strucw.F 
+code/szjj1.F 
+code/szjj2.F 
+code/szjj3.F 
+code/szjj4.F 
+code/szjj5.F 
+code/szjj6.F 
+code/szjj7.F 
+code/timer.F 
+code/twojet.F 
+code/twokin.F 
+code/visaje.F 
+code/whiggs.F 
+code/wpair.F 
+code/wwkin.F 
+code/wwss.F 
+code/wwst.F 
+code/wwtt.F 
+code/wzss.F 
+code/wzst.F 
+code/wzsu.F 
+code/wztu.F 
+code/xwwww.F 
+code/xwwzz.F 
+code/xzzww.F 
+code/xzzzz.F 
+code/ygenj.F 
+code/zjj0.F 
+code/zjj1.F 
+code/zjj2.F 
+code/zjj3.F 
+code/zjj4.F 
+code/zjj5.F 
+code/zjj6.F 
+code/zjj7.F 
+code/zjj.F 
+code/zzall.F 
+code/zzstar.F 
+isasusy/ssalfs.F 
+isasusy/ssb0.F 
+isasusy/ssb1.F 
+isasusy/ssdhll.F 
+isasusy/ssdint.F 
+isasusy/ssdlam.F 
+isasusy/ssf0.F 
+isasusy/ssglbf.F 
+isasusy/ssgwq1.F 
+isasusy/ssgwq2.F 
+isasusy/ssgwt1.F 
+isasusy/ssgwt2.F 
+isasusy/ssgwt3.F 
+isasusy/ssgwt4.F 
+isasusy/ssgwt5.F 
+isasusy/ssgwt6.F 
+isasusy/ssgwt7.F 
+isasusy/ssgwt8.F 
+isasusy/ssgx10.F 
+isasusy/ssgx11.F 
+isasusy/ssgx1.F 
+isasusy/ssgx2.F 
+isasusy/ssgx3.F 
+isasusy/ssgx4.F 
+isasusy/ssgx5.F 
+isasusy/ssgx6.F 
+isasusy/ssgx7.F 
+isasusy/ssgx8.F 
+isasusy/ssgx9.F 
+isasusy/ssgzg1.F 
+isasusy/ssgzg2.F 
+isasusy/ssgzg3.F 
+isasusy/ssgzt.F 
+isasusy/sshcc.F 
+isasusy/sshff1.F 
+isasusy/sshff.F 
+isasusy/sshgl.F 
+isasusy/sshgm1.F 
+isasusy/sshgm.F 
+isasusy/sshhx.F 
+isasusy/sshibf.F 
+isasusy/sshnn.F 
+isasusy/sshsf.F 
+isasusy/sshww1.F 
+isasusy/sshww2.F 
+isasusy/sshww.F 
+isasusy/ssl1st.F 
+isasusy/sslpbf.F 
+isasusy/sslrt1.F 
+isasusy/ssmass.F 
+isasusy/ssme3.F 
+isasusy/ssmhc.F 
+isasusy/ssmhn.F 
+isasusy/ssmqcd.F 
+isasusy/ssmssm.F 
+isasusy/ssn1st.F 
+isasusy/ssnorm.F 
+isasusy/sspole.F 
+isasusy/ssqkbf.F 
+isasusy/sssave.F 
+isasusy/sssnws.F 
+isasusy/ssstbf.F 
+isasusy/sstest.F 
+isasusy/sstpbf.F 
+isasusy/sswibf.F 
+isasusy/sswwf1.F 
+isasusy/sswzbf.F 
+isasusy/sswzf1.F 
+isasusy/sswzf2.F 
+isasusy/sswzf3.F 
+isasusy/sswzf4.F 
+isasusy/sswzf5.F 
+isasusy/sswzf6.F 
+isasusy/sswzf7.F 
+isasusy/ssxint.F 
+isasusy/ssxlam.F 
+isasusy/sszhx.F 
+isasusy/sszibf.F 
+isasusy/sszwf1.F 
+isasusy/sszzf1.F 
+isasusy/sszzf2.F 
+isasusy/sszzf3.F 
+isasusy/sszzf4.F 
+isasusy/sszzf5.F 
+isasusy/sualfe.F 
+isasusy/sualfs.F 
+isasusy/sugeff.F 
+isasusy/sugfrz.F 
+isasusy/sugmas.F 
+isasusy/sugra.F 
+isasusy/sugrge.F 
+isasusy/surg06.F 
+isasusy/surg26.F 
+isatape/bufin.F 
+isatape/bufout.F 
+isatape/edit.F 
+isatape/isahep.F 
+isatape/isawbg.F 
+isatape/isawev.F 
+isatape/isawnd.F 
+isatape/itrans.F 
+isatape/movlev.F 
+isatape/prtlst.F 
+isatape/rdbeg.F 
+isatape/rdtape.F 
+isatape/rend.F 
+isatape/rgens.F 
+isatape/wgens.F 
+isatape/zerol.F 
+isadata/aldata.F 
+isarun/dialog.F 
+isarun/isaset.F 
+openfile/openfile.F 
+pdfinit/pdfinit.F 
+utils/cern_lib/ddilog.F 
+utils/cern_lib/eisrs1.F 
+utils/cern_lib/rkstp.F 
+utils/cern_lib/sorttf.F 
+utils/cern_lib/tql2.F 
+utils/cern_lib/tred2.F 
+)
+
+If(RULE_CHECKER_FOUND)
+  CHECK_RULES("${isajet_SRCS}" "${INCLUDE_DIRECTORIES}" isajet_RULES)
+endIf(RULE_CHECKER_FOUND)
+
+## fill list of header files from list of source files
+## by exchanging the file extension
+CHANGE_FILE_EXTENSION(*.cxx *.h isajet_HEADERS "${isajet_SRCS}")
+
+set(isajet_LINKDEF isajetLinkDef.h)
+set(isajet_DICTIONARY ${CMAKE_CURRENT_BINARY_DIR}/isajetDict.cxx) 
+#
+ROOT_GENERATE_DICTIONARY("${isajet_HEADERS}" "${isajet_LINKDEF}" "${isajet_DICTIONARY}" "${INCLUDE_DIRECTORIES}")
+#
+set(isajet_SRCS ${isajet_SRCS} ${isajet_DICTIONARY})
+
+add_library(isajet SHARED ${isajet_SRCS} ${isajet_CSRCS} ${isajet_FSRCS})
+target_link_libraries(isajet ${ROOT_LIBRARIES})
+set_target_properties(isajet PROPERTIES  ${ALIROOT_LIBRARY_PROPERTIES})
+SET_TARGET_PROPERTIES(isajet PROPERTIES LINKER_LANGUAGE CXX)
+
+################ install ###################
+install(TARGETS isajet DESTINATION ${ALIROOT_INSTALL_DIR}/lib)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ITS/CMakeLists.txt b/ITS/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e0253cc
--- /dev/null
@@ -0,0 +1,29 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/ITS
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/RAW
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libITSrec.txt)
+
+include(CMake_libITSbase.txt)
+
+include(CMake_libITSsim.txt)
+
+
diff --git a/ITS/CMake_libITSbase.txt b/ITS/CMake_libITSbase.txt
new file mode 100644 (file)
index 0000000..9f986f0
--- /dev/null
@@ -0,0 +1,75 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       AliITSgeom.cxx 
+               AliITSgeomMatrix.cxx 
+               AliITSgeomSPD.cxx 
+               AliITSgeomSDD.cxx 
+               AliITSgeomSSD.cxx 
+               AliITSInitGeometry.cxx 
+               AliITSLoader.cxx 
+               AliITSRecPoint.cxx 
+               AliITSclusterV2.cxx 
+               AliITSdigit.cxx 
+               AliITSdigitSPD.cxx 
+               AliITSdigitSDD.cxx 
+               AliITSTransientDigit.cxx 
+               AliITSdigitSSD.cxx 
+               AliITSMap.cxx 
+               AliITSMapA1.cxx 
+               AliITSMapA2.cxx 
+               AliITSMisalignMaker.cxx 
+               AliITSpList.cxx 
+               AliITSpListItem.cxx 
+               AliITSsegmentation.cxx 
+               AliITSsegmentationSPD.cxx 
+               AliITSsegmentationSDD.cxx 
+               AliITSsegmentationSSD.cxx 
+               AliITSresponse.cxx 
+               AliITSCalibration.cxx 
+               AliITSresponseSPD.cxx 
+               AliITSresponseSDD.cxx 
+               AliITSresponseSSD.cxx 
+               AliITSCalibrationSPD.cxx 
+               AliITSCalibrationSDD.cxx 
+               AliITSCalibrationSSD.cxx 
+                AliITSChannelStatus.cxx 
+               AliITSMapSDD.cxx 
+               AliITSDriftSpeedSDD.cxx 
+               AliITSDDLModuleMapSDD.cxx 
+               AliITSDriftSpeedArraySDD.cxx 
+               AliITSBadChannelsSSD.cxx 
+               AliITSGainSSD.cxx 
+               AliITSNoiseSSD.cxx 
+               AliITSChannelDaSSD.cxx 
+                AliITSModuleDaSSD.cxx 
+                AliITSHandleDaSSD.cxx 
+               AliITSDDLRawData.cxx 
+               AliITSRawStream.cxx 
+               AliITSRawStreamSDDv2.cxx 
+               AliITSRawStreamSDDv3.cxx 
+               AliITSRawStreamSSD.cxx 
+               AliITSRawStreamSDD.cxx 
+               AliITSRawStreamSPD.cxx 
+               AliITSEventHeader.cxx 
+               AliITSRawStreamSSDv1.cxx 
+               AliITSRawData.cxx 
+               AliITSgeomTGeo.cxx 
+               AliITSPlaneEff.cxx 
+               AliITSPlaneEffSPD.cxx 
+               AliITSPlaneEffSDD.cxx 
+               AliITSPlaneEffSSD.cxx 
+               AliITSRawStreamSPDErrorLog.cxx 
+               AliITSDCSAnalyzerSDD.cxx 
+               AliITSDCSDataSDD.cxx 
+                AliITSIntMap.cxx 
+               AliITSIntMapNode.cxx 
+               AliITSPedestalSSD.cxx 
+               AliITSSurveyToAlignSSD.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(ITSbase "${SRCS}" "${HDRS}")
diff --git a/ITS/CMake_libITSrec.txt b/ITS/CMake_libITSrec.txt
new file mode 100644 (file)
index 0000000..094f255
--- /dev/null
@@ -0,0 +1,106 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       AliITSDetTypeRec.cxx 
+               AliITSRawCluster.cxx 
+               AliITSClusterFinder.cxx 
+               AliITSClusterFinderSPD.cxx 
+               AliITSClusterFinderSDD.cxx 
+               AliITSClusterFinderSSD.cxx 
+               AliITSClusterFinderV2.cxx 
+               AliITSClusterFinderV2SDD.cxx 
+               AliITSClusterFinderV2SPD.cxx 
+               AliITSClusterFinderV2SSD.cxx 
+               AliITSClusterParam.cxx 
+               AliITSclustererV2.cxx 
+               AliITSclusterSSD.cxx 
+               AliITSpackageSSD.cxx 
+               AliITSIOTrack.cxx 
+               AliITSRad.cxx 
+               AliITStrackV2.cxx 
+               AliITStrackerV2.cxx 
+               AliITStrackMI.cxx 
+               AliITStrackerMI.cxx 
+               AliITSVertexer.cxx 
+               AliITSVertexerIons.cxx 
+               AliITSVertexerCosmics.cxx 
+               AliITSVertexer3D.cxx 
+               AliITSVertexerZ.cxx 
+               AliITSVertexerFast.cxx 
+               AliITSVertexer3DTapan.cxx 
+               AliITSMeanVertexer.cxx 
+               AliITSZPoint.cxx 
+               AliITSPid.cxx 
+               AliITStrackV2Pid.cxx 
+               AliITSreconstruction.cxx 
+               AliITSclusterTable.cxx 
+               AliITStrackSA.cxx 
+               AliITStrackerSA.cxx 
+               AliITSNeuralPoint.cxx 
+               AliITSNeuralTrack.cxx 
+               AliITSNeuralTracker.cxx 
+               AliITStrackerANN.cxx 
+               AliITSpidESD.cxx 
+               AliITSpidESD1.cxx 
+               AliITSpidESD2.cxx 
+                AliITSPident.cxx 
+                AliITSSteerPid.cxx 
+                AliITSPidParItem.cxx 
+               AliITSRawClusterSPD.cxx 
+               AliITSRawClusterSDD.cxx 
+               AliITSRawClusterSSD.cxx
+               AliITSReconstructor.cxx 
+               AliITSRecoParam.cxx 
+               AliITSBeamTestDig.cxx 
+               AliITSBeamTestDigSDD.cxx 
+               AliITSBeamTestDigSPD.cxx 
+               AliITSBeamTestDigSSD.cxx 
+               AliITSBeamTestDigitizer.cxx 
+               AliITSMultReconstructor.cxx 
+               AliITSPreprocessorSPD.cxx 
+               AliITSOnlineCalibrationSPD.cxx 
+               AliITSOnlineCalibrationSPDhandler.cxx 
+               AliITSOnlineSPDHitArray.cxx 
+               AliITSOnlineSPDHitEvent.cxx 
+               AliITSOnlineSPDscanAnalyzer.cxx 
+               AliITSOnlineSPDscan.cxx 
+               AliITSOnlineSPDscanInfo.cxx 
+               AliITSOnlineSPDscanInfoMeanTh.cxx 
+               AliITSOnlineSPDscanInfoMultiple.cxx 
+               AliITSOnlineSPDscanMeanTh.cxx 
+               AliITSOnlineSPDscanMultiple.cxx 
+               AliITSOnlineSPDscanSingle.cxx 
+               AliITSOnlineSPDphys.cxx 
+               AliITSOnlineSPDphysAnalyzer.cxx 
+               AliITSOnlineSPDphysInfo.cxx 
+               AliITSBadChannelsAuxSPD.cxx 
+               AliITSBadChannelsSPD.cxx  
+               AliITSChannelSPD.cxx  
+               AliITSPreprocessorSDD.cxx 
+               AliITSOnlineSDD.cxx 
+               AliITSOnlineSDDBase.cxx 
+               AliITSOnlineSDDTP.cxx 
+               AliITSOnlineSDDInjectors.cxx 
+                AliITSOnlineSDDCMN.cxx 
+               AliITSPreprocessorSSD.cxx 
+               AliITSAlignMille.cxx 
+               AliITSAlignMilleModule.cxx 
+               AliITSQAChecker.cxx 
+               AliITSResidualsAnalysis.cxx 
+               AliITSQADataMakerRec.cxx 
+               AliITSQASPDDataMakerRec.cxx 
+               AliITSQASDDDataMakerRec.cxx 
+               AliITSQASSDDataMakerRec.cxx 
+               AliITSQASPDChecker.cxx 
+                AliITSQASDDChecker.cxx 
+                AliITSQASSDChecker.cxx 
+               AliITSTrackleterSPDEff.cxx 
+                AliITSRealignTracks.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(ITSrec "${SRCS}" "${HDRS}")
+
diff --git a/ITS/CMake_libITSsim.txt b/ITS/CMake_libITSsim.txt
new file mode 100644 (file)
index 0000000..ec4ef00
--- /dev/null
@@ -0,0 +1,51 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       AliITS.cxx 
+               AliITSvSPD02.cxx 
+               AliITSvSDD03.cxx 
+               AliITSvPPRcoarseasymm.cxx 
+               AliITSvPPRasymmFMD.cxx 
+               AliITSvBeamTestITS04.cxx 
+               AliITSvtest.cxx 
+               AliITSvSSD03.cxx 
+               AliITShit.cxx 
+               AliITSSimuParam.cxx 
+               AliITSDetTypeSim.cxx 
+               AliITSmodule.cxx 
+               AliITSsimulationFastPoints.cxx 
+               AliITSsimulationFastPointsV0.cxx 
+               AliITSsimulation.cxx 
+               AliITSsimulationSPD.cxx 
+               AliITSsimulationSDD.cxx 
+               AliITSsimulationSSD.cxx 
+               AliITSTableSSD.cxx 
+               AliITSetfSDD.cxx 
+               AliITSHuffman.cxx 
+               AliITSstatistics.cxx 
+               AliITSstatistics2.cxx 
+               AliITSsDigitize.cxx 
+               AliITSDigitizer.cxx 
+               AliITSFDigitizer.cxx 
+               AliITSTrigger.cxx 
+               AliITSv11.cxx 
+               AliITSv11Geometry.cxx 
+               AliITSv11GeomCable.cxx 
+               AliITSv11GeomCableFlat.cxx 
+               AliITSv11GeomCableRound.cxx 
+               AliITSv11GeometrySDD.cxx 
+               AliITSv11GeometrySSD.cxx 
+               AliITSv11GeometrySPD.cxx 
+               AliITSv11Hybrid.cxx 
+               AliITSv11GeometrySupport.cxx 
+               AliITSQADataMakerSim.cxx 
+                AliITSQASPDDataMakerSim.cxx 
+                AliITSQASDDDataMakerSim.cxx 
+                AliITSQASSDDataMakerSim.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(ITSsim "${SRCS}" "${HDRS}")
diff --git a/JETAN/CMakeLists.txt b/JETAN/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f49823c
--- /dev/null
@@ -0,0 +1,28 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/JETAN
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/ANALYSIS
+${CMAKE_SOURCE_DIR}/TPC
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include (CMake_libJETAN.txt)
+
+include (CMake_libJETANMC.txt)
+
+
diff --git a/JETAN/CMake_libJETAN.txt b/JETAN/CMake_libJETAN.txt
new file mode 100644 (file)
index 0000000..c67a8c8
--- /dev/null
@@ -0,0 +1,46 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       AliJet.cxx AliJetHeader.cxx 
+       AliJetFinder.cxx AliJetReaderHeader.cxx 
+       AliJetESDReaderHeader.cxx AliJetReader.cxx AliJetESDReader.cxx 
+       AliJetControlPlots.cxx AliUA1JetHeader.cxx 
+       AliLeading.cxx 
+       AliJetProductionData.cxx AliJetProductionDataPDC2004.cxx 
+       AliJetAnalysis.cxx AliJetDistributions.cxx 
+       AliUA1JetFinderV1.cxx AliUA1JetFinderV2.cxx AliUA1JetHeaderV1.cxx 
+       AliJetGrid.cxx AliJetUnitArray.cxx AliJetHadronCorrection.cxx 
+       AliJetHadronCorrectionv0.cxx AliJetHadronCorrectionv1.cxx 
+       AliJetFillUnitArrayTracks.cxx AliJetFillUnitArrayEMCalDigits.cxx
+       AliJetDummyGeo.cxx AliJetDummyShishKebabTrd1Module.cxx
+       AliJetFinderTypes.cxx 
+       AliAnalysisTaskJets.cxx 
+       AliDAJetFinder.cxx 
+       AliDAJetHeader.cxx 
+       AliJetAODReader.cxx 
+       AliJetAODReaderHeader.cxx 
+       AliJetKineReader.cxx 
+       AliJetKineReaderHeader.cxx 
+       AliJetMCReader.cxx 
+       AliJetMCReaderHeader.cxx 
+       AliJetHistos.cxx 
+       AliAnalysisTaskDiJets.cxx 
+       AliAnalysisTaskJetsCDF.cxx AliCdfJetFinder.cxx AliCdfJetHeader.cxx
+)
+
+Set(FASTJET $ENV{FASTJET})
+
+If(FASTJET)
+  set(SRCS ${SRCS}
+  AliFastJetFinder.cxx AliFastJetHeader.cxx 
+)
+  include_directories( ${INCLUDE_DIRECTORIES} ${FASTJET}/include )
+  set_source_files_properties(${SRCS} PROPERTIES COMPILE_FLAGS -DWITHFASTJET)
+endIf(FASTJET)
+
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(JETAN "${SRCS}" "${HDRS}")
diff --git a/JETAN/CMake_libJETANMC.txt b/JETAN/CMake_libJETANMC.txt
new file mode 100644 (file)
index 0000000..bef4700
--- /dev/null
@@ -0,0 +1,11 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliJetESDmcReader.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(JETANMC "${SRCS}" "${HDRS}")
diff --git a/LHAPDF/CMakeLists.txt b/LHAPDF/CMakeLists.txt
new file mode 100644 (file)
index 0000000..20008a9
--- /dev/null
@@ -0,0 +1,23 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/LHAPDF
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libLHAPDF.txt)
+
diff --git a/LHAPDF/CMake_libLHAPDF.txt b/LHAPDF/CMake_libLHAPDF.txt
new file mode 100644 (file)
index 0000000..db9fe33
--- /dev/null
@@ -0,0 +1,62 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliStructFuncType.cxx
+)
+
+set(FSRCS
+lhapdf5.3.1/commons.f
+lhapdf5.3.1/alphas.f
+lhapdf5.3.1/description.f
+lhapdf5.3.1/eks98.f
+lhapdf5.3.1/eksarp.f
+lhapdf5.3.1/EVLCTEQ.f
+lhapdf5.3.1/evolution.f
+lhapdf5.3.1/inputPDF.f
+lhapdf5.3.1/LHpdflib.f
+lhapdf5.3.1/parameter.f
+lhapdf5.3.1/QCDNUM.f
+lhapdf5.3.1/QCDparams.f
+lhapdf5.3.1/Sqcdnum.f
+lhapdf5.3.1/wrapa02.f
+lhapdf5.3.1/wrapa02m.f
+lhapdf5.3.1/wrapabfkwpi.f
+lhapdf5.3.1/wrapacfgpg.f
+lhapdf5.3.1/wrapcteq5.f
+lhapdf5.3.1/wrapcteq65.f
+lhapdf5.3.1/wrapcteq6.f
+lhapdf5.3.1/wrapdgg.f
+lhapdf5.3.1/wrapdog.f
+lhapdf5.3.1/wrapEVLCTEQ.f
+lhapdf5.3.1/wrapevolve.f
+lhapdf5.3.1/wrapgrv.f
+lhapdf5.3.1/wrapgrvg.f
+lhapdf5.3.1/wrapgrvpi.f
+lhapdf5.3.1/wrapgsg96.f
+lhapdf5.3.1/wrapgsg.f
+lhapdf5.3.1/wraph1.f
+lhapdf5.3.1/wraplacg.f
+lhapdf5.3.1/wrapmrst2006.f
+lhapdf5.3.1/wrapmrst98.f
+lhapdf5.3.1/wrapmrst.f
+lhapdf5.3.1/wrapmrstqed.f
+lhapdf5.3.1/wrapowpi.f
+lhapdf5.3.1/wrapQCDNUM3.f
+lhapdf5.3.1/wrapQCDNUM4.f
+lhapdf5.3.1/wrapQCDNUM.f
+lhapdf5.3.1/wrapsasg.f
+lhapdf5.3.1/wrapsmrspi.f
+lhapdf5.3.1/wrapwhitg.f
+lhapdf5.3.1/wrapzeus.f
+lhapdf5.3.1/lhaglue.f
+lhapdf5.3.1/wrapUSER.f
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+Set(SRCS ${SRCS} ${FSRCS})
+
+AddLibrary(lhapdf "${SRCS}" "${HDRS}")
+
diff --git a/LHC/CMakeLists.txt b/LHC/CMakeLists.txt
new file mode 100644 (file)
index 0000000..4d17512
--- /dev/null
@@ -0,0 +1,23 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/LHC
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libLHC.txt)
+
diff --git a/LHC/CMake_libLHC.txt b/LHC/CMake_libLHC.txt
new file mode 100644 (file)
index 0000000..c5d8016
--- /dev/null
@@ -0,0 +1,19 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliLHC.cxx
+AliLhcIRegion.cxx
+AliLhcBeam.cxx
+AliLhcProcess.cxx
+AliLhcProcessBB.cxx
+AliLhcProcessIBS.cxx
+AliLhcMonitor.cxx
+AliLhcProcessBT.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(LHC "${SRCS}" "${HDRS}")
+
diff --git a/MICROCERN/CMakeLists.txt b/MICROCERN/CMakeLists.txt
new file mode 100644 (file)
index 0000000..b2ee439
--- /dev/null
@@ -0,0 +1,23 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/MICROCERN
+${CMAKE_SOURCE_DIR}/MICROCERN/kerngen
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libMICROCERN.txt)
+
diff --git a/MICROCERN/CMake_libMICROCERN.txt b/MICROCERN/CMake_libMICROCERN.txt
new file mode 100644 (file)
index 0000000..a67443a
--- /dev/null
@@ -0,0 +1,37 @@
+# -*- mode: cmake -*-
+
+Set(SRCS)
+
+set(CSRCS
+geteni.c
+fchput.c
+fchtak.c
+dummies.c
+)
+
+set(FSRCS
+cltou.F
+gamma.F
+gamma64.F
+sortzv.F
+ufill.F
+fint.F
+abend.F
+cfill.F
+mtlprt.F
+mtlset.F
+kerset.F
+gauss.F
+getenvf.F
+gauss64.F
+)
+
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+Set(SRCS ${SRCS} ${FSRCS} ${CSRCS})
+
+AddLibrary(microcern "${SRCS}" "${HDRS}")
+
diff --git a/MONITOR/CMakeLists.txt b/MONITOR/CMakeLists.txt
new file mode 100644 (file)
index 0000000..08be42a
--- /dev/null
@@ -0,0 +1,32 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/MONITOR
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/RAW
+${CMAKE_SOURCE_DIR}/ITS
+${CMAKE_SOURCE_DIR}/TPC
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libMONITOR.txt)
+
+include(CMake_binmonitorCheck.txt)
+
+include(CMake_binmonitorGDC.txt)
+
+include(CMake_binderoot.txt)
+
diff --git a/MONITOR/CMake_binderoot.txt b/MONITOR/CMake_binderoot.txt
new file mode 100644 (file)
index 0000000..b9d7250
--- /dev/null
@@ -0,0 +1,13 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+root2date.cxx
+deroot.cxx
+)
+
+Set(LIBS STEERBase ESD AOD CDB STEER RAWDatabase RAWDatarec RAWDatasim TPCbase
+         TPCsim TPCrec HLTbase ITSbase ITSsim ITSrec MUONsim MUONrec MUONbase
+         MUONgeometry MUONraw MUONcalib MUONmapping MUONtrigger MUONevaluation
+         MUONcore)
+
+AddExecutable(deroot "${SRCS}" "${LIBS}")
diff --git a/MONITOR/CMake_binmonitorCheck.txt b/MONITOR/CMake_binmonitorCheck.txt
new file mode 100644 (file)
index 0000000..be44a32
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+monitorCheck.cxx
+)
+
+Set(LIBS STEERBase ESD AOD CDB STEER RAWDatabase RAWDatarec RAWDatasim TPCbase
+         TPCsim TPCrec ITSbase ITSsim ITSrec HLTbase MUONsim MUONrec MUONbase
+         MUONgeometry MUONraw MUONcalib MUONmapping MUONtrigger MUONevaluation
+         MUONcore)
+
+AddExecutable(monitorCheck "${SRCS}" "${LIBS}")
diff --git a/MONITOR/CMake_binmonitorGDC.txt b/MONITOR/CMake_binmonitorGDC.txt
new file mode 100644 (file)
index 0000000..e199466
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+monitorGDC.cxx
+)
+
+Set(LIBS STEERBase ESD AOD CDB STEER RAWDatabase RAWDatarec RAWDatasim TPCbase
+         TPCsim TPCrec HLTbase ITSbase ITSsim ITSrec MUONsim MUONrec MUONbase
+         MUONgeometry MUONraw MUONcalib MUONmapping MUONtrigger MUONevaluation
+         MUONcore)
+
+AddExecutable(monitorGDC "${SRCS}" "${LIBS}")
diff --git a/MONITOR/CMake_libMONITOR.txt b/MONITOR/CMake_libMONITOR.txt
new file mode 100644 (file)
index 0000000..c7d63ed
--- /dev/null
@@ -0,0 +1,16 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+        AliMonitorPlot.cxx AliMonitorHisto.cxx AliMonitorTrend.cxx 
+       AliMonitor.cxx 
+       AliMonitorTPC.cxx AliMonitorITS.cxx AliMonitorV0s.cxx 
+       AliMonitorDataTPC.cxx 
+       AliMonitorProcess.cxx AliMonitorControl.cxx 
+       AliMonitorDialog.cxx AliMonitorClient.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(MONITOR "${SRCS}" "${HDRS}")
diff --git a/MUON/CMakeLists.txt b/MUON/CMakeLists.txt
new file mode 100644 (file)
index 0000000..1077196
--- /dev/null
@@ -0,0 +1,49 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/MUON
+${CMAKE_SOURCE_DIR}/MUON/mapping
+${CMAKE_SOURCE_DIR}/STEER 
+${CMAKE_SOURCE_DIR}/RAW
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libMUONraw.txt)
+
+include(CMake_libMUONcalib.txt)
+
+include(CMake_libMUONrec.txt)
+
+include(CMake_libMUONgraphics.txt)
+
+include(CMake_libMUONsim.txt)
+
+include(CMake_libMUONtrigger.txt)
+
+include(CMake_libMUONcore.txt)
+
+include(CMake_libMUONmapping.txt)
+
+include(CMake_libMUONbase.txt)
+
+include(CMake_libMUONgeometry.txt)
+
+include(CMake_libMUONevaluation.txt)
+
+include(CMake_libMUONshuttle.txt)
+
+include(CMake_binmchview.txt)
+
diff --git a/MUON/CMake_binmchview.txt b/MUON/CMake_binmchview.txt
new file mode 100644 (file)
index 0000000..d34a9d3
--- /dev/null
@@ -0,0 +1,11 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+mchview.cxx
+)
+
+Set(LIBS STEERBase ESD AOD RAWDatarec STEER CDB Physics MUONmapping MUONcalib
+         MUONgeometry MUONtrigger RAWDatabase RAWDatasim MUONraw MUONbase
+         MUONshuttle MUONrec MUONgraphics MUONcore lhapdf pythia6 microcern)
+
+AddExecutable(mchview "${SRCS}" "${LIBS}")
diff --git a/MUON/CMake_libMUONbase.txt b/MUON/CMake_libMUONbase.txt
new file mode 100644 (file)
index 0000000..dd183df
--- /dev/null
@@ -0,0 +1,32 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+        AliMUONConstants.cxx 
+        AliMUONMathieson.cxx 
+        AliMUONDigit.cxx 
+        AliMUONRealDigit.cxx 
+        AliMUONVCluster.cxx 
+        AliMUONRawCluster.cxx 
+        AliMUONRawClusterV2.cxx 
+        AliMUONDigitMaker.cxx 
+        AliMUONRawWriter.cxx 
+        AliMUONCDB.cxx 
+        AliMUONVDigitStore.cxx 
+        AliMUONDigitStoreV1.cxx 
+        AliMUONDigitStoreV1Iterator.cxx 
+        AliMUONDigitStoreVImpl.cxx 
+        AliMUONDigitStoreVImplIterator.cxx 
+        AliMUONDigitStoreV2R.cxx 
+        AliMUONDigitStoreV2S.cxx 
+        AliMUONTOTCAStoreIterator.cxx 
+        AliMUONVDigit.cxx 
+        AliMUONTriggerCircuit.cxx 
+        AliMUONVTriggerStore.cxx 
+        AliMUONTriggerStoreV1.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(MUONbase "${SRCS}" "${HDRS}")
diff --git a/MUON/CMake_libMUONcalib.txt b/MUON/CMake_libMUONcalib.txt
new file mode 100644 (file)
index 0000000..5017aef
--- /dev/null
@@ -0,0 +1,27 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+        AliMUONTriggerLut.cxx 
+        AliMUONVCalibParam.cxx 
+        AliMUONCalibParamND.cxx 
+        AliMUONCalibParamNF.cxx 
+        AliMUONCalibParamNI.cxx 
+        AliMUONCalibrationData.cxx 
+        AliMUONTriggerEfficiencyCells.cxx
+        AliMUON2DStoreValidator.cxx 
+        AliMUONTriggerIO.cxx 
+        AliMUONTrackerIO.cxx 
+        AliMUONRegionalTriggerConfig.cxx 
+        AliMUONTriggerCrateConfig.cxx 
+        AliMUONGlobalCrateConfig.cxx 
+        AliMUONTriggerDisplay.cxx 
+        AliMUONVTrackerData.cxx 
+        AliMUONSparseHisto.cxx 
+        AliMUONTrackerData.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(MUONcalib "${SRCS}" "${HDRS}")
diff --git a/MUON/CMake_libMUONcore.txt b/MUON/CMake_libMUONcore.txt
new file mode 100644 (file)
index 0000000..b2a17aa
--- /dev/null
@@ -0,0 +1,26 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+        mapping/AliMpIntPair.cxx  
+        mapping/AliMpExMap.cxx  
+        mapping/AliMpExMapIterator.cxx  
+        mapping/AliMpArrayI.cxx  
+        mapping/AliMpStringObjMap.cxx  
+        AliMUONObjectPair.cxx 
+        AliMUONStringIntMap.cxx 
+        AliMUON2DMap.cxx 
+        AliMUON2DMapIterator.cxx 
+        AliMUON2DMapIteratorByI.cxx 
+        AliMUON1DArray.cxx 
+        AliMUON1DMap.cxx 
+        AliMUONCheckItem.cxx 
+        AliMUONVStore.cxx 
+        AliMUONTreeManager.cxx 
+        AliMUONLogger.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(MUONcore "${SRCS}" "${HDRS}")
diff --git a/MUON/CMake_libMUONevaluation.txt b/MUON/CMake_libMUONevaluation.txt
new file mode 100644 (file)
index 0000000..7cd34d9
--- /dev/null
@@ -0,0 +1,21 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       AliMUONPairLight.cxx 
+       AliMUONTrackLight.cxx 
+       AliMUONCheck.cxx 
+       AliMUONRecoCheck.cxx 
+       AliMUONDataInterface.cxx 
+       AliMUONTriggerGUI.cxx 
+       AliMUONTriggerGUIbdmap.cxx 
+       AliMUONTriggerGUIdimap.cxx 
+       AliMUONTriggerGUIboard.cxx 
+       AliMUONClusterInfo.cxx 
+       AliMUONPadInfo.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(MUONevaluation "${SRCS}" "${HDRS}")
diff --git a/MUON/CMake_libMUONgeometry.txt b/MUON/CMake_libMUONgeometry.txt
new file mode 100644 (file)
index 0000000..6566af5
--- /dev/null
@@ -0,0 +1,21 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+         AliMUONGeometryConstituent.cxx 
+        AliMUONGeometryEnvelope.cxx 
+        AliMUONGeometryEnvelopeStore.cxx 
+        AliMUONGeometryDetElement.cxx 
+        AliMUONGeometryModuleTransformer.cxx 
+        AliMUONGeometryModule.cxx 
+        AliMUONGeometryTransformer.cxx 
+         AliMUONGeometryMisAligner.cxx 
+        AliMUONGeometry.cxx 
+        AliMUONVGeometryBuilder.cxx 
+        AliMUONGeometryBuilder.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(MUONgeometry "${SRCS}" "${HDRS}")
diff --git a/MUON/CMake_libMUONgraphics.txt b/MUON/CMake_libMUONgraphics.txt
new file mode 100644 (file)
index 0000000..31f2edf
--- /dev/null
@@ -0,0 +1,44 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+  AliMUONVPainter.cxx 
+  AliMUONPCBPainter.cxx 
+  AliMUONDEPainter.cxx 
+  AliMUONPainterHelper.cxx 
+  AliMUONChamberPainter.cxx 
+  AliMUONManuPainter.cxx 
+  AliMUONPainterPadStore.cxx 
+  AliMUONPainterContourMaker.cxx 
+  AliMUONPainterContour.cxx 
+  AliMUONPainterMasterFrame.cxx 
+  AliMUONPainterMatrixFrame.cxx 
+  AliMUONManuPadPainter.cxx 
+  AliMUONPainterGroup.cxx 
+  AliMUONPainterMatrix.cxx 
+  AliMUONAttPainter.cxx 
+  AliMUONPainterRegistry.cxx 
+  AliMUONPainterHighlighter.cxx 
+  AliMUONPainterPlotSelector.cxx 
+  AliMUONPainterInterfaceHelper.cxx 
+  AliMUONBusPatchPainter.cxx 
+  AliMUONPainterColorSlider.cxx 
+  AliMUONAttPainterSelectorFrame.cxx 
+  AliMUONPainterDataSourceFrame.cxx 
+  AliMUONPainterDataSourceItem.cxx 
+  AliMUONTrackerOCDBDataMaker.cxx 
+  AliMUONPainterEnv.cxx 
+  AliMUONVTrackerDataMaker.cxx 
+  AliMUONTrackerRawDataMaker.cxx 
+  AliMUONTrackerCalibratedDataMaker.cxx 
+  AliMUONMchViewApplication.cxx 
+  AliMUONTrackerDataHistogrammer.cxx 
+  AliMUONTrackerDataWrapper.cxx 
+  AliMUONTrackerDataCompareDialog.cxx 
+  AliMUONTrackerACFDataMaker.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(MUONgraphics "${SRCS}" "${HDRS}")
diff --git a/MUON/CMake_libMUONmapping.txt b/MUON/CMake_libMUONmapping.txt
new file mode 100644 (file)
index 0000000..d0d404c
--- /dev/null
@@ -0,0 +1,128 @@
+# -*- mode: cmake -*-
+
+# Category basic
+#
+set(SRCS
+         mapping/AliMpPlaneType.cxx 
+         mapping/AliMpStationType.cxx 
+         mapping/AliMpCathodType.cxx 
+        mapping/AliMpArea.cxx  
+        mapping/AliMpConstants.cxx  
+        mapping/AliMpFiles.cxx  
+        mapping/AliMpPad.cxx  
+        mapping/AliMpPadIteratorPtr.cxx  
+        mapping/AliMpPadPair.cxx  
+        mapping/AliMpVIndexed.cxx  
+        mapping/AliMpVPadIterator.cxx  
+        mapping/AliMpVSegmentation.cxx
+         mapping/AliMpDataProcessor.cxx 
+         mapping/AliMpDataStreams.cxx 
+         mapping/AliMpDataMap.cxx
+)
+
+# Category motif
+#
+set(SRCS ${SRCS}
+        mapping/AliMpConnection.cxx  
+        mapping/AliMpMotif.cxx  
+        mapping/AliMpMotifMap.cxx  
+        mapping/AliMpMotifPosition.cxx  
+        mapping/AliMpMotifPositionPadIterator.cxx  
+        mapping/AliMpMotifReader.cxx  
+        mapping/AliMpMotifSpecial.cxx  
+        mapping/AliMpMotifType.cxx  
+        mapping/AliMpMotifTypePadIterator.cxx  
+        mapping/AliMpVMotif.cxx
+)
+
+# Category sector
+#
+set(SRCS ${SRCS}
+        mapping/AliMpNeighboursPadIterator.cxx  
+        mapping/AliMpPadRow.cxx  
+        mapping/AliMpPadRowLSegment.cxx  
+        mapping/AliMpPadRowRSegment.cxx  
+        mapping/AliMpRow.cxx  
+        mapping/AliMpRowSegment.cxx  
+        mapping/AliMpRowSegmentLSpecial.cxx  
+        mapping/AliMpRowSegmentRSpecial.cxx  
+        mapping/AliMpSectorAreaHPadIterator.cxx  
+        mapping/AliMpSectorAreaVPadIterator.cxx  
+        mapping/AliMpSector.cxx  
+        mapping/AliMpSectorPadIterator.cxx  
+        mapping/AliMpSectorReader.cxx  
+        mapping/AliMpSectorSegmentation.cxx  
+        mapping/AliMpSubZone.cxx  
+        mapping/AliMpVPadRowSegment.cxx  
+        mapping/AliMpVRowSegment.cxx  
+        mapping/AliMpVRowSegmentSpecial.cxx  
+        mapping/AliMpZone.cxx  
+)
+
+# Category slat
+#
+set(SRCS ${SRCS}
+        mapping/AliMpHelper.cxx  
+        mapping/AliMpPCB.cxx  
+        mapping/AliMpSlat.cxx  
+        mapping/AliMpSlatPadIterator.cxx  
+        mapping/AliMpSlatSegmentation.cxx  
+        mapping/AliMpPCBPadIterator.cxx  
+        mapping/AliMpSt345Reader.cxx  
+        mapping/AliMpSlatMotifMap.cxx
+)
+
+# Category trigger
+#
+set(SRCS ${SRCS}
+        mapping/AliMpTrigger.cxx  
+        mapping/AliMpTriggerReader.cxx  
+        mapping/AliMpTriggerSegmentation.cxx  
+         mapping/AliMpRegionalTrigger.cxx 
+         mapping/AliMpTriggerCrate.cxx 
+         mapping/AliMpLocalBoard.cxx 
+)
+
+# Category management
+#
+set(SRCS ${SRCS}
+         mapping/AliMpManuIterator.cxx 
+         mapping/AliMpManuUID.cxx 
+         mapping/AliMpPadUID.cxx 
+         mapping/AliMpHVUID.cxx 
+         mapping/AliMpHVNamer.cxx 
+         mapping/AliMpSegmentation.cxx 
+        mapping/AliMpDetElement.cxx 
+        mapping/AliMpDEStore.cxx  
+        mapping/AliMpDEIterator.cxx  
+        mapping/AliMpDEManager.cxx  
+         mapping/AliMpBusPatch.cxx 
+         mapping/AliMpDDL.cxx 
+        mapping/AliMpDDLStore.cxx 
+        mapping/AliMpCDB.cxx 
+         mapping/AliMpFrtCrocusConstants.cxx
+         mapping/AliMpManuStore.cxx
+)
+
+# Category graphics
+#
+set(SRCS ${SRCS}
+        mapping/AliMpGraphContext.cxx  
+        mapping/AliMpMotifPainter.cxx  
+        mapping/AliMpPCBPainter.cxx  
+        mapping/AliMpRowPainter.cxx  
+        mapping/AliMpRowSegmentPainter.cxx  
+        mapping/AliMpSectorPainter.cxx  
+        mapping/AliMpSlatPainter.cxx  
+        mapping/AliMpSubZonePainter.cxx  
+        mapping/AliMpVPainter.cxx  
+        mapping/AliMpZonePainter.cxx  
+         mapping/AliMpDEVisu.cxx   
+         mapping/AliMpIteratorPainter.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(MUONmapping "${SRCS}" "${HDRS}")
diff --git a/MUON/CMake_libMUONraw.txt b/MUON/CMake_libMUONraw.txt
new file mode 100644 (file)
index 0000000..4e421eb
--- /dev/null
@@ -0,0 +1,28 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       AliMUONDDLTrigger.cxx 
+       AliMUONDarcHeader.cxx 
+       AliMUONRegHeader.cxx 
+       AliMUONLocalStruct.cxx 
+       AliMUONPayloadTrigger.cxx 
+       AliMUONDDLTracker.cxx 
+       AliMUONBlockHeader.cxx 
+       AliMUONDspHeader.cxx 
+       AliMUONBusStruct.cxx 
+       AliMUONPayloadTracker.cxx 
+       AliMUONVRawStreamTracker.cxx 
+       AliMUONVRawStreamTrigger.cxx 
+       AliMUONRawStreamTracker.cxx 
+       AliMUONRawStreamTrackerHP.cxx 
+       AliMUONRawStreamTrigger.cxx 
+       AliMUONRawStreamTriggerHP.cxx 
+       AliMUONRawStream.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(MUONraw "${SRCS}" "${HDRS}")
+
diff --git a/MUON/CMake_libMUONrec.txt b/MUON/CMake_libMUONrec.txt
new file mode 100644 (file)
index 0000000..4b2bc59
--- /dev/null
@@ -0,0 +1,56 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       AliMUONReconstructor.cxx 
+       AliMUONVTrackReconstructor.cxx 
+       AliMUONTrackReconstructor.cxx 
+       AliMUONTrackReconstructorK.cxx 
+       AliMUONTracker.cxx 
+       AliMUONTrack.cxx 
+       AliMUONTrackParam.cxx 
+       AliMUONTrackExtrap.cxx 
+       AliMUONTriggerTrack.cxx 
+       AliMUONVTriggerTrackStore.cxx 
+       AliMUONTriggerTrackStoreV1.cxx 
+       AliMUONRecoTrack.cxx 
+       AliMUONDigitCalibrator.cxx 
+       AliMUONAlignment.cxx 
+       AliMUONVClusterFinder.cxx 
+       AliMUONPreClusterFinder.cxx 
+       AliMUONPreClusterFinderV2.cxx 
+       AliMUONPreClusterFinderV3.cxx 
+       AliMUONClusterFinderMLEM.cxx 
+       AliMUONClusterSplitterMLEM.cxx 
+       AliMUONClusterFinderSimpleFit.cxx 
+       AliMUONClusterFinderCOG.cxx 
+       AliMUONPad.cxx 
+       AliMUONCluster.cxx 
+       AliMUONPadStatusMaker.cxx 
+       AliMUONPadStatusMapMaker.cxx 
+       AliMUONTrackHitPattern.cxx 
+       AliMUONVClusterStore.cxx 
+       AliMUONClusterStoreV1.cxx 
+       AliMUONClusterStoreV2.cxx 
+       AliMUONClusterStoreV2Iterator.cxx 
+       AliMUONVTrackStore.cxx 
+       AliMUONTrackStoreV1.cxx 
+       AliMUONRecoParam.cxx 
+       AliMUONVClusterServer.cxx 
+       AliMUONSimpleClusterServer.cxx 
+       AliMUONQADataMakerRec.cxx 
+       AliMUONQAChecker.cxx 
+       AliMUONClusterFinderPeakCOG.cxx 
+       AliMUONClusterFinderPeakFit.cxx 
+       AliMUONRefitter.cxx 
+       AliMUONESDInterface.cxx 
+       AliMUONLegacyClusterServer.cxx 
+       AliMUONTriggerTrackToTrackerClusters.cxx
+       AliMUONTrackerRawDataMaker.cxx
+       AliMUONTrackerCalibratedDataMaker.cxx 
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(MUONrec "${SRCS}" "${HDRS}")
diff --git a/MUON/CMake_libMUONshuttle.txt b/MUON/CMake_libMUONshuttle.txt
new file mode 100644 (file)
index 0000000..a2db08b
--- /dev/null
@@ -0,0 +1,19 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliMUONPreprocessor.cxx 
+AliMUONVSubprocessor.cxx 
+AliMUONPedestalSubprocessor.cxx 
+AliMUONGMSSubprocessor.cxx 
+AliMUONHVSubprocessor.cxx 
+AliMUONGainSubprocessor.cxx 
+AliMUONTrackerPreprocessor.cxx 
+AliMUONTriggerSubprocessor.cxx 
+AliMUONTriggerPreprocessor.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(MUONshuttle "${SRCS}" "${HDRS}")
diff --git a/MUON/CMake_libMUONsim.txt b/MUON/CMake_libMUONsim.txt
new file mode 100644 (file)
index 0000000..f14ed6e
--- /dev/null
@@ -0,0 +1,38 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       AliMUON.cxx 
+       AliMUONv1.cxx 
+       AliMUONHit.cxx 
+       AliMUONCommonGeometryBuilder.cxx 
+       AliMUONSt1GeometryBuilder.cxx 
+       AliMUONSt1GeometryBuilderV2.cxx 
+       AliMUONSt1SpecialMotif.cxx 
+       AliMUONSt2GeometryBuilder.cxx 
+       AliMUONSt2GeometryBuilderV2.cxx 
+       AliMUONSlatGeometryBuilder.cxx 
+       AliMUONTriggerGeometryBuilder.cxx 
+       AliMUONResponseFactory.cxx 
+       AliMUONChamber.cxx 
+       AliMUONChamberTrigger.cxx 
+       AliMUONResponse.cxx 
+       AliMUONResponseV0.cxx 
+       AliMUONResponseTrigger.cxx 
+       AliMUONResponseTriggerV1.cxx 
+       AliMUONTrigger.cxx 
+       AliMUONSDigitizerV2.cxx 
+       AliMUONDigitizerV3.cxx 
+       AliMUONTriggerElectronics.cxx 
+       AliMUONVHitStore.cxx 
+       AliMUONHitStoreV1.cxx 
+       AliMUONMCDataInterface.cxx 
+       AliMUONPedestalEventGenerator.cxx 
+       AliMUONGainEventGenerator.cxx 
+       AliMUONQADataMakerSim.cxx 
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(MUONsim "${SRCS}" "${HDRS}")
diff --git a/MUON/CMake_libMUONtrigger.txt b/MUON/CMake_libMUONtrigger.txt
new file mode 100644 (file)
index 0000000..5154297
--- /dev/null
@@ -0,0 +1,19 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+        AliMUONLocalTrigger.cxx 
+        AliMUONRegionalTrigger.cxx 
+        AliMUONGlobalTrigger.cxx 
+        AliMUONTriggerBoard.cxx 
+        AliMUONLocalTriggerBoard.cxx 
+        AliMUONRegionalTriggerBoard.cxx 
+        AliMUONGlobalTriggerBoard.cxx 
+        AliMUONTriggerCrate.cxx 
+        AliMUONTriggerCrateStore.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(MUONtrigger "${SRCS}" "${HDRS}")
diff --git a/PHOS/CMakeLists.txt b/PHOS/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0df02c8
--- /dev/null
@@ -0,0 +1,31 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/PHOS
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/RAW
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libPHOSrec.txt)
+
+include(CMake_libPHOSbase.txt) 
+
+include(CMake_libPHOSsim.txt) 
+
+include(CMake_libPHOSshuttle.txt) 
+
+
diff --git a/PHOS/CMake_libPHOSbase.txt b/PHOS/CMake_libPHOSbase.txt
new file mode 100644 (file)
index 0000000..6d50e76
--- /dev/null
@@ -0,0 +1,41 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+                 AliPHOSGeometry.cxx 
+                 AliPHOSEMCAGeometry.cxx 
+                 AliPHOSCPVGeometry.cxx AliPHOSCPVBaseGeometry.cxx 
+                 AliPHOSSupportGeometry.cxx 
+                 AliPHOSLoader.cxx 
+                 AliPHOSHit.cxx AliPHOSTrackSegmentMaker.cxx  AliPHOSPID.cxx 
+                 AliPHOSClusterizer.cxx 
+                 AliPHOSCalibrationDB.cxx AliPHOSDigitizer.cxx 
+                 AliPHOSSDigitizer.cxx AliPHOSDigit.cxx 
+                 AliPHOSFastRecParticle.cxx AliPHOSRawStream2004.cxx 
+                 AliPHOSCalibData.cxx 
+                AliPHOSCalibrationData.cxx 
+                 AliPHOSCpvCalibData.cxx 
+                 AliPHOSEmcCalibData.cxx AliPHOSCalibrManager.cxx 
+                AliPHOSConTableDB.cxx 
+                 AliPHOSPulseGenerator.cxx 
+                 AliPHOSRawDecoder.cxx 
+                 AliPHOSRawDecoderv1.cxx 
+                 AliPHOSRawDecoderv2.cxx 
+                 AliPHOSRawDigiProducer.cxx 
+                 AliPHOSEmcBadChannelsMap.cxx 
+                 AliPHOSSurvey.cxx 
+                 AliPHOSSurvey1.cxx 
+                 AliPHOSQAChecker.cxx 
+                 AliPHOSRecParticle.cxx AliPHOSRecPoint.cxx 
+                 AliPHOSEmcRecPoint.cxx 
+                 AliPHOSCpvRecPoint.cxx   AliPHOSTrackSegment.cxx 
+                AliPHOSRecoParam.cxx 
+                 AliPHOSImpact.cxx 
+                 AliPHOSTrigger.cxx 
+                 AliPHOSSimParam.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PHOSbase "${SRCS}" "${HDRS}")
diff --git a/PHOS/CMake_libPHOSrec.txt b/PHOS/CMake_libPHOSrec.txt
new file mode 100644 (file)
index 0000000..5f39254
--- /dev/null
@@ -0,0 +1,25 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+                 AliPHOSClusterizerv1.cxx  
+                 AliPHOSLink.cxx 
+                 AliPHOSTrackSegmentMakerv1.cxx 
+                 AliPHOSTrackSegmentMakerv2.cxx 
+                 AliPHOSPIDv0.cxx 
+                 AliPHOSAnalyze.cxx 
+                 AliPHOSIhepAnalyze.cxx AliPHOSEvalRecPoint.cxx 
+                 AliPHOSRecManager.cxx AliPHOSRecCpvManager.cxx 
+                AliPHOSRecEmcManager.cxx 
+                 AliPHOSClusterizerv2.cxx AliPHOSPIDv1.cxx 
+                AliPHOSJet.cxx AliPHOSJetFinder.cxx
+                AliPHOSGridFile.cxx 
+                AliPHOSTracker.cxx 
+                AliPHOSEsdCluster.cxx 
+                AliPHOSQADataMakerRec.cxx AliPHOSReconstructor.cxx 
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PHOSrec "${SRCS}" "${HDRS}")
diff --git a/PHOS/CMake_libPHOSshuttle.txt b/PHOS/CMake_libPHOSshuttle.txt
new file mode 100644 (file)
index 0000000..bb10b18
--- /dev/null
@@ -0,0 +1,18 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+                 AliPHOSCalibHistoProducer.cxx 
+                 AliPHOSPreprocessor.cxx 
+                AliPHOSRcuDA1.cxx 
+                AliPHOSDA1.cxx 
+                AliPHOSDA2.cxx 
+                AliPHOSCpvDA1.cxx 
+                AliPHOSCpvPreprocessor.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PHOSshuttle "${SRCS}" "${HDRS}")
+
diff --git a/PHOS/CMake_libPHOSsim.txt b/PHOS/CMake_libPHOSsim.txt
new file mode 100644 (file)
index 0000000..18a2c57
--- /dev/null
@@ -0,0 +1,18 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+                 AliPHOS.cxx AliPHOSv0.cxx AliPHOSv1.cxx AliPHOSv2.cxx 
+                 AliPHOSvFast.cxx AliPHOSvImpacts.cxx 
+                 AliPHOSCPVDigit.cxx  
+                 AliPHOSTick.cxx 
+                 AliPHOSRaw2Digits.cxx AliPHOSBeamTestEvent.cxx 
+                 AliPHOSCalibrator.cxx 
+                 AliPHOSOnlineMonitor.cxx 
+                 AliPHOSQADataMakerSim.cxx 
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PHOSsim "${SRCS}" "${HDRS}")
diff --git a/PMD/CMakeLists.txt b/PMD/CMakeLists.txt
new file mode 100644 (file)
index 0000000..a152fb6
--- /dev/null
@@ -0,0 +1,28 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/PMD
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/RAW
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libPMDbase.txt)
+
+include(CMake_libPMDsim.txt)
+
+include(CMake_libPMDrec.txt)
+
diff --git a/PMD/CMake_libPMDbase.txt b/PMD/CMake_libPMDbase.txt
new file mode 100644 (file)
index 0000000..131d1e3
--- /dev/null
@@ -0,0 +1,11 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliPMDLoader.cxx AliPMDdigit.cxx AliPMDBlockHeader.cxx AliPMDDspHeader.cxx AliPMDPatchBusHeader.cxx AliPMDddldata.cxx AliPMDRawStream.cxx AliPMDCalibData.cxx AliPMDCalibrator.cxx AliPMDPreprocessor.cxx AliPMDRawToSDigits.cxx AliPMDPedestal.cxx AliPMDsdigit.cxx AliPMDQAChecker.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PMDbase "${SRCS}" "${HDRS}")
\ No newline at end of file
diff --git a/PMD/CMake_libPMDrec.txt b/PMD/CMake_libPMDrec.txt
new file mode 100644 (file)
index 0000000..614e364
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliPMDRecPoint.cxx AliPMDUtility.cxx AliPMDrecpoint1.cxx AliPMDrechit.cxx AliPMDcluster.cxx AliPMDClusteringV1.cxx AliPMDClusteringV2.cxx AliPMDclupid.cxx AliPMDEmpDiscriminator.cxx AliPMDClusterFinder.cxx AliPMDtracker.cxx AliPMDReconstructor.cxx AliPMDcludata.cxx AliPMDCalibPedestal.cxx AliPMDCalibGain.cxx AliPMDQADataMakerRec.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PMDrec "${SRCS}" "${HDRS}")
+
diff --git a/PMD/CMake_libPMDsim.txt b/PMD/CMake_libPMDsim.txt
new file mode 100644 (file)
index 0000000..f708ee7
--- /dev/null
@@ -0,0 +1,11 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliPMD.cxx AliPMDv0.cxx AliPMDv1.cxx AliPMDhit.cxx AliPMDcell.cxx AliPMDDigitizer.cxx AliPMDDDLRawData.cxx AliPMDQADataMakerSim.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PMDsim "${SRCS}" "${HDRS}")
index 8d15a38..34d3944 100644 (file)
@@ -1,4 +1,5 @@
 #-*- Mode: Makefile -*-
+
 # $Id$
 
 SRCS:= AliPMD.cxx AliPMDv0.cxx AliPMDv1.cxx AliPMDhit.cxx AliPMDcell.cxx AliPMDDigitizer.cxx AliPMDDDLRawData.cxx AliPMDQADataMakerSim.cxx
diff --git a/PWG0/CMakeLists.txt b/PWG0/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0e2b0ec
--- /dev/null
@@ -0,0 +1,36 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/PWG0
+${CMAKE_SOURCE_DIR}/PWG0/dNdEta
+${CMAKE_SOURCE_DIR}/PWG0/esdTrackCuts
+${CMAKE_SOURCE_DIR}/PWG0/TPC
+${CMAKE_SOURCE_DIR}/PWG0/highMultiplicity
+${CMAKE_SOURCE_DIR}/PWG0/multiplicity
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/RAW
+${CMAKE_SOURCE_DIR}/ANALYSIS
+${CMAKE_SOURCE_DIR}/TPC
+${CMAKE_SOURCE_DIR}/ITS
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libPWG0selectors.txt)
+
+include(CMake_libPWG0dep.txt)
+
+include(CMake_libPWG0base.txt)
+
diff --git a/PWG0/CMake_libPWG0base.txt b/PWG0/CMake_libPWG0base.txt
new file mode 100644 (file)
index 0000000..2a2fa59
--- /dev/null
@@ -0,0 +1,19 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+      dNdEta/dNdEtaAnalysis.cxx
+      dNdEta/AlidNdEtaCorrection.cxx
+      AliCorrectionMatrix.cxx
+      AliCorrectionMatrix2D.cxx
+      AliCorrectionMatrix3D.cxx
+      AliCorrection.cxx
+      AliPWG0Helper.cxx
+      multiplicity/AliMultiplicityCorrection.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PWG0base "${SRCS}" "${HDRS}")
+
diff --git a/PWG0/CMake_libPWG0dep.txt b/PWG0/CMake_libPWG0dep.txt
new file mode 100644 (file)
index 0000000..bb7e1c3
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+TPC/AliTPCClusterHistograms.cxx
+TPC/AliTPCRawHistograms.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PWG0dep "${SRCS}" "${HDRS}")
diff --git a/PWG0/CMake_libPWG0selectors.txt b/PWG0/CMake_libPWG0selectors.txt
new file mode 100644 (file)
index 0000000..2509621
--- /dev/null
@@ -0,0 +1,18 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       dNdEta/AlidNdEtaTask.cxx
+       dNdEta/AlidNdEtaCorrectionTask.cxx
+       TPC/AliROCESDAnalysisSelector.cxx
+       TPC/AliROCRawAnalysisSelector.cxx
+       TPC/AliROCClusterAnalysisSelector.cxx
+       highMultiplicity/AliHighMultiplicitySelector.cxx
+       multiplicity/AliMultiplicityTask.cxx
+       esdTrackCuts/AliCutTask.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PWG0selectors "${SRCS}" "${HDRS}")
diff --git a/PWG1/CMakeLists.txt b/PWG1/CMakeLists.txt
new file mode 100644 (file)
index 0000000..c9640e5
--- /dev/null
@@ -0,0 +1,28 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/PWG1
+${CMAKE_SOURCE_DIR}/PWG0
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/ANALYSIS
+${CMAKE_SOURCE_DIR}/ITS
+${CMAKE_SOURCE_DIR}/TRD
+${CMAKE_SOURCE_DIR}/TPC
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libPWG1.txt)
+
diff --git a/PWG1/CMake_libPWG1.txt b/PWG1/CMake_libPWG1.txt
new file mode 100644 (file)
index 0000000..eb781af
--- /dev/null
@@ -0,0 +1,29 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       AliTreeDraw.cxx 
+       AliMCInfo.cxx   
+       AliGenV0Info.cxx        
+       AliGenKinkInfo.cxx      
+       AliGenInfoMaker.cxx     
+       AliESDRecInfo.cxx 
+       AliESDRecV0Info.cxx 
+       AliESDRecKinkInfo.cxx 
+       AliRecInfoMaker.cxx 
+       AliComparisonDraw.cxx 
+       AliRecInfoCuts.cxx 
+       AliMCInfoCuts.cxx 
+       AliComparisonTask.cxx 
+       AliComparisonRes.cxx 
+       AliComparisonEff.cxx 
+       AliComparisonDEdx.cxx 
+       AliComparisonDCA.cxx 
+       AliComparisonObject.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PWG1 "${SRCS}" "${HDRS}")
+
diff --git a/PWG2/CMakeLists.txt b/PWG2/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e026e89
--- /dev/null
@@ -0,0 +1,46 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/ANALYSIS
+${CMAKE_SOURCE_DIR}/PWG2
+${CMAKE_SOURCE_DIR}/PWG2/AOD
+${CMAKE_SOURCE_DIR}/PWG2/EBYE
+${CMAKE_SOURCE_DIR}/PWG2/EBYE/LRC
+${CMAKE_SOURCE_DIR}/PWG2/FEMTOSCOPY
+${CMAKE_SOURCE_DIR}/PWG2/FEMTOSCOPY/AliFemto
+${CMAKE_SOURCE_DIR}/PWG2/FEMTOSCOPY/AliFemtoUser
+${CMAKE_SOURCE_DIR}/PWG2/FLOW
+${CMAKE_SOURCE_DIR}/PWG2/SPECTRA
+${CMAKE_SOURCE_DIR}/STEER
+${ALIROOT_INSTALL_DIR}/include 
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libPWG2spectra.txt)
+
+include(CMake_libPWG2flow.txt)
+
+include(CMake_libPWG2femtoscopyUser.txt)
+
+include(CMake_libPWG2femtoscopy.txt)
+
+include(CMake_libPWG2ebye.txt)
+
+include(CMake_libPWG2AOD.txt)
+
+include(CMake_libPWG2.txt)
+
+
diff --git a/PWG2/CMake_libPWG2.txt b/PWG2/CMake_libPWG2.txt
new file mode 100644 (file)
index 0000000..03c8781
--- /dev/null
@@ -0,0 +1,11 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+   AliESDtrackCuts.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PWG2 "${SRCS}" "${HDRS}")
diff --git a/PWG2/CMake_libPWG2AOD.txt b/PWG2/CMake_libPWG2AOD.txt
new file mode 100644 (file)
index 0000000..f7f5ab2
--- /dev/null
@@ -0,0 +1,13 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AOD/AliPWG2AODTrack.cxx
+AOD/AliAnalysisTaskPWG2ESDfilter.cxx
+AOD/AliAnalysisTaskPWG2AODUpdate.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PWG2AOD "${SRCS}" "${HDRS}")
diff --git a/PWG2/CMake_libPWG2ebye.txt b/PWG2/CMake_libPWG2ebye.txt
new file mode 100644 (file)
index 0000000..e988c3c
--- /dev/null
@@ -0,0 +1,18 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       EBYE/AliBalance.cxx 
+       EBYE/LRC/AliLRCAnalysis.cxx 
+       EBYE/LRC/AliLRCFit.cxx 
+       EBYE/LRC/AliLRCNN.cxx 
+       EBYE/LRC/AliLRCPtN.cxx 
+       EBYE/LRC/AliLRCPtPt.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PWG2ebye "${SRCS}" "${HDRS}")
+
+
diff --git a/PWG2/CMake_libPWG2femtoscopy.txt b/PWG2/CMake_libPWG2femtoscopy.txt
new file mode 100644 (file)
index 0000000..cf73ed8
--- /dev/null
@@ -0,0 +1,111 @@
+# -*- mode: cmake -*-
+
+Set(SRCS
+FEMTOSCOPY/AliFemto/AliFemtoSimpleAnalysis.cxx
+FEMTOSCOPY/AliFemto/AliFemtoLikeSignAnalysis.cxx
+FEMTOSCOPY/AliFemto/AliFemtoVertexAnalysis.cxx
+FEMTOSCOPY/AliFemto/AliFemtoVertexMultAnalysis.cxx
+FEMTOSCOPY/AliFemto/AliFemtoBPLCMS3DCorrFctn.cxx
+FEMTOSCOPY/AliFemto/AliFemtoQinvCorrFctn.cxx
+FEMTOSCOPY/AliFemto/AliFemtoBasicEventCut.cxx
+FEMTOSCOPY/AliFemto/AliFemtoBasicTrackCut.cxx
+FEMTOSCOPY/AliFemto/AliFemtoDummyPairCut.cxx
+FEMTOSCOPY/AliFemto/AliFemtoCoulomb.cxx
+FEMTOSCOPY/AliFemto/AliFemtoCutMonitorHandler.cxx
+FEMTOSCOPY/AliFemto/AliFemtoEvent.cxx
+FEMTOSCOPY/AliFemto/AliFemtoKink.cxx
+FEMTOSCOPY/AliFemto/AliFemtoManager.cxx
+FEMTOSCOPY/AliFemto/AliFemtoPair.cxx
+FEMTOSCOPY/AliFemto/AliFemtoParticle.cxx
+FEMTOSCOPY/AliFemto/AliFemtoPicoEvent.cxx
+FEMTOSCOPY/AliFemto/AliFemtoPicoEventCollectionVectorHideAway.cxx
+FEMTOSCOPY/AliFemto/AliFemtoTrack.cxx
+FEMTOSCOPY/AliFemto/AliFemtoV0.cxx
+FEMTOSCOPY/AliFemto/AliFemtoXi.cxx
+FEMTOSCOPY/AliFemto/AliFmHelix.cxx
+FEMTOSCOPY/AliFemto/AliFmPhysicalHelix.cxx
+FEMTOSCOPY/AliFemto/TpcLocalTransform.cxx
+FEMTOSCOPY/AliFemto/AliFemtoEventReader.cxx
+FEMTOSCOPY/AliFemto/AliFemtoEventReaderESD.cxx
+FEMTOSCOPY/AliFemto/AliFemtoEventReaderESDChain.cxx
+FEMTOSCOPY/AliFemto/AliFemtoEventReaderESDChainKine.cxx
+FEMTOSCOPY/AliFemto/AliFemtoModelHiddenInfo.cxx
+FEMTOSCOPY/AliFemto/AliFemtoModelGlobalHiddenInfo.cxx
+FEMTOSCOPY/AliFemto/AliFemtoModelGausLCMSFreezeOutGenerator.cxx
+FEMTOSCOPY/AliFemto/AliFemtoModelWeightGenerator.cxx
+FEMTOSCOPY/AliFemto/AliFemtoModelWeightGeneratorBasic.cxx
+FEMTOSCOPY/AliFemto/AliFemtoModelManager.cxx
+FEMTOSCOPY/AliFemto/AliFemtoModelCorrFctn.cxx
+FEMTOSCOPY/AliFemto/AliFemtoModelFreezeOutGenerator.cxx
+FEMTOSCOPY/AliFemto/AliFemtoModelWeightGeneratorLednicky.cxx
+FEMTOSCOPY/AliFemto/AliFemtoCutMonitorParticleYPt.cxx
+FEMTOSCOPY/AliFemto/AliFemtoCutMonitorParticleVertPos.cxx 
+FEMTOSCOPY/AliFemto/AliFemtoCutMonitorEventMult.cxx 
+FEMTOSCOPY/AliFemto/AliFemtoCutMonitorEventVertex.cxx 
+FEMTOSCOPY/AliFemto/AliFemtoKTPairCut.cxx
+FEMTOSCOPY/AliFemto/AliFemtoCorrFctnNonIdDR.cxx
+FEMTOSCOPY/AliFemto/AliFemtoCorrFctn3DSpherical.cxx
+FEMTOSCOPY/AliFemto/AliFemtoEventReaderAOD.cxx
+FEMTOSCOPY/AliFemto/AliFemtoEventReaderAODChain.cxx
+FEMTOSCOPY/AliFemto/AliFemtoAODTrackCut.cxx
+FEMTOSCOPY/AliFemto/AliFemtoCutMonitor.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+Set(HDRS ${HDRS}
+        FEMTOSCOPY/AliFemto/AliFmThreeVector.h 
+        FEMTOSCOPY/AliFemto/AliFmThreeVectorF.h 
+        FEMTOSCOPY/AliFemto/AliFmThreeVectorD.h 
+        FEMTOSCOPY/AliFemto/AliFmPhysicalHelixD.h 
+        FEMTOSCOPY/AliFemto/AliFmHelixD.h 
+        FEMTOSCOPY/AliFemto/AliFmLorentzVectorD.h 
+        FEMTOSCOPY/AliFemto/AliFemtoV0Cut.h 
+        FEMTOSCOPY/AliFemto/AliFemtoKinkCut.h 
+        FEMTOSCOPY/AliFemto/AliFemtoXiCut.h 
+        FEMTOSCOPY/AliFemto/AliFemtoAnalysisCollection.h 
+        FEMTOSCOPY/AliFemto/AliFemtoAnalysis.h 
+        FEMTOSCOPY/AliFemto/AliFemtoCorrFctnCollection.h 
+        FEMTOSCOPY/AliFemto/AliFemtoCorrFctn.h 
+        FEMTOSCOPY/AliFemto/AliFemtoEnumeration.h 
+        FEMTOSCOPY/AliFemto/AliFemtoHelix.h 
+        FEMTOSCOPY/AliFemto/AliFemtoHiddenInfo.h 
+        FEMTOSCOPY/AliFemto/AliFemtoLikeSignCorrFctn.h 
+        FEMTOSCOPY/AliFemto/AliFemtoLorentzVectorD.h 
+        FEMTOSCOPY/AliFemto/AliFemtoLorentzVector.h 
+        FEMTOSCOPY/AliFemto/AliFemtoString.h 
+        FEMTOSCOPY/AliFemto/AliFemtoThreeVectorD.h 
+        FEMTOSCOPY/AliFemto/AliFemtoThreeVector.h 
+        FEMTOSCOPY/AliFemto/AliFemtoTypes.h 
+        FEMTOSCOPY/AliFemto/AliFemtoVector.h 
+        FEMTOSCOPY/AliFemto/AliFmLorentzVectorD.h 
+        FEMTOSCOPY/AliFemto/AliFmLorentzVector.h 
+        FEMTOSCOPY/AliFemto/phys_constants.h 
+        FEMTOSCOPY/AliFemto/PhysicalConstants.h 
+        FEMTOSCOPY/AliFemto/SystemOfUnits.h 
+        FEMTOSCOPY/AliFemto/AliFemtoPairCut.h 
+        FEMTOSCOPY/AliFemto/AliFemtoEventCut.h 
+        FEMTOSCOPY/AliFemto/AliFemtoParticleCut.h 
+        FEMTOSCOPY/AliFemto/AliFemtoTrackCollection.h 
+        FEMTOSCOPY/AliFemto/AliFemtoV0Collection.h 
+        FEMTOSCOPY/AliFemto/AliFemtoXiCollection.h 
+        FEMTOSCOPY/AliFemto/AliFemtoKinkCollection.h 
+        FEMTOSCOPY/AliFemto/AliFemtoPicoEventCollection.h 
+        FEMTOSCOPY/AliFemto/AliFemtoParticleCollection.h 
+        FEMTOSCOPY/AliFemto/AliFemtoCutMonitorCollection.h 
+        FEMTOSCOPY/AliFemto/AliFemtoTrackCut.h 
+        FEMTOSCOPY/AliFemto/AliFemtoPicoEventCollectionVector.h 
+        FEMTOSCOPY/AliFemto/AliFemtoEventWriter.h 
+        FEMTOSCOPY/AliFemto/AliFemtoEventWriterCollection.h
+)
+
+Set(FSRCS
+       FEMTOSCOPY/AliFemto/AliFemtoFsiTools.F 
+       FEMTOSCOPY/AliFemto/AliFemtoFsiWeightLednicky.F
+)
+
+Set(SRCS ${SRCS} ${FSRCS})
+
+AddLibrary(PWG2femtoscopy "${SRCS}" "${HDRS}")
diff --git a/PWG2/CMake_libPWG2femtoscopyUser.txt b/PWG2/CMake_libPWG2femtoscopyUser.txt
new file mode 100644 (file)
index 0000000..6ca27a1
--- /dev/null
@@ -0,0 +1,27 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+      FEMTOSCOPY/AliFemtoUser/AliFemtoQPairCut.cxx 
+      FEMTOSCOPY/AliFemtoUser/AliFemtoShareQualityPairCut.cxx 
+      FEMTOSCOPY/AliFemtoUser/AliFemtoShareQualityKTPairCut.cxx 
+      FEMTOSCOPY/AliFemtoUser/AliFemtoShareQualityTPCEntranceSepPairCut.cxx 
+      FEMTOSCOPY/AliFemtoUser/AliFemtoESDTrackCut.cxx 
+      FEMTOSCOPY/AliFemtoUser/AliFemtoShareQualityCorrFctn.cxx 
+      FEMTOSCOPY/AliFemtoUser/AliFemtoTPCInnerCorrFctn.cxx 
+      FEMTOSCOPY/AliFemtoUser/AliFemtoChi2CorrFctn.cxx 
+      FEMTOSCOPY/AliFemtoUser/AliFemtoModelCorrFctnSource.cxx 
+      FEMTOSCOPY/AliFemtoUser/AliFemtoModelBPLCMSCorrFctn.cxx 
+      FEMTOSCOPY/AliFemtoUser/AliFemtoModelGausRinvFreezeOutGenerator.cxx 
+      FEMTOSCOPY/AliFemtoUser/AliFemtoModelCorrFctnTrueQ.cxx 
+      FEMTOSCOPY/AliFemtoUser/AliFemtoModelCorrFctnNonIdDR.cxx 
+      FEMTOSCOPY/AliFemtoUser/AliFemtoModelCorrFctn3DSpherical.cxx 
+      FEMTOSCOPY/AliFemtoUser/AliFemtoModelCorrFctn3DLCMSSpherical.cxx 
+      FEMTOSCOPY/AliFemtoUser/AliFemtoCutMonitorParticleMomRes.cxx 
+      FEMTOSCOPY/AliFemtoUser/AliFemtoModelAllHiddenInfo.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PWG2femtoscopyUser "${SRCS}" "${HDRS}")
diff --git a/PWG2/CMake_libPWG2flow.txt b/PWG2/CMake_libPWG2flow.txt
new file mode 100644 (file)
index 0000000..3574f56
--- /dev/null
@@ -0,0 +1,33 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+      FLOW/AliFlowEventSimple.cxx 
+      FLOW/AliFlowTrackSimple.cxx 
+      FLOW/AliFlowCommonConstants.cxx 
+      FLOW/AliFlowLYZConstants.cxx 
+      FLOW/AliFlowCumuConstants.cxx 
+      FLOW/AliFlowCommonHist.cxx 
+      FLOW/AliFlowCommonHistResults.cxx 
+      FLOW/AliFlowLYZHist1.cxx 
+      FLOW/AliFlowLYZHist2.cxx 
+      FLOW/AliFlowVector.cxx 
+      FLOW/AliFlowLYZEventPlane.cxx 
+      FLOW/AliFlowEventSimpleMaker.cxx 
+      FLOW/AliFlowAnalysisWithScalarProduct.cxx 
+      FLOW/AliFlowAnalysisWithMCEventPlane.cxx 
+      FLOW/AliFlowAnalysisWithLYZEventPlane.cxx 
+      FLOW/AliFlowAnalysisWithLeeYangZeros.cxx 
+      FLOW/AliFlowAnalysisWithCumulants.cxx 
+      FLOW/AliAnalysisTaskScalarProduct.cxx 
+      FLOW/AliAnalysisTaskMCEventPlane.cxx 
+      FLOW/AliAnalysisTaskLYZEventPlane.cxx 
+      FLOW/AliAnalysisTaskCumulants.cxx 
+      FLOW/AliAnalysisTaskLeeYangZeros.cxx
+      FLOW/AliCumulantsFunctions.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PWG2flow "${SRCS}" "${HDRS}")
diff --git a/PWG2/CMake_libPWG2resonances.txt b/PWG2/CMake_libPWG2resonances.txt
new file mode 100644 (file)
index 0000000..135d979
--- /dev/null
@@ -0,0 +1,30 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+      RESONANCES/AliRsnMCInfo.cxx 
+      RESONANCES/AliRsnDaughter.cxx 
+      RESONANCES/AliRsnPairParticle.cxx 
+      RESONANCES/AliRsnCut.cxx 
+      RESONANCES/AliRsnExpression.cxx 
+      RESONANCES/AliRsnCutSet.cxx 
+      RESONANCES/AliRsnCutMgr.cxx 
+      RESONANCES/AliRsnPID.cxx 
+      RESONANCES/AliRsnPIDWeightsMgr.cxx 
+      RESONANCES/AliRsnPIDIndex.cxx 
+      RESONANCES/AliRsnEvent.cxx 
+      RESONANCES/AliRsnReader.cxx 
+      RESONANCES/AliRsnReaderTaskSE.cxx 
+      RESONANCES/AliRsnPairDef.cxx 
+      RESONANCES/AliRsnPairSimple.cxx 
+      RESONANCES/AliRsnEventBuffer.cxx 
+      RESONANCES/AliRsnAnalysisSimple.cxx 
+      RESONANCES/AliRsnAnalyzerSimple.cxx 
+      RESONANCES/AliRsnAnalysisSimpleTask.cxx 
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PWG2resonances "${SRCS}" "${HDRS}")
+
diff --git a/PWG2/CMake_libPWG2spectra.txt b/PWG2/CMake_libPWG2spectra.txt
new file mode 100644 (file)
index 0000000..0f6792a
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+    SPECTRA/AliProtonAnalysis.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PWG2spectra "${SRCS}" "${HDRS}")
+
diff --git a/PWG3/CMakeLists.txt b/PWG3/CMakeLists.txt
new file mode 100644 (file)
index 0000000..818f647
--- /dev/null
@@ -0,0 +1,35 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/PWG3
+${CMAKE_SOURCE_DIR}/PWG3/base
+${CMAKE_SOURCE_DIR}/PWG3/muon
+${CMAKE_SOURCE_DIR}/PWG3/vertexingHF
+${CMAKE_SOURCE_DIR}/PWG3/vertexingOld
+${CMAKE_SOURCE_DIR}/STEER 
+${CMAKE_SOURCE_DIR}/ANALYSIS
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libPWG3base.txt)
+
+include(CMake_libPWG3.txt)
+
+include(CMake_libPWG3vertexingHF.txt)
+
+include(CMake_libPWG3vertexingOld.txt)
+
+include(CMake_libPWG3muon.txt)
diff --git a/PWG3/CMake_libPWG3.txt b/PWG3/CMake_libPWG3.txt
new file mode 100644 (file)
index 0000000..df43b88
--- /dev/null
@@ -0,0 +1,11 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PWG3 "${SRCS}" "${HDRS}")
+
diff --git a/PWG3/CMake_libPWG3base.txt b/PWG3/CMake_libPWG3base.txt
new file mode 100644 (file)
index 0000000..d3ad58a
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+  base/AliQuarkoniaAcceptance.cxx 
+  base/AliQuarkoniaEfficiency.cxx 
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PWG3base "${SRCS}" "${HDRS}")
diff --git a/PWG3/CMake_libPWG3muon.txt b/PWG3/CMake_libPWG3muon.txt
new file mode 100644 (file)
index 0000000..c029cf5
--- /dev/null
@@ -0,0 +1,18 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+                 muon/AliAnalysisTaskESDMuonFilter.cxx 
+                 muon/AliAnalysisTaskMuonAODfromGeneral.cxx 
+                 muon/AliAnalysisTaskSingleMu.cxx 
+                 muon/AliAnalysisTaskLUT.cxx  
+                 muon/AliAnalysisTaskTrigChEff.cxx 
+                 muon/AliAODDimuon.cxx 
+                 muon/AliAODEventInfo.cxx 
+                 muon/AliESDMuonTrackCuts.cxx 
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PWG3muon "${SRCS}" "${HDRS}" "${HDRS}")
diff --git a/PWG3/CMake_libPWG3vertexingHF.txt b/PWG3/CMake_libPWG3vertexingHF.txt
new file mode 100644 (file)
index 0000000..08f2a89
--- /dev/null
@@ -0,0 +1,16 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       vertexingHF/AliAODRecoDecayHF.cxx 
+       vertexingHF/AliAODRecoDecayHF2Prong.cxx  vertexingHF/AliAODRecoDecayHF3Prong.cxx 
+       vertexingHF/AliAODRecoDecayHF4Prong.cxx 
+       vertexingHF/AliAnalysisVertexingHF.cxx vertexingHF/AliAnalysisTaskVertexingHF.cxx 
+       vertexingHF/AliAnalysisTaskSEVertexingHF.cxx 
+       vertexingHF/AliAnalysisTaskSESelectHF.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PWG3vertexingHF "${SRCS}" "${HDRS}")
diff --git a/PWG3/CMake_libPWG3vertexingOld.txt b/PWG3/CMake_libPWG3vertexingOld.txt
new file mode 100644 (file)
index 0000000..f2478e0
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       vertexingOld/AliD0toKpi.cxx  vertexingOld/AliD0toKpiAnalysis.cxx 
+       vertexingOld/AliBtoJPSItoEle.cxx  vertexingOld/AliBtoJPSItoEleAnalysis.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PWG3vertexingOld "${SRCS}" "${HDRS}")
diff --git a/PWG4/CMakeLists.txt b/PWG4/CMakeLists.txt
new file mode 100644 (file)
index 0000000..630260b
--- /dev/null
@@ -0,0 +1,25 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/PWG4
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/ANALYSIS 
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libPWG4PartCorr.txt)
+
diff --git a/PWG4/CMake_libPWG4PartCorr.txt b/PWG4/CMake_libPWG4PartCorr.txt
new file mode 100644 (file)
index 0000000..e3cdfb9
--- /dev/null
@@ -0,0 +1,20 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       AliAnaCaloTrigger.cxx AliAnaCaloTriggerMC.cxx 
+       AliAODParticleCorrelation.cxx AliAnalysisTaskPHOSExample.cxx 
+       AliNeutralMesonSelection.cxx  AliFidutialCut.cxx AliCaloPID.cxx AliIsolationCut.cxx
+       AliAnaScale.cxx AliAnaPartCorrMaker.cxx 
+       AliAnaPartCorrBaseClass.cxx  AliAnaExample.cxx AliAnaGammaDirect.cxx  
+       AliAnaParticlePartonCorrelation.cxx AliAnaParticleHadronCorrelation.cxx 
+       AliAnaParticleJetLeadingConeCorrelation.cxx AliAnalysisTaskParticleCorrelation.cxx 
+       AliCaloTrackReader.cxx AliCaloTrackESDReader.cxx 
+       AliCaloTrackAODReader.cxx AliCaloTrackMCReader.cxx  
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(PWG4PartCorr "${SRCS}" "${HDRS}")
+
diff --git a/PYTHIA6/CMakeLists.txt b/PYTHIA6/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9e2cfe8
--- /dev/null
@@ -0,0 +1,29 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/PYTHIA6
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/LHAPDF
+${CMAKE_SOURCE_DIR}/EVGEN
+${CMAKE_SOURCE_DIR}/FASTSIM
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libpythia6.txt)
+
+include(CMake_libAliPythia6.txt)
+
+
diff --git a/PYTHIA6/CMake_libAliPythia6.txt b/PYTHIA6/CMake_libAliPythia6.txt
new file mode 100644 (file)
index 0000000..8dfec69
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliPythiaBase.cxx AliPythia.cxx AliPythia6.cxx AliGenPythia.cxx AliGenPythiaPlus.cxx AliDecayerPythia.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(AliPythia6 "${SRCS}" "${HDRS}")
+
diff --git a/PYTHIA6/CMake_libpythia6.txt b/PYTHIA6/CMake_libpythia6.txt
new file mode 100644 (file)
index 0000000..3751a35
--- /dev/null
@@ -0,0 +1,28 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliPythiaRndm.cxx
+)
+
+set(CSRCS
+main.c
+pythia6_common_address.c
+)
+
+set(FSRCS
+pythia6214.f
+pdf_alice.F
+pythia6_common_block_address.F
+tpythia6_called_from_cc.F
+openDecayTable.F
+pyquen1_3.F
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+Set(SRCS ${SRCS} ${FSRCS} ${CSRCS})
+
+AddLibrary(pythia6 "${SRCS}" "${HDRS}")
+
diff --git a/PYTHIA8/CMakeLists.txt b/PYTHIA8/CMakeLists.txt
new file mode 100644 (file)
index 0000000..acb1930
--- /dev/null
@@ -0,0 +1,24 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/PYTHIA8
+${ALIROOT_INSTALL_DIR}/include 
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libAliPythia8.txt)
+
diff --git a/PYTHIA8/CMake_libAliPythia8.txt b/PYTHIA8/CMake_libAliPythia8.txt
new file mode 100644 (file)
index 0000000..a867f3b
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliPythia8.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(AliPythia8 "${SRCS}" "${HDRS}")
+
diff --git a/RALICE/CMakeLists.txt b/RALICE/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f1f5d1a
--- /dev/null
@@ -0,0 +1,23 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/RALICE
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libRALICE.txt)
+
diff --git a/RALICE/CMake_libRALICE.txt b/RALICE/CMake_libRALICE.txt
new file mode 100644 (file)
index 0000000..16d601a
--- /dev/null
@@ -0,0 +1,18 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+        Ali3Vector.cxx Ali4Vector.cxx AliBoost.cxx AliCalcluster.cxx 
+       AliCalmodule.cxx AliCalorimeter.cxx AliInvmass.cxx AliJet.cxx 
+       AliMath.cxx AliPosition.cxx AliRandom.cxx AliSample.cxx AliSignal.cxx 
+       AliTrack.cxx AliVertex.cxx Ali3VectorObj.cxx Ali4VectorObj.cxx 
+       AliPositionObj.cxx AliEvent.cxx AliCollider.cxx AliObjMatrix.cxx 
+        AliAttrib.cxx AliAttribObj.cxx AliHelix.cxx AliDevice.cxx 
+        AliTimestamp.cxx AliJob.cxx AliAstrolab.cxx AliEventSelector.cxx 
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(RALICE "${SRCS}" "${HDRS}")
+
diff --git a/RAW/CMakeLists.txt b/RAW/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9405da8
--- /dev/null
@@ -0,0 +1,39 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/RAW
+${CMAKE_SOURCE_DIR}/STEER
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libRAWDatasim.txt)
+
+include(CMake_libMDC.txt)
+
+include(CMake_libMDCFilter.txt)
+
+include(CMake_libRAWDatarec.txt)
+
+include(CMake_libRAWDatabase.txt)
+
+include(CMake_libRAWDatarecOnline.txt)
+
+include(CMake_binalimdc.txt)
+
+include(CMake_binalirawdump.txt)
+
+include(CMake_bindateStream.txt)
+
diff --git a/RAW/CMake_binalimdc.txt b/RAW/CMake_binalimdc.txt
new file mode 100644 (file)
index 0000000..6f33d97
--- /dev/null
@@ -0,0 +1,14 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+alimdc_main.cxx
+)
+
+Set(LIBS 
+         AOD CDB ESD HLTbase ITSbase ITSrec ITSsim MDC MUONbase MUONcalib
+         MUONcore MUONevaluation MUONgeometry MUONmapping MUONraw MUONrec
+         MUONsim MUONtrigger RAWDatabase RAWDatarec RAWDatasim STEER 
+         STEERBase TPCbase TPCrec TPCsim)
+
+AddExecutable(alimdc "${SRCS}" "${LIBS}")
+
diff --git a/RAW/CMake_binalirawdump.txt b/RAW/CMake_binalirawdump.txt
new file mode 100644 (file)
index 0000000..5fe2ce1
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+alirawdump_main.cxx
+)
+
+Set(LIBS
+         STEERBase ESD AOD RAWDatabase RAWDatarec RAWDatasim MDC CDB STEER TPCbase
+         TPCsim TPCrec HLTbase ITSbase ITSsim ITSrec MUONevaluation MUONsim MUONrec
+          MUONbase MUONtrigger MUONgeometry MUONraw MUONcalib MUONmapping MUONcore)
+
+AddExecutable(alirawdump "${SRCS}" "${LIBS}")
diff --git a/RAW/CMake_bindateStream.txt b/RAW/CMake_bindateStream.txt
new file mode 100644 (file)
index 0000000..576da30
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+dateStream.cxx
+)
+
+Set(LIBS STEERBase ESD AOD RAWDatabase RAWDatarec RAWDatasim MDC CDB STEER
+         TPCbase TPCsim TPCrec HLTbase ITSbase ITSsim ITSrec MUONevaluation MUONsim
+         MUONrec MUONbase MUONtrigger MUONgeometry MUONraw MUONcalib MUONmapping
+         MUONcore)
+
+AddExecutable(dateStream "${SRCS}" "${LIBS}")
diff --git a/RAW/CMake_libMDC.txt b/RAW/CMake_libMDC.txt
new file mode 100644 (file)
index 0000000..423fda5
--- /dev/null
@@ -0,0 +1,14 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       AliMDC.cxx AliRawDB.cxx 
+       AliRawRFIODB.cxx AliRawCastorDB.cxx AliRawRootdDB.cxx 
+       AliRawNullDB.cxx AliTagDB.cxx AliTagNullDB.cxx 
+       mdc.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(MDC "${SRCS}" "${HDRS}" "${HDRS}")
diff --git a/RAW/CMake_libMDCFilter.txt b/RAW/CMake_libMDCFilter.txt
new file mode 100644 (file)
index 0000000..2541893
--- /dev/null
@@ -0,0 +1,11 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(MDCFilter "${SRCS}" "${HDRS}" "${HDRS}")
diff --git a/RAW/CMake_libRAWDatabase.txt b/RAW/CMake_libRAWDatabase.txt
new file mode 100644 (file)
index 0000000..a0338ed
--- /dev/null
@@ -0,0 +1,18 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       AliRawEventHeaderBase.cxx AliRawEquipmentHeader.cxx 
+       AliRawData.cxx AliRawEquipment.cxx AliRawEvent.cxx 
+       AliRawDataArray.cxx 
+       AliStats.cxx AliRawEventTag.cxx 
+       AliAltroMapping.cxx AliCaloAltroMapping.cxx 
+       AliDAQ.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+Set(HDRS ${HDRS} ${ROOTSYS}/include/TH1F.h)
+
+AddLibrary(RAWDatabase "${SRCS}" "${HDRS}")
diff --git a/RAW/CMake_libRAWDatarec.txt b/RAW/CMake_libRAWDatarec.txt
new file mode 100644 (file)
index 0000000..8354f7d
--- /dev/null
@@ -0,0 +1,20 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       AliFilter.cxx 
+       AliRawReader.cxx AliRawReaderFile.cxx AliRawReaderRoot.cxx 
+       AliRawReaderDate.cxx AliRawReaderDateV3.cxx 
+       AliRawReaderMemory.cxx 
+       AliRawHLTManager.cxx 
+       AliAltroRawStream.cxx 
+       AliCaloRawStream.cxx 
+       AliVMERawStream.cxx 
+       AliAltroDecoder.cxx AliAltroData.cxx AliAltroBunch.cxx AliAltroRawStreamFast.cxx
+        AliRawReaderChain.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(RAWDatarec "${SRCS}" "${HDRS}")
diff --git a/RAW/CMake_libRAWDatarecOnline.txt b/RAW/CMake_libRAWDatarecOnline.txt
new file mode 100644 (file)
index 0000000..d6c1cd6
--- /dev/null
@@ -0,0 +1,11 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliRawReaderDateOnline.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(RAWDatarecOnline "${SRCS}" "${HDRS}")
diff --git a/RAW/CMake_libRAWDatasim.txt b/RAW/CMake_libRAWDatasim.txt
new file mode 100644 (file)
index 0000000..7c34c34
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliBitPacking.cxx
+AliAltroBuffer.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(RAWDatasim "${SRCS}" "${HDRS}")
diff --git a/STAT/CMakeLists.txt b/STAT/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6aecf03
--- /dev/null
@@ -0,0 +1,25 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/STAT
+${CMAKE_SOURCE_DIR}/STEER 
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libSTAT.txt)
+
+
diff --git a/STAT/CMake_libSTAT.txt b/STAT/CMake_libSTAT.txt
new file mode 100644 (file)
index 0000000..91e7bc2
--- /dev/null
@@ -0,0 +1,19 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+  TKDTree.cxx 
+  TKDInterpolatorBase.cxx 
+  TKDNodeInfo.cxx 
+  TKDPDF.cxx 
+  TKDInterpolator.cxx 
+  TKDSpline.cxx 
+  AliTMinuitToolkit.cxx 
+  TStatToolkit.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(STAT "${SRCS}" "${HDRS}" "${HDRS}")
+
diff --git a/STEER/ARVersion.h.in b/STEER/ARVersion.h.in
new file mode 100644 (file)
index 0000000..4d628fa
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef ALIROOT_ARVersion
+#define ALIROOT_ARVersion
+#define ALIROOT_SVN_REVISION @ALIROOT_SVN_REVISION@
+#define ALIROOT_SVN_BRANCH "@ALIROOT_SVN_BRANCH@"
+#define ALIROOT_VERSION @ALIROOT_VERSION@
+#endif
diff --git a/STEER/CMakeLists.txt b/STEER/CMakeLists.txt
new file mode 100644 (file)
index 0000000..3492b72
--- /dev/null
@@ -0,0 +1,32 @@
+# -*- mode: cmake -*-
+# Create all libraries of STEER subdirectory 
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/RAW
+${CMAKE_SOURCE_DIR}/HLT/sim
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+# include files with the descriptions how to build the
+# different libraries of this subdirectory
+
+include(CMake_libESD.txt)
+
+include(CMake_libCDB.txt)
+
+include(CMake_libSTEERBase.txt)
+
+include(CMake_libSTEER.txt)
+
+include(CMake_libAOD.txt)
diff --git a/STEER/CMake_libAOD.txt b/STEER/CMake_libAOD.txt
new file mode 100644 (file)
index 0000000..53901a0
--- /dev/null
@@ -0,0 +1,18 @@
+# -*- mode: cmake -*-
+
+set(SRCS 
+        AliAODEvent.cxx AliAODHeader.cxx 
+       AliAODTrack.cxx AliAODPid.cxx AliAODVertex.cxx 
+       AliAODCluster.cxx AliAODCaloCluster.cxx AliAODPmdCluster.cxx AliAODFmdCluster.cxx 
+       AliAODJet.cxx AliAODPhoton.cxx AliAODRedCov.cxx AliAODRecoDecay.cxx 
+       AliAODHandler.cxx AliAODTracklets.cxx AliAODTagCreator.cxx 
+       AliAODv0.cxx AliAODCaloCells.cxx AliAODInputHandler.cxx AliMultiAODInputHandler.cxx AliAODDiJet.cxx
+        AliAODcascade.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(AOD "${SRCS}" "${HDRS}" "${HDRS}")
+
diff --git a/STEER/CMake_libCDB.txt b/STEER/CMake_libCDB.txt
new file mode 100644 (file)
index 0000000..653523c
--- /dev/null
@@ -0,0 +1,17 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliCDBEntry.cxx AliCDBId.cxx AliCDBMetaData.cxx 
+AliCDBPath.cxx AliCDBRunRange.cxx AliCDBManager.cxx 
+AliCDBStorage.cxx AliCDBLocal.cxx AliCDBDump.cxx AliCDBGrid.cxx 
+AliDCSValue.cxx AliDCSSensor.cxx AliDCSSensorArray.cxx 
+AliDCSGenDB.cxx AliSplineFit.cxx TTreeStream.cxx 
+AliPreprocessor.cxx AliShuttleInterface.cxx 
+AliGRPDCS.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(CDB "${SRCS}" "${HDRS}" "${HDRS}")
diff --git a/STEER/CMake_libESD.txt b/STEER/CMake_libESD.txt
new file mode 100644 (file)
index 0000000..de9726f
--- /dev/null
@@ -0,0 +1,38 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       AliESDEvent.cxx AliESDInputHandler.cxx AliESDInputHandlerRP.cxx AliESDfriend.cxx AliESD.cxx 
+       AliESDtrack.cxx AliESDfriendTrack.cxx
+       AliESDMuonTrack.cxx AliESDPmdTrack.cxx AliESDTrdTrack.cxx AliESDHLTtrack.cxx 
+       AliESDv0.cxx AliESDcascade.cxx AliVertex.cxx AliESDVertex.cxx 
+       AliESDpid.cxx AliESDkink.cxx 
+       AliESDCaloCluster.cxx AliESDMuonCluster.cxx AliESDMuonPad.cxx 
+       AliKFParticleBase.cxx AliKFParticle.cxx AliKFVertex.cxx
+       AliKalmanTrack.cxx AliExternalTrackParam.cxx 
+       AliVertexerTracks.cxx AliStrLine.cxx 
+       AliESDV0Params.cxx 
+       AliESDTagCreator.cxx 
+       AliTrackPointArray.cxx 
+       AliESDFMD.cxx AliFMDMap.cxx AliFMDFloatMap.cxx 
+       AliESDMultITS.cxx 
+       AliESDVZERO.cxx 
+       AliMultiplicity.cxx 
+       AliSelector.cxx 
+       AliESDRun.cxx 
+       AliESDHeader.cxx 
+       AliESDZDC.cxx 
+       AliESDTZERO.cxx 
+       AliESDCaloTrigger.cxx 
+       AliRawDataErrorLog.cxx 
+       AliMeanVertex.cxx 
+       AliESDCaloCells.cxx 
+       AliESDACORDE.cxx
+       AliTriggerIR.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(ESD "${SRCS}" "${HDRS}" "${HDRS}")
+
diff --git a/STEER/CMake_libSTEER.txt b/STEER/CMake_libSTEER.txt
new file mode 100644 (file)
index 0000000..9ef6165
--- /dev/null
@@ -0,0 +1,123 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliRunLoader.cxx 
+AliLoader.cxx 
+AliDataLoader.cxx  
+AliObjectLoader.cxx 
+AliBaseLoader.cxx 
+AliTreeLoader.cxx 
+AliTaskLoader.cxx 
+AliDetector.cxx        
+AliDigit.cxx   
+AliHit.cxx     
+AliPoints.cxx 
+AliDisplay.cxx 
+AliRun.cxx 
+AliGenerator.cxx 
+AliVertexGenerator.cxx 
+AliLego.cxx    
+AliModule.cxx  
+AliDigitNew.cxx 
+AliGeometry.cxx        
+AliRecPoint.cxx        
+AliHitMap.cxx  
+AliMagFC.cxx   
+AliMagFCM.cxx 
+AliMagFDM.cxx  
+AliLegoGenerator.cxx 
+AliLegoGeneratorXYZ.cxx
+AliLegoGeneratorPhiZ.cxx 
+AliLegoGeneratorEta.cxx 
+AliLegoGeneratorEtaR.cxx 
+AliRndm.cxx 
+AliMCQA.cxx 
+AliDebugVolume.cxx 
+AliConfig.cxx 
+AliRunDigitizer.cxx 
+AliDigitizer.cxx 
+AliStream.cxx 
+AliMergeCombi.cxx 
+AliMagFMaps.cxx 
+AliFieldMap.cxx 
+AliMagFCheb.cxx 
+AliCheb3D.cxx 
+AliCheb3DCalc.cxx
+AliGausCorr.cxx 
+AliTrackMap.cxx 
+AliTrackMapper.cxx 
+AliMemoryWatcher.cxx 
+AliVertexer.cxx 
+AliV0vertexer.cxx 
+AliCascadeVertexer.cxx
+AliMC.cxx 
+AliSimulation.cxx 
+AliReconstruction.cxx 
+AliVertexGenFile.cxx 
+AliReconstructor.cxx 
+AliGeomManager.cxx 
+AliAlignObj.cxx 
+AliAlignObjParams.cxx 
+AliAlignObjMatrix.cxx 
+AliTriggerInput.cxx 
+AliTriggerDetector.cxx 
+AliTriggerConfiguration.cxx 
+AliTriggerBCMask.cxx 
+AliTriggerInteraction.cxx 
+AliTriggerDescriptor.cxx 
+AliTriggerClass.cxx 
+AliTriggerCluster.cxx 
+AliTriggerPFProtection.cxx 
+AliCentralTrigger.cxx 
+AliRieman.cxx
+AliTrackFitter.cxx 
+AliTrackFitterRieman.cxx 
+AliTrackFitterKalman.cxx
+AliTrackFitterStraight.cxx
+AliTrackResiduals.cxx 
+AliTrackResidualsChi2.cxx 
+AliTrackResidualsFast.cxx 
+AliTrackResidualsLinear.cxx
+AliAlignmentTracks.cxx 
+AliRelAlignerKalman.cxx
+AliExpression.cxx 
+AliCTPRawStream.cxx 
+AliMathBase.cxx 
+AliSignalProcesor.cxx 
+AliTracker.cxx 
+AliCluster.cxx 
+AliCluster3D.cxx 
+AliHelix.cxx 
+AliV0.cxx 
+AliKink.cxx 
+AliSelectorRL.cxx 
+AliMagFMapsV1.cxx 
+AliMagWrapCheb.cxx 
+AliSurveyObj.cxx 
+AliSurveyPoint.cxx 
+AliFstream.cxx 
+AliCTPRawData.cxx 
+AliQADataMaker.cxx 
+AliGlobalQADataMaker.cxx 
+AliQADataMakerSim.cxx 
+AliQADataMakerRec.cxx 
+AliQADataMakerSteer.cxx 
+AliQAChecker.cxx 
+AliQACheckerBase.cxx 
+AliMillepede.cxx 
+AliRecoParam.cxx 
+AliDetectorRecoParam.cxx 
+AliPlaneEff.cxx 
+AliTriggerRunScalers.cxx 
+AliGRPPreprocessor.cxx 
+AliEventInfo.cxx
+AliGlobalQAChecker.cxx
+AliRunInfo.cxx
+)
+
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(STEER "${SRCS}" "${HDRS}" "${HDRS}")
diff --git a/STEER/CMake_libSTEER.txt.ori b/STEER/CMake_libSTEER.txt.ori
new file mode 100644 (file)
index 0000000..615d9af
--- /dev/null
@@ -0,0 +1,121 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliRunLoader.cxx 
+AliLoader.cxx 
+AliDataLoader.cxx  
+AliObjectLoader.cxx 
+AliBaseLoader.cxx 
+AliTreeLoader.cxx 
+AliTaskLoader.cxx 
+AliDetector.cxx        
+AliDigit.cxx   
+AliHit.cxx     
+AliPoints.cxx 
+AliDisplay.cxx 
+AliRun.cxx 
+AliGenerator.cxx 
+AliVertexGenerator.cxx 
+AliLego.cxx    
+AliModule.cxx  
+AliDigitNew.cxx 
+AliGeometry.cxx        
+AliRecPoint.cxx        
+AliSegmentation.cxx 
+AliHitMap.cxx  
+AliMagFC.cxx   
+AliMagFCM.cxx 
+AliMagFDM.cxx  
+AliLegoGenerator.cxx 
+AliLegoGeneratorXYZ.cxx
+AliLegoGeneratorPhiZ.cxx 
+AliLegoGeneratorEta.cxx 
+AliLegoGeneratorEtaR.cxx 
+AliRndm.cxx 
+AliMCQA.cxx 
+AliDebugVolume.cxx 
+AliConfig.cxx 
+AliRunDigitizer.cxx 
+AliDigitizer.cxx 
+AliStream.cxx 
+AliMergeCombi.cxx 
+AliMagFMaps.cxx 
+AliFieldMap.cxx 
+AliMagFCheb.cxx 
+AliCheb3D.cxx 
+AliCheb3DCalc.cxx
+AliGausCorr.cxx 
+AliTrackMap.cxx 
+AliTrackMapper.cxx 
+AliMemoryWatcher.cxx 
+AliVertexer.cxx 
+AliV0vertexer.cxx 
+AliCascadeVertexer.cxx
+AliMC.cxx 
+AliSimulation.cxx 
+AliReconstruction.cxx 
+AliVertexGenFile.cxx 
+AliReconstructor.cxx 
+AliGeomManager.cxx 
+AliAlignObj.cxx 
+AliAlignObjParams.cxx 
+AliAlignObjMatrix.cxx 
+AliTriggerInput.cxx 
+AliTriggerDetector.cxx 
+AliTriggerConfiguration.cxx 
+AliTriggerBCMask.cxx 
+AliTriggerInteraction.cxx 
+AliTriggerDescriptor.cxx 
+AliTriggerClass.cxx 
+AliTriggerCluster.cxx 
+AliTriggerPFProtection.cxx 
+AliCentralTrigger.cxx 
+AliRieman.cxx
+AliTrackFitter.cxx 
+AliTrackFitterRieman.cxx 
+AliTrackFitterKalman.cxx
+AliTrackFitterStraight.cxx
+AliTrackResiduals.cxx 
+AliTrackResidualsChi2.cxx 
+AliTrackResidualsFast.cxx 
+AliTrackResidualsLinear.cxx
+AliAlignmentTracks.cxx 
+AliRelAlignerKalman.cxx
+AliExpression.cxx 
+AliCTPRawStream.cxx 
+AliMathBase.cxx 
+AliSignalProcesor.cxx 
+AliTracker.cxx 
+AliCluster.cxx 
+AliCluster3D.cxx 
+AliHelix.cxx 
+AliV0.cxx 
+AliKink.cxx 
+AliSelectorRL.cxx 
+AliMagFMapsV1.cxx 
+AliMagWrapCheb.cxx 
+AliSurveyObj.cxx 
+AliSurveyPoint.cxx 
+AliFstream.cxx 
+AliCTPRawData.cxx 
+AliQADataMaker.cxx 
+AliGlobalQADataMaker.cxx 
+AliQADataMakerSim.cxx 
+AliQADataMakerRec.cxx 
+AliQADataMakerSteer.cxx 
+AliQAChecker.cxx 
+AliQACheckerBase.cxx 
+AliMillepede.cxx 
+AliRecoParam.cxx 
+AliDetectorRecoParam.cxx 
+AliPlaneEff.cxx 
+AliTriggerRunScalers.cxx 
+AliGRPPreprocessor.cxx 
+AliEventInfo.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(STEER "${SRCS}" "${HDRS}" "${HDRS}")
diff --git a/STEER/CMake_libSTEERBase.txt b/STEER/CMake_libSTEERBase.txt
new file mode 100644 (file)
index 0000000..a47a9e4
--- /dev/null
@@ -0,0 +1,32 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       AliVParticle.cxx
+       AliVEvent.cxx
+       AliVHeader.cxx
+       AliVEventHandler.cxx
+       AliPID.cxx AliLog.cxx
+       AliRunTag.cxx AliLHCTag.cxx AliDetectorTag.cxx AliEventTag.cxx
+       AliEventTagCuts.cxx AliRunTagCuts.cxx
+       AliLHCTagCuts.cxx AliDetectorTagCuts.cxx
+       AliTagCreator.cxx
+       AliHeader.cxx AliGenEventHeader.cxx AliDetectorEventHeader.cxx
+       AliGenPythiaEventHeader.cxx AliGenCocktailEventHeader.cxx
+       AliGenHijingEventHeader.cxx AliCollisionGeometry.cxx
+       AliGenDPMjetEventHeader.cxx
+       AliStack.cxx AliMCEventHandler.cxx AliInputEventHandler.cxx
+       AliTrackReference.cxx AliSysInfo.cxx
+       AliMCEvent.cxx AliMCParticle.cxx
+       AliMagF.cxx
+       AliCodeTimer.cxx
+       AliPDG.cxx
+       AliQA.cxx
+       AliTimeStamp.cxx AliTriggerScalers.cxx AliTriggerScalersRecord.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(STEERBase "${SRCS}" "${HDRS}" "${HDRS}")
+
diff --git a/STEER/CMake_libSTEERBase.txt.ori b/STEER/CMake_libSTEERBase.txt.ori
new file mode 100644 (file)
index 0000000..3f0a369
--- /dev/null
@@ -0,0 +1,32 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       AliVParticle.cxx
+       AliVEvent.cxx
+       AliVHeader.cxx
+       AliVEventHandler.cxx
+       AliPID.cxx AliLog.cxx
+       AliRunTag.cxx AliLHCTag.cxx AliDetectorTag.cxx AliEventTag.cxx
+       AliEventTagCuts.cxx AliRunTagCuts.cxx
+       AliLHCTagCuts.cxx AliDetectorTagCuts.cxx
+       AliTagCreator.cxx
+       AliHeader.cxx AliGenEventHeader.cxx AliDetectorEventHeader.cxx
+       AliGenPythiaEventHeader.cxx AliGenCocktailEventHeader.cxx
+       AliGenHijingEventHeader.cxx AliCollisionGeometry.cxx
+       AliGenDPMjetEventHeader.cxx
+       AliStack.cxx AliMCEventHandler.cxx AliInputEventHandler.cxx
+       AliTrackReference.cxx AliSysInfo.cxx
+       AliMCEvent.cxx AliMCParticle.cxx
+       AliMagF.cxx
+       AliCodeTimer.cxx
+       AliPDG.cxx
+       AliQA.cxx
+       AliTimeStamp.cxx AliTriggerScalers.cxx AliTriggerScalersRecord.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(STEERbase "${SRCS}" "${HDRS}" "${HDRS}")
+
diff --git a/STRUCT/CMakeLists.txt b/STRUCT/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e604b23
--- /dev/null
@@ -0,0 +1,24 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/STRUCT
+${CMAKE_SOURCE_DIR}/STEER
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libSTRUCT.txt)
+
diff --git a/STRUCT/CMake_libSTRUCT.txt b/STRUCT/CMake_libSTRUCT.txt
new file mode 100644 (file)
index 0000000..ebc15ec
--- /dev/null
@@ -0,0 +1,18 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+       AliMAG.cxx      AliABSO.cxx       AliABSOv0.cxx 
+       AliDIPO.cxx     AliDIPOv2.cxx     AliDIPOv3.cxx 
+       AliFRAME.cxx    AliFRAMEv0.cxx    AliFRAMEv1.cxx AliFRAMEv2.cxx 
+       AliHALL.cxx     AliHALLv3.cxx     
+       AliSHIL.cxx     AliSHILv0.cxx AliABSOv3.cxx
+       AliPIPE.cxx     AliPIPEv0.cxx AliPIPEv3.cxx 
+       AliBODY.cxx     AliSHILv2.cxx AliSHILv3.cxx 
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(STRUCT "${SRCS}" "${HDRS}")
+
diff --git a/T0/CMakeLists.txt b/T0/CMakeLists.txt
new file mode 100644 (file)
index 0000000..21de597
--- /dev/null
@@ -0,0 +1,30 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/T0
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/RAW
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libT0shuttle.txt)
+
+include(CMake_libT0rec.txt)
+
+include(CMake_libT0base.txt)
+
+include(CMake_libT0sim.txt)
+
diff --git a/T0/CMake_libT0base.txt b/T0/CMake_libT0base.txt
new file mode 100644 (file)
index 0000000..619c864
--- /dev/null
@@ -0,0 +1,26 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliT0.cxx
+AliT0digit.cxx
+AliT0Trigger.cxx
+AliT0CalibData.cxx
+AliT0CalibTimeEq.cxx
+AliT0CalibWalk.cxx
+AliT0Parameters.cxx
+AliT0LookUpValue.cxx
+AliT0LookUpKey.cxx
+AliT0Align.cxx
+AliT0QAChecker.cxx
+AliT0RecPoint.cxx
+AliT0hit.cxx
+AliT0RawReader.cxx
+AliT0RawData.cxx
+AliT0Digitizer.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(T0base "${SRCS}" "${HDRS}")
diff --git a/T0/CMake_libT0rec.txt b/T0/CMake_libT0rec.txt
new file mode 100644 (file)
index 0000000..62b8fc5
--- /dev/null
@@ -0,0 +1,14 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliT0Reconstructor.cxx
+AliT0Calibrator.cxx
+AliT0CalibLaserData.cxx
+AliT0QADataMakerRec.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(T0rec "${SRCS}" "${HDRS}")
diff --git a/T0/CMake_libT0shuttle.txt b/T0/CMake_libT0shuttle.txt
new file mode 100644 (file)
index 0000000..afec3c8
--- /dev/null
@@ -0,0 +1,13 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliT0Preprocessor.cxx
+AliT0DataDCS.cxx
+AliT0PreprocessorCosmic.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(T0shuttle "${SRCS}" "${HDRS}")
diff --git a/T0/CMake_libT0sim.txt b/T0/CMake_libT0sim.txt
new file mode 100644 (file)
index 0000000..a302904
--- /dev/null
@@ -0,0 +1,15 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliT0v0.cxx
+AliT0v1.cxx
+AliT0QADataMakerSim.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(T0sim "${SRCS}" "${HDRS}")
+
+
diff --git a/TDPMjet/CMakeLists.txt b/TDPMjet/CMakeLists.txt
new file mode 100644 (file)
index 0000000..20f85e6
--- /dev/null
@@ -0,0 +1,27 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/TDPMjet
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/EVGEN
+${CMAKE_SOURCE_DIR}/DPMJET
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libTDPMjet.txt)
+
+
diff --git a/TDPMjet/CMake_libTDPMjet.txt b/TDPMjet/CMake_libTDPMjet.txt
new file mode 100644 (file)
index 0000000..7046ac4
--- /dev/null
@@ -0,0 +1,14 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+TDPMjet.cxx
+AliGenDPMjet.cxx
+AliIonPDGCodes.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(TDPMjet "${SRCS}" "${HDRS}")
+
diff --git a/TEPEMGEN/CMakeLists.txt b/TEPEMGEN/CMakeLists.txt
new file mode 100644 (file)
index 0000000..40d593b
--- /dev/null
@@ -0,0 +1,25 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/TEPEMGEN
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/EVGEN
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libTEPEMGEN.txt)
+
diff --git a/TEPEMGEN/CMake_libTEPEMGEN.txt b/TEPEMGEN/CMake_libTEPEMGEN.txt
new file mode 100644 (file)
index 0000000..d2bebd3
--- /dev/null
@@ -0,0 +1,21 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+TEpEmGen.cxx
+AliGenEpEmv1.cxx
+)
+
+set(FSRCS
+epemgen.f
+diffcross.f
+dtrint.f
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+Set(SRCS ${SRCS} ${FSRCS})
+
+AddLibrary(TEPEMGEN "${SRCS}" "${HDRS}")
+
diff --git a/TFluka/CMakeLists.txt b/TFluka/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d14e30f
--- /dev/null
@@ -0,0 +1,71 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/TFluka
+${CMAKE_SOURCE_DIR}/include 
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+set(TFluka_SRCS
+TFluka.cxx
+TFlukaMCGeometry.cxx
+TFlukaCerenkov.cxx
+TFlukaConfigOption.cxx
+TFlukaScoringOption.cxx
+magfld.cxx
+source.cxx
+mgdraw.cxx
+bxdraw.cxx
+eedraw.cxx
+endraw.cxx
+sodraw.cxx
+usdraw.cxx
+stupre.cxx
+stuprf.cxx
+abscff.cxx
+dffcff.cxx
+queffc.cxx
+rflctv.cxx
+rfrndx.cxx
+)
+set(TFluka_FSRCS
+FLUKA_input.f
+crnkvp.f
+)
+
+If(RULE_CHECKER_FOUND)
+  CHECK_RULES("${TFluka_SRCS}" "${INCLUDE_DIRECTORIES}" TFluka_RULES)
+endIf(RULE_CHECKER_FOUND)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+CHANGE_FILE_EXTENSION(*.cxx *.h TFluka_HEADERS "${TFluka_SRCS}")
+
+set(TFluka_LINKDEF TFlukaLinkDef.h)
+set(TFluka_DICTIONARY ${CMAKE_CURRENT_BINARY_DIR}/TFlukaDict.cxx) 
+
+ROOT_GENERATE_DICTIONARY("${TFluka_HEADERS}" "${TFluka_LINKDEF}" "${TFluka_DICTIONARY}" "${INCLUDE_DIRECTORIES}")
+
+set(TFluka_SRCS ${TFluka_SRCS} ${TFluka_DICTIONARY})
+
+add_library(TFluka SHARED ${TFluka_SRCS}  ${TFluka_FSRCS})
+target_link_libraries(TFluka ${ROOT_LIBRARIES})
+#set_target_properties(TFluka PROPERTIES  ${CBMROOT_LIBRARY_PROPERTIES})
+SET_TARGET_PROPERTIES(TFluka PROPERTIES LINKER_LANGUAGE CXX)
+
+################ install ###################
+install(TARGETS TFluka DESTINATION ${CMAKE_BINARY_DIR}/lib)
+
diff --git a/THbtp/CMakeLists.txt b/THbtp/CMakeLists.txt
new file mode 100644 (file)
index 0000000..8b593d9
--- /dev/null
@@ -0,0 +1,25 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/THbtp
+${CMAKE_SOURCE_DIR}/STEER 
+${CMAKE_SOURCE_DIR}/EVGEN
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libTHbtp.txt)
+
diff --git a/THbtp/CMake_libTHbtp.txt b/THbtp/CMake_libTHbtp.txt
new file mode 100644 (file)
index 0000000..32cff88
--- /dev/null
@@ -0,0 +1,13 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+THBTprocessor.cxx
+AliGenHBTprocessor.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(THbtp "${SRCS}" "${HDRS}")
+
diff --git a/THerwig/CMakeLists.txt b/THerwig/CMakeLists.txt
new file mode 100644 (file)
index 0000000..fa38a7e
--- /dev/null
@@ -0,0 +1,28 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/THerwig
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/EVGEN
+${CMAKE_SOURCE_DIR}/LHAPDF
+${CMAKE_SOURCE_DIR}/HERWIG
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libTHerwig.txt)
+
+
diff --git a/THerwig/CMake_libTHerwig.txt b/THerwig/CMake_libTHerwig.txt
new file mode 100644 (file)
index 0000000..074bd33
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+THerwig6.cxx
+AliGenHerwig.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(THerwig "${SRCS}" "${HDRS}")
diff --git a/THijing/CMakeLists.txt b/THijing/CMakeLists.txt
new file mode 100644 (file)
index 0000000..db6b0a4
--- /dev/null
@@ -0,0 +1,27 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/THijing
+${CMAKE_SOURCE_DIR}/HIJING
+${CMAKE_SOURCE_DIR}/EVGEN
+${CMAKE_SOURCE_DIR}/STEER
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libTHijing.txt)
+
+
diff --git a/THijing/CMake_libTHijing.txt b/THijing/CMake_libTHijing.txt
new file mode 100644 (file)
index 0000000..f206d37
--- /dev/null
@@ -0,0 +1,14 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+THijing.cxx
+AliGenHijing.cxx
+AliGenBeamGasNew.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(THijing "${SRCS}" "${HDRS}")
+
diff --git a/THydjet/CMakeLists.txt b/THydjet/CMakeLists.txt
new file mode 100644 (file)
index 0000000..53ca4b5
--- /dev/null
@@ -0,0 +1,26 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/THydjet
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/EVGEN
+${CMAKE_SOURCE_DIR}/PYTHIA6
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libTHydjet.txt)
+
diff --git a/THydjet/CMake_libTHydjet.txt b/THydjet/CMake_libTHydjet.txt
new file mode 100644 (file)
index 0000000..44ba1ef
--- /dev/null
@@ -0,0 +1,22 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+THydjet.cxx
+AliGenHydjet.cxx
+AliGenHydjetEventHeader.cxx
+)
+
+set(FSRCS
+hydjet1_1/hydjet1_1.f
+hydjet1_1/pyquen1_1.f
+hydjet1_1/jetset_73.f
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+Set(SRCS ${SRCS} ${FSRCS})
+
+AddLibrary(THydjet "${SRCS}" "${HDRS}")
+
diff --git a/TIsajet/CMakeLists.txt b/TIsajet/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9a6c60b
--- /dev/null
@@ -0,0 +1,26 @@
+# -*- mode: cmake -*-
+
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/EVGEN
+${CMAKE_SOURCE_DIR}/TIsajet
+${CMAKE_SOURCE_DIR}/ISAJET
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libTIsajet.txt)
+
diff --git a/TIsajet/CMake_libTIsajet.txt b/TIsajet/CMake_libTIsajet.txt
new file mode 100644 (file)
index 0000000..0263ff3
--- /dev/null
@@ -0,0 +1,13 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+TIsajet.cxx
+AliGenIsajet.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(TIsajet "${SRCS}" "${HDRS}")
+
diff --git a/TOF/CMakeLists.txt b/TOF/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ad1df4c
--- /dev/null
@@ -0,0 +1,29 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/TOF
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/RAW
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libTOFrec.txt)
+
+include(CMake_libTOFbase.txt)
+
+include(CMake_libTOFsim.txt)
+
+
diff --git a/TOF/CMake_libTOFbase.txt b/TOF/CMake_libTOFbase.txt
new file mode 100644 (file)
index 0000000..921b0d4
--- /dev/null
@@ -0,0 +1,31 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliTOFGeometry.cxx
+AliTOFdigit.cxx
+AliTOFRawMap.cxx
+AliTOFrawData.cxx
+AliTOFRawStream.cxx
+AliTOFHitData.cxx
+AliTOFHitDataBuffer.cxx
+AliTOFDecoder.cxx
+AliTOFChannelOffline.cxx
+AliTOFChannelOnline.cxx
+AliTOFChannelOnlineStatus.cxx
+AliTOFChannelOnlineArray.cxx 
+AliTOFChannelOnlineStatusArray.cxx  
+AliTOFcalib.cxx
+AliTOFAlignment.cxx
+AliTOFPreprocessor.cxx
+AliTOFDataDCS.cxx
+AliTOFFormatDCS.cxx
+AliTOFPreprocessorFDR.cxx
+AliTOFFEEReader.cxx
+AliTOFCableLengthMap.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(TOFbase "${SRCS}" "${HDRS}")
diff --git a/TOF/CMake_libTOFrec.txt b/TOF/CMake_libTOFrec.txt
new file mode 100644 (file)
index 0000000..f9b7dd5
--- /dev/null
@@ -0,0 +1,20 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliTOFcluster.cxx
+AliTOFClusterFinder.cxx
+AliTOFtrack.cxx
+AliTOFtracker.cxx
+AliTOFtrackerMI.cxx
+AliTOFtrackerV1.cxx
+AliTOFpidESD.cxx
+AliTOFReconstructor.cxx
+AliTOFRecoParam.cxx
+AliTOFQADataMakerRec.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(TOFrec "${SRCS}" "${HDRS}" "${HDRS}")
diff --git a/TOF/CMake_libTOFsim.txt b/TOF/CMake_libTOFsim.txt
new file mode 100644 (file)
index 0000000..a3953b9
--- /dev/null
@@ -0,0 +1,25 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliTOF.cxx
+AliTOFv6T0.cxx
+AliTOFv5T0.cxx
+AliTOFhit.cxx
+AliTOFhitT0.cxx
+AliTOFHitMap.cxx
+AliTOFSDigit.cxx
+AliTOFSDigitizer.cxx
+AliTOFDigitizer.cxx
+AliTOFDigitMap.cxx
+AliTOFDDLRawData.cxx
+AliTOFT0.cxx
+AliTOFTrigger.cxx
+AliTOFQADataMakerSim.cxx
+AliTOFQAChecker.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(TOFsim "${SRCS}" "${HDRS}")
diff --git a/TPC/CMakeLists.txt b/TPC/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5a15d44
--- /dev/null
@@ -0,0 +1,37 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/TPC
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/STAT
+${CMAKE_SOURCE_DIR}/RAW
+${CMAKE_SOURCE_DIR}/ANALYSIS
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libTPCbase.txt)
+
+include(CMake_libTPCcalib.txt)
+
+include(CMake_libTPCfast.txt)
+
+include(CMake_libTPCrec.txt)
+
+include(CMake_libTPCmon.txt)
+
+include(CMake_libTPCsim.txt)
+
+
diff --git a/TPC/CMake_libTPCbase.txt b/TPC/CMake_libTPCbase.txt
new file mode 100644 (file)
index 0000000..32b874b
--- /dev/null
@@ -0,0 +1,30 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+        AliSegmentID.cxx  AliSegmentArray.cxx AliDigits.cxx AliH2F.cxx
+        AliTPCLoader.cxx AliTPCPRF2D.cxx AliTPCRF1D.cxx
+        AliDetectorParam.cxx AliTPCParam.cxx
+        AliTPCParamSR.cxx AliTPCParamCR.cxx
+        AliTPCdigit.cxx
+        AliSimDigits.cxx AliDigitsArray.cxx AliTPCDigitsArray.cxx
+       AliTPCmapper.cxx
+       AliTPCROC.cxx AliTPCCalROC.cxx AliTPCCalPad.cxx AliTPCCalDet.cxx
+       AliTPCcalibDB.cxx
+       AliTPCAltroMapping.cxx AliTPCRawStream.cxx AliTPCRawStreamFast.cxx
+       AliTPCLaserTracks.cxx AliTPCSensorTemp.cxx  AliTPCSensorTempArray.cxx
+       AliTPCCalibPedestal.cxx AliTPCCalibPulser.cxx   AliTPCCalibCE.cxx
+        AliTPCPreprocessor.cxx   AliTPCPreprocessorOnline.cxx
+        AliTPCCalibViewer.cxx  AliTPCCalibViewerGUI.cxx
+        AliTPCGenDBTemp.cxx AliTPCGenDBConf.cxx
+       AliTPCExB.cxx  AliTPCExBExact.cxx AliTPCExBFirst.cxx
+        AliTPCTempMap.cxx AliTPCCalibVdrift.cxx
+       AliTPCCalibTCF.cxx AliTPCAltroEmulator.cxx  AliTPCeventInfo.cxx
+        AliTransform.cxx AliTPCTransform.cxx AliTPCAlign.cxx AliTPCGoofieValues.cxx
+       AliTPCdataQA.cxx AliTPCQAChecker.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(TPCbase "${SRCS}" "${HDRS}")
diff --git a/TPC/CMake_libTPCcalib.txt b/TPC/CMake_libTPCcalib.txt
new file mode 100644 (file)
index 0000000..753ab79
--- /dev/null
@@ -0,0 +1,29 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliTPCcalibTracksCuts.cxx
+AliTPCcalibTracks.cxx
+AliTPCcalibTracksGain.cxx
+AliTPCSelectorESD.cxx
+AliTPCSelectorTracks.cxx
+AliTPCCalPadRegion.cxx
+AliTPCFitPad.cxx
+AliAnaTPCTrackBase.cxx
+AliAnaTPCTrackCalib.cxx
+AliTPCcalibAlign.cxx
+AliTPCcalibAlignment.cxx
+AliTPCcalibV0.cxx
+AliTPCCalibKr.cxx
+AliTPCcalibBase.cxx 
+AliTPCAnalysisTaskcalib.cxx  
+AliTPCCalibKrTask.cxx 
+AliTPCcalibLaser.cxx 
+AliTPCcalibCosmic.cxx 
+AliTPCLaserTrack.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(TPCcalib "${SRCS}" "${HDRS}")
diff --git a/TPC/CMake_libTPCfast.txt b/TPC/CMake_libTPCfast.txt
new file mode 100644 (file)
index 0000000..2fa1ff3
--- /dev/null
@@ -0,0 +1,16 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliTPCFast.cxx
+AliTPCtrackerParam.cxx
+AliTPCkineGrid.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(TPCfast "${SRCS}" "${HDRS}")
+
+
+
diff --git a/TPC/CMake_libTPCmon.txt b/TPC/CMake_libTPCmon.txt
new file mode 100644 (file)
index 0000000..e777068
--- /dev/null
@@ -0,0 +1,21 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliTPCMonitorConfig.cxx
+AliTPCMonitorAltro.cxx
+AliTPCMonitorFFT.cxx
+AliTPCMonitorMappingHandler.cxx
+AliTPCMonitor.cxx
+AliTPCMonitorDateFile.cxx
+AliTPCMonitorDateFormat.cxx
+AliTPCMonitorDialog.cxx
+)
+
+#TODO check for DATE_ROOT  and ALI_DATE is missing
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(TPCmon "${SRCS}" "${HDRS}")
+
diff --git a/TPC/CMake_libTPCrec.txt b/TPC/CMake_libTPCrec.txt
new file mode 100644 (file)
index 0000000..440930a
--- /dev/null
@@ -0,0 +1,39 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliTPCcluster.cxx
+AliTPCclusterMI.cxx
+AliComplexCluster.cxx
+AliTPCclusterInfo.cxx
+AliClusters.cxx
+AliTPCClustersRow.cxx
+AliClustersArray.cxx
+AliTPCClustersArray.cxx
+AliTPCclusterer.cxx
+AliTPCclustererMI.cxx
+AliTPCtrack.cxx
+AliTPCtracker.cxx
+AliTPCpolyTrack.cxx
+AliTPCseed.cxx
+AliTPCtrackerMI.cxx
+AliTPCtrackerSector.cxx
+AliTPCPid.cxx
+AliTPCtrackPid.cxx
+AliTPCpidESD.cxx
+AliTPCReconstructor.cxx
+AliTPCRecoParam.cxx
+AliTPCClusterParam.cxx
+AliTPCTracklet.cxx
+AliTPCQADataMakerRec.cxx
+AliPadMax.cxx
+AliTPCclustererKr.cxx
+AliTPCclusterKr.cxx
+AliTPCvtpr.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(TPCrec "${SRCS}" "${HDRS}")
+
diff --git a/TPC/CMake_libTPCsim.txt b/TPC/CMake_libTPCsim.txt
new file mode 100644 (file)
index 0000000..33bb018
--- /dev/null
@@ -0,0 +1,23 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliTPC.cxx
+AliTPCv0.cxx
+AliTPCv1.cxx
+AliTPCv2.cxx
+AliTPCv3.cxx
+AliTPCv4.cxx
+AliTPCLaser.cxx
+AliTPCTrackHitsV2.cxx
+AliTPCDigitizer.cxx
+AliTPCBuffer.cxx
+AliTPCDDLRawData.cxx
+AliTPCQADataMakerSim.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(TPCsim "${SRCS}" "${HDRS}")
+
diff --git a/TPHIC/CMakeLists.txt b/TPHIC/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6b1f7e8
--- /dev/null
@@ -0,0 +1,26 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/TPHIC
+${CMAKE_SOURCE_DIR}/STEER 
+${CMAKE_SOURCE_DIR}/EVGEN
+${CMAKE_SOURCE_DIR}/PYTHIA6
+${CMAKE_SOURCE_DIR}/LHAPDF
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libTPHIC.txt)
+
diff --git a/TPHIC/CMake_libTPHIC.txt b/TPHIC/CMake_libTPHIC.txt
new file mode 100644 (file)
index 0000000..2f0c97f
--- /dev/null
@@ -0,0 +1,19 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+TPHICgen.cxx
+AliGenTPHIC.cxx
+)
+
+set(FSRCS
+tphic17.f
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+Set(SRCS ${SRCS} ${FSRCS})
+AddLibrary(TPHIC "${SRCS}" "${HDRS}")
+
+
diff --git a/TRD/CMakeLists.txt b/TRD/CMakeLists.txt
new file mode 100644 (file)
index 0000000..62f3313
--- /dev/null
@@ -0,0 +1,40 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/TRD
+${CMAKE_SOURCE_DIR}/TRD/Cal
+${CMAKE_SOURCE_DIR}/TRD/qaGui
+${CMAKE_SOURCE_DIR}/TRD/qaAnalysis
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/RAW
+${CMAKE_SOURCE_DIR}/ANALYSIS
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libTRDgui.txt)
+
+include(CMake_libTRDqaAnalysis.txt)
+
+include(CMake_libTRDrec.txt)
+
+include(CMake_libTRDbase.txt)
+
+include(CMake_libTRDsim.txt)
+
+include(CMake_libTRDfast.txt)
+
+
+
diff --git a/TRD/CMake_libTRDbase.txt b/TRD/CMake_libTRDbase.txt
new file mode 100644 (file)
index 0000000..341c878
--- /dev/null
@@ -0,0 +1,76 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+      AliTRDarrayI.cxx
+      AliTRDarrayS.cxx
+      AliTRDarrayF.cxx
+      AliTRDsegmentID.cxx
+      AliTRDdataArray.cxx
+      AliTRDdataArrayI.cxx
+      AliTRDdataArrayS.cxx
+      AliTRDdataArrayF.cxx
+      AliTRDdataArrayDigits.cxx
+      AliTRDsegmentArray.cxx
+      AliTRDSignalIndex.cxx
+      AliTRDgeometry.cxx
+      AliTRDdigit.cxx
+      AliTRDdigitsManager.cxx
+      AliTRDrawData.cxx
+      AliTRDpadPlane.cxx
+      AliTRDRawStream.cxx
+      AliTRDRawStreamV2.cxx
+      AliTRDrawStreamTB.cxx
+      AliTRDrawStreamBase.cxx
+      AliTRDtestBeam.cxx
+      AliTRDCommonParam.cxx
+      AliTRDfeeParam.cxx
+      AliTRDcalibDB.cxx
+      Cal/AliTRDCalROC.cxx
+      Cal/AliTRDCalPad.cxx
+      Cal/AliTRDCalDet.cxx
+      Cal/AliTRDCalFEE.cxx
+      Cal/AliTRDCalDCS.cxx
+      Cal/AliTRDCalDCSFEE.cxx
+      Cal/AliTRDCalDCSPTR.cxx
+      Cal/AliTRDCalDCSGTU.cxx
+      Cal/AliTRDCalPID.cxx
+      Cal/AliTRDCalPIDLQ.cxx
+      Cal/AliTRDCalPIDNN.cxx
+      Cal/AliTRDCalPIDRefMaker.cxx
+      Cal/AliTRDCalMonitoring.cxx
+      Cal/AliTRDCalChamberStatus.cxx
+      Cal/AliTRDCalPadStatus.cxx
+      Cal/AliTRDCalSingleChamberStatus.cxx
+      AliTRDCalibraFit.cxx
+      AliTRDCalibraMode.cxx
+      AliTRDCalibraVector.cxx
+      AliTRDCalibraVdriftLinearFit.cxx
+      AliTRDCalibPadStatus.cxx
+      AliTRDQAChecker.cxx
+      AliTRDPreprocessor.cxx
+      AliTRDSaxHandler.cxx
+      AliTRDDataDCS.cxx
+      AliTRDSensor.cxx
+      AliTRDSensorArray.cxx
+      AliTRDalignment.cxx
+      AliTRDTriggerL1.cxx
+      AliTRDmcmTracklet.cxx
+      AliTRDmcm.cxx
+      AliTRDmcmSim.cxx
+      AliTRDtrigParam.cxx
+      AliTRDtrigger.cxx
+      AliTRDtrackletBase.cxx
+      AliTRDltuTracklet.cxx
+      AliTRDgtuTrack.cxx
+      AliTRDtrapAlu.cxx
+      AliTRDmodule.cxx
+      AliTRDhit.cxx
+      AliTRDrecoParam.cxx
+      AliTRDSimParam.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(TRDbase "${SRCS}" "${HDRS}")
diff --git a/TRD/CMake_libTRDfast.txt b/TRD/CMake_libTRDfast.txt
new file mode 100644 (file)
index 0000000..38180d9
--- /dev/null
@@ -0,0 +1,10 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(TRDfast "${SRCS}" "${HDRS}")
diff --git a/TRD/CMake_libTRDgui.txt b/TRD/CMake_libTRDgui.txt
new file mode 100644 (file)
index 0000000..ce07b15
--- /dev/null
@@ -0,0 +1,23 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+qaGui/AliTRDqaGuiMain.cxx
+qaGui/AliTRDqaGuiClusters.cxx
+qaGui/AliTRDqaGuiClustersSM.cxx
+qaGui/AliTRDqaGuiClustersStack.cxx
+qaGui/AliTRDqaGuiESDs.cxx
+qaGui/AliTRDqaGuiMainBlack.cxx
+qaGui/AliTRDqaGuiBlackSM.cxx
+qaGui/AliTRDqaGuiBlackChamber.cxx
+qaGui/AliTRDqaGuiJPsi.cxx
+qaGui/AliTRDqaGuiEnergyDeposit.cxx
+qaGui/AliTRDqaGuiMainAnalysis.cxx
+qaGui/AliTRDqaGuiBlackError.cxx
+qaGui/AliTRDqaGuiBlackGlobal.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(TRDgui "${SRCS}" "${HDRS}")
diff --git a/TRD/CMake_libTRDqaAnalysis.txt b/TRD/CMake_libTRDqaAnalysis.txt
new file mode 100644 (file)
index 0000000..0f1a8a0
--- /dev/null
@@ -0,0 +1,16 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+qaAnalysis/AliTRDqaElectronSpectra.cxx
+qaAnalysis/AliTRDqaESDFriends.cxx
+qaAnalysis/AliTRDqaEnergyDeposit.cxx
+qaAnalysis/AliTRDqaJPsi.cxx
+qaAnalysis/AliTRDqaAT.cxx
+qaAnalysis/AliTRDqaBasic.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(TRDqaAnalysis "${SRCS}" "${HDRS}")
diff --git a/TRD/CMake_libTRDrec.txt b/TRD/CMake_libTRDrec.txt
new file mode 100644 (file)
index 0000000..001d865
--- /dev/null
@@ -0,0 +1,33 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliTRDcluster.cxx
+AliTRDclusterizer.cxx
+AliTRDtransform.cxx
+AliTRDtracklet.cxx
+AliTRDtrack.cxx
+AliTRDtracker.cxx
+AliTRDseed.cxx
+AliTRDpropagationLayer.cxx
+AliTRDpidESD.cxx
+AliTRDReconstructor.cxx
+AliTRDtrackingAnalysis.cxx
+AliTRDseedV1.cxx
+AliTRDtrackV1.cxx
+AliTRDtrackerV1.cxx
+AliTRDtrackerDebug.cxx
+AliTRDtrackingSector.cxx
+AliTRDtrackingChamber.cxx
+AliTRDchamberTimeBin.cxx
+AliTRDQADataMakerRec.cxx
+AliTRDqaBlackEvents.cxx
+AliTRDCalibraFillHisto.cxx
+AliTRDqaBuildReference.cxx
+AliTRDqaRecPoints.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(TRDrec "${SRCS}" "${HDRS}")
diff --git a/TRD/CMake_libTRDsim.txt b/TRD/CMake_libTRDsim.txt
new file mode 100644 (file)
index 0000000..a39f443
--- /dev/null
@@ -0,0 +1,16 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliTRDpoints.cxx
+AliTRDsimTR.cxx
+AliTRD.cxx
+AliTRDv1.cxx
+AliTRDdigitizer.cxx
+AliTRDQADataMakerSim.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(TRDsim "${SRCS}" "${HDRS}" "${HDRS}")
diff --git a/TTherminator/CMakeLists.txt b/TTherminator/CMakeLists.txt
new file mode 100644 (file)
index 0000000..299c39a
--- /dev/null
@@ -0,0 +1,25 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/TTherminator
+${CMAKE_SOURCE_DIR}/TTherminator/Therminator
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/EVGEN
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libTTherminator.txt)
+
diff --git a/TTherminator/CMake_libTTherminator.txt b/TTherminator/CMake_libTTherminator.txt
new file mode 100644 (file)
index 0000000..2460d0a
--- /dev/null
@@ -0,0 +1,25 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliGenTherminator.cxx
+TTherminator.cxx
+Therminator/DecayChannel.cxx
+Therminator/DecayTable.cxx
+Therminator/Event.cxx
+Therminator/Hypersurface.cxx
+Therminator/Integrator.cxx
+Therminator/Parser.cxx
+Therminator/Particle.cxx
+Therminator/ParticleDB.cxx
+Therminator/ParticleDecayer.cxx
+Therminator/ParticleType.cxx
+Therminator/ReadPar.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(TTherminator "${SRCS}" "${HDRS}")
+
+
diff --git a/VZERO/CMakeLists.txt b/VZERO/CMakeLists.txt
new file mode 100644 (file)
index 0000000..80dbbee
--- /dev/null
@@ -0,0 +1,29 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/VZERO
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/RAW
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libVZERObase.txt)
+
+include(CMake_libVZEROsim.txt)
+
+include(CMake_libVZEROrec.txt)
+
+
diff --git a/VZERO/CMake_libVZERObase.txt b/VZERO/CMake_libVZERObase.txt
new file mode 100644 (file)
index 0000000..e4d3799
--- /dev/null
@@ -0,0 +1,16 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliVZEROLoader.cxx
+AliVZEROdigit.cxx
+AliVZEROCalibData.cxx
+AliVZEROPreprocessor.cxx
+AliVZERODataDCS.cxx
+AliVZEROQAChecker.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(VZERObase "${SRCS}" "${HDRS}")
diff --git a/VZERO/CMake_libVZEROrec.txt b/VZERO/CMake_libVZEROrec.txt
new file mode 100644 (file)
index 0000000..f54886d
--- /dev/null
@@ -0,0 +1,15 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliVZEROReconstructor.cxx
+AliVZERORawStream.cxx
+AliVZEROQADataMakerRec.cxx
+AliVZEROTriggerMask.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(VZEROrec "${SRCS}" "${HDRS}")
+
diff --git a/VZERO/CMake_libVZEROsim.txt b/VZERO/CMake_libVZEROsim.txt
new file mode 100644 (file)
index 0000000..c79fe87
--- /dev/null
@@ -0,0 +1,24 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliVZERO.cxx
+AliVZEROv2.cxx
+AliVZEROv3.cxx
+AliVZEROv4.cxx
+AliVZEROv5.cxx
+AliVZEROv6.cxx
+AliVZEROv7.cxx
+AliVZEROhit.cxx
+AliVZERODigitizer.cxx
+AliVZEROBuffer.cxx
+AliVZEROTrigger.cxx
+AliVZEROTriggerMask.cxx
+AliVZEROQADataMakerSim.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(VZEROsim "${SRCS}" "${HDRS}")
+
diff --git a/ZDC/CMakeLists.txt b/ZDC/CMakeLists.txt
new file mode 100644 (file)
index 0000000..816eb0c
--- /dev/null
@@ -0,0 +1,29 @@
+# -*- mode: cmake -*-
+# Create a library called "lib<name>" which includes the source files given in
+# the array .
+# The extension is already found.  Any number of sources could be listed here.
+
+set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/ZDC
+${CMAKE_SOURCE_DIR}/STEER
+${CMAKE_SOURCE_DIR}/RAW
+${ROOT_INCLUDE_DIR}
+)
+
+include_directories( ${INCLUDE_DIRECTORIES})
+
+set(LINK_DIRECTORIES
+${ROOT_LIBRARY_DIR}
+) 
+
+link_directories( ${LINK_DIRECTORIES})
+
+SetModule()
+
+include(CMake_libZDCsim.txt)
+
+include(CMake_libZDCrec.txt)
+
+include(CMake_libZDCbase.txt)
+
+
diff --git a/ZDC/CMake_libZDCbase.txt b/ZDC/CMake_libZDCbase.txt
new file mode 100644 (file)
index 0000000..c7469f8
--- /dev/null
@@ -0,0 +1,21 @@
+# -*- mode: cmake -*-
+# $Id$
+
+set(SRCS
+AliZDCLaserCalib.cxx
+AliZDCChMap.cxx
+AliZDCDigit.cxx
+AliZDCRawStream.cxx
+AliZDCPedestals.cxx
+AliZDCCalib.cxx
+AliZDCDataDCS.cxx
+AliZDCPreprocessor.cxx
+AliZDCQAChecker.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(ZDCbase "${SRCS}" "${HDRS}")
+
diff --git a/ZDC/CMake_libZDCrec.txt b/ZDC/CMake_libZDCrec.txt
new file mode 100644 (file)
index 0000000..3984462
--- /dev/null
@@ -0,0 +1,16 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliZDCReco.cxx
+AliZDCRecoParam.cxx 
+AliZDCRecoParampp.cxx 
+AliZDCRecoParamPbPb.cxx 
+AliZDCReconstructor.cxx 
+AliZDCQADataMakerRec.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(ZDCrec "${SRCS}" "${HDRS}")
diff --git a/ZDC/CMake_libZDCsim.txt b/ZDC/CMake_libZDCsim.txt
new file mode 100644 (file)
index 0000000..845beb9
--- /dev/null
@@ -0,0 +1,20 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+AliZDC.cxx
+AliZDCv3.cxx
+AliZDCHit.cxx
+AliZDCSDigit.cxx
+AliZDCFragment.cxx
+AliZDCDigitizer.cxx
+AliGenZDC.cxx
+AliZDCTrigger.cxx
+AliZDCQADataMakerSim.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(ZDCsim "${SRCS}" "${HDRS}")
+
diff --git a/cmake/modules/ALICEMacros.cmake b/cmake/modules/ALICEMacros.cmake
new file mode 100644 (file)
index 0000000..5ca45f1
--- /dev/null
@@ -0,0 +1,1156 @@
+# -*- mode: cmake -*-
+#_______________________________________________________________________________
+Macro(CHANGE_FILE_EXTENSION OLD_EXT NEW_EXT RESULT LIST)
+
+# This is probably an obsolete Macro
+
+  If (${OLD_EXT} MATCHES "^[*][.]+.*$")
+    String(REGEX REPLACE "^[*]+([.].*)$" "\\1" OLD_EXT1 ${OLD_EXT}) 
+  Endif (${OLD_EXT} MATCHES "^[*][.]+.*$")
+
+  If (${NEW_EXT} MATCHES "^[*][.]+.*$")
+    String(REGEX REPLACE "^[*]+([.].*)" "\\1" NEW_EXT1 ${NEW_EXT}) 
+  Endif (${NEW_EXT} MATCHES "^[*][.]+.*$")
+
+  Set(FLIST)
+  Foreach (_current_FILE ${LIST})
+
+    String(REGEX REPLACE "^(.*)${OLD_EXT1}$" "\\1${NEW_EXT1}" res ${_current_FILE})
+    Set (FLIST ${FLIST} ${res})
+
+  Endforeach (_current_FILE ${LIST})
+  Set(${RESULT} ${FLIST})
+
+Endmacro (CHANGE_FILE_EXTENSION)
+
+#_______________________________________________________________________________
+Macro (CHECK_OUT_OF_SOURCE_BUILD)
+
+# Checks that the binary is built outside the source
+
+   String(COMPARE EQUAL "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" insource)
+   If(insource)
+      File(REMOVE_RECURSE ${CMAKE_SOURCE_DIR}/Testing)
+      File(REMOVE ${CMAKE_SOURCE_DIR}/DartConfiguration.tcl)
+      Message(FATAL_ERROR "ALIROOT should be installed as an out of source build, to keep the source directory clean. Please create a extra build directory and run the command 'cmake path_to_source_dir' in this newly created directory. You have also to delete the directory CMakeFiles and the file CMakeCache.txt in the source directory. Otherwise cmake will complain even if you run it from an out-of-source directory.") 
+   Endif(insource)
+
+EndMacro (CHECK_OUT_OF_SOURCE_BUILD)
+
+#_______________________________________________________________________________
+Function (AddLibrary LIB SRCS DHDRS)
+
+# Adds an AliRoot library as a target
+
+  Set(LDEF "${LIB}LinkDef.h")
+  Set(DICT)
+  If(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LDEF})
+# even with no cxx files, one may want to build an empty lib as a placeholder
+# in AliRoot this is signalled by the existence of an (empty) ${LIB}LinkDef.h
+    Set(DICT "G__${LIB}.cxx")
+    Set(ASRCS ${SRCS} ${DICT})
+    Root_Generate_Dictionary("${DHDRS}" "${LDEF}" "${DICT}" "${INCLUDE_DIRECTORIES}")
+  Else(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LDEF})
+    Set(ASRCS ${SRCS})
+  Endif(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LDEF})
+
+  Add_Library(${LIB} SHARED ${ASRCS})
+  Target_Link_Libraries(${LIB} ${ALIROOT_LIBRARIES})
+  Set_Target_Properties(${LIB} PROPERTIES ${ALIROOT_LIBRARY_PROPERTIES})
+  
+  Install(TARGETS ${LIB} DESTINATION ${ALIROOT_INSTALL_DIR}/lib
+    COMPONENT shared)
+
+  If(ALICE_STATIC_BUILD)
+    Add_Library(${LIB}_a STATIC ${ASRCS})
+    Install(TARGETS ${LIB}_a DESTINATION ${ALIROOT_INSTALL_DIR}/lib/static)
+  EndIf(ALICE_STATIC_BUILD)
+
+  If(ARGV3)
+    Install(FILES ${ARGV3} DESTINATION ${ALIROOT_INSTALL_DIR}/include)
+  Endif(ARGV3)
+
+  CheckViols(${LIB} "${SRCS}")
+
+EndFunction (AddLibrary)
+
+#_______________________________________________________________________________
+Macro (SetModule)
+
+String(REGEX REPLACE "${ALICE_ROOT}/?([^/]*)/?$" "\\1" ALIROOT_MODULE "${CMAKE_CURRENT_SOURCE_DIR}")
+Add_Definitions(-D_MODULE_=\"${ALIROOT_MODULE}\")
+
+EndMacro(SetModule)
+
+
+#_______________________________________________________________________________
+Function (AddExecutable BIN SRCS LIBS)
+
+# Adds an AliRoot executable as a target
+
+  Add_Executable(${BIN} ${SRCS})
+  Target_Link_Libraries(${BIN} ${ROOT_LIBRARIES} ${LIBS})
+  Install(TARGETS ${BIN} DESTINATION ${ALIROOT_INSTALL_DIR}/bin)
+
+  If(ALICE_STATIC_BUILD)
+    Add_Executable(${BIN}_a ${SRCS})
+    Set(_ar_libs)
+    Foreach(_lib ${LIBS})
+      Set(_ar_libs ${_ar_libs} ${_lib}_a)
+    EndForeach(_lib ${LIBS})
+    Foreach(_lib ${LIBS})
+      Set(_ar_libs ${_ar_libs} ${_lib}_a)
+    EndForeach(_lib ${LIBS})
+    Target_Link_Libraries(${BIN}_a ${ROOT_LIBRARIES} ${_ar_libs})
+    Install(TARGETS ${BIN}_a DESTINATION ${ALIROOT_INSTALL_DIR}/bin)
+  EndIf(ALICE_STATIC_BUILD)
+
+  CheckViols(${BIN} "${SRCS}")
+
+EndFunction (AddExecutable)
+
+#_______________________________________________________________________________
+Macro (SetupSystem)
+
+# Set up all system dependencies of AliRoot
+
+Message(STATUS "Setting up system dependent parameters for ${ALICE_TARGET}" )
+
+If(ALICE_TARGET STREQUAL macosx64) 
+
+  Execute_process(
+    COMMAND sw_vers -productVersion
+    OUTPUT_VARIABLE MACOSX
+    OUTPUT_STRIP_TRAILING_WHITESPACE)
+
+  String(REGEX REPLACE "^(.*)[.](.*)[.](.*)$" "\\1" MACOSX_MAJOR "${MACOSX}")
+  String(REGEX REPLACE "^(.*)[.](.*)[.](.*)$" "\\2" MACOSX_MINOR "${MACOSX}")
+
+  Message(STATUS "Mac OS X ${MACOSX_MAJOR}.${MACOSX_MINOR}")
+
+  Find_Package(fink)
+  
+  Set(CMAKE_CXX_COMPILER g++)
+  Set(CMAKE_C_COMPILER gcc)
+# I found no way to make this work...
+#  Set(CMAKE_CXX_LINK_EXECUTABLE 
+#    "MACOSX_DEPLOYMENT_TARGET=${MACOSX_MAJOR}.${MACOSX_MINOR} ${CMAKE_CXX_LINK_EXECUTABLE}")
+
+  Set(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS} -flat_namespace -single_module -undefined dynamic_lookup -m64")
+
+  Set(CMAKE_Fortran_FLAGS "-fno-second-underscore -m64")
+
+  Set(CLIBDEFS "-DCERNLIB_LXIA64 -DCERNLIB_BLDLIB -DCERNLIB_CZ -DCERNLIB_PPC")
+
+  Set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64 -pipe -Wall -W -Wno-long-double -pipe -fbounds-check -fsigned-char -fno-common -fmessage-length=0 -Woverloaded-virtual -Weffc++ -Wconversion -Wshadow -fno-default-inline -fno-inline -I/usr/X11R6/include -I${FINK_ROOT}/include")
+  Set(CMAKE_C_FLAGS   "${CMAKE_C_FLAGS} -m64 -Wall -W -fno-common -pipe -I${FINK_ROOT}/include")
+
+  If(CMAKE_Fortran_COMPILER MATCHES g95) 
+    Set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fbounds-check -ftrace=full -DFORTRAN_G95")
+    Execute_process(COMMAND svn info $ENV{ALICE_ROOT} 
+      COMMAND g95 --print-search-dirs 
+      OUTPUT_VARIABLE _out)
+    String(REGEX REPLACE "^.*install: *([^\n]*)/\n.*$" "\\1" _libdir ${_out})
+    Set(ROOT_LIBRARIES "${ROOT_LIBRARIES} -L${_libdir} -lf95")
+  Else(CMAKE_Fortran_COMPILER MATCHES g95)
+    Set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -DFORTRAN_GFORTRAN")
+    Execute_process(
+      COMMAND gfortran -m64 -print-file-name=libgfortran.dylib
+      OUTPUT_VARIABLE FLIB
+      OUTPUT_STRIP_TRAILING_WHITESPACE)
+    Set(ROOT_LIBRARIES "${ROOT_LIBRARIES} ${FLIB}")
+    Execute_process(
+      COMMAND gfortran -m64 -print-file-name=libgfortranbegin.a
+      OUTPUT_VARIABLE FLIB
+      OUTPUT_STRIP_TRAILING_WHITESPACE)
+    Set(ROOT_LIBRARIES "${ROOT_LIBRARIES} ${FLIB}")
+  Endif(CMAKE_Fortran_COMPILER MATCHES g95) 
+
+  Set(LINK_FLAGS "${LINK_FLAGS} -m64")
+
+# I think this is useless
+#  Set(ALIROOT_LIBRARIES "${ROOT_LIBRARIES} -L/usr/X11R6/lib -lX11")
+  Set(ALIROOT_LIBRARIES "${ROOT_LIBRARIES}")
+
+# Would like to use this, but did not manage on the Mac
+#Include(FindOpenGL)
+#Set(ROOT_LIBRARIES ${ROOT_LIBRARIES} ${OPENGL_LIBRARIES})
+#Set(ROOT_INCLUDE_DIR ${ROOT_INCLUDE_DIR} ${OPENGL_INCLUDE_DIR})
+# Poor man's version of the above
+  Set(ALIROOT_INCLUDE_DIR ${ROOT_INCLUDE_DIR} /usr/X11/include)
+
+  Set(LINK_FLAGS "${LINK_FLAGS} -bind_at_load")
+
+# 
+# LD            = export MACOSX_DEPLOYMENT_TARGET=$(MACOSX_MAJOR).$(MACOSX_MINOR) ; \
+#              unset LD_PREBIND ; \
+#              g++
+# ALLD       = ar
+# ALFLAGS       = cr
+# ALLIB         = 
+# AEXT               = a
+# 
+
+Endif(ALICE_TARGET STREQUAL macosx64)
+
+EndMacro (SetupSystem)
+
+# ../build/Makefile.alphacxx6
+# # -*- mode: makefile -*-
+# # Makefile to build AliRoot for Alpha OSF1
+# 
+# # System dependent commands
+# 
+# XARGS = xargs
+# 
+# # The compilers
+# CXX           = cxx 
+# F77        = f77
+# 
+# # Global optimisation
+# OPT           = -O
+# NOOPT              = -O0 
+# 
+# CXXOPT             = $(OPT)
+# CXXNOOPT      = $(NOOPT)
+# COPT       = $(OPT)
+# FOPT       = $(OPT)
+# 
+# # CERNLIB defines
+# CLIBDEFS      = -DCERNLIB_DECS -DCERNLIB_BLDLIB -DCERNLIB_CZ
+# CLIBCXXOPTS   =
+# CLIBCOPT      =
+# CLIBFOPT      = -I. $(CLIBDEFS)
+# 
+# # Compiler flags
+# CXXFLAGS      = $(CXXOPT)   -nostdnew -rtti -taso
+# CXXFLAGSNO    = $(CXXNOOPT) -nostdnew -rtti -taso
+# CFLAGS             = $(COPT) -fPIC -pipe -mcpu=ev5 -D__osf__ -D__alpha
+# FFLAGS        = $(FOPT) -nofor_main -warn noinformational -taso $(CLIBFOPT)
+# # rmkdepend flags for building dependencies of FORTRAN files
+# DEPENDFFLAGS  = $(filter-out -warn noinformational,$(FFLAGS))
+# 
+# # rootcint flags
+# CINTFLAGS     = -D__DECCXX
+#              
+# LD            = cxx
+# LDFLAGS       = 
+# 
+# SHLD       = ld
+# SOFLAGS       =  -L/usr/lib/cmplrs/cxx -rpath /usr/lib/cmplrs/cxx \
+#                  -expect_unresolved "*" -msym -shared -taso \
+#                  /usr/lib/cmplrs/cc/crt0.o /usr/lib/cmplrs/cxx/_main.o
+# 
+# SHLIB         = -lUfor -lfor -lFutil
+# SOEXT              = so
+# 
+# #System libraries
+# 
+# # Flags for static libraries
+# AFLAGS = $(filter-out -rpath /usr/lib/cmplrs/cxx -msym -shared /usr/lib/cmplrs/cc/crt0.o,$(SOFLAGS))
+# AFLAGS += $(SHLIB)
+# 
+# # Additional flags and libraries for building aliroot executable
+# SYSLIBS     := -lXm -lXt -lX11 -lPW -lUfor -lfor -lFutil -lots -taso -lbsd
+# 
+# # Cure funny problem 
+# # sometimes in dependencies system include files of the sort
+# # /usr/.../filename AND /usr/.../filename.cc are present
+# # DEC believes that /usr/.../filename is the executable to be
+# # built from /usr/.../filename.cc 
+# # Just avoid this to happen
+# 
+# % : %.cc
+#      @;
+# 
+# 
+# 
+# 
+# 
+# 
+# 
+# 
+# 
+# ../build/Makefile.hpuxacc
+# # -*- mode: makefile -*-
+# # Makefile to build AliRoot on HP-UX
+# 
+# # System dependent commands
+# 
+# XARGS = xargs
+# 
+# # The compilers
+# CXX           = aCC
+# F77        = f77
+# CC         = cc
+# 
+# # Global optimisation
+# OPT           = -g -O
+# NOOPT         = -g
+# 
+# CXXOPT        = $(OPT)
+# CXXNOOPT      = $(NOOPT)
+# COPT          = $(OPT)
+# FOPT          = $(OPT)
+# 
+# # CERNLIB defines
+# CLIBDEFS      = -DCERNLIB_HPUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
+# CLIBCXXOPTS   =
+# CLIBCOPT      = +z -Ae 
+# CLIBFOPT      = $(CLIBDEFS) -WF,-P
+# 
+# CXXFLAGS      = $(CXXOPT)   -Wc,-ansi_for_scope,on +Z -z +W70,495,740,749,823,829 -Dextname
+# CXXFLAGSNO    = $(CXXNOOPT) -Wc,-ansi_for_scope,on +Z -z +W70,495,740,749,823,829 -Dextname
+# CFLAGS             = $(COPT) +Z -Ae
+# FFLAGS        = $(CLIBFOPT) $(FOPT) +ppu +Z
+# # rmkdepend flags for building dependencies of FORTRAN files
+# DEPENDFFLAGS  = $(FFLAGS)
+# 
+# # rootcint flags
+# CINTFLAGS     = 
+# 
+# LD            = aCC
+# LDFLAGS       = $(OPT) -z -Wl,+s -Wl,-E
+# 
+# SHLD       = $(LD)
+# SOFLAGS       = -b /usr/lib/libm.sl 
+# 
+# SOEXT              = sl
+# 
+# # additional ROOT libraries
+# SYSLIBS      := -lcrypt -L/usr/lib/X11R6 -lX11 
+# 
+# 
+# 
+# 
+# 
+# ../build/Makefile.linux
+# # -*- mode: makefile -*-
+# # Makefile to build AliRoot for Linux
+# 
+# # System dependent commands
+# 
+# XARGS = xargs -r
+# 
+# # The compilers
+# CXX           = g++ 
+# CC         = gcc
+# CCMAJORV      = $(shell $(CC) -dumpversion | cut -d. -f1)
+# CCMINORV      = $(shell $(CC) -dumpversion | cut -d. -f2)
+# F77        = $(shell root-config --f77)
+# 
+# # Global optimisation
+# OPT           = -O -g
+# NOOPT         = -g
+# 
+# CXXOPT        = $(OPT)
+# CXXNOOPT      = $(NOOPT)
+# COPT       = $(OPT)
+# FOPT       = $(OPT)
+# 
+# # CERNLIB defines
+# CLIBDEFS      = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
+# CLIBCXXOPTS   =
+# CLIBCOPT      =
+# CLIBFOPT      = $(CLIBDEFS)
+# 
+# # Compiler flags
+# ifeq ($(CCMAJORV),2)
+# CXXFLAGS       = $(OPT) -W -Wall -fPIC -pipe
+# CXXFLAGSNO     = $(NOOPT) -W -Wall -fPIC -pipe
+# else
+# ifeq ($(CCMAJORV),3)
+# CXXFLAGS       = $(OPT) -W -Wall -Weffc++ -Woverloaded-virtual -fPIC -pipe -fmessage-length=0 -Wno-long-long -pedantic-errors -ansi -Dlinux
+# CXXFLAGSNO     = $(NOOPT) -W -Wall -Weffc++ -fPIC -pipe -fmessage-length=0 -Wno-long-long -pedantic-errors -ansi
+# else
+# ifeq ($(CCMAJORV),4)
+# CXXFLAGS       = $(OPT) -W -Wall -Weffc++ -Woverloaded-virtual -fPIC -pipe -fmessage-length=0 -Wno-long-long -pedantic-errors -ansi -Dlinux
+# CXXFLAGSNO     = $(NOOPT) -W -Wall -Weffc++ -fPIC -pipe -fmessage-length=0 -Wno-long-long -pedantic-errors -ansi
+# else
+# CXXFLAGS       = $(OPT) -W -Wall -Woverloaded-virtual -fPIC -pipe -fmessage-length=0 -Wno-long-long -ansi -Dlinux
+# CXXFLAGSNO     = $(NOOPT) -W -Wall -Weffc++ -fPIC -pipe -fmessage-length=0 -Wno-long-long -ansi
+# endif
+# endif
+# endif
+# CFLAGS              = $(OPT) -Wall -Werror -fPIC -pipe -Wno-long-long -pedantic-errors -ansi
+# FFLAGS         = $(CLIBFOPT) $(FOPT) -fno-second-underscore
+# 
+# ifeq (g95,$(F77))
+# FFLAGS             +=-DFORTRAN_G95
+# else
+# ifeq (gfortran,$(F77))
+# FFLAGS             +=-DFORTRAN_GFORTRAN
+# else
+# FFLAGS             +=
+# endif
+# endif
+# 
+# # rmkdepend flags for building dependencies of FORTRAN files
+# DEPENDFFLAGS   = $(FFLAGS)
+# 
+# # rootcint flags
+# CINTFLAGS     = 
+# 
+# LD            = g++
+# LDFLAGS       = $(OPT) 
+# 
+# SHLD       = $(LD)
+# SOFLAGS       = $(OPT) -shared -Wl 
+# SOEXT              = so
+# 
+# #System libraries
+# SYSLIBS      := -ldl -lcrypt -L/usr/X11R6/lib -lX11
+# 
+# ifeq (g95,$(F77))
+# SHLIB += -L$(shell g95 --print-search-dirs | sed -n -e 's/install: //p') -lf95
+# else
+# ifeq (gfortran,$(F77))
+# SHLIB := $(shell gfortran -print-file-name=libgfortran.so)
+# SHLIB += $(shell gfortran -print-file-name=libgfortranbegin.a)
+# SYSLIBS += $(SHLIB)
+# else
+# SHLIB         = -lg2c
+# SYSLIBS +=  -lg2c
+# endif
+# endif
+# 
+# ALLD       = ar
+# ALFLAGS       = cr
+# ALLIB         = 
+# AEXT               = a
+# 
+# # additional ROOT libraries
+# 
+# 
+# 
+# 
+# 
+# 
+# ../build/Makefile.linuxalphagcc
+# # -*- mode: makefile -*-
+# # Makefile to build AliRoot for Linux on alpha
+# 
+# # System dependent commands
+# 
+# XARGS = xargs -r
+# 
+# # The compilers
+# CXX           = g++ 
+# F77        = g77
+# CC         = gcc
+# CCMAJORV      = $(shell $(CC) -dumpversion | cut -d. -f1)
+# CCMINORV      = $(shell $(CC) -dumpversion | cut -d. -f2)
+# 
+# # Global optimisation
+# OPT           = -O -g -mieee -mno-soft-float
+# NOOPT         = -g -mieee -mno-soft-float
+# 
+# CXXOPT        = $(OPT)
+# CXXNOOPT      = $(NOOPT)
+# COPT       = $(OPT)
+# FOPT       = $(OPT)
+# 
+# # CERNLIB defines
+# CLIBDEFS      = -DCERNLIB_UNIX -DCERNLIB_DECS -DCERNLIB_BLDLIB -DCERNLIB_CZ
+# CLIBCXXOPTS   =
+# CLIBCOPT      =
+# CLIBFOPT      = $(CLIBDEFS)
+# 
+# # Compiler flags
+# 
+# CXXFLAGS       = $(OPT) -Wall -fPIC -pipe
+# CXXFLAGSNO     = $(NOOPT) -Wall -fPIC -pipe
+# CFLAGS              = $(OPT) -Wall -fPIC -pipe -ansi
+# FFLAGS         = $(CLIBFOPT) $(FOPT) -Wall -fPIC -pipe -fno-second-underscore
+# # rmkdepend flags for building dependencies of FORTRAN files
+# DEPENDFFLAGS   = $(FFLAGS)
+# 
+# # rootcint flags
+# CINTFLAGS     = 
+# 
+# LD            = g++
+# LDFLAGS       = $(OPT) 
+# 
+# SHLD       = $(LD)
+# SOFLAGS       = $(OPT) -Wall -fPIC -pipe -shared -Wl
+# SHLIB         = -lg2c
+# SOEXT              = so
+# 
+# ALLD       = ar
+# ALFLAGS       = cr
+# ALLIB         = 
+# AEXT               = a
+# 
+# #System libraries
+# SYSLIBS      := -ldl -lg2c -lcrypt -L/usr/X11R6/lib -lX11
+# 
+# 
+# 
+# 
+# 
+# ../build/Makefile.linuxia64ecc
+# # -*- mode: makefile -*-
+# # Makefile for AliRoot for Itanium/Linux with Intel icc compiler
+# 
+# # System dependent commands
+# 
+# XARGS = xargs -r
+# 
+# # The compilers
+# CXX           = icc 
+# F77        = ifort
+# CC         = icc
+# 
+# # Global optimisation
+# OPT           = -g #-O
+# NOOPT         = -g
+# 
+# CXXOPT        = $(OPT)
+# CXXNOOPT      = $(OPT)
+# COPT       = $(OPT)
+# FOPT       = $(OPT)
+# 
+# # CERNLIB defines
+# CLIBDEFS      = -DCERNLIB_LXIA64 -DCERNLIB_BLDLIB -DCERNLIB_CZ
+# CLIBCXXOPTS   =
+# CLIBCOPT      =
+# CLIBFOPT      = $(CLIBDEFS)
+# 
+# # Compiler flags
+# CXXFLAGS      = $(CXXOPT)
+# CXXFLAGSNO    = $(CXXNOOPT)
+# CFLAGS             = $(COPT)
+# FFLAGS        = $(CLIBFOPT) $(FOPT)
+# # rmkdepend flags for building dependencies of FORTRAN files
+# DEPENDFFLAGS  = $(FFLAGS)
+# 
+# # rootcint flags
+# CINTFLAGS     = 
+# 
+# LD            = icpc
+# LDFLAGS       = $(OPT) 
+# 
+# SHLD       = $(LD)
+# SOFLAGS       = -Wl,-soname,$$TMPLIB -shared -O
+# SHLIB         =
+# SOEXT              = so
+# 
+# ALLD       = ar
+# ALFLAGS       = cr
+# ALLIB         = 
+# AEXT               = a
+# 
+# # additional ROOT libraries
+# 
+# LIBNOVER      = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
+# 
+# SYSLIBS      := $(LIBNOVER) -lcrypt -L/usr/local/lib -lXt -lCEPCF90 -lF90 \
+#                 -lPEPCF90 -lintrins -L/usr/X11R6/lib -lX11
+# ../build/Makefile.linuxia64gcc
+# # -*- mode: makefile -*-
+# # Makefile for AliRoot for Itanium/Linux with gcc
+# 
+# # System dependent commands
+# 
+# XARGS = xargs -r
+# 
+# # The compilers
+# CXX           = g++ 
+# F77        = g77
+# CC         = gcc
+# 
+# # Global optimisation
+# OPT           = -g -O
+# NOOPT         = -g
+# 
+# CXXOPT        = $(OPT)
+# CXXNOOPT      = $(NOOPT)
+# COPT       = $(OPT)
+# FOPT       = $(OPT)
+# 
+# # CERNLIB defines
+# CLIBDEFS      = -DCERNLIB_LXIA64 -DCERNLIB_BLDLIB -DCERNLIB_CZ
+# CLIBCXXOPTS   =
+# CLIBCOPT      =
+# CLIBFOPT      = $(CLIBDEFS)
+# 
+# # Compiler flags
+# CXXFLAGS      = $(CXXOPT)  -Wall -Weffc++ -fPIC -pipe
+# CXXFLAGSNO    = $(CXXNOOPT)  -Wall -Weffc++ -fPIC -pipe
+# CFLAGS             = -Wall -fPIC -pipe
+# FFLAGS        = $(CLIBFOPT) $(FOPT) -fno-second-underscore
+# # rmkdepend flags for building dependencies of FORTRAN files
+# DEPENDFFLAGS = $(FFLAGS)
+# 
+# # rootcint flags
+# CINTFLAGS     = 
+# 
+# LD            = g++
+# LDFLAGS       = $(OPT) -Wl,-Map -Wl,$@.map
+# 
+# SHLD       = $(LD)
+# SOFLAGS       = -shared -Wl -O2
+# SOEXT              = so
+# 
+# ALLD       = ar
+# ALFLAGS       = cr
+# ALLIB         = 
+# AEXT               = a
+# 
+# # additional ROOT libraries
+# 
+# LIBNOVER      = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
+# 
+# #System libraries
+# SYSLIBS      := -ldl -lbsd -lg2c -L/usr/X11R6/lib -lX11  $(LIBNOVER)
+# 
+# 
+# 
+# 
+# 
+# ../build/Makefile.linuxicc
+# # -*- mode: makefile -*-
+# # Makefile for AliRoot for Linux with the Intel icc compiler
+# 
+# # System dependent commands
+# 
+# XARGS = xargs -r
+# 
+# # The compilers
+# CXX           = icc
+# CC            = icc
+# 
+# # Compiler version:
+# ICC_MAJOR    := $(shell $(CXX) -V 2>&1 | awk '{ if (NR==1) print $$8 }' | \
+#                 cut -d'.' -f1)
+# ICC_MINOR    := $(shell $(CXX) -V 2>&1 | awk '{ if (NR==1) print $$8 }' | \
+#                 cut -d'.' -f2)
+# 
+# F77           = ifort
+# 
+# # Global optimisation
+# OPT           = -O -ip
+# NOOPT         = -O0
+# 
+# CXXOPT        = $(OPT)
+# CXXNOOPT      = $(NOOPT)
+# COPT          = $(OPT)
+# FOPT          = $(OPT)
+# 
+# # CERNLIB defines
+# CLIBDEFS      = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
+# CLIBCXXOPTS   =
+# CLIBCOPT      =
+# CLIBFOPT      = $(CLIBDEFS)
+# 
+# # Compiler flags
+# CXXFLAGS      = $(CXXOPT)
+# CXXFLAGSNO    = $(CXXNOOPT)
+# CFLAGS        = $(COPT)
+# FFLAGS        = $(CLIBFOPT) $(FOPT)
+# # rmkdepend flags for building dependencies of FORTRAN files
+# DEPENDFFLAGS  = $(FFLAGS)
+# 
+# # rootcint flags
+# CINTFLAGS     =
+# 
+# LD            = icpc
+# LDFLAGS       = $(OPT)
+# 
+# SHLD          = $(LD)
+# SOFLAGS       = -Wl,-soname,$$TMPLIB -shared $(OPT)
+# SHLIB         =
+# SOEXT              = so
+# 
+# ALLD          = ar
+# ALFLAGS       = cr
+# ALLIB         =
+# AEXT               = a
+# 
+# # additional ROOT libraries
+# 
+# LIBNOVER      = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
+# 
+# #System libraries
+# SYSLIBS      := -lcrypt -L/usr/X11R6/lib -lX11 $(LIBNOVER) -L/usr/local/lib \
+#                 -lXt -L$(shell which ifort | sed -e 's|bin/ifort|lib|') \
+#                 -lifcore -lifport
+# ../build/Makefile.linuxx8664gcc
+# # -*- mode: makefile -*-
+# # Makefile to build AliRoot for Linux
+# 
+# # System dependent commands
+# 
+# XARGS = xargs -r
+# 
+# # The compilers
+# CXX           = g++ 
+# CC         = gcc
+# CCMAJORV      = $(shell $(CC) -dumpversion | cut -d. -f1)
+# CCMINORV      = $(shell $(CC) -dumpversion | cut -d. -f2)
+# F77        = $(shell root-config --f77)
+# 
+# # Global optimisation
+# OPT           = -O0 -g
+# NOOPT         = -g
+# 
+# CXXOPT        = $(OPT)
+# CXXNOOPT      = $(NOOPT)
+# COPT       = $(OPT)
+# FOPT       = $(OPT)
+# 
+# # CERNLIB defines
+# CLIBDEFS      = -DCERNLIB_LXIA64 -DCERNLIB_BLDLIB -DCERNLIB_CZ
+# CLIBCXXOPTS   =
+# CLIBCOPT      =
+# CLIBFOPT      = $(CLIBDEFS)
+# 
+# # Compiler flags
+# ifeq ($(CCMAJORV),2)
+# CXXFLAGS       = $(OPT) -W -Wall -fPIC -pipe -m64
+# CXXFLAGSNO     = $(NOOPT) -W -Wall -fPIC -pipe -m64
+# else
+# ifeq ($(CCMAJORV),3)
+# CXXFLAGS       = $(OPT) -W -Wall -Weffc++ -Woverloaded-virtual -fPIC -pipe -fmessage-length=0 -Wno-long-long -pedantic-errors -ansi -Dlinux -m64
+# CXXFLAGSNO     = $(NOOPT) -W -Wall -Weffc++ -fPIC -pipe -fmessage-length=0 -Wno-long-long -pedantic-errors -ansi -m64
+# else
+# ifeq ($(CCMAJORV),4)
+# CXXFLAGS       = $(OPT) -W -Wall -Weffc++ -Woverloaded-virtual -fPIC -pipe -fmessage-length=0 -Wno-long-long -pedantic-errors -ansi -Dlinux -m64
+# CXXFLAGSNO     = $(NOOPT) -W -Wall -Weffc++ -fPIC -pipe -fmessage-length=0 -Wno-long-long -pedantic-errors -ansi -m64
+# else
+# CXXFLAGS       = $(OPT) -W -Wall -Woverloaded-virtual -fPIC -pipe -fmessage-length=0 -Wno-long-long -ansi -Dlinux -m64
+# CXXFLAGSNO     = $(NOOPT) -W -Wall -Weffc++ -fPIC -pipe -fmessage-length=0 -Wno-long-long -ansi -m64
+# endif
+# endif
+# endif
+# CFLAGS              = $(OPT) -Wall -Werror -fPIC -pipe -Wno-long-long -pedantic-errors -ansi -m64 
+# FFLAGS         = $(CLIBFOPT) $(FOPT) -fno-second-underscore -fPIC -fno-f2c -m64
+# 
+# ifeq (g95,$(F77))
+# FFLAGS             +=-DFORTRAN_G95
+# else
+# ifeq (gfortran,$(F77))
+# FFLAGS             +=-DFORTRAN_GFORTRAN
+# else
+# FFLAGS             +=
+# endif
+# endif
+# 
+# # rmkdepend flags for building dependencies of FORTRAN files
+# DEPENDFFLAGS   = $(FFLAGS)
+# 
+# # rootcint flags
+# CINTFLAGS     = 
+# 
+# LD            = g++
+# LDFLAGS       = $(OPT) 
+# 
+# SHLD       = $(LD) 
+# SOFLAGS       = $(OPT) -shared -Wl 
+# SOEXT              = so
+# 
+# #System libraries
+# LIBNOVER      = `find /lib64 -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib64/ -l/'`
+# 
+# SYSLIBS      := -ldl -lcrypt -L/usr/X11R6/lib64 -lX11  $(LIBNOVER)
+# 
+# ifeq (g95,$(F77))
+# SHLIB += -L$(shell g95 --print-search-dirs | sed -n -e 's/install: //p') -lf95
+# else
+# ifeq (gfortran,$(F77))
+# SHLIB := $(shell gfortran -print-file-name=libgfortran.so)
+# SHLIB += $(shell gfortran -print-file-name=libgfortranbegin.a)
+# else
+# SHLIB         = -lg2c
+# SYSLIBS +=  -lg2c
+# endif
+# endif
+# 
+# ALLD       = ar
+# ALFLAGS       = cr
+# ALLIB         = 
+# AEXT               = a
+# 
+# 
+# 
+# 
+# 
+# 
+# 
+# 
+# 
+# ../build/Makefile.macosx
+# # -*- mode: makefile -*-
+# # Makefile for AliRoot for MacOS X with gcc
+# 
+# XARGS = xargs
+# 
+# # OS version
+# MACOSX_MAJOR := $(strip $(shell sw_vers | sed -n 's/ProductVersion://p' | cut -d . -f 1))
+# MACOSX_MINOR := $(strip $(shell sw_vers | sed -n 's/ProductVersion://p' | cut -d . -f 2))
+# 
+# # fink directories
+# FINK_ROOT := $(shell which fink | sed -e 's?/bin/fink??')
+# ifeq (,$(FINK_ROOT))
+# # No fink, build will probably fail, but we try a guess
+# FINK_ROOT=/usr/local
+# endif
+# 
+# # The compilers
+# CXX           = g++ 
+# CC         = gcc
+# F77        = $(shell root-config --f77)
+# 
+# # Global optimisation
+# OPT           = -O -g
+# NOOPT         = -O0 -g
+# 
+# CXXOPT        = $(OPT) 
+# CXXNOOPT      = $(NOOPT) 
+# COPT       = $(OPT)
+# FOPT       = $(OPT) -fno-second-underscore 
+# ifeq (g95,$(F77))
+# FOPT      += -fbounds-check
+# endif
+# 
+# # CERNLIB defines
+# CLIBDEFS      = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ -DCERNLIB_PPC
+# CLIBCXXOPTS   =
+# CLIBCOPT      =
+# CLIBFOPT      = $(CLIBDEFS)
+# 
+# CXXSTF        =  -pipe -Wall -W -Wno-long-double -pipe -fbounds-check -fsigned-char -fno-common -fmessage-length=0 -Woverloaded-virtual -Weffc++ -Wconversion -Wshadow -fno-default-inline -fno-inline -I/usr/X11R6/include -I$(FINK_ROOT)/include
+# 
+# # Compiler flags
+# CXXFLAGS      = $(CXXOPT) $(CXXSTF)
+# 
+# CXXFLAGSNO    = $(CXXNOOPT) $(CXXSTF) 
+# 
+# CFLAGS             = $(COPT) -Wall -W -fno-common -pipe -I$(FINK_ROOT)/include
+# 
+# FFLAGS        = $(CLIBFOPT) $(FOPT)
+# ifeq (g95,$(F77))
+# FFLAGS        += -ftrace=full
+# FFLAGS        +=-DFORTRAN_G95
+# else
+# FFLAGS        +=-DFORTRAN_GFORTRAN
+# endif
+# 
+# # rmkdepend flags for building dependencies of FORTRAN files
+# DEPENDFFLAGS  = $(FFLAGS)
+# 
+# # rootcint flags
+# CINTFLAGS     = 
+# 
+# LD            = export MACOSX_DEPLOYMENT_TARGET=$(MACOSX_MAJOR).$(MACOSX_MINOR) ; \
+#              unset LD_PREBIND ; \
+#              g++
+# LDFLAGS       = $(OPT) $(DICTLOAD)
+# 
+# SHLD      := $(LD)
+# SOFLAGS      := -bundle -undefined dynamic_lookup
+# SHLIB        := 
+# SOEXT             := so
+# 
+# DYLD      := $(LD)
+# DYFLAGS       = -dynamiclib -undefined dynamic_lookup -single_module
+# DYLIB        := 
+# DYEXT        := dylib
+# 
+# ALLD       = ar
+# ALFLAGS       = cr
+# ALLIB         = 
+# AEXT               = a
+# 
+# DEPENDCXXFLAGS = $(CXXFLAGS) -I/usr/include/sys
+# 
+# SYSLIBS      := -L/usr/X11R6/lib -lX11
+# 
+# EXEFLAGS     := -bind_at_load 
+# 
+# #System libraries
+# 
+# ifeq (g95,$(F77))
+# SYSLIBS += -L$(shell g95 --print-search-dirs | sed -n -e 's/install: //p') -lf95
+# DYLIB += -L$(shell g95 --print-search-dirs | sed -n -e 's/install: //p') -lf95
+# else
+# SYSLIBS += -ldl $(shell $(F77) -print-file-name=libgfortran.dylib)
+# SYSLIBS += $(shell $(F77) -print-file-name=libgfortranbegin.a)
+# endif
+# ../build/Makefile.macosxicc
+# # -*- mode: makefile -*-
+# # Makefile for AliRoot for MacOS X with gcc
+# 
+# XARGS = xargs
+# 
+# # fink directories
+# FINK_ROOT := $(shell which fink | sed -e 's?/bin/fink??')
+# ifeq (,$(FINK_ROOT))
+# # No fink, build will probably fail, but we try a guess
+# FINK_ROOT=/usr/local
+# endif
+# 
+# # The compilers
+# CXX           = icc 
+# CC         = icc
+# 
+# F77        = ifort
+# 
+# # Global optimisation
+# OPT           = -O -g
+# NOOPT         = -g
+# 
+# CXXOPT        = $(OPT) 
+# CXXNOOPT      = $(NOOPT) 
+# COPT       = $(OPT)
+# FOPT       = $(OPT)
+# 
+# # CERNLIB defines
+# CLIBDEFS      = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ -DCERNLIB_PPC
+# CLIBCXXOPTS   =
+# CLIBCOPT      =
+# CLIBFOPT      = $(CLIBDEFS)
+# 
+# # Compiler flags
+# CXXFLAGS      = $(CXXOPT) -fPIC -wd1476 -I/usr/X11R6/include -I$(FINK_ROOT)/include 
+# 
+# CXXFLAGSNO    = $(CXXNOOPT) 
+# 
+# CFLAGS             = $(COPT) -fPIC -restrict -I$(FINK_ROOT)/include
+# 
+# FFLAGS        = $(CLIBFOPT) $(FOPT)
+# # rmkdepend flags for building dependencies of FORTRAN files
+# DEPENDFFLAGS  = $(FFLAGS)
+# 
+# # rootcint flags
+# CINTFLAGS     = 
+# 
+# LD            = icpc
+# LDFLAGS       = $(OPT) $(DICTLOAD)
+# 
+# SHLD      := $(LD)
+# SOFLAGS      := $(OPT) -dynamiclib -undefined dynamic_lookup -single_module
+# SHLIB        := 
+# SOEXT             := so
+# 
+# DYLD      := $(LD)
+# DYFLAGS       = -dynamiclib -undefined dynamic_lookup -single_module
+# DYLIB        := 
+# DYEXT        := dylib
+# 
+# ALLD       = ar
+# ALFLAGS       = cr
+# ALLIB         = 
+# AEXT               = a
+# 
+# DEPENDCXXFLAGS = $(CXXFLAGS) -I/usr/include/sys
+# 
+# EXEFLAGS     := -bind_at_load 
+# 
+# #System libraries
+# 
+# SYSLIBS      := -L/usr/X11R6/lib -lX11 -lGL $(LIBNOVER) -L/usr/local/lib \
+#                 -lXt -L$(shell which ifort | sed -e 's|bin/ifort|lib|') \
+#                 -lifcore -lifport
+# 
+# 
+# ../build/Makefile.macosxxlc
+# # -*- mode: makefile -*-
+# # Makefile for AliRoot for MacOS X using the IBM xlc compiler
+# 
+# # The compilers
+# CXX           = xlC
+# F77        = xlf
+# CC         = xlc
+# 
+# # Global optimisation
+# OPT           = -qnoopt #-O3 -g
+# NOOPT         = -qnoopt
+# 
+# CXXOPT        = $(OPT) 
+# CXXNOOPT      = $(NOOPT) 
+# COPT       = $(OPT)
+# FOPT       = $(OPT) 
+# 
+# # CERNLIB defines
+# CLIBDEFS      = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
+# CLIBCXXOPTS   =
+# CLIBCOPT      =
+# CLIBFOPT      = $(shell echo $(CLIBDEFS) | sed -e's/-D/-WF,-D/g')
+# 
+# # Compiler flags
+# CXXFLAGS      = $(CXXOPT) -qpic -I/sw/include \
+#                 -qflttrap=overflow:zerodivide:invalid:inexact:enable
+# CXXFLAGSNO    = $(CXXNOOPT) -qpic -I/sw/include \
+#                 -qflttrap=overflow:zerodivide:invalid:inexact:enable
+# CFLAGS             = -qpic -qextname -I/sw/include \
+#                 -qflttrap=overflow:zerodivide:invalid:inexact:enable
+# FFLAGS        = $(CLIBFOPT)  $(FOPT) -qpic \
+#                 -qflttrap=overflow:zerodivide:invalid:inexact:enable
+# # rmkdepend flags for building dependencies 
+# DEPENDFFLAGS  = $(FFLAGS)
+# DEPENDCXXFLAGS = $(CXXFLAGS) -I/usr/include/sys
+# 
+# # rootcint flags
+# CINTFLAGS     = 
+#              
+# LD            = xlC
+# LDFLAGS       = $(OPT) 
+# 
+# SHLD      := export MACOSX_DEPLOYMENT_TARGET=10.3 ; \
+#              unset LD_PREBIND ; \
+#              xlC
+# SOFLAGS      := -bundle -undefined dynamic_lookup
+# #SHLIB        := -lg2c
+# SHLIB        :=
+# SOEXT             := so
+# 
+# DYLD      := export MACOSX_DEPLOYMENT_TARGET=10.3 ; \
+#              unset LD_PREBIND ; \
+#              xlC
+# DYFLAGS       = -qmkshrobj -undefined dynamic_lookup -single_module
+# DYLIB        :=
+# DYEXT        := dylib
+# 
+# ALLD       = ar
+# ALFLAGS       = cr
+# ALLIB         = 
+# AEXT               = a
+# 
+# 
+# #System libraries
+# SYSLIBS      := -ldl -L/usr/X11R6/lib -lX11
+# 
+# EXEFLAGS     := -Wl,-bind_at_load
+# 
+# 
+# 
+# 
+# ../build/Makefile.solarisCC5
+# # -*- mode: makefile -*-
+# # Makefile to build ALIROOT for SunOS
+# 
+# # System dependent commands
+# 
+# XARGS = xargs
+# 
+# # The compilers
+# CXX           = /opt/SUNWspro/bin/CC
+# CC         = /opt/SUNWspro/bin/cc
+# F77        = /opt/SUNWspro/bin/f77
+# 
+# # Global optimisation
+# OPT           = -g -O 
+# NOOPT         = -g
+# 
+# CXXOPT        = $(OPT)
+# CXXNOOPT      = $(NOOPT)
+# COPT       = $(OPT)
+# FOPT       = $(OPT)
+# 
+# # CERNLIB defines
+# CLIBDEFS      = -DCERNLIB_SUN -DCERNLIB_BLDLIB -DCERNLIB_CZ
+# CLIBCXXOPTS   =
+# CLIBCOPT      =
+# CLIBFOPT      = $(CLIBDEFS) -xpp=cpp
+#              
+# # Compiler flags
+# CXXFLAGS      = $(CXXOPT) +w -KPIC -features=rtti -D_XOPEN_SOURCE -D_XOPEN_VERSION=4 -D__EXTENSIONS__
+# CXXFLAGSNO    = $(CXXNOOPT) +w -KPIC -features=rtti
+# CFLAGS             = $(COPT) -KPIC -erroff=%none
+# FFLAGS        = $(FOPT) $(CLIBFOPT) $(CLIBDEFS)  -KPIC
+# # rmkdepend flags for building dependencies of FORTRAN files
+# DEPENDFFLAGS  = $(FFLAGS) 
+# 
+# # rootcint flags
+# CINTFLAGS     = 
+# 
+# SHLIB         = 
+# SOEXT              = so
+# 
+# LD            = /opt/SUNWspro/bin/CC
+# LDFLAGS       = $(OPT) -Qoption ld -t
+# 
+# SHLD       = $(LD)
+# SOFLAGS       = -G $(LDFLAGS) $(SHLIB)  
+# 
+# SYSLIBS      := -L/usr/dt/lib -L/usr/openwin/lib -L/usr/ccs/lib -lXm -lXt \
+#                 -lX11 -lm -lgen -ldl -lsocket -lsunmath -lfsu -lfui -lnsl
+# 
+# # Additional flags and libraries for building aliroot executable
+# 
+# EXEFLAGS     := -O -Qoption ld -t 
+# 
+# 
+# 
+# 
+# 
+# ../build/Makefile.win32gcc
+# # -*- mode: makefile -*-
+# # Makefile to build AliRoot for Linux
+# 
+# # System dependent commands
+# 
+# XARGS = xargs -r
+# 
+# # The compilers
+# CXX           = g++ 
+# F77        = g77
+# CC         = gcc
+# CCMAJORV      = $(shell $(CC) -dumpversion | cut -d. -f1)
+# CCMINORV      = $(shell $(CC) -dumpversion | cut -d. -f2)
+# 
+# # Global optimisation
+# OPT           = -O -g
+# NOOPT         = -g
+# 
+# CXXOPT        = $(OPT)
+# CXXNOOPT      = $(NOOPT)
+# COPT       = $(OPT)
+# FOPT       = $(OPT)
+# 
+# # CERNLIB defines
+# CLIBDEFS      = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
+# CLIBCXXOPTS   =
+# CLIBCOPT      =
+# CLIBFOPT      = $(CLIBDEFS)
+# 
+# # Compiler flags
+# CXXFLAGS       = $(OPT) -Wall -pipe -Woverloaded-virtual -Weffc++ -D_DLL
+# CXXFLAGSNO     = $(NOOPT) -Wall -pipe -Woverloaded-virtual -Weffc++ -D_DLL
+# CFLAGS              = $(OPT) -Wall -D_DLL
+# FFLAGS         = $(CLIBFOPT) $(FOPT) -fno-second-underscore
+# # rmkdepend flags for building dependencies of FORTRAN files
+# DEPENDFFLAGS   = $(FFLAGS)
+# 
+# # rootcint flags
+# CINTFLAGS     = 
+# 
+# LD            = g++
+# LDFLAGS       = $(OPT) 
+# 
+# SHLD       = $(LD)
+# SOFLAGS       = $(OPT) -shared -Wl,--export-all-symbols -Wl,-soname=$$TMPLIB -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc
+# SHLIB         = $(shell root-config --libs) -lg2c
+# SOEXT              = dll
+# 
+# ALLD       = ar
+# ALFLAGS       = cr
+# ALLIB         = 
+# AEXT               = a
+# 
+# # additional ROOT libraries
+# 
+# #System libraries
+# SYSLIBS      := -ldl -lg2c -lcrypt -L/usr/X11R6/lib -lX11
+# 
+# 
+# 
+# 
+# 
+
+
+
+
+
+
diff --git a/cmake/modules/CbmMacros.cmake b/cmake/modules/CbmMacros.cmake
new file mode 100644 (file)
index 0000000..6818970
--- /dev/null
@@ -0,0 +1,312 @@
+# -*- mode: cmake -*-
+
+  ###########################################
+  #
+  #       Usefull macros
+  #
+  ###########################################
+
+  ###############################################################
+  #
+  # Exchange file extention of LIST from
+  # FILE_EXT1 to FILE_EXT2 and assign the
+  # newly created list to OUTVAR. The input
+  # list LIST is not changed at all
+  # Ex: CHANGE_FILE_EXTENSION(*.cxx *.h TRD_HEADERS "${TRD_SRCS}")
+  #
+  ################################################################
+
+MACRO (CHANGE_FILE_EXTENSION FILE_EXT1 FILE_EXT2 OUTVAR LIST)
+
+   SET(BLA)
+
+   IF (${FILE_EXT1} MATCHES "^[*][.]+.*$")
+     STRING(REGEX REPLACE "^[*]+([.].*)$" "\\1" FILE_EXT1_NEW ${FILE_EXT1}) 
+   ENDIF  (${FILE_EXT1} MATCHES "^[*][.]+.*$")
+
+   IF (${FILE_EXT2} MATCHES "^[*][.]+.*$")
+     STRING(REGEX REPLACE "^[*]+([.].*)" "\\1" FILE_EXT2_NEW ${FILE_EXT2}) 
+   ENDIF  (${FILE_EXT2} MATCHES "^[*][.]+.*$")
+
+   foreach (_current_FILE ${LIST})
+
+#     GET_FILENAME_COMPONENT(name_wo_path ${_current_FILE}
+#                            NAME
+#                            )
+
+     STRING(REGEX REPLACE "^(.*)${FILE_EXT1_NEW}$" "\\1${FILE_EXT2_NEW}" test ${_current_FILE})
+     SET (BLA ${BLA} ${test})
+
+   endforeach (_current_FILE ${LIST})
+   
+   SET (${OUTVAR} ${BLA})
+
+
+
+ENDMACRO (CHANGE_FILE_EXTENSION)
+
+  ######################################################
+  # 
+  # Macro get string with a colon seperated string of
+  # pathes or any other colon sperated list.
+  # First the string is seperated  and the entries are
+  # filled into a list.
+  # Loop over the list and searches for the occurence
+  # of keywords which are provided as a list.
+  # If the keyword occurs this path (entry) is
+  # deleted from the list. Returns the list of pathes
+  # (entries) wich survives the loop.
+  #
+  # PATH: colon separated string of pathes or other 
+  #       input entries
+  # LIST_OF_KEYWORDS: list of the keywords which 
+  #                   should be excluded in the output
+  # OUTVAR: name of the variable which should be filled
+  #         with the resulting output list
+  #
+  ######################################################
+
+MACRO (CLEAN_PATH_LIST PATH LIST_OF_KEYWORDS OUTVAR)
+
+  SET(BLA "")
+
+  STRING(REGEX MATCHALL "[^:]+" PATH1 ${PATH})
+
+  FOREACH(_current_PATH ${PATH1})
+    SET(KEYWORD_FOUND FALSE)
+
+    FOREACH(_current_KEYWORD ${LIST_OF_KEYWORDS})
+
+      IF (${_current_PATH} MATCHES "${_current_KEYWORD}")
+        SET(KEYWORD_FOUND TRUE)
+      ENDIF (${_current_PATH} MATCHES "${_current_KEYWORD}")
+
+    ENDFOREACH(_current_KEYWORD ${LIST_OF_KEYWORDS})
+    
+    IF (NOT KEYWORD_FOUND)
+      SET(BLA ${BLA} ${_current_PATH})
+    ENDIF (NOT KEYWORD_FOUND)  
+
+  ENDFOREACH(_current_PATH ${PATH1})
+
+  UNIQUE(${OUTVAR} "${BLA}")
+
+ENDMACRO (CLEAN_PATH_LIST)
+
+  ##########################################################
+  #
+  # The macro checks if the user wants to build the project
+  # in the source directory and if so stop the execution
+  # of cmake with an error message.
+  #
+  ##########################################################
+
+MACRO (CHECK_OUT_OF_SOURCE_BUILD)
+
+   STRING(COMPARE EQUAL "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" insource)
+   IF(insource)
+      FILE(REMOVE_RECURSE ${CMAKE_SOURCE_DIR}/Testing)
+      FILE(REMOVE ${CMAKE_SOURCE_DIR}/DartConfiguration.tcl)
+      MESSAGE(FATAL_ERROR "FAIRROOT should be installed as an out of source build, to keep the source directory clean. Please create a extra build directory and run the command 'cmake path_to_source_dir' in this newly created directory. You have also to delete the directory CMakeFiles and the file CMakeCache.txt in the source directory. Otherwise cmake will complain even if you run it from an out-of-source directory.") 
+   ENDIF(insource)
+
+ENDMACRO (CHECK_OUT_OF_SOURCE_BUILD)
+
+MACRO(UNIQUE var_name list)
+
+  #######################################################################
+  # Make the given list have only one instance of each unique element and
+  # store it in var_name.
+  #######################################################################
+
+  SET(unique_tmp "")
+  FOREACH(l ${list})
+    STRING(REGEX REPLACE "[+]" "\\\\+" l1 ${l})
+    IF(NOT "${unique_tmp}" MATCHES "(^|;)${l1}(;|$)")
+      SET(unique_tmp ${unique_tmp} ${l})
+    ENDIF(NOT "${unique_tmp}" MATCHES "(^|;)${l1}(;|$)")
+  ENDFOREACH(l)
+  SET(${var_name} ${unique_tmp})
+ENDMACRO(UNIQUE)
+
+MACRO(CHECK_CMAKE_VERSION)
+
+  #################################################################
+  #Check if CMake has at least version 2.4.3
+  # This has to be done before anything else, because some commands
+  # are not known in older versions.
+  #################################################################
+
+  EXEC_PROGRAM( cmake ARGS "--version" OUTPUT_VARIABLE CMAKE_VERSION )
+  IF (${CMAKE_MAJOR_VERSION} LESS 2 )
+      MESSAGE("You are using CMake version ${CMAKE_VERSION} .")
+      MESSAGE( FATAL_ERROR "This Cmake version is to old. At leasts version 2.4.3 is needed.")
+  ENDIF (${CMAKE_MAJOR_VERSION} LESS 2 )
+  IF (${CMAKE_MINOR_VERSION} LESS 4 )
+      MESSAGE("You are using CMake version ${CMAKE_VERSION} .")
+      MESSAGE( FATAL_ERROR "This Cmake version is to old. At leasts version 2.4.3 is needed.")
+  ENDIF (${CMAKE_MINOR_VERSION} LESS 4 )
+  IF (${CMAKE_PATCH_VERSION} LESS 3 )
+      MESSAGE("You are using CMake version ${CMAKE_VERSION} .")
+      MESSAGE( FATAL_ERROR "This Cmake version is to old. At leasts version 2.4.3 is needed.")
+  ENDIF (${CMAKE_PATCH_VERSION} LESS 3 )
+
+ENDMACRO(CHECK_CMAKE_VERSION)
+
+MACRO(CHECK_GSI)
+
+  #################################################################
+  # Check if /misc/cbmsoft/config exist, because than we are at GSI
+  # If we are not at GSI some of the macros may not work.
+  #################################################################
+
+  SET(GSI GSI-NOTFOUND)
+  FIND_PATH(GSI NAMES config PATHS
+    /misc/cbmsoft
+    NO_DEFAULT_PATH
+  ) 
+
+  EXEC_PROGRAM(uname ARGS "-m" OUTPUT_VARIABLE Machine)
+#  SET(Machine ${CMAKE_SYSTEM_PROCESSOR})
+  #${CMAKE_SYSTEM_PROCESSOR} is not set correctly on 64bit
+  #Debian Etch, so use workaround
+
+  IF(GSI)
+    MESSAGE("-- You're using the GSI installation of the external packages.")
+
+    SET(KEYWORDS
+    cbmsoft
+    debian
+    globus
+    gcc
+    binutils
+    cbm 
+    panda
+    )
+    IF(DEFINED ENV{PATH})
+      CLEAN_PATH_LIST("$ENV{PATH}" "${KEYWORDS}" PATH)
+      #MESSAGE ("PATH: ${PATH}")
+      #set(ENV{PATH} ${PATH})
+    ENDIF(DEFINED ENV{PATH})
+
+
+    # Create a clean LD_LIBRARY_PATH without any pathes to libraries set
+    # later on
+    IF(DEFINED ENV{LD_LIBRARY_PATH})
+      SET(KEYWORDS ${KEYWORDS} ${CMAKE_BINARY_DIR})
+      CLEAN_PATH_LIST("$ENV{LD_LIBRARY_PATH}" "${KEYWORDS}" LD_LIBRARY_PATH)
+      #MESSAGE("LD_LIBRARY_PATH: ${LD_LIBRARY_PATH}")
+    ENDIF(DEFINED ENV{LD_LIBRARY_PATH})
+
+    # Check if you're on an 32 or 64 bit environment
+    IF(${Machine} MATCHES "i686" OR 
+       ${Machine} MATCHES "i386" )
+      MESSAGE("-- This is an 32 bit machine")
+      SET(GSI_SIMPATH /misc/cbmsoft/Debian3.1/new/)
+    ELSE(${Machine} MATCHES "i686" OR 
+         ${Machine} MATCHES "i386" )
+      IF(${Machine} MATCHES "x86_64")
+        MESSAGE("-- This is an 64 bit machine")
+        SET(GSI_SIMPATH /misc/cbmsoft/Debian64/new/)
+      ELSE(${Machine} MATCHES "x86_64")
+        MESSAGE(FATAL_ERROR "This is a UNIX machine wich is neither 32 nor 64 bit. Don't know what to do, so break. ")
+      ENDIF(${Machine} MATCHES "x86_64")
+    ENDIF(${Machine} MATCHES "i686" OR 
+          ${Machine} MATCHES "i386" )
+
+  ELSE(GSI)
+    MESSAGE("-- You're not using the GSI installation of the external packages.")
+    MESSAGE("-- If any problems occur this can be due to the fact that the macros")
+    MESSAGE("-- were mostly tested at GSI. If you find any problems please contact")
+    MESSAGE("-- f.uhlig@gsi.de")
+    STRING(REGEX MATCHALL "[^:]+" PATH $ENV{PATH})
+    #MESSAGE("PATH: ${PATH}")
+  ENDIF(GSI)
+
+ENDMACRO(CHECK_GSI)
+
+MACRO(CHECK_EXTERNAL_PACKAGES_INSTALLATION)
+  #############################################################
+  # Check if cmake can find the root of the simulation packages
+  # check if the installation is as at GSI
+  # This is needed later on to check for the required packages
+  # Should be done in a better way that you find the packages
+  # independent of the way where they are installed
+  #############################################################
+
+  SET(SIMPATH SIMPATH-NOTFOUND)
+  SET(SIMPATH1 SIMPATH1-NOTFOUND)
+  SET(SIMPATH2 SIMPATH2-NOTFOUND)
+  SET(SIMPATH3 SIMPATH3-NOTFOUND)
+  SET(SIMPATH4 SIMPATH4-NOTFOUND)
+
+  FIND_PATH(SIMPATH1 NAMES transport PATHS
+    $ENV{SIMPATH}
+    ${GSI_SIMPATH}
+    NO_DEFAULT_PATH
+  )
+  FIND_PATH(SIMPATH2 NAMES tools PATHS
+    $ENV{SIMPATH}
+    ${GSI_SIMPATH}
+    NO_DEFAULT_PATH
+  )
+  FIND_PATH(SIMPATH3 NAMES cern PATHS
+    $ENV{SIMPATH}
+    ${GSI_SIMPATH}
+    NO_DEFAULT_PATH
+  )
+  FIND_PATH(SIMPATH4 NAMES generators PATHS
+    $ENV{SIMPATH}
+    ${GSI_SIMPATH}
+    NO_DEFAULT_PATH
+  )
+  
+  IF(SIMPATH1 AND SIMPATH2 AND SIMPATH3 AND SIMPATH4)
+    SET(SIMPATH ${SIMPATH1})
+  ENDIF(SIMPATH1 AND SIMPATH2 AND SIMPATH3 AND SIMPATH4)
+  
+      
+  IF (${SIMPATH} MATCHES "SIMPATH-NOTFOUND")
+    MESSAGE( FATAL_ERROR "Could not find the root of the simulation software. Please define SIMPATH as the path to the root of your instalation of simulation software.")
+  ELSE (${SIMPATH} MATCHES "SIMPATH-NOTFOUND")
+    MESSAGE( STATUS "Found root of the simulation software at ${SIMPATH}")
+    SET( ENV{SIMPATH} ${SIMPATH})
+    SET(ROOTSYS ${SIMPATH}/tools/root)
+    SET( ENV{ROOTSYS} ${SIMPATH}/tools/root)
+  ENDIF (${SIMPATH} MATCHES "SIMPATH-NOTFOUND")
+
+ENDMACRO(CHECK_EXTERNAL_PACKAGES_INSTALLATION)
+
+###################################################
+# Creates a variable which stores the intersection 
+# between two lists
+####################################################
+
+MACRO(INTERSECTION var_name list1 list2)
+  # Store the intersection between the two given lists in var_name.
+  SET(intersect_tmp "")
+  FOREACH(l ${list1})
+    IF("${list2}" MATCHES "(^|;)${l}(;|$)")
+      SET(intersect_tmp ${intersect_tmp} ${l})
+    ENDIF("${list2}" MATCHES "(^|;)${l}(;|$)")
+  ENDFOREACH(l)
+  SET(${var_name} ${intersect_tmp})
+ENDMACRO(INTERSECTION)
+
+MACRO(REMOVE_FROM_LIST var_name list1 list2)
+  # Remove elements in list2 from list1 and store the result in var_name.
+  SET(filter_tmp "")
+  FOREACH(l ${list1})
+    IF(NOT "${list2}" MATCHES "(^|;)${l}(;|$)")
+      SET(filter_tmp ${filter_tmp} ${l})
+    ENDIF(NOT "${list2}" MATCHES "(^|;)${l}(;|$)")
+  ENDFOREACH(l)
+  SET(${var_name} ${filter_tmp})
+ENDMACRO(REMOVE_FROM_LIST)
+
+
+
+
+
diff --git a/cmake/modules/CheckCompiler.cmake b/cmake/modules/CheckCompiler.cmake
new file mode 100644 (file)
index 0000000..169337c
--- /dev/null
@@ -0,0 +1,72 @@
+# -*- mode: cmake -*-
+MACRO ( Check_Compiler )
+
+
+# Set a default build type for single-configuration
+# CMake generators if no build type is set.
+if (NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
+#   set(CMAKE_BUILD_TYPE RelWithDebInfo)
+endif (NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
+
+if (CMAKE_SYSTEM_NAME MATCHES Linux)
+   MESSAGE("--- Found a Linux ssytem")
+   if (CMAKE_COMPILER_IS_GNUCXX)
+      MESSAGE("--- Found GNU compiler collection")
+#      set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}")
+#      set ( CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_MODULE_LINKER_FLAGS}")
+      # we profile...
+#      if(CMAKE_BUILD_TYPE_TOLOWER MATCHES profile)
+#        set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fprofile-arcs -ftest-coverage")
+#        set (CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -fprofile-arcs -ftest-coverage")
+#      endif(CMAKE_BUILD_TYPE_TOLOWER MATCHES profile)
+
+   # Select flags.
+   set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g")
+   set(CMAKE_CXX_FLAGS_RELEASE        "-O2")
+#   set(CMAKE_CXX_FLAGS_DEBUG          "-g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline")
+   set(CMAKE_CXX_FLAGS_DEBUG          "-g")
+   set(CMAKE_CXX_FLAGS_DEBUGFULL      "-g3 -fno-inline")
+   set(CMAKE_CXX_FLAGS_PROFILE        "-g3 -fno-inline -ftest-coverage -fprofile-arcs")
+   set(CMAKE_CXX_FLAGS_ARRAY_CHECK    "-g3 -fno-inline -ftest-coverage -fprofile-arcs -fstack-protector")
+   set(CMAKE_C_FLAGS_RELWITHDEBINFO   "-O2 -g")
+   set(CMAKE_C_FLAGS_RELEASE          "-O2")
+#   set(CMAKE_C_FLAGS_DEBUG            "-g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline")
+   set(CMAKE_C_FLAGS_DEBUG            "-g")
+   set(CMAKE_C_FLAGS_DEBUGFULL        "-g3 -fno-inline")
+   set(CMAKE_C_FLAGS_PROFILE          "-g3 -fno-inline -ftest-coverage -fprofile-arcs")
+   set(CMAKE_C_FLAGS_ARRAY_CHECK      "-g3 -fno-inline -ftest-coverage -fprofile-arcs -fstack-protector")
+
+#   set ( CMAKE_C_FLAGS     "${CMAKE_C_FLAGS} -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common")
+#   set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common")
+   endif (CMAKE_COMPILER_IS_GNUCXX)
+
+   if (CMAKE_C_COMPILER MATCHES "icc")
+      MESSAGE("--- Found Intel compiler collection")
+#      set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}")
+#      set ( CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_MODULE_LINKER_FLAGS}")
+
+   # Select flags.
+   set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g")
+   set(CMAKE_CXX_FLAGS_RELEASE        "-O2")
+   set(CMAKE_CXX_FLAGS_DEBUG          "-O2 -g -0b0 -noalign")
+   set(CMAKE_CXX_FLAGS_DEBUGFULL      "-g -Ob0 -noalign")
+   set(CMAKE_C_FLAGS_RELWITHDEBINFO   "-O2 -g")
+   set(CMAKE_C_FLAGS_RELEASE          "-O2")
+   set(CMAKE_C_FLAGS_DEBUG            "-O2 -g -Ob0 -noalign")
+   set(CMAKE_C_FLAGS_DEBUGFULL        "-g -Ob0 -noalign")
+
+#   set(CMAKE_C_FLAGS   "${CMAKE_C_FLAGS}   -ansi -Wpointer-arith -fno-common")
+#   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ansi -Wpointer-arith -fno-exceptions -fno-common")
+
+   endif (CMAKE_C_COMPILER MATCHES "icc")
+endif (CMAKE_SYSTEM_NAME MATCHES Linux)
+
+
+#STRING(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_UPPER)
+
+SET (BLA CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE_UPPER})
+
+MESSAGE("--- Build Type: ${CMAKE_BUILD_TYPE}")
+MESSAGE("--- Compiler Flags: ${CMAKE_CXX_FLAGS} ${${BLA}}")
+
+ENDMACRO ( Check_Compiler )
\ No newline at end of file
diff --git a/cmake/modules/CheckCompiler.cmake.ori b/cmake/modules/CheckCompiler.cmake.ori
new file mode 100644 (file)
index 0000000..ff27f8e
--- /dev/null
@@ -0,0 +1,118 @@
+# -*- mode: cmake -*-
+MACRO ( Check_Compiler )
+
+
+# Set a default build type for single-configuration
+# CMake generators if no build type is set.
+if (NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
+   set(CMAKE_BUILD_TYPE RelWithDebInfo)
+endif (NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
+
+if (CMAKE_SYSTEM_NAME MATCHES Linux)
+   MESSAGE("--- Found a Linux ssytem")
+   if (CMAKE_COMPILER_IS_GNUCXX)
+      MESSAGE("--- Found GNU compiler collection")
+#      set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}")
+#      set ( CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_MODULE_LINKER_FLAGS}")
+      # we profile...
+#      if(CMAKE_BUILD_TYPE_TOLOWER MATCHES profile)
+#        set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fprofile-arcs -ftest-coverage")
+#        set (CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -fprofile-arcs -ftest-coverage")
+#      endif(CMAKE_BUILD_TYPE_TOLOWER MATCHES profile)
+
+   # Select flags.
+   set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g")
+   set(CMAKE_CXX_FLAGS_RELEASE        "-O2")
+#   set(CMAKE_CXX_FLAGS_DEBUG          "-g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline")
+   set(CMAKE_CXX_FLAGS_DEBUG          "-g")
+   set(CMAKE_CXX_FLAGS_DEBUGFULL      "-g3 -fno-inline")
+   set(CMAKE_CXX_FLAGS_PROFILE        "-g3 -fno-inline -ftest-coverage -fprofile-arcs")
+   set(CMAKE_CXX_FLAGS_ARRAY_CHECK    "-g3 -fno-inline -ftest-coverage -fprofile-arcs -fstack-protector")
+   set(CMAKE_C_FLAGS_RELWITHDEBINFO   "-O2 -g")
+   set(CMAKE_C_FLAGS_RELEASE          "-O2")
+#   set(CMAKE_C_FLAGS_DEBUG            "-g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline")
+   set(CMAKE_C_FLAGS_DEBUG            "-g")
+   set(CMAKE_C_FLAGS_DEBUGFULL        "-g3 -fno-inline")
+   set(CMAKE_C_FLAGS_PROFILE          "-g3 -fno-inline -ftest-coverage -fprofile-arcs")
+   set(CMAKE_C_FLAGS_ARRAY_CHECK      "-g3 -fno-inline -ftest-coverage -fprofile-arcs -fstack-protector")
+
+#   set ( CMAKE_C_FLAGS     "${CMAKE_C_FLAGS} -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common")
+#   set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common")
+   endif (CMAKE_COMPILER_IS_GNUCXX)
+
+   if (CMAKE_C_COMPILER MATCHES "icc")
+      MESSAGE("--- Found Intel compiler collection")
+#      set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}")
+#      set ( CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_MODULE_LINKER_FLAGS}")
+
+   # Select flags.
+   set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g")
+   set(CMAKE_CXX_FLAGS_RELEASE        "-O2")
+   set(CMAKE_CXX_FLAGS_DEBUG          "-O2 -g -0b0 -noalign")
+   set(CMAKE_CXX_FLAGS_DEBUGFULL      "-g -Ob0 -noalign")
+   set(CMAKE_C_FLAGS_RELWITHDEBINFO   "-O2 -g")
+   set(CMAKE_C_FLAGS_RELEASE          "-O2")
+   set(CMAKE_C_FLAGS_DEBUG            "-O2 -g -Ob0 -noalign")
+   set(CMAKE_C_FLAGS_DEBUGFULL        "-g -Ob0 -noalign")
+
+#   set(CMAKE_C_FLAGS   "${CMAKE_C_FLAGS}   -ansi -Wpointer-arith -fno-common")
+#   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ansi -Wpointer-arith -fno-exceptions -fno-common")
+
+   endif (CMAKE_C_COMPILER MATCHES "icc")
+endif (CMAKE_SYSTEM_NAME MATCHES