]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/Makefile
Correspondance between libEMCAL.pkg and Makefile restored
[u/mrichter/AliRoot.git] / EMCAL / Makefile
CommitLineData
2012850d 1############################### EMCAL Makefile #################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = EMCAL
9
10# C++ sources
11
b13bbe81 12SRCS = 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
22FSRCS = jet_finder_ua1.F
23
2012850d 24# C++ Headers
25
26HDRS = $(SRCS:.cxx=.h) $(ROOTSYS)/include/TTree.h EMCALLinkDef.h
27
28# Library dictionary
29
30DICT = EMCALCint.cxx
31DICTH = $(DICT:.cxx=.h)
32DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
33
34# C++ Objects
35
36OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
37
471f69dc 38# FORTRAN Objects
39FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
2012850d 40# C++ compilation flags
41
42CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
43
471f69dc 44
45FFLAGS = $(FOPT)
46
2012850d 47ALSRCS = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c
48
49ALOBJS = $(SHOBJS) $(RCOBJS) $(DUOBJS)
50
51##### COMMANDS #####
52
53SLIBRARY = $(LIBDIR)/libEMCAL.$(SL)
54
55default: $(SLIBRARY)
56
57$(LIBDIR)/libEMCAL.$(SL): $(OBJS) $(FOBJS)
58
59$(DICT): $(HDRS)
60
471f69dc 61depend: $(SRCS)
2012850d 62
471f69dc 63TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
2012850d 64
65CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
66
67############################### General Macros ################################
68
69include $(ALICE_ROOT)/conf/GeneralMacros
70
71############################ Dependencies #####################################
72
73-include tgt_$(ALICE_TARGET)/Make-depend
74
75
76
77
78
79
80