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