2 # Makefile template for the Alice HLT TRD library
6 EXTRA_DIST = AliHLTTRDLinkDef.h
8 AM_CPPFLAGS = @ALIROOT_CPPFLAGS@ \
10 -I$(top_srcdir)/BASE/util \
14 lib_LTLIBRARIES = libAliHLTTRD.la
16 # version info for the library
17 LIBRARY_VERSION = '1:0:0'
20 libAliHLTTRD_la_SOURCES = AliTRDclusterizerHLT.cxx \
21 AliHLTTRDDefinitions.cxx \
22 AliHLTTRDClusterizerComponent.cxx \
23 AliHLTTRDTrackerComponent.cxx \
24 AliHLTTRDEsdWriterComponent.cxx \
25 AliHLTTRDCalibrationComponent.cxx
27 # class header files, the link definition for the root dictionary
28 # will be created from the names of the header files
29 CLASS_HDRS = AliTRDclusterizerHLT.h \
30 AliHLTTRDDefinitions.h \
31 AliHLTTRDClusterizerComponent.h \
32 AliHLTTRDTrackerComponent.h \
33 AliHLTTRDEsdWriterComponent.h \
34 AliHLTTRDCalibrationComponent.h
36 pkginclude_HEADERS = $(CLASS_HDRS)
38 libAliHLTTRD_la_LIBADD = $(top_builddir)/BASE/util/libAliHLTUtil.la
39 # version info for the library
40 libAliHLTTRD_la_LDFLAGS = -L@ROOTLIBDIR@ \
44 -version-info $(LIBRARY_VERSION)
46 # automatic generation of data and time of library build
47 COMPILE_INFO = AliHLTTRDCompileInfo.cxx
49 # set the file name for the generated root dictionary
50 DICTCPP = AliHLTTRD-DICT.cxx
51 nodist_libAliHLTTRD_la_SOURCES = $(COMPILE_INFO) \
54 CLEANFILES = $(COMPILE_INFO)
56 include $(top_srcdir)/make.dict
60 $(COMPILE_INFO): $(libAliHLTTPC_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
61 @echo '//automatically generated compilation info' > $@
62 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
63 @echo '//add changes in Makefile.am' >> $@
64 @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
65 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@