From ff4edceedc9326ef483f0aa1dc7e2d7a72dd9eb5 Mon Sep 17 00:00:00 2001 From: richterm Date: Wed, 30 Jul 2008 12:05:14 +0000 Subject: [PATCH] added skeleton for HLTpendolino library --- HLT/Makefile.am | 3 +- HLT/configure.ac | 1 + HLT/pendolino/Makefile.am | 60 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 HLT/pendolino/Makefile.am diff --git a/HLT/Makefile.am b/HLT/Makefile.am index c6f38fded17..654956768b5 100644 --- a/HLT/Makefile.am +++ b/HLT/Makefile.am @@ -5,7 +5,8 @@ if HAVE_ALIROOT ALIROOT_DEP=sim \ rec \ - shuttle + shuttle \ + pendolino endif if EN_HLT_SAMPLE diff --git a/HLT/configure.ac b/HLT/configure.ac index d6b201faf20..56d3154c093 100644 --- a/HLT/configure.ac +++ b/HLT/configure.ac @@ -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 index 00000000000..ddd843af43f --- /dev/null +++ b/HLT/pendolino/Makefile.am @@ -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;}' >> $@ -- 2.43.0