--- /dev/null
+# $Id$
+# Makefile template for the Alice HLT PHOS library
+
+MODULE = AliHLTPHOS
+
+AM_CPPFLAGS = @ALIROOT_CPPFLAGS@ \
+ -I$(top_srcdir)/BASE
+
+# library definition
+lib_LTLIBRARIES = libAliHLTPHOS.la
+
+# library sources
+libAliHLTPHOS_la_SOURCES = AliPHOSPulseGenerator.cxx \
+ AliPHOSFitter.cxx
+
+# class header files, the link definition for the root dictionary
+# will be created from the names of the header files
+CLASS_HDRS = AliPHOSPulseGenerator.h \
+ AliPHOSFitter.h
+
+pkginclude_HEADERS = $(CLASS_HDRS)
+
+# version info and linking flags for the library
+libAliHLTPHOS_la_LDFLAGS = -L@ROOTLIBDIR@ \
+ @ROOTLIBS@ \
+ @ALIROOT_LDFLAGS@ \
+ @ALIROOT_LIBS@ \
+ -version-info 0:0:0
+
+# automatic generation of data and time of library build
+COMPILE_INFO = AliHLTPHOSCompileInfo.cxx
+
+# set the file name for the generated root dictionary
+DICTCPP = AliHLTPHOS-DICT.cxx
+# add additional include files which are necessary for the compilation of the
+# dictionary files and which are not part of the CLASS_HDRS
+DICTINCLUDE =
+
+nodist_libAliHLTPHOS_la_SOURCES = $(COMPILE_INFO) \
+ $(DICTCPP)
+
+CLEANFILES = $(COMPILE_INFO)
+
+include $(top_srcdir)/make.dict
+
+$(COMPILE_INFO): $(libAliHLTPHOS_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
+ @echo '//automatically generated compilation info' > $@
+ @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
+ @echo '//add changes in Makefile.am' >> $@
+ @echo '#include <iostream>' >> $@
+ @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@
+ @echo '{date=__DATE__; time=__TIME__; return;}' >> $@
+ @echo >> $@
+ @echo 'void __init()'>> $@
+ @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@
This packages is maintained by Matthias.Richter@ift.uib.no
Comments, bug reports, suggestions welcome!
-Overview
-========
+TOC
+===
+1. Overview
+2. Requirements
+3. Setting up a version retrieved from CVS
+4. Modifying a distributed package
+5. Installation
+6. Documentation
+7. Further information
+8. Reporting bugs/Asking for support
+9. Committing to the AliRoot CVS
+
+1. Overview
+===========
This package provides a compilation of shared libraries of the ALICE
HLT project and is intended for stand-alone compilation, i.e. not as part
of the AliRoot compilation.
The old stand-alone build system is still available. Check the README
file in the doc folder.
-Requirements
-============
+2. Requirements
+===============
The package needs both ROOT and AliRoot. Both must be set up in the
usual way (ROOTSYS, ALICE_ROOT, library locations evtl. specified in
LD_LIBRARY_PATH, ...). Actually, the BASE and SampleLib modules are
If your GNU build tools are too old, ask the maintainers for a distributed
package.
-Setting up a version retrieved from CVS
-=======================================
+3. Setting up a version retrieved from CVS
+==========================================
Skip this section if you have started from the tar ball.
A version checked out from CVS requires a few steps to set up the Makefiles.
Then continue with the package configuration described in the 'Installation'
section.
-Modifying a distributed package
-===============================
+4. Modifying a distributed package
+==================================
If you are going the modify a distributed package you might need to re-make
the GNU build system by running
autoreconf -f -i
Then continue with the package configuration described in the 'Installation'
section.
-Installation
-============
+5. Installation
+===============
NOTE: The Makefiles which are in repository are part of the old build system.
Now, the Makefile.am templates are valid.
./configure --help | less
-Documentation
-=============
+6. Documentation
+================
Documentation is generated from the source code at compile time if
doxygen is installed on the machine. From the build directory, open
doc/html/index.html with a web browser.
-Further information
-===================
+7. Further information
+======================
A wiki with detailed information is set up at
http://www.kip.uni-heidelberg.de/wiki/HLT
-Reporting bugs/Asking for support
-=================================
+8. Reporting bugs/Asking for support
+====================================
Please include the following information into your request:
- config.log from your build directory
- output of the make process. Note: Redirect BOTH the stdout and stderr
bash: make 2>&1 | tee make.log
csh: make |& tee make.log
The 'tee' command just duplicates the output.
+- history of the commands you are using for compilation
+ history > history.log
+
+9. Committing to the AliRoot CVS
+================================
+For development of HLT analysis code check out a HEAD version from the
+repository and implement your code. For committing do:
+1. cvs update
+2. correct merging conflicts
+3. compile and test your code again
+4. send the whole HLT module except the build sub-directories to
+ Matthias.Richter@ift.uib.no
+5. you will get a notification when the code is committed, right after that you
+ must either do another cvs update or check out the complete module again in
+ order to have the right CVS information
AM_CONDITIONAL(EN_HLT_TPC, test x$enable_tpc = xyes)
AC_MSG_RESULT([$enable_tpc])
+dnl ------------------------------------------------------------------
+AC_MSG_CHECKING([whether to compile phos library])
+AH_TEMPLATE([HLT_PHOS],[hlt phos library])
+AC_ARG_ENABLE(phos,
+ [AC_HELP_STRING([--enable-phos],
+ [compile the phos library ])],
+ [],[enable_phos=yes])
+if test "x$have_aliroot" = "xno" ; then
+ enable_phos="no...requires.AliRoot"
+fi
+if test "x$enable_phos" = "xyes" ; then
+ AC_DEFINE(HLT_PHOS)
+fi
+AM_CONDITIONAL(EN_HLT_PHOS, test x$enable_phos = xyes)
+AC_MSG_RESULT([$enable_phos])
+
dnl ------------------------------------------------------------------
AC_MSG_CHECKING([whether to enable HLT logging])
AH_TEMPLATE([NOLOGGING],[disable hlt logging])
TPCLib/Makefile
TPCLib/mapping2array.cxx
TPCLib/OnlineDisplay/Makefile
+ PHOS/Makefile
doc/Makefile
doc/doxygen.conf])