]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HBTAN/Makefile
Bugfix in AliPoints2Memory
[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                 AliHBTReaderPPprod.cxx\
21                 AliHBTReaderITSv1.cxx AliHBTReaderITSv2.cxx\
22                 AliHBTReaderKineTree.cxx AliHBTReaderInternal.cxx\
23                 AliHBTTwoTrackEffFctn.cxx \
24                 AliHBTQResolutionFctns.cxx AliHBTQDistributionFctns.cxx \
25                 AliHBTMonitorFunction.cxx \
26                 AliHBTMonResolutionFctns.cxx AliHBTMonDistributionFctns.cxx \
27                 AliHBTLLWeights.cxx AliHBTLLWeightFctn.cxx 
28
29 # Fortran sources
30
31 FSRCS          = fsiini.F fsiw.F led_bldata.F ltran12.F
32
33 # C++ Headers
34
35 HDRS          = $(SRCS:.cxx=.h) HBTAnalysisLinkDef.h
36
37 # Library dictionary
38
39 DICT          = HBTAnalysisCint.cxx
40 DICTH         = $(DICT:.cxx=.h)
41 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
42
43 # FORTRAN Objectrs
44
45 FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
46
47 # C Objects
48
49 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
50
51 # C++ Objects
52
53 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) 
54
55 # C++ compilation flags
56
57 INCLUDES      = -I$(ALICE_ROOT)/TPC/ -I$(ALICE_ROOT)/CONTAINERS/ -I$(ALICE_ROOT)/ITS/
58
59 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ $(INCLUDES)
60  
61 # FORTRAN compilation flags
62
63 FFLAGS      = $(FOPT) -I$(ALICE_ROOT)/GEANT321
64
65 ##### TARGETS #####
66  
67 # Target
68
69 SLIBRARY        = $(LIBDIR)/libHBTAN.$(SL)
70 ALIBRARY        = $(LIBDIR)/libHBTAN.a
71
72 default:        $(SLIBRARY)
73
74
75 $(LIBDIR)/libHBTAN.$(SL): $(OBJS) $(FOBJS) 
76
77 $(DICT):                        $(HDRS)
78
79 DEPINC += -I$(ALICE_ROOT)/GEANT321
80
81 depend:                         $(SRCS) $(FSRCS)
82
83 TOCLEAN         = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
84
85 CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
86
87 ############################### General Macros ################################
88
89 include $(ALICE_ROOT)/conf/GeneralMacros
90
91 ############################ Dependencies #####################################
92
93 -include tgt_$(ALICE_TARGET)/Make-depend 
94
95