]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HBTAN/Makefile
This commit was generated by cvs2svn to compensate for changes in r4472,
[u/mrichter/AliRoot.git] / HBTAN / Makefile
1 ############################### HBTAnalysis Makefile ##################################
2
3 # Include machine specific definitions
4
5 include $(ALICE_ROOT)/conf/GeneralDef
6 include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8
9 OPT = -g
10 PACKAGE = HBTAnalysis
11
12 # C++ sources
13
14 SRCS          = AliHBTAnalysis.cxx AliHBTFunction.cxx \
15                 AliHBTEvent.cxx AliHBTRun.cxx \
16                 AliHBTParticle.cxx AliHBTParticleCut.cxx \
17                 AliHBTPair.cxx AliHBTPairCut.cxx\
18                 AliHBTCorrelFctn.cxx \
19                 AliHBTReader.cxx AliHBTReaderTPC.cxx\
20                 AliHBTQResolutionFctns.cxx AliHBTReaderPPprod.cxx
21
22 # Fortran sources
23
24 FSRCS          = 
25
26 # C++ Headers
27
28 HDRS          = $(SRCS:.cxx=.h) HBTAnalysisLinkDef.h
29
30 # Library dictionary
31
32 DICT          = HBTAnalysisCint.cxx
33 DICTH         = $(DICT:.cxx=.h)
34 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
35
36 # FORTRAN Objectrs
37
38 FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
39
40 # C Objects
41
42 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
43
44 # C++ Objects
45
46 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
47
48 # C++ compilation flags
49
50 INCLUDES      = -I$(ALICE_ROOT)/TPC/ -I$(ALICE_ROOT)/CONTAINERS/
51
52 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ $(INCLUDES)
53  
54 # FORTRAN compilation flags
55
56 FFLAGS      = $(FOPT) -I$(ALICE_ROOT)/GEANT321
57
58 ##### TARGETS #####
59  
60 # Target
61
62 SLIBRARY        = $(LIBDIR)/libHBTAnalysis.$(SL)
63 ALIBRARY        = $(LIBDIR)/libHBTAnalysis.a
64
65 default:        $(SLIBRARY)
66
67
68 $(LIBDIR)/libHBTAnalysis.$(SL):         $(OBJS)
69
70 $(DICT):                        $(HDRS)
71
72 DEPINC += -I$(ALICE_ROOT)/GEANT321
73
74 depend:                         $(SRCS) $(FSRCS)
75
76 TOCLEAN         = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
77
78 CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
79
80 ############################### General Macros ################################
81
82 include $(ALICE_ROOT)/conf/GeneralMacros
83
84 ############################ Dependencies #####################################
85
86 -include tgt_$(ALICE_TARGET)/Make-depend 
87
88