CMake: removing qpythia from the depedencies
[u/mrichter/AliRoot.git] / HLT / Makefile.am
index f2a8408..d695f0e 100644 (file)
@@ -2,6 +2,13 @@
 # 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
@@ -14,14 +21,30 @@ 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
@@ -38,35 +61,69 @@ 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 \
-                         sim \
-                         rec \
-                         shuttle \
+                         $(ALIROOT_DEP) \
+                         $(RCU_DIR) \
                          $(SAMPLE_DIR) \
                          $(TPC_DIR) \
-                         $(RCU_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 \
+                         libAliHLTFMD.pkg \
+                         libAliHLTZDC.pkg \
                          libAliHLTMUON.pkg \
                          libAliHLTComp.pkg \
                          libAliHLTTrigger.pkg \
-                         hlt.conf
+                         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)
 
@@ -91,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
 #