]>
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 \ |
15 | AliEMCALGetter.cxx \ | |
16 | AliEMCALJetFinder.cxx AliEMCALJet.cxx AliEMCALFast.cxx \ | |
a84677ac | 17 | AliEMCALGetter.cxx AliEMCALTick.cxx |
18 | # AliEMCALRecPoint.cxx AliEMCALEmcRecPoint.cxx AliEMCALClusterizer.cxx | |
2012850d | 19 | |
471f69dc | 20 | |
21 | # FORTRAN sources | |
22 | ||
23 | FSRCS = jet_finder_ua1.F | |
24 | ||
2012850d | 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 | ||
471f69dc | 39 | # FORTRAN Objects |
40 | FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS)) | |
2012850d | 41 | # C++ compilation flags |
42 | ||
43 | CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ | |
44 | ||
471f69dc | 45 | |
46 | FFLAGS = $(FOPT) | |
47 | ||
2012850d | 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 | ||
471f69dc | 62 | depend: $(SRCS) |
2012850d | 63 | |
471f69dc | 64 | TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h |
2012850d | 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 |