X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HLT%2FMakefile.am;h=d695f0e6cf0370cfe775429554fd718150cabe65;hb=c7b5eec7a86847831deb4704535d08276b8b3041;hp=72ff13380823a47eced5c9ae3312582fa583acf8;hpb=dfaa582aa5fb2e97c72a0ec8e89640c969f30f0a;p=u%2Fmrichter%2FAliRoot.git diff --git a/HLT/Makefile.am b/HLT/Makefile.am index 72ff1338082..d695f0e6cf0 100644 --- a/HLT/Makefile.am +++ b/HLT/Makefile.am @@ -2,38 +2,132 @@ # Makefile template for the Alice HLT framework and components +if HAVE_ALIROOT +ALIROOT_DEP=sim \ + rec \ + shuttle \ + pendolino +endif + if EN_HLT_SAMPLE SAMPLE_DIR=SampleLib endif if EN_HLT_TPC -TPC_DIR=TPCLib +TPC_DIR=TPCLib +endif + +if EN_HLT_RCU +RCU_DIR=RCU +endif + +if EN_HLT_CALO +CALO_DIR=CALO endif if EN_HLT_PHOS PHOS_DIR=PHOS endif +if EN_HLT_EMCAL +EMCAL_DIR=EMCAL +endif + if EN_HLT_TRD TRD_DIR=TRD endif +if EN_HLT_FMD +FMD_DIR=FMD +endif + +if EN_HLT_ZDC +ZDC_DIR=ZDC +endif + +if EN_HLT_MUON +MUON_DIR=MUON +endif + +if EN_HLT_COMP +COMP_DIR=comp +endif + +if EN_HLT_TRIGGER +TRIGGER_DIR=trigger +endif + +if EN_HLT_ITS +ITS_DIR=ITS +endif + +if EN_HLT_GLOBAL +GLOBAL_DIR=global +endif + +if EN_HLT_JET +JET_DIR=JET +endif + +if EN_HLT_VZERO +VZERO_DIR=VZERO +endif + +QA_DIR=QA + SUBDIRS = BASE \ + $(ALIROOT_DEP) \ + $(RCU_DIR) \ $(SAMPLE_DIR) \ $(TPC_DIR) \ + $(CALO_DIR) \ $(PHOS_DIR) \ + $(EMCAL_DIR) \ $(TRD_DIR) \ + $(FMD_DIR) \ + $(ZDC_DIR) \ + $(MUON_DIR) \ + $(COMP_DIR) \ + $(TRIGGER_DIR) \ + $(ITS_DIR) \ + $(GLOBAL_DIR) \ + $(JET_DIR) \ + $(VZERO_DIR) \ + $(QA_DIR) \ doc EXTRA_DIST = libHLTbase.pkg \ + libHLTinterface.pkg \ + libHLTsim.pkg \ + libHLTrec.pkg \ + libHLTshuttle.pkg \ + libHLTpendolino.pkg \ + libHLTqadm.pkg \ + libAliHLTHOMER.pkg \ + libAliHLTUtil.pkg \ libAliHLTSample.pkg \ libAliHLTPHOS.pkg \ libAliHLTTPC.pkg \ libAliHLTTRD.pkg \ - hlt.conf + libAliHLTFMD.pkg \ + libAliHLTZDC.pkg \ + libAliHLTMUON.pkg \ + libAliHLTComp.pkg \ + libAliHLTTrigger.pkg \ + libAliHLTRCU.pkg \ + libAliHLTITS.pkg \ + libAliHLTEMCAL.pkg \ + libAliHLTGlobal.pkg \ + libAliHLTJet.pkg \ + libAliHLTVZERO.pkg \ + exa/sample-component1.C \ + exa/monitoring.C \ + hlt.conf \ + .revision DIST_SUBDIRS = $(SUBDIRS) +# this is a special target to create a stand-alone package from the SampleLib SampleLibPkg: Makefile $(top_srcdir)/SampleLib/* @tmpdir=/tmp/$(USER)/$@ ; \ if test -d $@ ; then \ @@ -54,6 +148,18 @@ SampleLibPkg: Makefile $(top_srcdir)/SampleLib/* clean-local: (test ! -d SampleLibPkg || rm -rf SampleLibPkg) +svn-update: + @cd $(top_srcdir) ;\ + revision=`svn info 2> /dev/null | grep "Revision:" | cut -d ' ' -f 2 | tr -d '\n'` ;\ + last=`svn info 2> /dev/null | grep "Last Changed Rev:" | cut -d ' ' -f 4 | cut -d '/' -f 4 | tr -d '\n'` ;\ + if test "x$$revision" != "x" && test $$last -gt $$revision; then \ + echo "The SVN copy is not up-to-date (revision $$revision - last update $$last), please 'svn update'"; \ + exit -1; \ + fi + +.revision: svn-update + @cd $(top_srcdir) ;\ + svn info 2> /dev/null | grep "Revision:" | cut -d ' ' -f 2 | tr -d '\n' > $@ # # EOF #