2 # Makefile template for the Alice HLT TPC display library
4 MODULE = AliHLTTPCDisplay
6 AM_CPPFLAGS = @ALIROOT_CPPFLAGS@ \
12 lib_LTLIBRARIES = libAliHLTTPCDisplay.la
15 libAliHLTTPCDisplay_la_SOURCES = AliHLTTPCDisplayMain.cxx \
16 AliHLTTPCDisplay.cxx \
17 AliHLTTPCDisplay3D.cxx \
18 AliHLTTPCDisplayCharge.cxx \
19 AliHLTTPCDisplayFront.cxx \
20 AliHLTTPCDisplayPad.cxx \
21 AliHLTTPCDisplayPadRow.cxx \
22 AliHLTTPCDisplayResiduals.cxx
24 DEFAULT_GEOMETRY = alice.geom
25 libAliHLTTPCDisplay_la_DATA = $(DEFAULT_GEOMETRY)
26 libAliHLTTPCDisplay_ladir = $(pkgdatadir)
27 AM_CPPFLAGS += -DDEFAULT_GEOMETRY=\"$(libAliHLTTPCDisplay_ladir)/$(DEFAULT_GEOMETRY)\"
29 # class header files, the link definition for the root dictionary
30 # will be created from the names of the header files
31 CLASS_HDRS = AliHLTTPCDisplayMain.h \
33 AliHLTTPCDisplay3D.h \
34 AliHLTTPCDisplayCharge.h \
35 AliHLTTPCDisplayFront.h \
36 AliHLTTPCDisplayPad.h \
37 AliHLTTPCDisplayPadRow.h \
38 AliHLTTPCDisplayResiduals.h
42 pkginclude_HEADERS = $(CLASS_HDRS)
44 # version info for the library
45 libAliHLTTPCDisplay_la_LDFLAGS = -L@ROOTLIBDIR@ \
52 # automatic generation of data and time of library build
53 COMPILE_INFO = AliHLTTPCDisplayCompileInfo.cxx
55 # set the file name for the generated root dictionary
56 DICTCPP = AliHLTTPCDisplay-DICT.cxx
57 # add additional include files which are necessary for the compilation of the
58 # dictionary files and which are not part of the CLASS_HDRS
59 DICTINCLUDE = AliHLTTPCSpacePointData.h \
61 nodist_libAliHLTTPCDisplay_la_SOURCES = $(COMPILE_INFO) \
66 include $(top_srcdir)/make.dict
68 $(COMPILE_INFO): $(libAliHLTTPCDisplay_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
69 @echo '//automatically generated compilation info' > $@
70 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
71 @echo '//add changes in Makefile.am' >> $@
72 @echo '#include <iostream>' >> $@
73 @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@
74 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@
76 @echo 'extern "C" const char* __lib$(MODULE)Properties=""' >> $@
77 @echo '#if defined(HAVE_HOMERREADER) ' >> $@
79 @echo '#endif // defined(HAVE_HOMERREADER)' >> $@
82 @echo 'void __init()'>> $@
83 @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@