CMake: Remove obsolete CMake files
authoragrigora <alina.grigoras@cern.ch>
Wed, 25 Feb 2015 12:25:51 +0000 (13:25 +0100)
committeragrigora <alina.grigoras@cern.ch>
Wed, 25 Feb 2015 12:25:51 +0000 (13:25 +0100)
12 files changed:
cmake/CMakeDA.cmake [deleted file]
cmake/CMakelinux.cmake [deleted file]
cmake/CMakelinuxalphagcc.cmake [deleted file]
cmake/CMakelinuxia64gcc.cmake [deleted file]
cmake/CMakelinuxicc.cmake [deleted file]
cmake/CMakelinuxx8664gcc.cmake [deleted file]
cmake/CMakelinuxx8664icc.cmake [deleted file]
cmake/CMakemacosx.cmake [deleted file]
cmake/CMakemacosx64.cmake [deleted file]
cmake/CMakemacosxicc.cmake [deleted file]
cmake/CMakesolarisCC5.cmake [deleted file]
cmake/CMakewin32gcc.cmake [deleted file]

diff --git a/cmake/CMakeDA.cmake b/cmake/CMakeDA.cmake
deleted file mode 100644 (file)
index ed80f50..0000000
+++ /dev/null
@@ -1,489 +0,0 @@
-#--------------------------------------------------------------------
-# CMakeDA.cmake file for AliRoot Build System
-#
-# Author: Anshul Goel (anshul.goel@cern.ch)
-#         Port of previous Makefile build to DAQ targets and RPM
-#
-
-cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
-
-# -----------Utilities--------------------
-
-#list of detectors 
-#set(ONLINEDETECTORS T00)
-set(ONLINEDETECTORS SPD SDD SSD ACO GRP TST HLT EMC TRI T00 PMD CPV PHS FMD TPC TRD ZDC V00 MTR MCH HMP TOF)
-function(expand output input)
-    string(REGEX MATCH "\\\${[^}]*}" m "${input}")
-    while(m)
-        string(REGEX REPLACE "\\\${(.*)}" "\\1" v "${m}")
-        string(REPLACE "\${${v}}" "${${v}}" input "${input}")
-        string(REGEX MATCH "\\\${[^}]*}" m "${input}")
-    endwhile()
-    set("${output}" "${input}" PARENT_SCOPE)
-endfunction()
-
-#function to get module for detector
-function (detector_module _module detector)
-  #Map of online detectors to DA in pairs of ONLINEDETECTORNAME DAMODULE
-  set (DETECTORMODULEMAP SPD ITS SDD ITS SSD ITS HMP HMPID PHS PHOS CPV PHOS MCH MUON MTR MUON T00 T0 V00 VZERO ACO ACORDE EMC EMCAL)
-  list(FIND DETECTORMODULEMAP ${detector} _index)
-  if(_index STREQUAL "-1")
-    set(${_module} "${detector}" PARENT_SCOPE)
-  else()
-    math(EXPR _index "${_index}+1")
-    list(GET DETECTORMODULEMAP ${_index} _index)
-    set(${_module} ${_index} PARENT_SCOPE)
-  endif(_index STREQUAL "-1")
-endfunction()
-
-#function to get subDA for detector
-function (detector_subda _subda detector)
-  #Map of online detectors to SUBDAMODULE in pairs of ONLINEDETECTORNAME SUBDAMODULE
-  set (DETECTORSUBDAMAP SPD SPD SDD SDD SSD SSD CPV CPV MCH TRK MTR TRG)
-  list(FIND DETECTORSUBDAMAP ${detector} _index)
-  if(_index STREQUAL "-1")
-    set(${_subda} "" PARENT_SCOPE)
-  else()
-    math(EXPR _index "${_index}+1")
-    list(GET DETECTORSUBDAMAP ${_index} _index)
-    set(${_subda} ${_index} PARENT_SCOPE)
-  endif(_index STREQUAL "-1")
-endfunction()
-
-#function to extract info
-function (getinfo _info pattern file)
-  string(REGEX MATCH "${pattern}:[^\n]*" _match ${file})
-  if(_match)
-    string(REGEX REPLACE "${pattern}:[ ]*" "" _data ${_match})
-    string(REPLACE "(" "\\(" _data "${_data}")
-    string(REPLACE ")" "\\)" _data "${_data}")
-    string(REPLACE "<" "\\<" _data "${_data}")
-    string(REPLACE ">" "\\>" _data "${_data}")
-  endif(_match)
-  set(${_info} ${_data} PARENT_SCOPE)
-endfunction()
-
-
-foreach(oldetect ${ONLINEDETECTORS})
-detector_module(h_module ${oldetect})
-  list(APPEND mod "-I${AliRoot_SOURCE_DIR}/${h_module}")
-endforeach(oldetect ${ONLINEDETECTORS})
-list(APPEND mod "-I${AliRoot_SOURCE_DIR}/include" "-I${AliRoot_SOURCE_DIR}/STEER" "-I${AliRoot_SOURCE_DIR}/ANALYSIS" "-I${AliRoot_SOURCE_DIR}/RAW" "-I${AliRoot_SOURCE_DIR}/STEER/STEER" "-I${AliRoot_SOURCE_DIR}/STEER/CDB" "-I${ROOTINCDIR}" "-I${AliRoot_SOURCE_DIR}/STEER/STEERBase" "-I${AliRoot_SOURCE_DIR}/STEER/AOD" "-I${AliRoot_SOURCE_DIR}/STEER/ESD" "-I${AliRoot_SOURCE_DIR}/MUON/mapping" "-I${AliRoot_SOURCE_DIR}/TPC/Base" "-I$ENV{AMORE}/include/amore")
-
-# ----------Common stuff-------------------
-
-#file(GLOB_RECURSE _dafiles $ENV{ALICE_ROOT}/*da.cxx)
-file(GLOB_RECURSE _dafiles ${AliRoot_SOURCE_DIR}/*da.cxx)
-
-set (DAINSTALL "$ENV{ALICE_INSTALL}/DA")
-if(DAINSTALL STREQUAL "/DA") 
-  set(DAINSTALL "$ENV{ALICE_ROOT}/DA")
-endif(DAINSTALL STREQUAL "/DA")
-
-
-file(MAKE_DIRECTORY ${DAINSTALL})
-
-string (REPLACE "-pedantic-errors" "" CXXFLAGS ${CXXFLAGS})
-
-find_program(XML2 xml2-config)
-
-if(AMORE_FOUND)
-  #Set compiler flags
-  set(CXXFLAGS "${CXXFLAGS} ${AMOREFLAGS}")
-  set(CFLAGS "${CFLAGS} ${AMOREFLAGS}")
-  set(CINTFLAGS "${CINTFLAGS} ${AMOREFLAGS}")
-else()
-  set(AMORELIBS)
-endif(AMORE_FOUND)
-
-execute_process(COMMAND ${XML2} --libs OUTPUT_VARIABLE _xml2libs OUTPUT_STRIP_TRAILING_WHITESPACE)
-execute_process(COMMAND ${DATE_CONFIG} --monitorlibs=noshift OUTPUT_VARIABLE MONITORLIBS OUTPUT_STRIP_TRAILING_WHITESPACE)
-execute_process(COMMAND $ENV{AMORE}/bin/amore-config --ldflags-da-static OUTPUT_VARIABLE _amore1 OUTPUT_STRIP_TRAILING_WHITESPACE)
-execute_process(COMMAND $ENV{AMORE}/bin/amore-config --auxlibs  OUTPUT_VARIABLE _amore3 OUTPUT_STRIP_TRAILING_WHITESPACE)
-execute_process(COMMAND date-config --rcproxylibs OUTPUT_VARIABLE _amore2 OUTPUT_STRIP_TRAILING_WHITESPACE)
-execute_process(COMMAND date-config --monitorlibs=noshift OUTPUT_VARIABLE _monitor1 OUTPUT_STRIP_TRAILING_WHITESPACE)
-string(REPLACE "\n" " " _amore1 "${_amore1}") 
-set(AMOREDALIBS " ${_amore1} ${_amore2}")
-set(AMOREDADLIBS " ${_amore3} ${_amore2}")
-set(MONITORLIBS "${_monitor1} -lssl")
-separate_arguments(MONITORLIBS)
-separate_arguments(AMOREDALIBS)
-separate_arguments(AMOREDADLIBS)
-set(SYSLIBS -ldl -lpthread ${_xml2libs})
-set(DATE_CFLAGS "${DATEFLAGS}")
-separate_arguments(DATE_CFLAGS)
-set(ROOTDLIBS "${ROOTCLIBS} -lRMySQL")
-separate_arguments(ROOTDLIBS)
-
-set(EXTRAROOTLIB "libRootExtra.a")
-set(ROOTLIB "RootExtra")
-file(GLOB _extraroot "$ENV{ROOTSYS}/montercarlo/vmc/src/*.o" "$ENV{ROOTSYS}/tree/treeplayer/src/*.o" "$ENV{ROOTSYS}/io/xmlparser/src/*.o" "$ENV{ROOTSYS}/math/minuit2/src/*.o")
-
-add_library(${ROOTLIB} STATIC ${_extraroot})      
-set_target_properties(${ROOTLIB} PROPERTIES LINKER_LANGUAGE CXX)
-
-set(DAQDALIB_PATH $ENV{DAQDALIB_PATH}) 
-if(DAQDALIB_PATH)
-  set(DAQDADIR "${DAQDALIB_PATH}")
-else()
-  set(DAQDADIR "$ENV{ALICE}/daqDAlib")
-endif(DAQDALIB_PATH)
-set(DAQDALIB "${DAQDADIR}/libdaqDA.a")
-
-include_directories(${DAQDADIR} ${AliRoot_SOURCE_DIR}/RAW ${AliRoot_SOURCE_DIR}/include ${AliRoot_SOURCE_DIR}/STEER)
-include_directories(SYSTEM ${ROOTINCDIR})
-
-# ----------Create All Valid targets---------
-         
-foreach(detector ${ONLINEDETECTORS} )
-
-  set(ONLINEDETECTORNAME ${detector})
-
-  detector_module(DAMODULE ${ONLINEDETECTORNAME})
-
-  detector_subda(SUBDAMODULE ${ONLINEDETECTORNAME})
-  
-  #ALIROOTALIBS
-
-  set(ALIROOTALIBS)
-  set(ALIROOTDLIBS)
-       set(BASIC_TARGET "daqDA-${ONLINEDETECTORNAME}-all")
-       add_custom_target(${BASIC_TARGET}
-       WORKING_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
-       ) 
-       set(BASIC_RPM "daqDA-${ONLINEDETECTORNAME}-all-rpm")
-       add_custom_target(${BASIC_RPM}
-       WORKING_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
-        )
- list(APPEND ALIROOTALIBS RAWDatabase-static RAWDatarec-static RAWDatasim-static STEERBase-static STEER-static CDB-static ESD-static STAT-static AOD-static ANALYSIS-static ANALYSISalice-static )
-  list(APPEND ALIROOTDLIBS -lRAWDatabase -lRAWDatarec -lRAWDatasim -lSTEERBase -lSTEER -lCDB -lESD -lSTAT -lAOD -lANALYSIS -lANALYSISalice )
-
-  expand(ALIROOTALIBS2 "\${${DAMODULE}ALIBS}")
-  expand(ALIROOTDLIBS2 "\${${DAMODULE}LIBS}")
-  expand(DAINCDIRS "\${${DAMODULE}INC}")
-  list(APPEND ALIROOTALIBS ${ALIROOTALIBS2})
-  foreach (detlib ${ALIROOTDLIBS2}) 
-    list(APPEND ALIROOTDLIBS "-l${detlib}")
-  endforeach(detlib ${ALIROOTDLIBS2})  
-  # list(APPEND ALIROOTDLIBS ${ALIROOTDLIBS2})
-  
-  include_directories(${DAMODULE} ${SUBDIR} ${DAINCDIRS})
-#Get detector algorithms for this detector
-  foreach(dafile ${_dafiles})
-
-    string(REGEX MATCH "${AliRoot_SOURCE_DIR}/${DAMODULE}/${DAMODULE}${SUBDAMODULE}" match ${dafile})
-#Found a valid target name
-       if(match)
-      string(REGEX REPLACE "${AliRoot_SOURCE_DIR}/${DAMODULE}/${DAMODULE}${SUBDAMODULE}(.*)da\\.cxx" "\\1" DANAME ${dafile})
-#Check for default DA 
-         if(DANAME)
-           set(DATARGETNAME "daqDA-${ONLINEDETECTORNAME}-${DANAME}")
-       else()
-           set(DATARGETNAME "daqDA-${ONLINEDETECTORNAME}")
-         endif(DANAME)
-       add_dependencies(${BASIC_TARGET} ${DATARGETNAME})  
-       add_dependencies(${BASIC_RPM} ${DATARGETNAME}-rpm) 
-       set(DATARGETDIR "${DAINSTALL}/${DAMODULE}/tgt_$ENV{ALICE_TARGET}")
-       file(MAKE_DIRECTORY ${DATARGETDIR})
-       set(DAOBJ "${DATARGETDIR}/${DAMODULE}${SUBDAMODULE}${DANAME}da.o")
-       set(DASRC "${DAMODULE}/${DAMODULE}${SUBDAMODULE}${DANAME}da.cxx")
-       set(DALIB "${DAMODULE}${SUBDAMODULE}${DANAME}DA")
-       set(DAEXE "${DAMODULE}${SUBDAMODULE}${DANAME}da.exe")
-       set(DADEP "${DATARGETDIR}/${DAMODULE}${SUBDAMODULE}${DANAME}da.d") 
-
-       # DAROOTRELEASE 
-         execute_process(COMMAND root-config --version OUTPUT_VARIABLE _darootrelease OUTPUT_STRIP_TRAILING_WHITESPACE)
-         string(REGEX REPLACE "/" "." DAROOTRELEASE ${_darootrelease})
-       
-      set(DAALIROOTRELEASE ${ALIROOT_BRANCH})
-       
-         set(DAARCNAME "${DATARGETNAME}")
-         #string(REPLACE "-" "" DAARCNAME "${DAARCNAME}")
-         set(DAARC "${DAARCNAME}-${ALIROOT_BRANCH_SPEC}")
-         set(DATAR "${DATARGETDIR}/${DAARC}.src.tar.gz")
-         set(DASPECFILE "${DATARGETDIR}/${DAMODULE}${SUBDAMODULE}${DANAME}da.spec")
-         set(DAMAKEFILE "${DATARGETDIR}/${DAMODULE}${SUBDAMODULE}${DANAME}da.make")
-
-  
-      file(READ "${AliRoot_SOURCE_DIR}/${DASRC}" _dasrc)
-         getinfo(DACONTACT "Contact" ${_dasrc})
-         getinfo(DALINKPAGE "Link" ${_dasrc})
-         getinfo(DAREFRUN "Reference Run" ${_dasrc})
-         getinfo(DARUNTYPE "Run Type" ${_dasrc})
-         getinfo(DATYPE "DA Type" ${_dasrc})
-         getinfo(DANUMBEROFEVENTS "Number of events needed" ${_dasrc})
-         getinfo(DAINPUTFILES "Input Files" ${_dasrc})
-         getinfo(DAOUTPUTFILES "Output Files" ${_dasrc})
-         getinfo(DATRIGGERTYPE "Trigger types used" ${_dasrc})
-
-         if(NOT _dasrc)
-          message(FATAL_ERROR "SRC FILE MISSING")
-         endif(NOT _dasrc)
-
-#----------- Targets ----------------------
-
-         set(CMAKE_CXX_FLAGS "${CXXFLAGS}")
-         set(CMAKE_C_FLAGS "${CFLAGS}")
-         set(CMAKE_Fortran_FLAGS ${FFLAGS})
-         set(CMAKE_SHARED_LINKER_FLAGS ${SOFLAGS}) 
-         set(CMAKE_MODULE_LINKER_FLAGS ${LDFLAGS})
-
-add_dependencies(DA-all ${DATARGETNAME})
-add_custom_target(${DATARGETNAME}
-WORKING_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
-)
-add_dependencies(${DATARGETNAME} ${DAEXE})
-
-set(ZIP)
-foreach(_lib ${ALIROOTALIBS})
-string(REGEX REPLACE "-static" "" _lib ${_lib})
-list(APPEND ZIP && ar x "../lib${_lib}.a")
-endforeach(_lib)
-list (APPEND ZIP && ar r "../lib${DALIB}.a" "*.o")
-
-add_custom_target(${DALIB}.a
-COMMAND rm -rf junk${DAEXE} && mkdir -p junk${DAEXE}
-COMMAND cd junk${DAEXE} ${ZIP}
-COMMAND cd ../ && rm -rf junk${DAEXE}
-DEPENDS ${ALIROOTALIBS} 
-WORKING_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} 
-)
-
-add_custom_command(
-TARGET ${DATARGETNAME}-clean
-COMMAND echo "***** Cleaning ${DAMODULE} ${SUBDAMODULE} ${DANAME} detector-algorithm *****"
-COMMAND rm -f ${DASPECFILE}
-COMMAND rm -f ${DATAR}
-COMMAND rm -f ${DAEXE}
-COMMAND rm -f ${DAOBJ}
-COMMAND rm -f ${DADEP}
-COMMAND rm -f ${DAMAKEFILE}
-COMMAND rm -f ${DALIB}.a
-COMMAND rm -f ${ALIROOTALIBS}
-COMMAND rm -f ${EXTRAROOTLIB}
-)
-
-separate_arguments(SYSLIBS)
-#execute_process(COMMAND ${AMORE}/amore-config --ldflags-da-static | tr "\n" " "  OUTPUT_VARIABLE _amore1 OUTPUT_STRIP_TRAILING_WHITESPACE)
-#execute_process(COMMAND date-config --rcproxylibs OUTPUT_VARIABLE _amore2 OUTPUT_STRIP_TRAILING_WHITESPACE)
-#execute_process(COMMAND date-config --monitorlibs=noshift OUTPUT_VARIABLE _monitor1 OUTPUT_STRIP_TRAILING_WHITESPACE)
-  
-#set(AMOREDALIBS "-static ${_amore1} ${_amore2}\\")
-#set(MONITORLIBS "${_monitor1}\\")
-
-add_custom_target(DAMAKEFILE_${DAEXE}_)
-add_custom_command( 
-TARGET DAMAKEFILE_${DAEXE}_
-COMMAND rm -f ${DAMAKEFILE}
-COMMAND @echo "***** Making makefile ${DAMAKEFILE} *****"
-COMMAND @echo '\#***************************************************' >> ${DAMAKEFILE}
-COMMAND @echo '\# Makefile for Detector Algorithm' >> ${DAMAKEFILE}
-COMMAND @echo '\#' >> ${DAMAKEFILE}
-COMMAND @echo '\# It is necessary to setup build environment before' >> ${DAMAKEFILE}
-COMMAND @echo '\# using make:' >> ${DAMAKEFILE}
-COMMAND @echo '\# - define path to daqDAlib \(env. DAQDALIB_PATH\)' >> ${DAMAKEFILE}
-COMMAND @echo '\#' >> ${DAMAKEFILE}
-COMMAND @echo '\#*****************************************************' >> ${DAMAKEFILE}
-COMMAND @echo "" >> ${DAMAKEFILE}
-COMMAND @echo "CXX=g++" >> ${DAMAKEFILE}
-COMMAND @echo "LD=g++" >> ${DAMAKEFILE}
-COMMAND @echo "" >> ${DAMAKEFILE}
-COMMAND @echo "CXXFLAGS=${CXXFLAGS}" >> ${DAMAKEFILE}
-COMMAND @echo "LDFLAGS=${LDFLAGS}" >> ${DAMAKEFILE}
-COMMAND @echo "" >> ${DAMAKEFILE}
-COMMAND @echo 'ifeq \($$\(DAQDALIB_PATH\),\)' >> ${DAMAKEFILE}
-COMMAND @echo "DAQDADIR=${ALICE}/daqDAlib" >> ${DAMAKEFILE}
-COMMAND @echo "else" >> ${DAMAKEFILE}
-COMMAND @echo 'DAQDADIR=$$(DAQDALIB_PATH)' >> ${DAMAKEFILE}
-COMMAND @echo "endif" >> ${DAMAKEFILE}
-COMMAND @echo "" >> ${DAMAKEFILE}
-COMMAND @echo 'DAQDALIB=$$(DAQDADIR)/libdaqDA.a' >> ${DAMAKEFILE}
-#COMMAND @echo 'AMOREDALIBS=-static $$(shell $$(AMORE)/amore-config --ldflags-da-static) $$(shell date-config --rcproxylibs)' >> ${DAMAKEFILE}
-#COMMAND @echo 'MONITORLIBS=$$(shell date-config --monitorlibs=noshift)' >> ${DAMAKEFILE}
-#COMMAND @echo 'AMOREDALIBS=-static ${_amore1} ${_amore2}' >> ${DAMAKEFILE}
-#COMMAND @echo 'MONITORLIBS=${monitor1}' >> ${DAMAKEFILE}
-COMMAND @echo "" >> ${DAMAKEFILE}
-COMMAND @echo "${DAMODULE}${SUBDAMODULE}${DANAME}da.exe: ${DAMODULE}${SUBDAMODULE}${DANAME}da.o" >> ${DAMAKEFILE}
-COMMAND @echo -e '\t$$(LD) $$(LDFLAGS) -o ''$$''@ ''$$''< ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/lib${DALIB}.a ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${EXTRAROOTLIB} $$(ROOTSYS)/lib/libRoot.a $$(ROOTSYS)/lib/liblzma.a $$(ROOTSYS)/lib/libfreetype.a $$(ROOTSYS)/lib/libpcre.a ${SYSLIBS} $$(DAQDALIB) ${AMOREDALIBS} ${MONITORLIBS}' >> ${DAMAKEFILE}
-COMMAND @echo "" >> ${DAMAKEFILE}
-COMMAND @echo "${DAMODULE}${SUBDAMODULE}${DANAME}da.o: ${DAMODULE}${SUBDAMODULE}${DANAME}da.cxx" >> ${DAMAKEFILE}
-COMMAND @echo -e '\t$$(CXX) -c $$(CXXFLAGS) -I$$(DAQDADIR) ${mod} ''$$''< -o ''$$''@' >> ${DAMAKEFILE}
-COMMAND @echo "" >> ${DAMAKEFILE}
-COMMAND @echo "clean:" >> ${DAMAKEFILE}
-COMMAND @echo -e '\t@rm -f ${DAMODULE}${SUBDAMODULE}${DANAME}da.exe ${DAMODULE}${SUBDAMODULE}${DANAME}da.o' >> ${DAMAKEFILE}
-COMMAND @echo "" >> ${DAMAKEFILE}
-COMMAND @echo "install: ${DAMODULE}${SUBDAMODULE}${DANAME}da.exe" >> ${DAMAKEFILE}
-COMMAND @echo -e '\tif [ $$(INSTALL_PATH) == '' ]; then \\' >> ${DAMAKEFILE}
-COMMAND @echo -e '\techo Environment variable INSTALL_PATH undefined, cannot continue\; \\' >> ${DAMAKEFILE}
-COMMAND @echo -e '\texit 1\; \\' >> ${DAMAKEFILE}
-COMMAND @echo -e '\tfi' >> ${DAMAKEFILE}
-COMMAND @echo -e '\t@cp -p ${DAMODULE}${SUBDAMODULE}${DANAME}da.exe $$(INSTALL_PATH)' >> ${DAMAKEFILE}
-)
-
-add_custom_target(DATAR_${DAEXE}_)
-add_custom_command( 
-TARGET DATAR_${DAEXE}_
-COMMAND @echo "***** Making archive ${DATAR} *****"
-COMMAND rm -rf ${DATAR}
-COMMAND rm -rf junk
-COMMAND mkdir junk && mkdir junk/${DAARC} 
-       COMMAND cp -a ${AliRoot_SOURCE_DIR}/${DASRC} junk/${DAARC} 
-COMMAND cp -a ${DAMAKEFILE} junk/${DAARC}/Makefile 
-COMMAND cp -a ${DASPECFILE} junk/${DAARC}/${DAMODULE}${SUBDAMODULE}${DANAME}da.spec
-COMMAND cd junk && tar czf ${DATAR} * 
-COMMAND cd .. && rm -rf junk
-)
-add_dependencies(DATAR_${DAEXE}_ DAMAKEFILE_${DAEXE}_ DASPECFILE_${DAEXE}_ ${DASRC}) 
-
-add_custom_target(DASPECFILE_${DAEXE}_)
-
-add_custom_command(
-TARGET DASPECFILE_${DAEXE}_
-COMMAND rm -f ${DASPECFILE}
-COMMAND @echo "***** Making RPM spec-file ${DASPECFILE} *****"
-COMMAND @echo '\# RPM specfile for $(DAMODULE)${SUBDAMODULE}$(DANAME) Detector Algorithm' >> ${DASPECFILE}
-COMMAND @echo "Summary: ${ONLINEDETECTORNAME} Detector Algorithm" >> ${DASPECFILE}
-COMMAND @echo "Name: ${DAARCNAME}" >> ${DASPECFILE}
-COMMAND @echo "Version: ${ALIROOT_BRANCH_SPEC}" >> ${DASPECFILE}
-COMMAND @echo "Release: ${GIT_SHORT_SHA1}" >> ${DASPECFILE}
-COMMAND @echo "License: CERN Alice DAQ/Offine" >> ${DASPECFILE}
-COMMAND @echo "Source: %{name}-%{version}.src.tar.gz" >> ${DASPECFILE}
-COMMAND @echo "Group: Applications/Alice" >> ${DASPECFILE}
-COMMAND @echo "Prefix: /opt/%{name}" >> ${DASPECFILE}
-COMMAND @echo "BuildRoot: %{_tmppath}/%{name}-root" >> ${DASPECFILE}
-COMMAND @echo "" >> ${DASPECFILE}
-COMMAND @echo '\# automatic dependencies' >> ${DASPECFILE}
-COMMAND @echo "AutoReqProv: yes" >> ${DASPECFILE}
-COMMAND @echo "" >> ${DASPECFILE}
-COMMAND @echo '\# list here required RPM packages for compilation' >> ${DASPECFILE}
-COMMAND @echo "BuildRequires: date" >> ${DASPECFILE} 
-COMMAND @echo "" >> ${DASPECFILE}
-COMMAND @echo '\# list here required RPM packages for runtime' >> ${DASPECFILE}
-COMMAND @echo "Requires: date, daqDA-lib" >> ${DASPECFILE}
-COMMAND @echo "" >> ${DASPECFILE}    
-COMMAND @echo '\# You can specify other dependencies in the description tag below.' >> ${DASPECFILE}
-COMMAND @echo "" >> ${DASPECFILE}
-COMMAND @echo '\# description of the package' >> ${DASPECFILE}
-COMMAND @echo "%description" >> ${DASPECFILE}
-COMMAND @echo "This is the ${ONLINEDETECTORNAME} ${DANAME} DA for online calibration." >> ${DASPECFILE}
-COMMAND @echo "It uses data from ${DAMODULE} detectors at run time." >> ${DASPECFILE}
-COMMAND @echo "Build requires: daqDAlib, date, AliRoot ${DAALIROOTRELEASE},ROOT ${DAROOTRELEASE}." >> ${DASPECFILE}
-COMMAND @echo "Runtime requires: date." >> ${DASPECFILE}
-COMMAND @echo "Contact: ${DACONTACT}" >> ${DASPECFILE}
-COMMAND @echo "Link: ${DALINKPAGE}" >> ${DASPECFILE}
-COMMAND @echo "Reference Run: ${DAREFRUN}" >> ${DASPECFILE}
-COMMAND @echo "Run type: ${DARUNTYPE}" >> ${DASPECFILE}
-COMMAND @echo "DA type: ${DATYPE}" >> ${DASPECFILE}
-COMMAND @echo "Number of events needed: ${DANUMBEROFEVENTS}" >> ${DASPECFILE}
-COMMAND @echo "Input files: ${DAINPUTFILES}" >> ${DASPECFILE}
-COMMAND @echo "Output files: ${DAOUTPUTFILES}" >> ${DASPECFILE}
-COMMAND @echo "Trigger types used: ${DATRIGGERTYPE}" >> ${DASPECFILE}
-COMMAND @echo "" >> ${DASPECFILE}
-COMMAND @echo '\#*****************************************************************' >> ${DASPECFILE}
-COMMAND @echo '\# Do not modify following scripts' >> ${DASPECFILE}
-COMMAND @echo '\#*****************************************************************' >> ${DASPECFILE}
-COMMAND @echo "" >> ${DASPECFILE}
-COMMAND @echo "%define debug_package %{nil}" >> ${DASPECFILE}
-COMMAND @echo "%define __os_install_post %{nil}" >> ${DASPECFILE}
-COMMAND @echo "" >> ${DASPECFILE}
-COMMAND @echo '\# here is defined the installation root directory' >> ${DASPECFILE}
-COMMAND @echo "%define pkgname %{name}-%{version}" >> ${DASPECFILE}
-COMMAND @echo "%define destdir %{prefix}" >> ${DASPECFILE}
-COMMAND @echo "" >> ${DASPECFILE}
-COMMAND @echo '\# pre-compilation script: extract from tarball' >> ${DASPECFILE}
-COMMAND @echo "%prep" >> ${DASPECFILE}
-COMMAND @echo '\# extract archive' >> ${DASPECFILE}
-COMMAND @echo "%setup -n %{pkgname}" >> ${DASPECFILE}
-COMMAND @echo "" >> ${DASPECFILE}
-COMMAND @echo '\# compile' >> ${DASPECFILE}
-COMMAND @echo "%build" >> ${DASPECFILE}
-COMMAND @echo "export DATE_SITE=" >> ${DASPECFILE}
-COMMAND @echo ". /date/setup.sh" >> ${DASPECFILE}
-COMMAND @echo "gmake" >> ${DASPECFILE}
-COMMAND @echo "" >> ${DASPECFILE}
-COMMAND @echo '\# install runtime files' >> ${DASPECFILE}
-COMMAND @echo "%install" >> ${DASPECFILE}
-COMMAND @echo '\#remove install dir if existing' >> ${DASPECFILE}
-COMMAND echo  '[ -d ''$$''RPM_BUILD_ROOT ] && rm -rf ''$$''RPM_BUILD_ROOT' >> ${DASPECFILE}
-COMMAND @echo '\#make install in install root directory' >> ${DASPECFILE}
-COMMAND @echo 'mkdir -p ''$$''RPM_BUILD_ROOT%{prefix}' >> ${DASPECFILE}
-COMMAND @echo 'make install INSTALL_PATH=''$$''RPM_BUILD_ROOT%{prefix}' >> ${DASPECFILE}
-COMMAND @echo "" >> ${DASPECFILE}
-COMMAND @echo '\# clean RPM build files' >> ${DASPECFILE}
-COMMAND @echo "%clean" >> ${DASPECFILE}
-COMMAND @echo '\# remove installed files' >> ${DASPECFILE}
-COMMAND @echo 'rm -rf ''$$''RPM_BUILD_ROOT' >> ${DASPECFILE}
-COMMAND @echo '\# remove source files' >> ${DASPECFILE}
-COMMAND @echo 'rm -rf ''$$''RPM_BUILD_DIR/%{pkgname}' >> ${DASPECFILE}
-COMMAND @echo "" >> ${DASPECFILE}
-COMMAND @echo '\# pre-install script' >> ${DASPECFILE}
-COMMAND @echo "%pre" >> ${DASPECFILE}
-COMMAND @echo "" >> ${DASPECFILE}
-COMMAND @echo '\# list of files to be installed' >> ${DASPECFILE}
-COMMAND @echo "%files" >> ${DASPECFILE}
-COMMAND @echo '%defattr \(-,root,root\)' >> ${DASPECFILE}
-COMMAND @echo "%{destdir}" >> ${DASPECFILE}
-COMMAND @echo "" >> ${DASPECFILE}
-COMMAND @echo '\# post-install script' >> ${DASPECFILE}
-COMMAND @echo '\# launched after rpm installed' >> ${DASPECFILE}
-COMMAND @echo "%post" >> ${DASPECFILE}
-COMMAND @echo "" >> ${DASPECFILE}
-COMMAND @echo '\# post-uninstall script' >> ${DASPECFILE}
-COMMAND @echo '\# launched after rpm removed' >> ${DASPECFILE}
-COMMAND @echo "%postun" >> ${DASPECFILE}
-)
-
-
-add_custom_target( ${DATARGETNAME}-rpm
-)
-add_dependencies(${DATARGETNAME}-rpm DATAR_${DAEXE}_ DASPECFILE_${DAEXE}_ ${LIBPATH} ${DALIB}.a DADEP_${DAEXE}_ ${ROOTLIB}     
-)
-add_custom_command(TARGET ${DATARGETNAME}-rpm
-COMMAND mkdir -p ${CMAKE_BINARY_DIR}/junk/SOURCES ${CMAKE_BINARY_DIR}/junk/SPECS ${CMAKE_BINARY_DIR}/junk/BUILD ${CMAKE_BINARY_DIR}/junk/RPMS ${CMAKE_BINARY_DIR}/junk/SRPMS
-COMMAND cp ${DATAR} ${CMAKE_BINARY_DIR}/junk/SOURCES
-COMMAND rpmbuild --verbose --define "_topdir ${CMAKE_BINARY_DIR}/junk" --nodeps -bb ${DASPECFILE}
-COMMAND cp `find './junk/' -name '${DAARC}*.rpm'` ./ 
-COMMAND rm -rf junk
-COMMAND echo "***** RPMS created and put ${CMAKE_BINARY_DIR} folder *****"
-WORKING_DIRECTORY ${CMAKE_BINARY_DIR}  
-)
-
-
-add_custom_target(${DAEXE}
-COMMAND echo "***** Making executable ${DAEXE} *****"
-COMMAND g++ ${LDFLAGS} ${DAOBJ} ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/lib${DALIB}.a ${EXTRAROOTLIB} $ENV{ROOTSYS}/lib/libRoot.a $ENV{ROOTSYS}/lib/liblzma.a $ENV{ROOTSYS}/lib/libfreetype.a $ENV{ROOTSYS}/lib/libpcre.a  ${SYSLIBS} ${DAQDALIB} ${AMOREDALIBS} ${MONITORLIBS} -o ${DAEXE}
-WORKING_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
-)
-
-
-add_dependencies(${DAEXE} ${DASRC} DAOBJ_${DAEXE}_ ${BINPATH} ${LIBPATH} ${DALIB}.a ${DAQDALIB} ${ROOTLIB})
-
-add_custom_target(DAOBJ_${DAEXE}_
-)
-add_custom_command(
-TARGET DAOBJ_${DAEXE}_
-COMMAND echo "***** Compiling ${DASRC} *****"
-COMMAND echo "${DFLAGS}"
-       COMMAND g++ -c ${AMOREDEFINITIONS} -D${CMAKE_SYSTEM_NAME} ${DATE_CFLAGS} -I${DATE_ROOT}/infoLogger -I${DATE_ROOT}/logbook -I${DAQDADIR} -I${AliRoot_SOURCE_DIR}/RAW -I${CMAKE_BINARY_DIR}/include -I${ROOTINCDIR} ${mod} ${date_head} ${AliRoot_SOURCE_DIR}/${DASRC} -o ${DAOBJ}
-       WORKING_DIRECTORY ${CMAKE_BINARY_DIR}  
-)
-add_dependencies(DAOBJ_${DAEXE}_ DADEP_${DAEXE}_ )
-
-
-add_custom_target(DADEP_${DAEXE}_)
-add_custom_command(
-TARGET DADEP_${DAEXE}_
-COMMAND echo "***** Making detector-algorithm dependencies ${DADEP} *****"
-       COMMAND g++ -MM ${DATE_CFLAGS} -I${DAQDADIR} -I${AliRoot_SOURCE_DIR}/RAW -I${CMAKE_BINARY_DIR}/include -I${ROOTINCDIR} ${mod} ${date_head} ${AliRoot_SOURCE_DIR}/${DASRC} > ${DADEP}
-       WORKING_DIRECTORY ${CMAKE_BINARY_DIR}  
-)
-
-
-add_custom_command(TARGET clean
-COMMAND rm -rf junk*.exe
-WORKING_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
-  
-
-       endif(match)
-  endforeach(dafile)
-endforeach(detector)
diff --git a/cmake/CMakelinux.cmake b/cmake/CMakelinux.cmake
deleted file mode 100644 (file)
index 48d836e..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-#--------------------------------------------------------------------------------#
-# Linux CMake System configuration file for the AliRoot Build System             #
-#                                                                                # 
-# Author: Johny Jose (johny.jose@cern.ch)                                        #
-#                                                                                #
-#--------------------------------------------------------------------------------#
-
-
-cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
-
-#Retrieve Compiler Version
-
-if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
-
-execute_process (COMMAND ${CMAKE_C_COMPILER} -dumpversion
-                 COMMAND cut -d. -f1
-                 OUTPUT_VARIABLE CCMAJORV
-                 OUTPUT_STRIP_TRAILING_WHITESPACE)
-execute_process (COMMAND ${CMAKE_C_COMPILER} -dumpversion
-                 COMMAND cut -d. -f2
-                 OUTPUT_VARIABLE CCMINORV
-                 OUTPUT_STRIP_TRAILING_WHITESPACE)
-
-endif(CMAKE_C_COMPILER_ID STREQUAL "GNU")
-
-# Global Optimization
-set(OPT)
-# ------- Setting optimization flags for default configuration -------
-if((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-    set(DEFAULT_CXX_FLAGS "-O -g")
-    set(OPT "${DEFAULT_CXX_FLAGS}")
-    message("-- Setting compiler flags for default configuration: ${DEFAULT_CXX_FLAGS}")
-endif((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-# --------------------------------------------------------------------
-set(NOOPT "-g")
-
-set(CXXOPT ${OPT})
-set(CXXNOPT ${NOOPT})
-set(COPT ${OPT})
-set(FOPT ${OPT})
-
-#CERNLIB defines
-set(CLIBDEFS "-DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ")
-set(CLIBCXXOPTS)
-set(CLIBCOPT)
-set(CLIBFOPT ${CLIBDEFS})
-
-set(CXXWARN "-Wall -Wno-long-long -W -Weffc++ -Wshadow -Woverloaded-virtual -ansi")
-
-if(CCMAJORV STREQUAL "2")
-
-  set(CXXFLAGS "${OPT} -fPIC -pipe")
-  set(CXXFLAGSNO "${NOOPT} -fPIC -pipe")
-
-elseif(CCMAJORV STREQUAL "3")
-
-  set(CXXFLAGS "${OPT} -fPIC -pipe -fmessage-length=0")
-  add_definitions(-Dlinux)
-  set(CXXFLAGSNO "${NOOPT} -fPIC -pipe -fmessage-length=0")
-
-elseif(CCMAJORV STREQUAL "4")
-  
-  set(CXXFLAGS "${OPT} -fPIC -pipe -fmessage-length=0")
-  add_definitions(-Dlinux)
-  set(CXXFLAGSNO "${NOOPT} -fPIC -pipe -fmessage-length=0")
-
-else ()
-
-  set(CXXFLAGS "${OPT} -pipe -fmessage-length=0")
-  add_definitions(-Dlinux)
-  set(CXXFLAGSNO "${NOOPT} -pipe -fmessage-length=0") 
-
-endif(CCMAJORV STREQUAL "2")
-
-set(CFLAGS     "${OPT} -Wall -Werror -fPIC -pipe -Wno-long-long -pedantic-errors -ansi")
-set(FFLAGS "${CLIBFOPT} ${FOPT} -fPIC -fno-second-underscore")
-
-set(SYSLIBS "-ldl -lcrypt -L/usr/X11R6/lib -lX11")
-
-if(${CMAKE_Fortran_COMPILER} MATCHES "g95")
-  
-  add_definitions(-DFORTRAN_G95)
-  execute_process(COMMAND ${CMAKE_Fortran_COMPILER} --print-search-dirs 
-                  OUTPUT_VARIABLE SHLIB
-                  OUTPUT_STRIP_TRAILING_WHITESPACE)
-  string(REGEX MATCH "^.*install:[^\n]*" SHLIB ${SHLIB})
-  string(REGEX REPLACE "^.*install: " "" SHLIB ${SHLIB})
-  set(SHLIB "-L${SHLIB} -lf95")
-
-elseif(${CMAKE_Fortran_COMPILER} MATCHES "gfortran")
-  
-  set(FFLAGS "-DFORTRAN_GFORTRAN ${FFLAGS}")
-  execute_process(COMMAND ${CMAKE_Fortran_COMPILER} -m32 -print-file-name=libgfortran.so
-                  OUTPUT_VARIABLE _shlib
-                  OUTPUT_STRIP_TRAILING_WHITESPACE)
-  execute_process(COMMAND ${CMAKE_Fortran_COMPILER} -m32 -print-file-name=libgfortranbegin.a
-                  OUTPUT_VARIABLE SHLIB
-                  OUTPUT_STRIP_TRAILING_WHITESPACE)
-  set(SHLIB "${_shlib} ${SHLIB}")
-  set(SYSLIBS "${SYSLIBS} ${SHLIB}")
-
-else()
-
-  set(SHLIB "-lg2c")
-  set(SYSLIBS "-lg2c")
-  
-endif(${CMAKE_Fortran_COMPILER} MATCHES "g95")
-
-set(LDFLAGS "${OPT}")
-set(SOFLAGS "${OPT} -shared")
-set(ALLIB)
-
-
-
diff --git a/cmake/CMakelinuxalphagcc.cmake b/cmake/CMakelinuxalphagcc.cmake
deleted file mode 100644 (file)
index 4a34a76..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-#--------------------------------------------------------------------------------#
-# Linuxx8664gcc CMake System configuration file for the AliRoot Build System     #
-#                                                                                # 
-# Author: Johny Jose (johny.jose@cern.ch)                                        #
-#                                                                                #
-#--------------------------------------------------------------------------------#
-
-
-cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
-
-#Retrieve Compiler Version
-
-
-execute_process (COMMAND ${CMAKE_C_COMPILER} -dumpversion
-                 COMMAND cut -d. -f1
-                 OUTPUT_VARIABLE CCMAJORV
-                 OUTPUT_STRIP_TRAILING_WHITESPACE) 
-execute_process (COMMAND ${CMAKE_C_COMPILER} -dumpversion
-                 COMMAND cut -d. -f2
-                 OUTPUT_VARIABLE CCMINORV
-                 OUTPUT_STRIP_TRAILING_WHITESPACE)
-
-
-# Global Optimization
-set(OPT)
-# ------- Setting optimization flags for default configuration -------
-if((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-    set(DEFAULT_CXX_FLAGS "-O -g")
-    set(OPT "${DEFAULT_CXX_FLAGS}")
-    message("-- Setting compiler flags for default configuration: ${DEFAULT_CXX_FLAGS}")
-endif((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-# --------------------------------------------------------------------
-set(NOOPT "-g")
-
-set(CXXOPT ${OPT})
-set(CXXNOPT ${NOOPT})
-set(COPT ${OPT})
-set(FOPT ${OPT})
-
-#CERNLIB defines
-set(CLIBDEFS "-DCERNLIB_UNIX -DCERNLIBS_DECS -DCERNLIB_BLDLIB -DCERNLIB_CZ")
-set(CLIBCXXOPTS)
-set(CLIBCOPT)
-set(CLIBFOPT ${CLIBDEFS})
-
-set(CXXWARN "-Wall -Wno-long-long -W -Weffc++ -Wshadow -Woverloaded-virtual -ansi")
-
-if(CCMAJORV STREQUAL "2")
-
-  set(CXXFLAGS "${OPT} -fPIC -pipe")
-  set(CXXFLAGSNO "${NOOPT} -fPIC -pipe")
-
-elseif(CCMAJORV STREQUAL "3")
-
-  set(CXXFLAGS "${OPT} -fPIC -pipe -fmessage-length=0 -Dlinux")
-  add_definitions(-Dlinux)
-  set(CXXFLAGSNO "${NOOPT} -fPIC -pipe -fmessage-length=0")
-
-elseif(CCMAJORV STREQUAL "4")
-  
-  set(CXXFLAGS "${OPT} -fPIC -pipe -fmessage-length=0 -Dlinux")
-  add_definitions(-Dlinux)
-  set(CXXFLAGSNO "${NOOPT} -fPIC -pipe -fmessage-length=0")
-
-else ()
-
-  set(CXXFLAGS "${OPT} -pipe -fmessage-length=0 -Dlinux")
-  add_definitions(-Dlinux)
-  set(CXXFLAGSNO "${NOOPT} -pipe -fmessage-length=0") 
-
-endif(CCMAJORV STREQUAL "2")
-
-set(CFLAGS     "${OPT} -Wall -Werror -fPIC -pipe -Wno-long-long -pedantic-errors -ansi")
-set(FFLAGS "${CLIBFOPT} ${FOPT} -fPIC -fno-second-underscore -fPIC -fno-f2c")
-
-execute_process(COMMAND find /lib64 -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib64/ -l/'
-                OUTPUT_VARIABLE LIBNOVER
-                OUTPUT_STRIP_TRAILING_WHITESPACE)
-                
-
-set(SYSLIBS "-ldl -lcrypt -L/usr/X11R6/lib -lX11 ${LIBNOVER}")
-
-if(${CMAKE_Fortran_COMPILER} MATCHES "g95")
-  
-  add_definitions(-DFORTRAN_G95)
-  execute_process(COMMAND ${CMAKE_Fortran_COMPILER} --print-search-dirs 
-                  OUTPUT_VARIABLE SHLIB
-                  OUTPUT_STRIP_TRAILING_WHITESPACE)
-  string(REGEX MATCH "^.*install:[^\n]*" SHLIB ${SHLIB})
-  string(REGEX REPLACE "^.*install: " "" SHLIB ${SHLIB})
-  set(SHLIB "-L${SHLIB} -lf95")
-
-elseif(${CMAKE_Fortran_COMPILER} MATCHES "gfortran")
-  
-  set(FFLAGS "-DFORTRAN_GFORTRAN ${FFLAGS}")
-  execute_process(COMMAND ${CMAKE_Fortran_COMPILER} -m32 -print-file-name=libgfortran.so
-                  OUTPUT_VARIABLE _shlib
-                  OUTPUT_STRIP_TRAILING_WHITESPACE)
-  execute_process(COMMAND ${CMAKE_Fortran_COMPILER} -m32 -print-file-name=libgfortranbegin.a
-                  OUTPUT_VARIABLE SHLIB
-                  OUTPUT_STRIP_TRAILING_WHITESPACE)
-  set(SHLIB "${_shlib} ${SHLIB}")
-  set(SYSLIBS "${SYSLIBS} ${SHLIB}")
-
-else()
-
-  set(SHLIB "-lg2c")
-  set(SYSLIBS "-lg2c")
-  
-endif(${CMAKE_Fortran_COMPILER} MATCHES "g95")
-
-set(LDFLAGS "${OPT}")
-set(SOFLAGS "${OPT} -shared")
-set(ALLIB)
-
-
-
diff --git a/cmake/CMakelinuxia64gcc.cmake b/cmake/CMakelinuxia64gcc.cmake
deleted file mode 100644 (file)
index 35a45f0..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-#--------------------------------------------------------------------------------#
-# Linuxx8664gcc CMake System configuration file for the AliRoot Build System     #
-#                                                                                # 
-# Author: Johny Jose (johny.jose@cern.ch)                                        #
-#                                                                                #
-#--------------------------------------------------------------------------------#
-
-
-cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
-
-#Retrieve Compiler Version
-
-
-execute_process (COMMAND ${CMAKE_C_COMPILER} -dumpversion
-                 COMMAND cut -d. -f1
-                 OUTPUT_VARIABLE CCMAJORV
-                 OUTPUT_STRIP_TRAILING_WHITESPACE) 
-execute_process (COMMAND ${CMAKE_C_COMPILER} -dumpversion
-                 COMMAND cut -d. -f2
-                 OUTPUT_VARIABLE CCMINORV
-                 OUTPUT_STRIP_TRAILING_WHITESPACE)
-
-
-# Global Optimization
-set(OPT)
-# ------- Setting optimization flags for default configuration -------
-if((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-    set(DEFAULT_CXX_FLAGS "-O -g")
-    set(OPT "${DEFAULT_CXX_FLAGS}")
-    message("-- Setting compiler flags for default configuration: ${DEFAULT_CXX_FLAGS}")
-endif((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-# --------------------------------------------------------------------
-set(NOOPT "-g -mieee -mno-soft-float")
-
-set(CXXOPT ${OPT})
-set(CXXNOPT ${NOOPT})
-set(COPT ${OPT})
-set(FOPT ${OPT})
-
-#CERNLIB defines
-set(CLIBDEFS "-DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ")
-set(CLIBCXXOPTS)
-set(CLIBCOPT)
-set(CLIBFOPT ${CLIBDEFS})
-
-set(CXXWARN "-Wall -Wno-long-long -W -Weffc++ -Wshadow -Woverloaded-virtual -ansi")
-
-set(CXXFLAGS "${OPT} -fPIC -pipe")
-set(CXXFLAGSNO "${NOOPT} -fPIC -pipe")
-set(CFLAGS     "${OPT} -Wall -fPIC -pipe -ansi")
-set(FFLAGS "${CLIBFOPT} ${FOPT} -Wall -fPIC -pipe -fno-second-underscore")
-
-set(SYSLIBS "-ldl -lg2c -lcrypt -L/usr/X11R6/lib -lX11")
-
-set(LDFLAGS "${OPT}")
-set(SOFLAGS "${OPT} -Wall -fPIC -pipe -shared")
-set(SHLIB "-lg2c")
-set(ALLIB)
-
-
-
diff --git a/cmake/CMakelinuxicc.cmake b/cmake/CMakelinuxicc.cmake
deleted file mode 100644 (file)
index c961f1b..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-#--------------------------------------------------------------------------------#
-# Package File for                                                               #
-# Author : Johny Jose (johny.jose@cern.ch)                                       #
-# Variables Defined :                                                            #
-#                                                                                #
-# SRCS - C++ source files                                                        #
-# HDRS - C++ header files                                                        #
-# DHDR - ROOT Dictionary Linkdef header file                                     #
-# CSRCS - C source files                                                         #
-# CHDRS - C header files                                                         #
-# EINCLUDE - Include directories                                                 #
-# EDEFINE - Compiler definitions                                                 #
-# ELIBS - Extra libraries to link                                                #
-# ELIBSDIR - Extra library directories                                           #
-# PACKFFLAGS - Fortran compiler flags for package                                #
-# PACKCXXFLAGS - C++ compiler flags for package                                  #
-# PACKCFLAGS - C compiler flags for package                                      #
-# PACKSOFLAGS - Shared library linking flags                                     #
-# PACKLDFLAGS - Module linker flags                                              #
-# PACKBLIBS - Libraries to link (Executables only)                               #
-# EXPORT - Header files to be exported                                           #
-# CINTHDRS - Dictionary header files                                             #
-# CINTAUTOLINK - Set automatic dictionary generation                             #
-# ARLIBS - Archive Libraries and objects for linking (Executables only)          #
-# SHLIBS - Shared Libraries and objects for linking (Executables only)           #
-#--------------------------------------------------------------------------------#
-
-
-execute_process (COMMAND ${CMAKE_C_COMPILER} -V 2>&1 | awk '{ if (NR == 1) print $$8}' | cut -d'.' -f1
-                 OUTPUT_VARIABLE ICC_MAJOR
-                 OUTPUT_STRIP_TRAILING_WHITESPACE) 
-execute_process (COMMAND ${CMAKE_C_COMPILER} -V 2>&1 | awk '{ if(NR == 1) print $$8}' | cut -d'.' -f2
-                 OUTPUT_VARIABLE ICC_MINOR
-                 OUTPUT_STRIP_TRAILING_WHITESPACE)
-
-# Global Optimization
-set ( OPT  "-O -ip")
-# ------- Setting optimization flags for default configuration -------
-if((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-    set(DEFAULT_CXX_FLAGS "-O -g")
-    set(OPT "${DEFAULT_CXX_FLAGS}")
-    message("-- Setting compiler flags for default configuration: ${DEFAULT_CXX_FLAGS}")
-endif((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-# --------------------------------------------------------------------
-set ( NOOPT  "-O0")
-
-set ( CXXOPT  "${OPT} -fPIC")
-set ( CXXNOOPT  "${NOOPT} -fPIC")
-set ( COPT  "${OPT} -fPIC")
-set ( FOPT  "${OPT} -fPIC")
-
-set ( CLIBDEFS  "-DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ")
-set ( CLIBCXXOPTS )
-set ( CLIBCOPT )
-set ( CLIBFOPT  ${CLIBDEFS})
-
-set ( CXXFLAGS  ${CXXOPT})
-set ( CXXFLAGSNO  ${CXXNOOPT})
-set ( CFLAGS  ${COPT})
-set ( FFLAGS  "${CLIBFOPT} ${FOPT}")
-set ( DEPENDFFLAGS  ${FFLAGS})
-
-set ( CINTFLAGS )
-
-set ( LDFLAGS  ${OPT})
-
-set ( SOFLAGS  "-shared")
-
-set ( ALLIB )
-
-execute_process(COMMAND find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'
-                OUTPUT_VARIABLE LIBNOVER
-                OUTPUT_STRIP_TRAILING_WHITESPACE)
-
-execute_process(COMMAND which ifort | sed -e 's|bin|lib|' | sed -e 's|ifor||'
-                OUTPUT_VARIABLE IFORT 
-                OUTPUT_STRIP_TRAILING_WHITESPACE)
-
-set (SYSLIBS "-lcrypt -L/usr/X11R6/lib -lX11 ${LIBNOVER} -L/usr/local/lib -lXt -L${IFORT} -lifcore -lifport")
-                
diff --git a/cmake/CMakelinuxx8664gcc.cmake b/cmake/CMakelinuxx8664gcc.cmake
deleted file mode 100644 (file)
index 57708a7..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-# -*- mode: cmake -*-
-
-#--------------------------------------------------------------------------------#
-# Linuxx8664gcc CMake System configuration file for the AliRoot Build System     #
-#                                                                                # 
-# Author: Johny Jose (johny.jose@cern.ch)                                        #
-#                                                                                #
-#--------------------------------------------------------------------------------#
-
-
-cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
-
-#Retrieve Compiler Version
-
-
-execute_process (COMMAND ${CMAKE_C_COMPILER} -dumpversion
-                 COMMAND cut -d. -f1
-                 OUTPUT_VARIABLE CCMAJORV
-                 OUTPUT_STRIP_TRAILING_WHITESPACE) 
-execute_process (COMMAND ${CMAKE_C_COMPILER} -dumpversion
-                 COMMAND cut -d. -f2
-                 OUTPUT_VARIABLE CCMINORV
-                 OUTPUT_STRIP_TRAILING_WHITESPACE)
-
-
-# Global Optimization
-set(OPT)
-
-# ------- Setting optimization flags for default configuration -------
-
-if((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-    set(DEFAULT_CXX_FLAGS "-g")
-    set(OPT "${DEFAULT_CXX_FLAGS}")
-    message("-- Setting compiler flags for default configuration: ${DEFAULT_CXX_FLAGS}")
-endif((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-
-# --------------------------------------------------------------------
-
-
-set(NOOPT "-g")
-
-set(CXXOPT ${OPT})
-set(CXXNOPT ${NOOPT})
-set(COPT ${OPT})
-set(FOPT ${OPT})
-
-#CERNLIB defines
-set(CLIBDEFS "-DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ")
-set(CLIBCXXOPTS)
-set(CLIBCOPT)
-set(CLIBFOPT ${CLIBDEFS})
-
-set(CXXWARN "-Wall -Wno-long-long -W -Weffc++ -Wshadow -Woverloaded-virtual")
-
-if(CCMAJORV STREQUAL "2")
-
-  set(CXXFLAGS "${OPT} -fPIC -pipe")
-  set(CXXFLAGSNO "${NOOPT} -fPIC -pipe")
-
-elseif(CCMAJORV STREQUAL "3")
-
-  set(CXXFLAGS "${OPT} -fPIC -pipe -fmessage-length=0 -Dlinux")
-  add_definitions(-Dlinux)
-  set(CXXFLAGSNO "${NOOPT} -fPIC -pipe -fmessage-length=0")
-
-elseif(CCMAJORV STREQUAL "4")
-  
-  set(CXXFLAGS "${OPT} -fPIC -pipe -fmessage-length=0 -Dlinux")
-  add_definitions(-Dlinux)
-  set(CXXFLAGSNO "${NOOPT} -fPIC -pipe -fmessage-length=0")
-  if(CCMINORV STRGREATER 5) 
-    message("-- GCC version > 4.5 - mask default -Wl,--as-needed")
-    set(XTRA_LDFLAGS "-Wl,--no-as-needed")
-  endif() 
-
-else ()
-
-  set(CXXFLAGS "${OPT} -pipe -fmessage-length=0 -Dlinux")
-  add_definitions(-Dlinux)
-  set(CXXFLAGSNO "${NOOPT} -pipe -fmessage-length=0") 
-
-endif(CCMAJORV STREQUAL "2")
-
-set(CFLAGS     "${OPT} -Wall -Werror -fPIC -pipe -Wno-long-long -pedantic-errors -ansi")
-set(FFLAGS "${CLIBFOPT} ${FOPT} -fPIC -fno-second-underscore -fPIC -fno-f2c")
-
-execute_process(COMMAND find /lib64 -name 'libNoVersion*.so' 
-                COMMAND xargs --replace basename {} .so 
-                COMMAND sed -e "s/lib64/ -l/"
-                OUTPUT_VARIABLE LIBNOVER
-                OUTPUT_STRIP_TRAILING_WHITESPACE)
-                
-
-#set(SYSLIBS "-ldl -lcrypt -L/usr/X11R6/lib -lX11 -lGL -lGLU ${LIBNOVER}")
-set(SYSLIBS "-ldl -lcrypt -L/usr/X11R6/lib -lX11 ${LIBNOVER}")
-
-if(${CMAKE_Fortran_COMPILER} MATCHES "g95")
-  
-  add_definitions(-DFORTRAN_G95)
-  execute_process(COMMAND ${CMAKE_Fortran_COMPILER} --print-search-dirs 
-                  OUTPUT_VARIABLE SHLIB
-                  OUTPUT_STRIP_TRAILING_WHITESPACE)
-  string(REGEX MATCH "^.*install:[^\n]*" SHLIB ${SHLIB})
-  string(REGEX REPLACE "^.*install: " "" SHLIB ${SHLIB})
-  set(SHLIB "-L${SHLIB} -lf95")
-
-elseif(${CMAKE_Fortran_COMPILER} MATCHES "gfortran")
-  
-  set(FFLAGS "-DFORTRAN_GFORTRAN ${FFLAGS} -fPIC")
-  execute_process(COMMAND ${CMAKE_Fortran_COMPILER} -print-file-name=libgfortran.so
-                  OUTPUT_VARIABLE _shlib
-                  OUTPUT_STRIP_TRAILING_WHITESPACE)
-  execute_process(COMMAND ${CMAKE_Fortran_COMPILER} -print-file-name=libgfortranbegin.a
-                  OUTPUT_VARIABLE SHLIB
-                  OUTPUT_STRIP_TRAILING_WHITESPACE)
-  set(SHLIB "${_shlib} ${SHLIB}")
-  set(SYSLIBS "${SYSLIBS} ${SHLIB}")
-
-else()
-
-  set(SHLIB "-lg2c")
-  set(SYSLIBS "-lg2c")
-  
-endif(${CMAKE_Fortran_COMPILER} MATCHES "g95")
-
-set(LDFLAGS "${OPT} ${XTRA_LDFLAGS} ")
-set(SOFLAGS "${OPT}  ${XTRA_LDFLAGS} -shared")
-set(ALLIB)
-
-
-
diff --git a/cmake/CMakelinuxx8664icc.cmake b/cmake/CMakelinuxx8664icc.cmake
deleted file mode 100644 (file)
index 10bd2fd..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-# -*- mode: cmake -*-
-
-#--------------------------------------------------------------------------------#
-# Linuxx8664gcc CMake System configuration file for the AliRoot Build System     #
-#                                                                                # 
-# Author: Johny Jose (johny.jose@cern.ch)                                        #
-#                                                                                #
-#--------------------------------------------------------------------------------#
-
-
-cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
-
-#Retrieve Compiler Version
-
-# Global Optimization
-set(OPT)
-
-# ------- Setting optimization flags for default configuration -------
-
-if((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-    set(DEFAULT_CXX_FLAGS "-O1 -ip -finline -unroll -foptimize-sibling-calls -g")
-    set(OPT "${DEFAULT_CXX_FLAGS}")
-    message("-- Setting compiler flags for default configuration: ${DEFAULT_CXX_FLAGS}")
-endif((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-
-# --------------------------------------------------------------------
-
-
-set(NOOPT "-g")
-
-set(CXXOPT ${OPT})
-set(CXXNOPT ${NOOPT})
-set(COPT ${OPT})
-set(FOPT ${OPT})
-
-#CERNLIB defines
-set(CLIBDEFS "-DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ")
-set(CLIBCXXOPTS)
-set(CLIBCOPT)
-set(CLIBFOPT ${CLIBDEFS})
-
-set(CXXWARN " ")
-
-set(CXXFLAGS "${OPT} -fPIC -Dlinux")
-set(CXXFLAGSNO "${NOOPT} -fPIC -Dlinux")
-add_definitions(-Dlinux)
-
-set(CFLAGS     "${OPT} -fPIC")
-set(FFLAGS "${CLIBFOPT} ${FOPT} -fPIC")
-
-set(SYSLIBS "-ldl -lcrypt -L/usr/X11R6/lib -lX11")
-
-set(LDFLAGS "${OPT}")
-set(SOFLAGS "${OPT} -shared")
-set(ALLIB)
-
-
-
diff --git a/cmake/CMakemacosx.cmake b/cmake/CMakemacosx.cmake
deleted file mode 100644 (file)
index 8d5dcdc..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-#--------------------------------------------------------------------------------#
-# Maxosx CMake System configuration file for the AliRoot Build System            #
-#                                                                                #
-# Author : Johny Jose (johny.jose@cern.ch)                                       #
-#                                                                                #
-#--------------------------------------------------------------------------------#
-
-execute_process (COMMAND sw_vers | sed -n 's/ProductVersion://p' | cut -d. -f1
-                 OUTPUT_VARIABLE MACOSX_MAJOR
-                 OUTPUT_STRIP_TRAILING_WHITESPACE )
-execute_process (COMMAND sw_vers | sed -n 's/ProductVersion://p' | cut -d. -f2
-                 OUTPUT_VARIABLE MACOSX_MINOR
-                 OUTPUT_STRIP_TRAILING_WHITESPACE )
-
-set(FINK_ROOT $ENV{FINK_ROOT})
-if( NOT FINK_ROOT )
-               
-       set ( FINK_ROOT /usr/local)
-
-endif( NOT FINK_ROOT )
-
-# Global Optimization
-set ( OPT )
-# ------- Setting optimization flags for default configuration -------
-if((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-    set(DEFAULT_CXX_FLAGS "-O -g")
-    set(OPT "${DEFAULT_CXX_FLAGS}")
-    message("-- Setting compiler flags for default configuration: ${DEFAULT_CXX_FLAGS}")
-endif((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-# --------------------------------------------------------------------
-set ( NOOPT  "-g")
-
-set ( CXXOPT  "${OPT}")
-set ( CXXNOOPT  "${NOOPT}")
-set ( COPT  "${OPT}")
-
-set ( CLIBDEFS  "-DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ -DCERNLIB_PPC")
-set ( CLIBCXXOPTS )
-set ( CLIBCOPT )
-set ( CLIBFOPT  ${CLIBDEFS})
-
-set ( CXXWARN  "-Wall -Wno-long-long -W -Weffc++ -Wshadow -Woverloaded-virtual -ansi")
-
-set ( CXXSTF  "-pipe -fbounds-check -fsigned-char -fno-common -fmessage-length=0 -fno-default-inline -fno-inline -I/usr/X11R6/include -I${FINK_ROOT}/include")
-
-set ( CXXFLAGS  "${CXXOPT} ${CXXSTF}")
-
-set ( CXXFLAGSNO  "${CXXNOOPT} ${CXXSTF}")
-
-set ( CFLAGS  "${COPT} -Wall -W -fno-common -pipe -I${FINK_ROOT}/include")
-
-set ( FFLAGS "${FFLAGS} -DFORTRAN_GFORTRAN")
-
-set ( DEPENDFFLAGS  ${FFLAGS})
-
-set ( CINTFLAGS )
-
-set ( LDFLAGS  "${OPT} ${DICTLOAD}")
-
-set ( SOFLAGS  "-dynamiclib -undefined dynamic_lookup -single_module")
-
-set ( ALLIB )
-
-set ( DEPENDCXXFLAGS  "${CXXFLAGS} -I/usr/include/sys")
-
-set ( SYSLIBS  "-L/usr/X11R6/lib -lX11")
-
-set ( EXEFLAGS  "-bind_at_load")
-
-set (CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-isystem")
-
-set (CMAKE_INCLUDE_SYSTEM_FLAG_C "-isystem")
-
-execute_process(COMMAND ${CMAKE_Fortran_COMPILER} -print-file-name=libgfortran.dylib
-                  OUTPUT_VARIABLE _shlib
-                  OUTPUT_STRIP_TRAILING_WHITESPACE)
-execute_process(COMMAND ${CMAKE_Fortran_COMPILER} -print-file-name=libgfortranbegin.a
-                  OUTPUT_VARIABLE _alib
-                  OUTPUT_STRIP_TRAILING_WHITESPACE)
-set( SYSLIBS "${SYSLIBS} -ldl ${_shlib} ${_alib}")
-
diff --git a/cmake/CMakemacosx64.cmake b/cmake/CMakemacosx64.cmake
deleted file mode 100644 (file)
index f726060..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-# -*- mode: cmake -*-
-
-#--------------------------------------------------------------------------------#
-# Package File for                                                               #
-# Author : Johny Jose (johny.jose@cern.ch)                                       #
-# Variables Defined :                                                            #
-#                                                                                #
-# SRCS - C++ source files                                                        #
-# HDRS - C++ header files                                                        #
-# DHDR - ROOT Dictionary Linkdef header file                                     #
-# CSRCS - C source files                                                         #
-# CHDRS - C header files                                                         #
-# EINCLUDE - Include directories                                                 #
-# EDEFINE - Compiler definitions                                                 #
-# ELIBS - Extra libraries to link                                                #
-# ELIBSDIR - Extra library directories                                           #
-# PACKFFLAGS - Fortran compiler flags for package                                #
-# PACKCXXFLAGS - C++ compiler flags for package                                  #
-# PACKCFLAGS - C compiler flags for package                                      #
-# PACKSOFLAGS - Shared library linking flags                                     #
-# PACKLDFLAGS - Module linker flags                                              #
-# PACKBLIBS - Libraries to link (Executables only)                               #
-# EXPORT - Header files to be exported                                           #
-# CINTHDRS - Dictionary header files                                             #
-# CINTAUTOLINK - Set automatic dictionary generation                             #
-# ARLIBS - Archive Libraries and objects for linking (Executables only)          #
-# SHLIBS - Shared Libraries and objects for linking (Executables only)           #
-#--------------------------------------------------------------------------------#
-
-execute_process (COMMAND sw_vers | sed -n 's/ProductVersion://p' | cut -d. -f1
-                 OUTPUT_VARIABLE MACOSX_MAJOR
-                 OUTPUT_STRIP_TRAILING_WHITESPACE )
-execute_process (COMMAND sw_vers | sed -n 's/ProductVersion://p' | cut -d. -f2
-                 OUTPUT_VARIABLE MACOSX_MINOR
-                 OUTPUT_STRIP_TRAILING_WHITESPACE )
-
-set(FINK_ROOT $ENV{FINK_ROOT})
-if( NOT FINK_ROOT )
-               
-       set ( FINK_ROOT /usr/local)
-
-endif( NOT FINK_ROOT )
-
-# Global Optimization          
-set ( OPT )
-# ------- Setting optimization flags for default configuration -------
-if((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-    set(DEFAULT_CXX_FLAGS "-O -g")
-    set(OPT "${DEFAULT_CXX_FLAGS}")
-    message("-- Setting compiler flags for default configuration: ${DEFAULT_CXX_FLAGS}")
-endif((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-# --------------------------------------------------------------------
-set ( NOOPT  "-g")
-
-set ( CXXOPT  ${OPT})
-set ( CXXNOOPT  ${NOOPT})
-set ( COPT  ${OPT})
-
-if( F77 MATCHES "g95")
-       
-       set ( FOPT "${FOPT}  -fbounds-check")
-
-endif( F77 MATCHES "g95")
-
-set ( CLIBDEFS  "-DCERNLIB_LXIA64 -DCERNLIB_BLDLIB -DCERNLIB_CZ -DCERNLIB_PPC")
-set ( CLIBCXXOPTS )
-set ( CLIBCOPT )
-set ( CLIBFOPT  ${CLIBDEFS})
-
-set ( CXXWARN  "-Wall -Wno-long-long -W -Weffc++ -Wshadow -Woverloaded-virtual")
-
-if ( CMAKE_CXX_COMPILER MATCHES "clang") 
-     
-     set ( CXXSTF  "-pipe -fsigned-char -fno-common -fmessage-length=0 -fno-inline -I/usr/X11R6/include -I${FINK_ROOT}/include")
-
-else( CMAKE_CXX_COMPILER MATCHES "clang")
-
-     set ( CXXSTF  "-pipe -fbounds-check -fsigned-char -fno-common -fmessage-length=0 -fno-default-inline -fno-inline -I/usr/X11R6/include -I${FINK_ROOT}/include")
-     set (CXXWARN "${CXXWARN} -ansi")
-
-endif( CMAKE_CXX_COMPILER MATCHES "clang")
-
-set ( CXXFLAGS  "${CXXOPT} ${CXXSTF}")
-
-set ( CXXFLAGSNO  "${CXXNOOPT} ${CXXSTF}")
-
-set ( CFLAGS  "${COPT} -Wall -W -fno-common -pipe -I${FINK_ROOT}/include")
-
-set ( FFLAGS "${FFLAGS} -m64 -DFORTRAN_GFORTRAN")
-
-set ( CINTFLAGS )
-
-set ( LDFLAGS  "${OPT} ${DICTLOAD}")
-
-set ( SOFLAGS  "-m64 -dynamiclib -undefined dynamic_lookup -single_module")
-
-set ( ALLIB )
-
-#set ( SYSLIBS  "-L/usr/X11R6/lib -lX11")
-
-set ( EXEFLAGS  "-bind_at_load")
-
-execute_process(COMMAND ${CMAKE_Fortran_COMPILER} -m64 -print-file-name=libgfortran.dylib
-                OUTPUT_VARIABLE _shlib
-                OUTPUT_STRIP_TRAILING_WHITESPACE)
-execute_process(COMMAND ${CMAKE_Fortran_COMPILER} -m64 -print-file-name=libgfortranbegin.a
-                OUTPUT_VARIABLE _alib
-                OUTPUT_STRIP_TRAILING_WHITESPACE)
-set( SYSLIBS "${SYSLIBS} -ldl ${_shlib} ${_alib}")
-
diff --git a/cmake/CMakemacosxicc.cmake b/cmake/CMakemacosxicc.cmake
deleted file mode 100644 (file)
index bc79407..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-#--------------------------------------------------------------------------------#
-# Package File for                                                               #
-# Author : Johny Jose (johny.jose@cern.ch)                                       #
-# Variables Defined :                                                            #
-#                                                                                #
-# SRCS - C++ source files                                                        #
-# HDRS - C++ header files                                                        #
-# DHDR - ROOT Dictionary Linkdef header file                                     #
-# CSRCS - C source files                                                         #
-# CHDRS - C header files                                                         #
-# EINCLUDE - Include directories                                                 #
-# EDEFINE - Compiler definitions                                                 #
-# ELIBS - Extra libraries to link                                                #
-# ELIBSDIR - Extra library directories                                           #
-# PACKFFLAGS - Fortran compiler flags for package                                #
-# PACKCXXFLAGS - C++ compiler flags for package                                  #
-# PACKCFLAGS - C compiler flags for package                                      #
-# PACKSOFLAGS - Shared library linking flags                                     #
-# PACKLDFLAGS - Module linker flags                                              #
-# PACKBLIBS - Libraries to link (Executables only)                               #
-# EXPORT - Header files to be exported                                           #
-# CINTHDRS - Dictionary header files                                             #
-# CINTAUTOLINK - Set automatic dictionary generation                             #
-# ARLIBS - Archive Libraries and objects for linking (Executables only)          #
-# SHLIBS - Shared Libraries and objects for linking (Executables only)           #
-#--------------------------------------------------------------------------------#
-
-set(FINK_ROOT $ENV{FINK_ROOT})
-if( NOT FINK_ROOT )
-               
-       set ( FINK_ROOT /usr/local)
-
-endif( NOT FINK_ROOT )
-
-# Global Optimization
-set ( OPT )
-# ------- Setting optimization flags for default configuration -------
-if((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-    set(DEFAULT_CXX_FLAGS "-O -g")
-    set(OPT "${DEFAULT_CXX_FLAGS}")
-    message("-- Setting compiler flags for default configuration: ${DEFAULT_CXX_FLAGS}")
-endif((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-# --------------------------------------------------------------------
-set ( NOOPT  "-g")
-
-set ( CXXOPT  ${OPT})
-set ( CXXNOOPT  ${NOOPT})
-set ( COPT  ${OPT})
-set ( FOPT  ${OPT})
-
-set ( CLIBDEFS  "-DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ -DCERNLIB_PPC")
-set ( CLIBCXXOPTS )
-set ( CLIBCOPT )
-set ( CLIBFOPT  ${CLIBDEFS})
-
-set ( CXXFLAGS  "${CXXOPT} -fPIC -wd1476 -I/usr/X11R6/include -I${FINK_ROOT}/include)"
-
-set ( CXXFLAGSNO  ${CXXNOOPT})
-
-set ( CFLAGS  "${COPT} -fPIC -restrict -I${FINK_ROOT}/include")
-
-set ( FFLAGS  "${CLIBFOPT} ${FOPT}")
-
-set ( CINTFLAGS )
-
-set ( LDFLAGS  "${OPT} ${DICTLOAD}")
-
-set ( SOFLAGS  "${OPT} -dynamiclib -undefined dynamic_lookup -single_module")
-
-set ( DYFLAGS  "-dynamiclib -undefined dynamic_lookup -single_module")
-
-set ( ALLIB )
-
-set ( EXEFLAGS  "-bind_at_load")
-
-execute_process(COMMAND find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'
-                OUTPUT_VARIABLE LIBNOVER
-                OUTPUT_STRIP_TRAILING_WHITESPACE)
-
-execute_process(COMMAND which ifort | sed -e 's|bin|lib|'
-                OUTPUT_VARIABLE IFORT 
-                OUTPUT_STRIP_TRAILING_WHITESPACE)
-
-set (SYSLIBS "-lcrypt -L/usr/X11R6/lib -lX11 ${LIBNOVER} -L/usr/local/lib -lXt -L${IFORT} -lifcore -lifport")
diff --git a/cmake/CMakesolarisCC5.cmake b/cmake/CMakesolarisCC5.cmake
deleted file mode 100644 (file)
index da2b98d..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-#--------------------------------------------------------------------------------#
-# Package File for                                                               #
-# Author : Johny Jose (johny.jose@cern.ch)                                       #
-# Variables Defined :                                                            #
-#                                                                                #
-# SRCS - C++ source files                                                        #
-# HDRS - C++ header files                                                        #
-# DHDR - ROOT Dictionary Linkdef header file                                     #
-# CSRCS - C source files                                                         #
-# CHDRS - C header files                                                         #
-# EINCLUDE - Include directories                                                 #
-# EDEFINE - Compiler definitions                                                 #
-# ELIBS - Extra libraries to link                                                #
-# ELIBSDIR - Extra library directories                                           #
-# PACKFFLAGS - Fortran compiler flags for package                                #
-# PACKCXXFLAGS - C++ compiler flags for package                                  #
-# PACKCFLAGS - C compiler flags for package                                      #
-# PACKSOFLAGS - Shared library linking flags                                     #
-# PACKLDFLAGS - Module linker flags                                              #
-# PACKBLIBS - Libraries to link (Executables only)                               #
-# EXPORT - Header files to be exported                                           #
-# CINTHDRS - Dictionary header files                                             #
-# CINTAUTOLINK - Set automatic dictionary generation                             #
-# ARLIBS - Archive Libraries and objects for linking (Executables only)          #
-# SHLIBS - Shared Libraries and objects for linking (Executables only)           #
-#--------------------------------------------------------------------------------#
-
-# Global Optimization
-set ( OPT )
-# ------- Setting optimization flags for default configuration -------
-if((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-    set(DEFAULT_CXX_FLAGS "-O -g")
-    set(OPT "${DEFAULT_CXX_FLAGS}")
-    message("-- Setting compiler flags for default configuration: ${DEFAULT_CXX_FLAGS}")
-endif((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-# --------------------------------------------------------------------
-set ( NOOPT  "-g")
-
-set ( CXXOPT  ${OPT})
-set ( CXXNOOPT  ${NOOPT})
-set ( COPT  ${OPT})
-set ( FOPT  ${OPT})
-
-set ( CLIBDEFS  "-DCERNLIB_SUN -DCERNLIB_BLDLIB -DCERNLIB_CZ")
-set ( CLIBCXXOPTS )
-set ( CLIBCOPT )
-set ( CLIBFOPT  "${CLIBDEFS} -xpp=cpp")
-
-set ( CXXFLAGS  "${CXXOPT} +w -KPIC -template=no%extdef")
-set ( CXXFLAGSNO  "${CXXNOOPT} +w -KPIC -template=no%extdef")
-set ( CFLAGS  "${COPT} -KPIC -erroff=%none")
-set ( FFLAGS  "${FOPT} ${CLIBFOPT} ${CLIBDEFS}  -KPIC")
-set ( DEPENDFFLAGS  ${FFLAGS})
-
-set ( CINTFLAGS )
-
-set ( LDFLAGS  "${OPT} -Qoption ld -t")
-
-set ( SOFLAGS  "-G ${LDFLAGS} ${SHLIB}")
-
-set ( SYSLIBS  "-L/usr/dt/lib -L/usr/openwin/lib -L/usr/ccs/lib -lXm -lXt -lX11 -lm -lgen -ldl -lsocket -lsunmath -lfsu -lfui -lnsl")
-
-set ( EXEFLAGS  "-O -Qoption ld -t")
diff --git a/cmake/CMakewin32gcc.cmake b/cmake/CMakewin32gcc.cmake
deleted file mode 100644 (file)
index 2b8d4fa..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-#--------------------------------------------------------------------------------#
-# Package File for                                                               #
-# Author : Johny Jose (johny.jose@cern.ch)                                       #
-# Variables Defined :                                                            #
-#                                                                                #
-# SRCS - C++ source files                                                        #
-# HDRS - C++ header files                                                        #
-# DHDR - ROOT Dictionary Linkdef header file                                     #
-# CSRCS - C source files                                                         #
-# CHDRS - C header files                                                         #
-# EINCLUDE - Include directories                                                 #
-# EDEFINE - Compiler definitions                                                 #
-# ELIBS - Extra libraries to link                                                #
-# ELIBSDIR - Extra library directories                                           #
-# PACKFFLAGS - Fortran compiler flags for package                                #
-# PACKCXXFLAGS - C++ compiler flags for package                                  #
-# PACKCFLAGS - C compiler flags for package                                      #
-# PACKSOFLAGS - Shared library linking flags                                     #
-# PACKLDFLAGS - Module linker flags                                              #
-# PACKBLIBS - Libraries to link (Executables only)                               #
-# EXPORT - Header files to be exported                                           #
-# CINTHDRS - Dictionary header files                                             #
-# CINTAUTOLINK - Set automatic dictionary generation                             #
-# ARLIBS - Archive Libraries and objects for linking (Executables only)          #
-# SHLIBS - Shared Libraries and objects for linking (Executables only)           #
-#--------------------------------------------------------------------------------#
-
-# Global Optimization
-set ( OPT )
-# ------- Setting optimization flags for default configuration -------
-if((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-    set(DEFAULT_CXX_FLAGS "-O -g")
-    set(OPT "${DEFAULT_CXX_FLAGS}")
-    message("-- Setting compiler flags for default configuration: ${DEFAULT_CXX_FLAGS}")
-endif((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
-# --------------------------------------------------------------------
-
-set ( NOOPT  "-g")
-
-set ( CXXOPT  ${OPT})
-set ( CXXNOOPT  ${NOOPT})
-set ( COPT  ${OPT})
-set ( FOPT  ${OPT})
-
-set ( CLIBDEFS  "-DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ")
-set ( CLIBCXXOPTS )
-set ( CLIBCOPT )
-set ( CLIBFOPT  ${CLIBDEFS})
-
-set ( CXXFLAGS  "${OPT} -Wall -pipe -Woverloaded-virtual -Weffc++ -D_DLL")
-set ( CXXFLAGSNO  "${NOOPT} -Wall -pipe -Woverloaded-virtual -Weffc++ -D_DLL")
-set ( CFLAGS  "${OPT} -Wall -D_DLL")
-set ( FFLAGS  "${CLIBFOPT} ${FOPT} -fno-second-underscore")
-
-set ( CINTFLAGS )
-
-set ( LDFLAGS  ${OPT})
-
-set ( SOFLAGS  "${OPT} -shared -Wl,--export-all-symbols -Wl,-soname=$$TMPLIB -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc")
-
-set ( SHLIB  ${ROOTLIBS} -lg2c)
-
-set ( ALLIB )
-
-set ( SYSLIBS  "-ldl -lg2c -lcrypt -L/usr/X11R6/lib -lX11")