]>
Commit | Line | Data |
---|---|---|
1b446896 | 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\ | |
5c58441a | 20 | AliHBTReaderPPprod.cxx\ |
b19fc848 | 21 | AliHBTReaderITSv1.cxx AliHBTReaderITSv2.cxx\ |
91923a38 | 22 | AliHBTReaderKineTree.cxx AliHBTReaderInternal.cxx\ |
5c58441a | 23 | AliHBTTwoTrackEffFctn.cxx \ |
24 | AliHBTQResolutionFctns.cxx AliHBTQDistributionFctns.cxx \ | |
25 | AliHBTMonitorFunction.cxx \ | |
26 | AliHBTMonResolutionFctns.cxx AliHBTMonDistributionFctns.cxx \ | |
27 | AliHBTLLWeights.cxx AliHBTLLWeightFctn.cxx | |
1b446896 | 28 | |
29 | # Fortran sources | |
30 | ||
8c858929 | 31 | FSRCS = fsiini.F fsiw.F led_bldata.F ltran12.F |
1b446896 | 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 | ||
5c58441a | 53 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) |
1b446896 | 54 | |
55 | # C++ compilation flags | |
56 | ||
b19fc848 | 57 | INCLUDES = -I$(ALICE_ROOT)/TPC/ -I$(ALICE_ROOT)/CONTAINERS/ -I$(ALICE_ROOT)/ITS/ |
1b446896 | 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 | ||
b0837540 | 69 | SLIBRARY = $(LIBDIR)/libHBTAN.$(SL) |
70 | ALIBRARY = $(LIBDIR)/libHBTAN.a | |
1b446896 | 71 | |
72 | default: $(SLIBRARY) | |
73 | ||
74 | ||
5c58441a | 75 | $(LIBDIR)/libHBTAN.$(SL): $(OBJS) $(FOBJS) |
1b446896 | 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 |