]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/rec/Makefile.am
added forgotten files for new libraries
[u/mrichter/AliRoot.git] / HLT / rec / Makefile.am
1 # $Id$
2 # Makefile template for the Alice HLT reconstruction framework
3
4 MODULE                          = HLTrec
5
6 SUBDIRS                         = 
7
8 EXTRA_DIST                      = 
9
10 AM_CPPFLAGS                     = -DMODULE=$(MODULE) \
11                                   $(PACKCXXFLAGS) \
12                                   @ALIROOT_CPPFLAGS@         \
13                                   -I$(top_srcdir)/BASE
14
15 # library definition
16 lib_LTLIBRARIES                 =  libHLTrec.la
17
18 # version info for the library
19 LIBRARY_VERSION                 = "$(LIBHLTREC_VERSION):0:0"
20
21 # MODDIR is set by the AliRoot build system and denotes the topdir
22 # of the module, we must set it since the package definition libHLTrec.pkg
23 # includes another common configuration file
24 MODDIR                          = $(top_srcdir)
25 PKGDEF                          = $(MODDIR)/libHLTrec.pkg
26 include $(top_srcdir)/libHLTrec.pkg
27
28 # library sources
29 libHLTrec_la_SOURCES            = $(MODULE_SRCS)
30
31 # library headers
32 pkginclude_HEADERS              = $(MODULE_HDRS)
33
34 # linker flags
35 libHLTrec_la_LDFLAGS            = -L@ROOTLIBDIR@ \
36                                   @ROOTLIBS@ \
37                                   -version-info $(LIBRARY_VERSION)
38
39 # automatic generation of data and time of library build
40 COMPILE_INFO                    =  HLTRecCompileInfo.cxx
41
42 # set the file name for the generated root dictionary
43 DICTCPP                         =  HLTrec-DICT.cxx
44 nodist_libHLTrec_la_SOURCES     =  $(COMPILE_INFO) \
45                                    $(DICTCPP)
46
47 CLEANFILES                      =  $(COMPILE_INFO)
48
49 include $(top_srcdir)/make.dict
50
51 $(COMPILE_INFO): $(libHLTrec_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
52         @echo '//automatically generated compilation info' > $@
53         @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
54         @echo '//add changes in Makefile.am' >> $@
55         @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
56         @echo '{date=__DATE__; time=__TIME__; return;}' >> $@