]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/Makefile.am
documentation
[u/mrichter/AliRoot.git] / HLT / Makefile.am
index 3fa827976012a84e7fff5efe39d7b1f72630a471..bece5f19d3ff31e5c6c1400a5586b4db5a2ea22e 100644 (file)
@@ -10,14 +10,66 @@ if EN_HLT_TPC
 TPC_DIR=TPCLib 
 endif
 
+if EN_HLT_PHOS
+PHOS_DIR=PHOS
+endif
+
+if EN_HLT_TRD
+TRD_DIR=TRD
+endif
+
+if EN_HLT_MUON
+MUON_DIR=MUON
+endif
+
 SUBDIRS                = BASE \
+                         sim \
+                         rec \
                          $(SAMPLE_DIR) \
                          $(TPC_DIR) \
-                         src \
+                         $(PHOS_DIR) \
+                         $(TRD_DIR) \
+                         $(MUON_DIR) \
                          doc
 
+EXTRA_DIST             = libHLTbase.pkg \
+                         libHLTinterface.pkg \
+                         libHLTsim.pkg \
+                         libHLTrec.pkg \
+                         libAliHLTHOMER.pkg \
+                         libAliHLTUtil.pkg \
+                         libAliHLTSample.pkg \
+                         libAliHLTPHOS.pkg \
+                         libAliHLTTPC.pkg \
+                         libAliHLTTRD.pkg \
+                         libAliHLTMUON.pkg \
+                         src/AliHLTReconstructor.h \
+                         src/AliHLTReconstructor.cxx \
+                         hlt.conf
+
 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 \
+         cp -ruv $(top_srcdir)/SampleLib/* $@; \
+         cp -uv $(top_srcdir)/libAliHLTSample.pkg $@; \
+         cp -uv $(top_srcdir)/acinclude.m4 $@; \
+       else \
+         (test ! -d $$tmpdir || rm $$tmpdir); \
+         echo "creating package in tmp dir $$tmpdir" ; \
+         mkdir -p $$tmpdir && \
+         (cp -r $(top_srcdir)/SampleLib/* $$tmpdir ; \
+         cp -uv $(top_srcdir)/libAliHLTSample.pkg $$tmpdir ; \
+         cp -uv $(top_srcdir)/acinclude.m4 $$tmpdir; \
+         (echo 'running autoreconf -f -i' ;cd $$tmpdir ; autoreconf -f -i) ; \
+         echo moving $$tmpdir to `pwd`; mv $$tmpdir . ) \
+       fi
+
+clean-local: 
+       (test ! -d SampleLibPkg || rm -rf SampleLibPkg)
+
 #
 # EOF
 #