]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
STEER CMakeList files
authoragrigora <alina.grigoras@cern.ch>
Tue, 30 Sep 2014 12:28:38 +0000 (14:28 +0200)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:51:21 +0000 (13:51 +0100)
19 files changed:
CMakeLists.txt
STEER/AOD/AODLinkDef.h [moved from STEER/AODLinkDef.h with 100% similarity]
STEER/AOD/CMakeLists.txt [new file with mode: 0644]
STEER/ARVersion.h.in [deleted file]
STEER/CDB/CDBLinkDef.h [moved from STEER/CDBLinkDef.h with 100% similarity]
STEER/CDB/CMakeLists.txt [new file with mode: 0644]
STEER/CMakeLists.txt
STEER/CMakelibAOD.pkg [deleted file]
STEER/CMakelibCDB.pkg [deleted file]
STEER/CMakelibESD.pkg [deleted file]
STEER/CMakelibSTEER.pkg [deleted file]
STEER/CMakelibSTEERBase.pkg [deleted file]
STEER/ESD/CMakeLists.txt [new file with mode: 0644]
STEER/ESD/ESDLinkDef.h [moved from STEER/ESDLinkDef.h with 100% similarity]
STEER/STEER/CMakeLists.txt [new file with mode: 0644]
STEER/STEER/STEERLinkDef.h [moved from STEER/STEERLinkDef.h with 100% similarity]
STEER/STEERBase/CMakeLists.txt [new file with mode: 0644]
STEER/STEERBase/STEERBaseLinkDef.h [moved from STEER/STEERBaseLinkDef.h with 100% similarity]
STEER/macros/CDB/CMakeLists.txt [new file with mode: 0644]

index e355610052391df54873c37143ef2f6cec00478a..7f4e4a16d98f2dd820abc4cd60df5906df6d5589 100644 (file)
@@ -145,12 +145,3 @@ add_subdirectory (STEER)
 #add_subdirectory (PWG)
 #add_subdirectory (Vc)
 #add_subdirectory (HLT)
-
-# build a CPack driven installer package
-include (InstallRequiredSystemLibraries)
-set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/License.txt")
-set (CPACK_PACKAGE_VERSION_MAJOR "5.04")
-set (CPACK_PACKAGE_VERSION_MINOR "01")
-set (CPACK_PACKAGE_CONTACT       "Peter.Hristov@cern.ch")
-set (CPACK_PACKAGING_INSTALL_PREFIX "/opt/aliroot")
-include (CPack)
similarity index 100%
rename from STEER/AODLinkDef.h
rename to STEER/AOD/AODLinkDef.h
diff --git a/STEER/AOD/CMakeLists.txt b/STEER/AOD/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9967719
--- /dev/null
@@ -0,0 +1,92 @@
+# **************************************************************************
+# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
+# *                                                                        *
+# * Author: The ALICE Off-line Project.                                    *
+# * Contributors are mentioned in the code where appropriate.              *
+# *                                                                        *
+# * Permission to use, copy, modify and distribute this software and its   *
+# * documentation strictly for non-commercial purposes is hereby granted   *
+# * without fee, provided that the above copyright notice appears in all   *
+# * copies and that both the copyright notice and this permission notice   *
+# * appear in the supporting documentation. The authors make no claims     *
+# * about the suitability of this software for any purpose. It is          *
+# * provided "as is" without express or implied warranty.                  *
+# **************************************************************************
+
+# Module
+set (MODULE AOD)
+
+# Module include folders
+include_directories(${CMAKE_SOURCE_DIR}/STEER/${MODULE})
+
+# Additional include directories - alphabetical order except ROOT
+include_directories(${ROOTSYS}/include
+                    ${CMAKE_SOURCE_DIR}/STEER/ESD
+                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                   )
+
+# Sources - alphabetical order
+set(SRCS
+    AliAODBranchReplicator.cxx
+    AliAODCaloCells.cxx
+    AliAODCaloCluster.cxx
+    AliAODCaloTrigger.cxx
+    AliAODcascade.cxx
+    AliAODCluster.cxx
+    AliAODDiJet.cxx
+    AliAODDimuon.cxx
+    AliAODEvent.cxx
+    AliAODExtension.cxx
+    AliAODFmdCluster.cxx
+    AliAODHandler.cxx
+    AliAODHeader.cxx
+    AliAODHMPIDrings.cxx
+    AliAODInputHandler.cxx
+    AliAODJet.cxx
+    AliAODJetEventBackground.cxx
+    AliAODMCHeader.cxx
+    AliAODMCParticle.cxx
+    AliAODPhoton.cxx
+    AliAODPid.cxx
+    AliAODpidUtil.cxx
+    AliAODPmdCluster.cxx
+    AliAODPWG4ParticleCorrelation.cxx
+    AliAODPWG4Particle.cxx
+    AliAODRecoDecay.cxx
+    AliAODRedCov.cxx
+    AliAODTagCreator.cxx
+    AliAODTrack.cxx
+    AliAODTracklets.cxx
+    AliAODTrdTrack.cxx
+    AliAODTrdTracklet.cxx
+    AliAODTZERO.cxx
+    AliAODv0.cxx
+    AliAODVertex.cxx
+    AliAODVZERO.cxx
+    AliAODZDC.cxx
+   )
+
+# Sources from headers
+string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+# Generate the dictionary
+# It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument
+get_directory_property(incdirs INCLUDE_DIRECTORIES)
+generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
+
+# Add a library to the project using the specified source files
+add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx)
+
+# Additional compilation flags
+set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "-O -g")
+
+# System dependent: Modify the way the library is build
+if(${CMAKE_SYSTEM} MATCHES Darwin)
+    set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
+endif(${CMAKE_SYSTEM} MATCHES Darwin)
+
+# Installation
+install(TARGETS ${MODULE} 
+  ARCHIVE DESTINATION lib
+  LIBRARY DESTINATION lib)
+install(FILES ${HDRS} DESTINATION include)
diff --git a/STEER/ARVersion.h.in b/STEER/ARVersion.h.in
deleted file mode 100644 (file)
index 266ee38..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef ALIROOT_ARVersion
-#define ALIROOT_ARVersion
-#define ALIROOT_REVISION @ALIROOT_REVISION@
-#define ALIROOT_BRANCH "@ALIROOT_BRANCH@"
-#define ALIROOT_VERSION @ALIROOT_VERSION@
-#endif
similarity index 100%
rename from STEER/CDBLinkDef.h
rename to STEER/CDB/CDBLinkDef.h
diff --git a/STEER/CDB/CMakeLists.txt b/STEER/CDB/CMakeLists.txt
new file mode 100644 (file)
index 0000000..29a4694
--- /dev/null
@@ -0,0 +1,79 @@
+# **************************************************************************
+# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
+# *                                                                        *
+# * Author: The ALICE Off-line Project.                                    *
+# * Contributors are mentioned in the code where appropriate.              *
+# *                                                                        *
+# * Permission to use, copy, modify and distribute this software and its   *
+# * documentation strictly for non-commercial purposes is hereby granted   *
+# * without fee, provided that the above copyright notice appears in all   *
+# * copies and that both the copyright notice and this permission notice   *
+# * appear in the supporting documentation. The authors make no claims     *
+# * about the suitability of this software for any purpose. It is          *
+# * provided "as is" without express or implied warranty.                  *
+# **************************************************************************
+
+# Module
+set(MODULE CDB)
+
+# Module include folders
+include_directories(${CMAKE_SOURCE_DIR}/STEER/${MODULE})
+
+# Additional include directories
+include_directories(${ROOTSYS}/include
+                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${CMAKE_BINARY_DIR}/version/
+                   )
+
+
+# Sources - alphabetical order
+set(SRCS
+    AliBaseCalibViewer.cxx
+    AliBaseCalibViewerGUI.cxx
+    AliCalibViewerGUItime.cxx
+    AliCDBDump.cxx
+    AliCDBEntry.cxx
+    AliCDBGrid.cxx
+    AliCDBHandler.cxx
+    AliCDBId.cxx
+    AliCDBLocal.cxx
+    AliCDBManager.cxx
+    AliCDBMetaData.cxx
+    AliCDBPath.cxx
+    AliCDBRunRange.cxx
+    AliCDBStorage.cxx
+    AliDCSGenDB.cxx
+    AliDCSSensorArray.cxx
+    AliDCSSensor.cxx
+    AliDCSValue.cxx
+    AliGRPDCS.cxx
+    AliOCDBtoolkit.cxx
+    AliPreprocessor.cxx
+    AliShuttleInterface.cxx
+    AliSplineFit.cxx
+   )
+
+# Headers from sources
+string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+# Generate the dictionary
+# It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument
+get_directory_property(incdirs INCLUDE_DIRECTORIES)
+generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
+
+# Add a library to the project using the specified source files
+add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx)
+
+# Additional compilation flags
+set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "-O -g")
+
+# System dependent: Modify the way the library is build
+if(${CMAKE_SYSTEM} MATCHES Darwin)
+    set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
+endif(${CMAKE_SYSTEM} MATCHES Darwin)
+
+# Installation
+install(TARGETS ${MODULE} 
+  ARCHIVE DESTINATION lib
+  LIBRARY DESTINATION lib)
+install(FILES ${HDRS} DESTINATION include)
index cd1351f2e5384a1d6c4f611eaa65aa279c8110c0..c67cd9aecdeb6fc4bac784d9da5ac7d9b8bb5fd0 100644 (file)
@@ -1,10 +1,7 @@
-# AliRoot Build System CMakeLists for STEER
-#
-# Author: Johny Jose m(johny.jose@cern.ch)
-#         Port of previous Makefile build to cmake
+# include the libraries
+add_subdirectory (STEERBase)
+add_subdirectory (ESD)
+add_subdirectory (AOD)
+add_subdirectory (CDB)
+add_subdirectory (STEER)
 
-cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
-
-file(GLOB PACKAGES CMake*.pkg)
-
-ALICE_BuildModule()
diff --git a/STEER/CMakelibAOD.pkg b/STEER/CMakelibAOD.pkg
deleted file mode 100644 (file)
index a4684c9..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-set ( SRCS  AliAODEvent.cxx AliAODHeader.cxx AliAODTrack.cxx AliAODPid.cxx AliAODVertex.cxx AliAODCluster.cxx AliAODCaloCluster.cxx AliAODPmdCluster.cxx AliAODFmdCluster.cxx AliAODJet.cxx AliAODJetEventBackground.cxx AliAODPhoton.cxx AliAODRedCov.cxx AliAODRecoDecay.cxx AliAODExtension.cxx AliAODHandler.cxx AliAODTracklets.cxx AliAODTagCreator.cxx AliAODv0.cxx AliAODcascade.cxx AliAODCaloCells.cxx AliAODInputHandler.cxx AliAODDiJet.cxx AliAODMCParticle.cxx AliAODMCHeader.cxx AliAODPWG4Particle.cxx AliAODPWG4ParticleCorrelation.cxx AliAODDimuon.cxx AliAODpidUtil.cxx AliAODCentrality.cxx AliAODBranchReplicator.cxx AliAODVZERO.cxx AliAODTZERO.cxx)
-
-# -*- mode: CMake -*-
-
-set ( SRCS  
-    AOD/AliAODEvent.cxx 
-    AOD/AliAODHeader.cxx 
-    AOD/AliNanoAODHeader.cxx
-    AOD/AliAODTrack.cxx 
-    AOD/AliAODPid.cxx 
-    AOD/AliAODVertex.cxx 
-    AOD/AliAODCluster.cxx 
-    AOD/AliAODCaloCluster.cxx 
-    AOD/AliAODPmdCluster.cxx 
-    AOD/AliAODFmdCluster.cxx 
-    AOD/AliAODJet.cxx 
-    AOD/AliAODJetEventBackground.cxx 
-    AOD/AliAODPhoton.cxx 
-    AOD/AliAODRedCov.cxx 
-    AOD/AliAODRecoDecay.cxx 
-    AOD/AliAODExtension.cxx 
-    AOD/AliAODHandler.cxx 
-    AOD/AliAODTracklets.cxx 
-    AOD/AliAODTagCreator.cxx 
-    AOD/AliAODv0.cxx 
-    AOD/AliAODcascade.cxx 
-    AOD/AliAODCaloCells.cxx 
-    AOD/AliAODCaloTrigger.cxx 
-    AOD/AliAODInputHandler.cxx 
-    AOD/AliAODDiJet.cxx 
-    AOD/AliAODMCParticle.cxx 
-    AOD/AliAODMCHeader.cxx 
-    AOD/AliAODPWG4Particle.cxx 
-    AOD/AliAODPWG4ParticleCorrelation.cxx 
-    AOD/AliAODDimuon.cxx 
-    AOD/AliAODpidUtil.cxx 
-    AOD/AliAODBranchReplicator.cxx 
-    AOD/AliAODTZERO.cxx
-    AOD/AliAODVZERO.cxx
-    AOD/AliAODZDC.cxx  
-    AOD/AliAODHMPIDrings.cxx   
-    AOD/AliAODTrdTrack.cxx
-    AOD/AliAODTrdTracklet.cxx
-    AOD/AliNanoAODStorage.cxx
-    AOD/AliNanoAODTrackMapping.cxx
-    )
-
-string( REPLACE ".cxx" ".h" HDRS "${SRCS}")
-
-set ( DHDR AODLinkDef.h)
-
-set ( EXPORT ${HDRS} )
-
-set ( EINCLUDE  STEER/ESD STEER/STEERBase)
diff --git a/STEER/CMakelibCDB.pkg b/STEER/CMakelibCDB.pkg
deleted file mode 100644 (file)
index 16a9278..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-# -*- mode: CMake -*-
-
-set ( SRCS  
-    CDB/AliCDBEntry.cxx 
-    CDB/AliCDBId.cxx 
-    CDB/AliCDBMetaData.cxx 
-    CDB/AliCDBPath.cxx 
-    CDB/AliCDBRunRange.cxx 
-    CDB/AliCDBManager.cxx 
-    CDB/AliCDBStorage.cxx 
-    CDB/AliCDBLocal.cxx 
-    CDB/AliCDBDump.cxx 
-    CDB/AliCDBGrid.cxx 
-    CDB/AliDCSValue.cxx 
-    CDB/AliDCSSensor.cxx 
-    CDB/AliDCSSensorArray.cxx 
-    CDB/AliDCSGenDB.cxx 
-    CDB/AliSplineFit.cxx 
-    CDB/AliPreprocessor.cxx 
-    CDB/AliShuttleInterface.cxx 
-    CDB/AliGRPDCS.cxx 
-    CDB/AliCDBHandler.cxx 
-    CDB/AliBaseCalibViewer.cxx 
-    CDB/AliBaseCalibViewerGUI.cxx 
-    CDB/AliCalibViewerGUItime.cxx
-    CDB/AliOCDBtoolkit.cxx
-    )
-
-string( REPLACE ".cxx" ".h" HDRS "${SRCS}")
-
-set ( DHDR  CDBLinkDef.h)
-
-set ( EXPORT ${HDRS})
-
-set ( EINCLUDE  STEER/STEERBase)
diff --git a/STEER/CMakelibESD.pkg b/STEER/CMakelibESD.pkg
deleted file mode 100644 (file)
index 8214136..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-# -*- mode: CMake -*-
-
-set ( SRCS  
-    ESD/AliESDEvent.cxx 
-    ESD/AliESDInputHandler.cxx 
-    ESD/AliESDInputHandlerRP.cxx 
-    ESD/AliESDfriend.cxx 
-    ESD/AliESD.cxx 
-    ESD/AliESDtrack.cxx 
-    ESD/AliESDfriendTrack.cxx 
-    ESD/AliESDMuonTrack.cxx 
-    ESD/AliESDMuonGlobalTrack.cxx 
-    ESD/AliESDPmdTrack.cxx 
-    ESD/AliESDTrdTrack.cxx 
-    ESD/AliESDTrdTracklet.cxx 
-    ESD/AliESDTrdTrigger.cxx 
-    ESD/AliESDHLTtrack.cxx 
-    ESD/AliESDv0.cxx 
-    ESD/AliESDcascade.cxx 
-    ESD/AliVertex.cxx 
-    ESD/AliESDVertex.cxx 
-    ESD/AliESDpid.cxx 
-    ESD/AliESDkink.cxx 
-    ESD/AliESDCaloCluster.cxx 
-    ESD/AliESDMuonCluster.cxx 
-    ESD/AliESDMuonPad.cxx 
-    ESD/AliKFParticleBase.cxx 
-    ESD/AliKFParticle.cxx 
-    ESD/AliKFVertex.cxx 
-    ESD/AliKalmanTrack.cxx 
-    ESD/AliVertexerTracks.cxx 
-    ESD/AliStrLine.cxx 
-    ESD/AliESDV0Params.cxx 
-    ESD/AliTrackPointArray.cxx 
-    ESD/AliESDFMD.cxx 
-    ESD/AliFMDMap.cxx 
-    ESD/AliFMDFloatMap.cxx 
-    ESD/AliESDMultITS.cxx 
-    ESD/AliESDVZERO.cxx 
-    ESD/AliMultiplicity.cxx 
-    ESD/AliSelector.cxx 
-    ESD/AliESDRun.cxx 
-    ESD/AliESDHeader.cxx 
-    ESD/AliESDHLTDecision.cxx 
-    ESD/AliESDZDC.cxx 
-    ESD/AliESDTZERO.cxx 
-    ESD/AliESDTZEROfriend.cxx 
-    ESD/AliESDCaloTrigger.cxx 
-    ESD/AliRawDataErrorLog.cxx 
-    ESD/AliMeanVertex.cxx 
-    ESD/AliESDCaloCells.cxx 
-    ESD/AliESDACORDE.cxx 
-    ESD/AliESDAD.cxx 
-    ESD/AliESDVZEROfriend.cxx 
-    ESD/AliESDHandler.cxx 
-    ESD/AliTrackerBase.cxx  
-    ESD/AliESDUtils.cxx
-    ESD/AliTriggerIR.cxx 
-    ESD/AliTriggerScalersESD.cxx 
-    ESD/AliTriggerScalersRecordESD.cxx 
-    ESD/AliTriggerCluster.cxx 
-    ESD/AliTriggerDescriptor.cxx 
-    ESD/AliTriggerInput.cxx 
-    ESD/AliTriggerInteraction.cxx 
-    ESD/AliTriggerPFProtection.cxx 
-    ESD/AliTriggerBCMask.cxx 
-    ESD/AliTriggerClass.cxx 
-    ESD/AliTriggerConfiguration.cxx 
-    ESD/AliExpression.cxx
-    ESD/AliESDCosmicTrack.cxx
-    ESD/AliV0vertexer.cxx 
-    ESD/AliCascadeVertexer.cxx 
-    ESD/AliESDTOFHit.cxx
-    ESD/AliESDTOFMatch.cxx
-    ESD/AliESDTOFCluster.cxx
-    ESD/AliESDFIT.cxx
-    
-    )
-
-string( REPLACE ".cxx" ".h" HDRS "${SRCS}")
-
-set ( EINCLUDE  RAW STEER/STEERBase)
-
-set ( DHDR  ESDLinkDef.h)
-
-set ( EXPORT ${HDRS})
diff --git a/STEER/CMakelibSTEER.pkg b/STEER/CMakelibSTEER.pkg
deleted file mode 100644 (file)
index f2c942e..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-# -*- mode: CMake -*-
-
-set ( SRCS  
-    STEER/AliRunLoader.cxx 
-    STEER/AliLoader.cxx 
-    STEER/AliDataLoader.cxx 
-    STEER/AliObjectLoader.cxx 
-    STEER/AliBaseLoader.cxx 
-    STEER/AliTreeLoader.cxx 
-    STEER/AliDetector.cxx 
-    STEER/AliDigit.cxx 
-    STEER/AliHit.cxx 
-    STEER/AliRun.cxx 
-    STEER/AliGenerator.cxx 
-    STEER/AliVertexGenerator.cxx 
-    STEER/AliLego.cxx  
-    STEER/AliModule.cxx 
-    STEER/AliDigitNew.cxx 
-    STEER/AliGeometry.cxx 
-    STEER/AliRecPoint.cxx 
-    STEER/AliHitMap.cxx 
-    STEER/AliLegoGenerator.cxx 
-    STEER/AliLegoGeneratorXYZ.cxx 
-    STEER/AliLegoGeneratorPhiZ.cxx 
-    STEER/AliLegoGeneratorEta.cxx 
-    STEER/AliLegoGeneratorEtaR.cxx 
-    STEER/AliRndm.cxx 
-    STEER/AliDebugVolume.cxx 
-    STEER/AliConfig.cxx 
-    STEER/AliDigitizationInput.cxx 
-    STEER/AliDigitizer.cxx 
-    STEER/AliStream.cxx 
-    STEER/AliMergeCombi.cxx 
-    STEER/AliGausCorr.cxx 
-    STEER/AliVertexer.cxx 
-    STEER/AliMC.cxx 
-    STEER/AliSimulation.cxx 
-    STEER/AliReconstruction.cxx 
-    STEER/AliRecoInputHandler.cxx 
-    STEER/AliVertexGenFile.cxx 
-    STEER/AliReconstructor.cxx 
-    STEER/AliGeomManager.cxx 
-    STEER/AliAlignObj.cxx 
-    STEER/AliAlignObjParams.cxx 
-    STEER/AliAlignObjMatrix.cxx 
-    STEER/AliMisAligner.cxx 
-    STEER/AliTriggerDetector.cxx 
-    STEER/AliCentralTrigger.cxx 
-    STEER/AliRieman.cxx 
-    STEER/AliTrackFitter.cxx 
-    STEER/AliTrackFitterRieman.cxx 
-    STEER/AliTrackFitterKalman.cxx 
-    STEER/AliTrackFitterStraight.cxx 
-    STEER/AliTrackResiduals.cxx 
-    STEER/AliTrackResidualsChi2.cxx 
-    STEER/AliTrackResidualsFast.cxx 
-    STEER/AliTrackResidualsLinear.cxx 
-    STEER/AliAlignmentTracks.cxx 
-    STEER/AliCTPRawStream.cxx 
-    STEER/AliSignalProcesor.cxx 
-    STEER/AliTracker.cxx 
-    STEER/AliCluster.cxx 
-    STEER/AliCluster3D.cxx 
-    STEER/AliTrackleter.cxx 
-    STEER/AliHelix.cxx 
-    STEER/AliV0.cxx 
-    STEER/AliKink.cxx 
-    STEER/AliSelectorRL.cxx 
-    STEER/AliSurveyObj.cxx 
-    STEER/AliSurveyPoint.cxx 
-    STEER/AliSurveyToAlignObjs.cxx 
-    STEER/AliFstream.cxx 
-    STEER/AliCTPRawData.cxx 
-    STEER/AliQADataMaker.cxx 
-    STEER/AliGlobalQADataMaker.cxx 
-    STEER/AliQADataMakerSim.cxx 
-    STEER/AliQADataMakerRec.cxx 
-    STEER/AliCorrQADataMakerRec.cxx 
-    STEER/AliQAManager.cxx 
-    STEER/AliQAChecker.cxx 
-    STEER/AliCorrQAChecker.cxx 
-    STEER/AliGlobalQAChecker.cxx 
-    STEER/AliQACheckerBase.cxx 
-    STEER/AliQAThresholds.cxx 
-    STEER/AliMillepede.cxx 
-    STEER/AliPlaneEff.cxx 
-    STEER/AliTriggerRunScalers.cxx 
-    STEER/AliGRPPreprocessor.cxx 
-    STEER/AliGRPRecoParam.cxx 
-    STEER/AliRelAlignerKalman.cxx 
-    STEER/AliESDTagCreator.cxx 
-    STEER/AliGRPObject.cxx 
-    STEER/AliQAv1.cxx 
-    STEER/AliRunInfo.cxx 
-    STEER/AliEventInfo.cxx 
-    STEER/AliRecoParam.cxx 
-    STEER/AliDetectorRecoParam.cxx 
-    STEER/AliMillePedeRecord.cxx 
-    STEER/AliMillePede2.cxx 
-    STEER/AliMatrixSq.cxx 
-    STEER/AliVectorSparse.cxx 
-    STEER/AliMatrixSparse.cxx 
-    STEER/AliSymMatrix.cxx 
-    STEER/AliSymBDMatrix.cxx 
-    STEER/AliRectMatrix.cxx 
-    STEER/AliMinResSolve.cxx 
-    STEER/AliParamSolver.cxx 
-    STEER/AliGRPManager.cxx 
-    STEER/AliDCSArray.cxx       
-    STEER/AliLHCReader.cxx      
-    STEER/AliLHCDipValT.cxx     
-    STEER/AliLHCData.cxx
-    STEER/AliCTPTimeParams.cxx 
-    STEER/AliCTPInputTimeParams.cxx 
-    STEER/AliLHCClockPhase.cxx 
-    STEER/AliLTUConfig.cxx
-    STEER/AliTriggerUtils.cxx
-    STEER/AliTransportMonitor.cxx
-    STEER/AliParamList.cxx
-    STEER/AliMCGenHandler.cxx
-    STEER/AliHLTTestInputHandler.cxx
-    )
-
-string(REPLACE ".cxx" ".h" HDRS  "${SRCS}")
-
-set ( DHDR  STEERLinkDef.h)
-
-set ( EINCLUDE  RAW HLT/sim TPC STEER/CDB STEER/ESD STEER/STEERBase ANALYSIS)
-
-set ( EXPORT ${HDRS} STEER/AliConst.h STEER/AliCallf77.h STEER/AliRawDataHeaderSim.h STEER/AliGeomManager.h )
-
diff --git a/STEER/CMakelibSTEERBase.pkg b/STEER/CMakelibSTEERBase.pkg
deleted file mode 100644 (file)
index 362c15c..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-# -*- mode: CMake -*-
-
-set ( SRCS  
-    STEERBase/AliVParticle.cxx 
-    STEERBase/AliVTrack.cxx 
-    STEERBase/AliEventplane.cxx 
-    STEERBase/AliVCluster.cxx 
-    STEERBase/AliVCaloCells.cxx 
-    STEERBase/AliVVertex.cxx 
-    STEERBase/AliVEvent.cxx 
-    STEERBase/AliMixedEvent.cxx 
-    STEERBase/AliVHeader.cxx 
-    STEERBase/AliVAODHeader.cxx 
-    STEERBase/AliVEventHandler.cxx 
-    STEERBase/AliVEventPool.cxx 
-    STEERBase/AliVCuts.cxx 
-    STEERBase/AliVVZERO.cxx 
-    STEERBase/AliVZDC.cxx 
-    STEERBase/AliCentrality.cxx 
-    STEERBase/AliPID.cxx 
-    STEERBase/AliLog.cxx 
-    STEERBase/AliRunTag.cxx 
-    STEERBase/AliLHCTag.cxx 
-    STEERBase/AliDetectorTag.cxx 
-    STEERBase/AliEventTag.cxx 
-    STEERBase/AliFileTag.cxx 
-    STEERBase/AliEventTagCuts.cxx 
-    STEERBase/AliRunTagCuts.cxx 
-    STEERBase/AliLHCTagCuts.cxx 
-    STEERBase/AliDetectorTagCuts.cxx 
-    STEERBase/AliTagCreator.cxx 
-    STEERBase/AliHeader.cxx 
-    STEERBase/AliGenEventHeader.cxx 
-    STEERBase/AliDetectorEventHeader.cxx 
-    STEERBase/AliGenPythiaEventHeader.cxx 
-    STEERBase/AliGenCocktailEventHeader.cxx 
-    STEERBase/AliGenGeVSimEventHeader.cxx 
-    STEERBase/AliGenHijingEventHeader.cxx 
-    STEERBase/AliCollisionGeometry.cxx 
-    STEERBase/AliGenDPMjetEventHeader.cxx 
-    STEERBase/AliGenHerwigEventHeader.cxx 
-    STEERBase/AliGenEposEventHeader.cxx 
-    STEERBase/AliStack.cxx 
-    STEERBase/AliMCEventHandler.cxx 
-    STEERBase/AliInputEventHandler.cxx 
-    STEERBase/AliTrackReference.cxx 
-    STEERBase/AliSysInfo.cxx 
-    STEERBase/AliMCEvent.cxx 
-    STEERBase/AliMCParticle.cxx 
-    STEERBase/AliMCVertex.cxx 
-    STEERBase/AliMagF.cxx 
-    STEERBase/AliMagWrapCheb.cxx 
-    STEERBase/AliCheb3D.cxx 
-    STEERBase/AliCheb3DCalc.cxx 
-    STEERBase/AliNeutralTrackParam.cxx 
-    STEERBase/AliCodeTimer.cxx 
-    STEERBase/AliPDG.cxx 
-    STEERBase/AliTimeStamp.cxx 
-    STEERBase/AliTriggerScalers.cxx 
-    STEERBase/AliTriggerScalersRecord.cxx 
-    STEERBase/AliExternalTrackParam.cxx 
-    STEERBase/AliQA.cxx 
-    STEERBase/AliITSPidParams.cxx 
-    STEERBase/AliTRDPIDReference.cxx 
-    STEERBase/AliTRDPIDParams.cxx 
-    STEERBase/AliTRDPIDResponseObject.cxx
-    STEERBase/AliTRDNDFast.cxx
-    STEERBase/AliTRDTKDInterpolator.cxx
-    STEERBase/AliTRDdEdxParams.cxx
-    STEERBase/AliPIDResponse.cxx 
-    STEERBase/AliITSPIDResponse.cxx 
-    STEERBase/AliTPCPIDResponse.cxx 
-    STEERBase/AliTOFPIDResponse.cxx 
-    STEERBase/AliTOFPIDParams.cxx 
-    STEERBase/AliTRDPIDResponse.cxx 
-    STEERBase/AliEMCALPIDResponse.cxx 
-    STEERBase/AliHMPIDPIDResponse.cxx
-    STEERBase/AliHMPIDPIDParams.cxx
-    STEERBase/AliPIDCombined.cxx
-    STEERBase/AliPIDValues.cxx
-    STEERBase/AliDetectorPID.cxx
-    STEERBase/AliDAQ.cxx 
-    STEERBase/AliRefArray.cxx
-    STEERBase/AliOADBContainer.cxx     
-    STEERBase/AliMathBase.cxx 
-    STEERBase/TTreeStream.cxx 
-    STEERBase/AliVMFT.cxx
-    STEERBase/AliTPCdEdxInfo.cxx
-    STEERBase/AliCounterCollection.cxx
-    STEERBase/AliTOFHeader.cxx
-    STEERBase/AliTOFTriggerMask.cxx
-    STEERBase/AliVCaloTrigger.cxx
-    STEERBase/AliProdInfo.cxx
-    STEERBase/AliVTrdTrack.cxx
-    STEERBase/AliVTrdTracklet.cxx
-    STEERBase/AliGenEventHeaderTunedPbPb.cxx
-    STEERBase/AliDummyHandler.cxx
-    STEERBase/AliVTOFHit.cxx
-    STEERBase/AliVTOFMatch.cxx
-    STEERBase/AliVTOFcluster.cxx
-    STEERBase/AliVMultiplicity.cxx
-    STEERBase/AliGenHepMCEventHeader.cxx
-    STEERBase/AliVMisc.cxx
-    STEERBase/AliVfriendTrack.cxx
-    STEERBase/AliVfriendEvent.cxx
-    STEERBase/AliMergeableCollection.cxx
-  )
-
-string(REPLACE ".cxx" ".h" HDRS  "${SRCS}")
-
-set ( DHDR  STEERBaseLinkDef.h)
-
-set ( EXPORT ${HDRS})
diff --git a/STEER/ESD/CMakeLists.txt b/STEER/ESD/CMakeLists.txt
new file mode 100644 (file)
index 0000000..bac804e
--- /dev/null
@@ -0,0 +1,126 @@
+# **************************************************************************
+# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
+# *                                                                        *
+# * Author: The ALICE Off-line Project.                                    *
+# * Contributors are mentioned in the code where appropriate.              *
+# *                                                                        *
+# * Permission to use, copy, modify and distribute this software and its   *
+# * documentation strictly for non-commercial purposes is hereby granted   *
+# * without fee, provided that the above copyright notice appears in all   *
+# * copies and that both the copyright notice and this permission notice   *
+# * appear in the supporting documentation. The authors make no claims     *
+# * about the suitability of this software for any purpose. It is          *
+# * provided "as is" without express or implied warranty.                  *
+# **************************************************************************
+
+# Module
+set(MODULE ESD)
+
+# Module include folders
+include_directories(${CMAKE_SOURCE_DIR}/STEER/${MODULE})
+
+# Additional include directories - alphabetical order except ROOT
+include_directories(${ROOT_INCLUDE_DIRS}
+                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase)
+
+# Sources - alphabetical order
+set(SRCS
+    AliCascadeVertexer.cxx
+    AliESDACORDE.cxx
+    AliESDAD.cxx
+    AliESDCaloCells.cxx
+    AliESDCaloCluster.cxx
+    AliESDCaloTrigger.cxx
+    AliESDcascade.cxx
+    AliESDCosmicTrack.cxx
+    AliESD.cxx
+    AliESDEvent.cxx
+    AliESDFIT.cxx
+    AliESDFMD.cxx
+    AliESDfriend.cxx
+    AliESDfriendTrack.cxx
+    AliESDHandler.cxx
+    AliESDHeader.cxx
+    AliESDHLTDecision.cxx
+    AliESDHLTtrack.cxx
+    AliESDInputHandler.cxx
+    AliESDInputHandlerRP.cxx
+    AliESDkink.cxx
+    AliESDMultITS.cxx
+    AliESDMuonCluster.cxx
+    AliESDMuonGlobalTrack.cxx
+    AliESDMuonPad.cxx
+    AliESDMuonTrack.cxx
+    AliESDpid.cxx
+    AliESDPmdTrack.cxx
+    AliESDRun.cxx
+    AliESDTOFCluster.cxx
+    AliESDTOFHit.cxx
+    AliESDTOFMatch.cxx
+    AliESDtrack.cxx
+    AliESDTrdTrack.cxx
+    AliESDTrdTracklet.cxx
+    AliESDTrdTrigger.cxx
+    AliESDTZERO.cxx
+    AliESDTZEROfriend.cxx
+    AliESDUtils.cxx
+    AliESDv0.cxx
+    AliESDV0Params.cxx
+    AliESDVertex.cxx
+    AliESDVZERO.cxx
+    AliESDVZEROfriend.cxx
+    AliESDZDC.cxx
+    AliExpression.cxx
+    AliFMDFloatMap.cxx
+    AliFMDMap.cxx
+    AliKalmanTrack.cxx
+    AliKFParticleBase.cxx
+    AliKFParticle.cxx
+    AliKFVertex.cxx
+    AliMeanVertex.cxx
+    AliMultiplicity.cxx
+    AliRawDataErrorLog.cxx
+    AliSelector.cxx
+    AliStrLine.cxx
+    AliTrackerBase.cxx
+    AliTrackPointArray.cxx
+    AliTriggerBCMask.cxx
+    AliTriggerClass.cxx
+    AliTriggerCluster.cxx
+    AliTriggerConfiguration.cxx
+    AliTriggerDescriptor.cxx
+    AliTriggerInput.cxx
+    AliTriggerInteraction.cxx
+    AliTriggerIR.cxx
+    AliTriggerPFProtection.cxx
+    AliTriggerScalersESD.cxx
+    AliTriggerScalersRecordESD.cxx
+    AliV0vertexer.cxx
+    AliVertex.cxx
+    AliVertexerTracks.cxx
+   )
+
+# Headers from sources
+string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+# Generate the dictionary
+# It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument
+get_directory_property(incdirs INCLUDE_DIRECTORIES)
+generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
+
+# Add a library to the project using the specified source files
+add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx)
+
+# Additional compilation flags
+set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "-O -g")
+
+# System dependent: Modify the way the library is build
+if(${CMAKE_SYSTEM} MATCHES Darwin)
+    set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
+endif(${CMAKE_SYSTEM} MATCHES Darwin)
+
+# Installation
+install(TARGETS ${MODULE} 
+  ARCHIVE DESTINATION lib
+  LIBRARY DESTINATION lib)
+install(FILES ${HDRS} DESTINATION include)
similarity index 100%
rename from STEER/ESDLinkDef.h
rename to STEER/ESD/ESDLinkDef.h
diff --git a/STEER/STEER/CMakeLists.txt b/STEER/STEER/CMakeLists.txt
new file mode 100644 (file)
index 0000000..30bf104
--- /dev/null
@@ -0,0 +1,180 @@
+# **************************************************************************
+# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
+# *                                                                        *
+# * Author: The ALICE Off-line Project.                                    *
+# * Contributors are mentioned in the code where appropriate.              *
+# *                                                                        *
+# * Permission to use, copy, modify and distribute this software and its   *
+# * documentation strictly for non-commercial purposes is hereby granted   *
+# * without fee, provided that the above copyright notice appears in all   *
+# * copies and that both the copyright notice and this permission notice   *
+# * appear in the supporting documentation. The authors make no claims     *
+# * about the suitability of this software for any purpose. It is          *
+# * provided "as is" without express or implied warranty.                  *
+# **************************************************************************
+
+# Module
+set(MODULE STEER)
+
+# Module include folders
+include_directories(${CMAKE_SOURCE_DIR}/STEER/${MODULE})
+
+# Additional include directories - alphabetical order except ROOT
+include_directories(${ROOT_INCLUDE_DIRS}
+                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${CMAKE_SOURCE_DIR}/HLT/sim
+                    ${CMAKE_SOURCE_DIR}/RAW/
+                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
+                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
+                    ${CMAKE_SOURCE_DIR}/STEER/CDB
+                    ${CMAKE_SOURCE_DIR}/STEER/ESD
+                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${CMAKE_BINARY_DIR}/version/
+                   )
+
+# Sources - alphabetical order
+set(SRCS
+    AliAlignmentTracks.cxx
+    AliAlignObj.cxx
+    AliAlignObjMatrix.cxx
+    AliAlignObjParams.cxx
+    AliBaseLoader.cxx
+    AliCentralTrigger.cxx
+    AliCluster3D.cxx
+    AliCluster.cxx
+    AliConfig.cxx
+    AliCorrQAChecker.cxx
+    AliCorrQADataMakerRec.cxx
+    AliCTPInputTimeParams.cxx
+    AliCTPRawData.cxx
+    AliCTPRawStream.cxx
+    AliCTPTimeParams.cxx
+    AliDataLoader.cxx
+    AliDCSArray.cxx
+    AliDebugVolume.cxx
+    AliDetector.cxx
+    AliDetectorRecoParam.cxx
+    AliDigit.cxx
+    AliDigitizationInput.cxx
+    AliDigitizer.cxx
+    AliDigitNew.cxx
+    AliESDTagCreator.cxx
+    AliEventInfo.cxx
+    AliFstream.cxx
+    AliGausCorr.cxx
+    AliGenerator.cxx
+    AliGeometry.cxx
+    AliGeomManager.cxx
+    AliGlobalQAChecker.cxx
+    AliGlobalQADataMaker.cxx
+    AliGRPManager.cxx
+    AliGRPObject.cxx
+    AliGRPPreprocessor.cxx
+    AliGRPRecoParam.cxx
+    AliHelix.cxx
+    AliHit.cxx
+    AliHitMap.cxx
+    AliHLTTestInputHandler.cxx
+    AliKink.cxx
+    AliLego.cxx
+    AliLegoGenerator.cxx
+    AliLegoGeneratorEta.cxx
+    AliLegoGeneratorEtaR.cxx
+    AliLegoGeneratorPhiZ.cxx
+    AliLegoGeneratorXYZ.cxx
+    AliLHCClockPhase.cxx
+    AliLHCData.cxx
+    AliLHCDipValT.cxx
+    AliLHCReader.cxx
+    AliLoader.cxx
+    AliLTUConfig.cxx
+    AliMatrixSparse.cxx
+    AliMatrixSq.cxx
+    AliMC.cxx
+    AliMCGenHandler.cxx
+    AliMergeCombi.cxx
+    AliMillePede2.cxx
+    AliMillepede.cxx
+    AliMillePedeRecord.cxx
+    AliMinResSolve.cxx
+    AliMisAligner.cxx
+    AliModule.cxx
+    AliObjectLoader.cxx
+    AliParamList.cxx
+    AliParamSolver.cxx
+    AliPlaneEff.cxx
+    AliQACheckerBase.cxx
+    AliQAChecker.cxx
+    AliQADataMaker.cxx
+    AliQADataMakerRec.cxx
+    AliQADataMakerSim.cxx
+    AliQAManager.cxx
+    AliQAThresholds.cxx
+    AliQAv1.cxx
+    AliRecoInputHandler.cxx
+    AliReconstruction.cxx
+    AliReconstructor.cxx
+    AliRecoParam.cxx
+    AliRecPoint.cxx
+    AliRectMatrix.cxx
+    AliRelAlignerKalman.cxx
+    AliRieman.cxx
+    AliRndm.cxx
+    AliRun.cxx
+    AliRunInfo.cxx
+    AliRunLoader.cxx
+    AliSelectorRL.cxx
+    AliSignalProcesor.cxx
+    AliSimulation.cxx
+    AliStream.cxx
+    AliSurveyObj.cxx
+    AliSurveyPoint.cxx
+    AliSurveyToAlignObjs.cxx
+    AliSymBDMatrix.cxx
+    AliSymMatrix.cxx
+    AliTracker.cxx
+    AliTrackFitter.cxx
+    AliTrackFitterKalman.cxx
+    AliTrackFitterRieman.cxx
+    AliTrackFitterStraight.cxx
+    AliTrackleter.cxx
+    AliTrackResidualsChi2.cxx
+    AliTrackResiduals.cxx
+    AliTrackResidualsFast.cxx
+    AliTrackResidualsLinear.cxx
+    AliTransportMonitor.cxx
+    AliTreeLoader.cxx
+    AliTriggerDetector.cxx
+    AliTriggerRunScalers.cxx
+    AliTriggerUtils.cxx
+    AliV0.cxx
+    AliVectorSparse.cxx
+    AliVertexer.cxx
+    AliVertexGenerator.cxx
+    AliVertexGenFile.cxx
+   )
+
+# Headers from sources
+string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+# Generate the dictionary
+# It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument
+get_directory_property(incdirs INCLUDE_DIRECTORIES)
+generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
+
+# Add a library to the project using the specified source files
+add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx)
+
+# Additional compilation flags
+set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "-O -g")
+
+# System dependent: Modify the way the library is build
+if(${CMAKE_SYSTEM} MATCHES Darwin)
+    set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
+endif(${CMAKE_SYSTEM} MATCHES Darwin)
+
+# Installation
+install(TARGETS ${MODULE}
+  ARCHIVE DESTINATION lib
+  LIBRARY DESTINATION lib)
+install(FILES ${HDRS} DESTINATION include)
diff --git a/STEER/STEERBase/CMakeLists.txt b/STEER/STEERBase/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9fcc30c
--- /dev/null
@@ -0,0 +1,155 @@
+# **************************************************************************
+# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
+# *                                                                        *
+# * Author: The ALICE Off-line Project.                                    *
+# * Contributors are mentioned in the code where appropriate.              *
+# *                                                                        *
+# * Permission to use, copy, modify and distribute this software and its   *
+# * documentation strictly for non-commercial purposes is hereby granted   *
+# * without fee, provided that the above copyright notice appears in all   *
+# * copies and that both the copyright notice and this permission notice   *
+# * appear in the supporting documentation. The authors make no claims     *
+# * about the suitability of this software for any purpose. It is          *
+# * provided "as is" without express or implied warranty.                  *
+# **************************************************************************/
+
+#Module
+set (MODULE STEERBase)
+
+# Module include folder
+include_directories(${CMAKE_SOURCE_DIR}/STEER/${MODULE})
+
+# Additional includes - alphabetical order except ROOT
+include_directories(${ROOT_INCLUDE_DIRS})
+
+# Sources - alphabetical order
+set(SRCS
+    AliCentrality.cxx
+    AliCheb3DCalc.cxx
+    AliCheb3D.cxx
+    AliCodeTimer.cx 
+    AliCollisionGeometry.cxx
+    AliCounterCollection.cxx
+    AliDAQ.cxx
+    AliDetectorEventHeader.cxx
+    AliDetectorPID.cxx
+    AliDetectorTagCuts.cxx
+    AliDetectorTag.cxx
+    AliDummyHandler.cxx
+    AliEMCALPIDResponse.cxx
+    AliEventplane.cxx
+    AliEventTagCuts.cxx
+    AliEventTag.cxx
+    AliExternalTrackParam.cxx
+    AliFileTag.cxx
+    AliGenCocktailEventHeader.cxx
+    AliGenDPMjetEventHeader.cxx
+    AliGenEposEventHeader.cxx
+    AliGenEventHeader.cxx
+    AliGenEventHeaderTunedPbPb.cxx
+    AliGenGeVSimEventHeader.cxx
+    AliGenHepMCEventHeader.cxx
+    AliGenHerwigEventHeader.cxx
+    AliGenHijingEventHeader.cxx
+    AliGenPythiaEventHeader.cxx
+    AliHeader.cxx
+    AliHMPIDPIDParams.cxx
+    AliHMPIDPIDResponse.cxx
+    AliInputEventHandler.cxx
+    AliITSPidParams.cxx
+    AliITSPIDResponse.cxx
+    AliLHCTagCuts.cxx
+    AliLHCTag.cxx
+    AliLog.cxx
+    AliMagF.cxx
+    AliMagWrapCheb.cxx
+    AliMathBase.cxx
+    AliMCEvent.cxx
+    AliMCEventHandler.cxx
+    AliMCParticle.cxx
+    AliMCVertex.cxx
+    AliMergeableCollection.cxx
+    AliMixedEvent.cxx
+    AliNeutralTrackParam.cxx
+    AliOADBContainer.cxx
+    AliPDG.cxx
+    AliPIDCombined.cxx
+    AliPID.cxx
+    AliPIDResponse.cxx
+    AliPIDValues.cxx
+    AliProdInfo.cxx
+    AliQA.cxx
+    AliRefArray.cxx
+    AliRunTagCuts.cxx
+    AliRunTag.cxx
+    AliStack.cxx
+    AliSysInfo.cxx
+    AliTagCreator.cxx
+    AliTimeStamp.cxx
+    AliTOFHeader.cxx
+    AliTOFPIDParams.cxx
+    AliTOFPIDResponse.cxx
+    AliTOFTriggerMask.cxx
+    AliTPCdEdxInfo.cxx
+    AliTPCPIDResponse.cxx
+    AliTrackReference.cxx
+    AliTRDdEdxParams.cxx
+    AliTRDNDFast.cxx
+    AliTRDPIDParams.cxx
+    AliTRDPIDReference.cxx
+    AliTRDPIDResponse.cxx
+    AliTRDPIDResponseObject.cxx
+    AliTRDTKDInterpolator.cxx
+    AliTriggerScalers.cxx
+    AliTriggerScalersRecord.cxx
+    AliVAODHeader.cxx
+    AliVCaloCells.cxx
+    AliVCaloTrigger.cxx
+    AliVCluster.cxx
+    AliVCuts.cxx
+    AliVEvent.cxx
+    AliVEventHandler.cxx
+    AliVEventPool.cxx
+    AliVfriendEvent.cxx
+    AliVfriendTrack.cxx
+    AliVHeader.cxx
+    AliVMFT.cxx
+    AliVMisc.cxx
+    AliVMultiplicity.cxx
+    AliVParticle.cxx
+    AliVTOFcluster.cxx
+    AliVTOFHit.cxx
+    AliVTOFMatch.cxx
+    AliVTrack.cxx
+    AliVTrdTrack.cxx
+    AliVTrdTracklet.cxx
+    AliVVertex.cxx
+    AliVVZERO.cxx
+    AliVZDC.cxx
+    TTreeStream.cxx
+   )
+
+# Headers from sources
+string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+# Generate the dictionary
+# It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument
+get_directory_property(incdirs INCLUDE_DIRECTORIES)
+generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
+
+# Add a library to the project using the specified source files
+add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx)
+
+# Additional compilation flags
+set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "-O -g")
+
+# System dependent: Modify the way the library is build
+if(${CMAKE_SYSTEM} MATCHES Darwin)
+    set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
+endif(${CMAKE_SYSTEM} MATCHES Darwin)
+
+# Installation
+install(TARGETS ${MODULE} 
+  ARCHIVE DESTINATION lib
+  LIBRARY DESTINATION lib)
+install(FILES ${HDRS} DESTINATION include)
diff --git a/STEER/macros/CDB/CMakeLists.txt b/STEER/macros/CDB/CMakeLists.txt
new file mode 100644 (file)
index 0000000..29a4694
--- /dev/null
@@ -0,0 +1,79 @@
+# **************************************************************************
+# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
+# *                                                                        *
+# * Author: The ALICE Off-line Project.                                    *
+# * Contributors are mentioned in the code where appropriate.              *
+# *                                                                        *
+# * Permission to use, copy, modify and distribute this software and its   *
+# * documentation strictly for non-commercial purposes is hereby granted   *
+# * without fee, provided that the above copyright notice appears in all   *
+# * copies and that both the copyright notice and this permission notice   *
+# * appear in the supporting documentation. The authors make no claims     *
+# * about the suitability of this software for any purpose. It is          *
+# * provided "as is" without express or implied warranty.                  *
+# **************************************************************************
+
+# Module
+set(MODULE CDB)
+
+# Module include folders
+include_directories(${CMAKE_SOURCE_DIR}/STEER/${MODULE})
+
+# Additional include directories
+include_directories(${ROOTSYS}/include
+                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${CMAKE_BINARY_DIR}/version/
+                   )
+
+
+# Sources - alphabetical order
+set(SRCS
+    AliBaseCalibViewer.cxx
+    AliBaseCalibViewerGUI.cxx
+    AliCalibViewerGUItime.cxx
+    AliCDBDump.cxx
+    AliCDBEntry.cxx
+    AliCDBGrid.cxx
+    AliCDBHandler.cxx
+    AliCDBId.cxx
+    AliCDBLocal.cxx
+    AliCDBManager.cxx
+    AliCDBMetaData.cxx
+    AliCDBPath.cxx
+    AliCDBRunRange.cxx
+    AliCDBStorage.cxx
+    AliDCSGenDB.cxx
+    AliDCSSensorArray.cxx
+    AliDCSSensor.cxx
+    AliDCSValue.cxx
+    AliGRPDCS.cxx
+    AliOCDBtoolkit.cxx
+    AliPreprocessor.cxx
+    AliShuttleInterface.cxx
+    AliSplineFit.cxx
+   )
+
+# Headers from sources
+string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+# Generate the dictionary
+# It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument
+get_directory_property(incdirs INCLUDE_DIRECTORIES)
+generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
+
+# Add a library to the project using the specified source files
+add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx)
+
+# Additional compilation flags
+set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "-O -g")
+
+# System dependent: Modify the way the library is build
+if(${CMAKE_SYSTEM} MATCHES Darwin)
+    set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
+endif(${CMAKE_SYSTEM} MATCHES Darwin)
+
+# Installation
+install(TARGETS ${MODULE} 
+  ARCHIVE DESTINATION lib
+  LIBRARY DESTINATION lib)
+install(FILES ${HDRS} DESTINATION include)