]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/OnlineDisplay/Makefile.am
commit from Jochen
[u/mrichter/AliRoot.git] / HLT / TPCLib / OnlineDisplay / Makefile.am
CommitLineData
78b557c2 1# $Id$
2# Makefile template for the Alice HLT TPC display library
3
4MODULE = AliHLTTPCDisplay
5
6AM_CPPFLAGS = @ALIROOT_CPPFLAGS@ \
7 @HOMER_CPPFLAGS@ \
8 -I$(top_srcdir)/BASE \
9 -I$(srcdir)/../
10
11# library definition
12lib_LTLIBRARIES = libAliHLTTPCDisplay.la
13
f3f599e0 14LIBRARY_VERSION = '2:0:0'
15
78b557c2 16# library sources
17libAliHLTTPCDisplay_la_SOURCES = AliHLTTPCDisplayMain.cxx \
18 AliHLTTPCDisplay.cxx \
19 AliHLTTPCDisplay3D.cxx \
20 AliHLTTPCDisplayCharge.cxx \
21 AliHLTTPCDisplayFront.cxx \
22 AliHLTTPCDisplayPad.cxx \
23 AliHLTTPCDisplayPadRow.cxx \
24 AliHLTTPCDisplayResiduals.cxx
25
20b6dd9a 26DEFAULT_GEOMETRY = alice.geom
c160eda8 27libAliHLTTPCDisplay_la_DATA = $(srcdir)/$(DEFAULT_GEOMETRY)
20b6dd9a 28libAliHLTTPCDisplay_ladir = $(pkgdatadir)
29AM_CPPFLAGS += -DDEFAULT_GEOMETRY=\"$(libAliHLTTPCDisplay_ladir)/$(DEFAULT_GEOMETRY)\"
30
78b557c2 31# class header files, the link definition for the root dictionary
32# will be created from the names of the header files
4a6b4894 33CLASS_HDRS = AliHLTTPCDisplayMain.h \
78b557c2 34 AliHLTTPCDisplay.h \
35 AliHLTTPCDisplay3D.h \
36 AliHLTTPCDisplayCharge.h \
37 AliHLTTPCDisplayFront.h \
38 AliHLTTPCDisplayPad.h \
39 AliHLTTPCDisplayPadRow.h \
40 AliHLTTPCDisplayResiduals.h
41
42
43
4a6b4894 44pkginclude_HEADERS = $(CLASS_HDRS)
78b557c2 45
46# version info for the library
47libAliHLTTPCDisplay_la_LDFLAGS = -L@ROOTLIBDIR@ \
48 @ROOTLIBS@ \
49 @ALIROOT_LDFLAGS@ \
50 @ALIROOT_LIBS@ \
51 @HOMER_LDFLAGS@ \
5f1685a0 52 @HOMER_LIBS@ \
f3f599e0 53 -version-info $(LIBRARY_VERSION)
20b6dd9a 54
55# automatic generation of data and time of library build
56COMPILE_INFO = AliHLTTPCDisplayCompileInfo.cxx
78b557c2 57
58# set the file name for the generated root dictionary
59DICTCPP = AliHLTTPCDisplay-DICT.cxx
4a6b4894 60# add additional include files which are necessary for the compilation of the
61# dictionary files and which are not part of the CLASS_HDRS
62DICTINCLUDE = AliHLTTPCSpacePointData.h \
63 AliHLTTPCTrackArray.h
20b6dd9a 64nodist_libAliHLTTPCDisplay_la_SOURCES = $(COMPILE_INFO) \
65 $(DICTCPP)
78b557c2 66
c160eda8 67EXTRA_DIST = $(libAliHLTTPCDisplay_la_DATA)
68CLEANFILES = $(COMPILE_INFO)
78b557c2 69
70include $(top_srcdir)/make.dict
20b6dd9a 71
72$(COMPILE_INFO): $(libAliHLTTPCDisplay_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS) Makefile.am
73 @echo '//automatically generated compilation info' > $@
74 @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
75 @echo '//add changes in Makefile.am' >> $@
76 @echo '#include <iostream>' >> $@
77 @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@
78 @echo '{date=__DATE__; time=__TIME__; return;}' >> $@
79 @echo >> $@
80 @echo 'extern "C" const char* __lib$(MODULE)Properties=""' >> $@
81 @echo '#if defined(HAVE_HOMERREADER) ' >> $@
82 @echo '"HOMER"' >> $@
83 @echo '#endif // defined(HAVE_HOMERREADER)' >> $@
84 @echo ';' >> $@
85 @echo >> $@
86 @echo 'void __init()'>> $@
87 @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@