]>
Commit | Line | Data |
---|---|---|
1 | ############################### EMCAL Makefile ################################# | |
2 | ||
3 | # Include machine specific definitions | |
4 | ||
5 | include $(ALICE_ROOT)/conf/GeneralDef | |
6 | include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET) | |
7 | ||
8 | PACKAGE = EMCAL | |
9 | ||
10 | # C++ sources | |
11 | ||
12 | SRCS = AliEMCAL.cxx AliEMCALGeometry.cxx AliEMCALv0.cxx \ | |
13 | AliEMCALv1.cxx AliEMCALHit.cxx AliEMCALDigit.cxx \ | |
14 | AliEMCALSDigitizer.cxx AliEMCALDigitizer.cxx \ | |
15 | AliEMCALGetter.cxx \ | |
16 | AliEMCALJetFinder.cxx AliEMCALJet.cxx AliEMCALFast.cxx \ | |
17 | AliEMCALGetter.cxx AliEMCALTick.cxx \ | |
18 | AliEMCALHadronCorrection.cxx AliEMCALHadronCorrectionv0.cxx | |
19 | # AliEMCALRecPoint.cxx AliEMCALEmcRecPoint.cxx AliEMCALClusterizer.cxx | |
20 | ||
21 | # FORTRAN sources | |
22 | ||
23 | FSRCS = jet_finder_ua1.F | |
24 | ||
25 | # C++ Headers | |
26 | ||
27 | HDRS = $(SRCS:.cxx=.h) $(ROOTSYS)/include/TTree.h EMCALLinkDef.h | |
28 | ||
29 | # Library dictionary | |
30 | ||
31 | DICT = EMCALCint.cxx | |
32 | DICTH = $(DICT:.cxx=.h) | |
33 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) | |
34 | ||
35 | # C++ Objects | |
36 | ||
37 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) | |
38 | ||
39 | # FORTRAN Objects | |
40 | FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS)) | |
41 | # C++ compilation flags | |
42 | ||
43 | CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ | |
44 | ||
45 | ||
46 | FFLAGS = $(FOPT) | |
47 | ||
48 | ALSRCS = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c | |
49 | ||
50 | ALOBJS = $(SHOBJS) $(RCOBJS) $(DUOBJS) | |
51 | ||
52 | ##### COMMANDS ##### | |
53 | ||
54 | SLIBRARY = $(LIBDIR)/libEMCAL.$(SL) | |
55 | ||
56 | default: $(SLIBRARY) | |
57 | ||
58 | $(LIBDIR)/libEMCAL.$(SL): $(OBJS) $(FOBJS) | |
59 | ||
60 | $(DICT): $(HDRS) | |
61 | ||
62 | depend: $(SRCS) | |
63 | ||
64 | TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h | |
65 | ||
66 | CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) | |
67 | ||
68 | ############################### General Macros ################################ | |
69 | ||
70 | include $(ALICE_ROOT)/conf/GeneralMacros | |
71 | ||
72 | ############################ Dependencies ##################################### | |
73 | ||
74 | -include tgt_$(ALICE_TARGET)/Make-depend | |
75 | ||
76 | ||
77 | ||
78 | ||
79 | ||
80 | ||
81 |