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