7f68f59dc931d894909ab35b3c56d0df5103204a
[u/mrichter/AliRoot.git] / HLT / TRD / Makefile.am
1 # $Id$
2 # Makefile template for the Alice HLT TRD library
3
4 MODULE                          = AliHLTTRD
5
6 EXTRA_DIST                      = AliHLTTRDLinkDef.h
7
8 AM_CPPFLAGS                     = @ALIROOT_CPPFLAGS@         \
9                                   -I$(top_srcdir)/BASE \
10                                   -I$(top_srcdir)/BASE/util \
11                                   -I$(ALICE_ROOT)/TRD
12
13 # library definition
14 lib_LTLIBRARIES                 =  libAliHLTTRD.la
15
16 # version info for the library
17 LIBRARY_VERSION                 = '1:0:0'
18
19 # library sources
20 libAliHLTTRD_la_SOURCES         = AliTRDclusterizerHLT.cxx \
21                                   AliHLTTRDDefinitions.cxx \
22                                   AliHLTTRDClusterizerComponent.cxx \
23                                   AliHLTTRDTrackerComponent.cxx \
24                                   AliHLTTRDEsdWriterComponent.cxx \
25                                   AliHLTTRDCalibrationComponent.cxx
26
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
35
36 pkginclude_HEADERS              = $(CLASS_HDRS) 
37
38 libAliHLTTRD_la_LIBADD          = $(top_builddir)/BASE/util/libAliHLTUtil.la
39 # version info for the library
40 libAliHLTTRD_la_LDFLAGS         = -L@ROOTLIBDIR@ \
41                                   @ROOTLIBS@ \
42                                   @ALIROOT_LDFLAGS@ \
43                                   @ALIROOT_LIBS@ \
44                                   -version-info  $(LIBRARY_VERSION)
45
46 # automatic generation of data and time of library build
47 COMPILE_INFO                    =  AliHLTTRDCompileInfo.cxx
48
49 # set the file name for the generated root dictionary
50 DICTCPP                         =  AliHLTTRD-DICT.cxx
51 nodist_libAliHLTTRD_la_SOURCES  =  $(COMPILE_INFO) \
52                                    $(DICTCPP)
53
54 CLEANFILES                      = $(COMPILE_INFO)
55
56 include $(top_srcdir)/make.dict
57
58 SUBDIRS                         = . 
59
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;}' >> $@