added skeleton for HLTpendolino library
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 30 Jul 2008 12:05:14 +0000 (12:05 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 30 Jul 2008 12:05:14 +0000 (12:05 +0000)
HLT/Makefile.am
HLT/configure.ac
HLT/pendolino/Makefile.am [new file with mode: 0644]

index c6f38fd..6549567 100644 (file)
@@ -5,7 +5,8 @@
 if HAVE_ALIROOT
 ALIROOT_DEP=sim \
            rec \
-           shuttle
+           shuttle \
+           pendolino
 endif
 
 if EN_HLT_SAMPLE
index d6b201f..56d3154 100644 (file)
@@ -993,6 +993,7 @@ if test "x$have_aliroot" != "xno"; then
                   rec/Makefile  
                   rec/test/Makefile     
                   shuttle/Makefile
+                  pendolino/Makefile
                   ])
 fi
 if test "x$prefix" != "xNONE" && test $ALICE_ROOT = $prefix ; then
diff --git a/HLT/pendolino/Makefile.am b/HLT/pendolino/Makefile.am
new file mode 100644 (file)
index 0000000..ddd843a
--- /dev/null
@@ -0,0 +1,60 @@
+# $Id$
+# Makefile template for the Alice HLT pendolino
+
+MODULE                         = HLTpendolino
+
+SUBDIRS                        = 
+
+EXTRA_DIST                     = 
+
+# library definition
+lib_LTLIBRARIES                        =  libHLTpendolino.la
+
+# version info for the library
+LIBRARY_VERSION                        = "$(LIBHLTPENDOLINO_VERSION):0:0"
+
+# MODDIR is set by the AliRoot build system and denotes the topdir
+# of the module, we must set it since the package definition libHLTpendolino.pkg
+# includes another common configuration file
+MODDIR                         = $(top_srcdir)
+PKGDEF                         = $(MODDIR)/libHLTpendolino.pkg
+include $(top_srcdir)/libHLTpendolino.pkg
+
+# compiler flags
+AM_CPPFLAGS                    = -DMODULE=$(MODULE) \
+                                 $(PACKCXXFLAGS) \
+                                 $(foreach i, $(EINCLUDE),  \
+                                       $(shell echo $(i) | sed -e "/HLT\//!d" -e "s|HLT/|-I$(top_srcdir)/|")) \
+                                 $(foreach i, $(EINCLUDE),  \
+                                       $(shell echo $(i) | sed -e "/HLT\//d" -e "s|^|-I$(ALICE_ROOT)/|"))
+# library sources
+libHLTpendolino_la_SOURCES     = $(MODULE_SRCS)
+
+# library headers
+pkginclude_HEADERS             = $(MODULE_HDRS)
+
+# linker flags
+libHLTpendolino_la_LDFLAGS     = -L@ROOTLIBDIR@ \
+                                 @ROOTLIBS@ \
+                                 @ALIROOT_LDFLAGS@ \
+                                 @ALIROOT_LIBS@ \
+                                 -version-info $(LIBRARY_VERSION)
+
+# automatic generation of data and time of library build
+COMPILE_INFO                   =  HLTpendolinoCompileInfo.cxx
+
+# set the file name for the generated root dictionary
+DICTCPP                                =  HLTpendolino-DICT.cxx
+nodist_libHLTpendolino_la_SOURCES      =  $(COMPILE_INFO) \
+                                  $(DICTCPP)
+
+CLEANFILES                     =  $(COMPILE_INFO)
+
+include $(top_srcdir)/make.dict
+
+$(COMPILE_INFO): $(libHLTpendolino_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 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
+       @echo '{date=__DATE__; time=__TIME__; return;}' >> $@