]>
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 \ |
a84677ac | 14 | AliEMCALSDigitizer.cxx AliEMCALDigitizer.cxx \ |
15 | AliEMCALGetter.cxx AliEMCALTick.cxx | |
16 | # AliEMCALRecPoint.cxx AliEMCALEmcRecPoint.cxx AliEMCALClusterizer.cxx | |
2012850d | 17 | |
18 | # C++ Headers | |
19 | ||
20 | HDRS = $(SRCS:.cxx=.h) $(ROOTSYS)/include/TTree.h EMCALLinkDef.h | |
21 | ||
22 | # Library dictionary | |
23 | ||
24 | DICT = EMCALCint.cxx | |
25 | DICTH = $(DICT:.cxx=.h) | |
26 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) | |
27 | ||
28 | # C++ Objects | |
29 | ||
30 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) | |
31 | ||
32 | # C++ compilation flags | |
33 | ||
34 | CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ | |
35 | ||
36 | ALSRCS = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c | |
37 | ||
38 | ALOBJS = $(SHOBJS) $(RCOBJS) $(DUOBJS) | |
39 | ||
40 | ##### COMMANDS ##### | |
41 | ||
42 | SLIBRARY = $(LIBDIR)/libEMCAL.$(SL) | |
43 | ||
44 | default: $(SLIBRARY) | |
45 | ||
46 | $(LIBDIR)/libEMCAL.$(SL): $(OBJS) $(FOBJS) | |
47 | ||
48 | $(DICT): $(HDRS) | |
49 | ||
50 | depend: $(SRCS) | |
51 | ||
52 | TOCLEAN = $(OBJS) *Cint.cxx *Cint.h | |
53 | ||
54 | CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) | |
55 | ||
56 | ############################### General Macros ################################ | |
57 | ||
58 | include $(ALICE_ROOT)/conf/GeneralMacros | |
59 | ||
60 | ############################ Dependencies ##################################### | |
61 | ||
62 | -include tgt_$(ALICE_TARGET)/Make-depend | |
63 | ||
64 | ||
65 | ||
66 | ||
67 | ||
68 | ||
69 |