]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/Makefile
Support for Geant4 modules in the flat makefile
[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 \
a58bb081 18 AliEMCALClusterizer.cxx AliEMCALClusterizerv1.cxx \
e8f1e037 19 AliEMCALHadronCorrection.cxx AliEMCALHadronCorrectionv0.cxx \
20 AliEMCALJetMicroDst.cxx
471f69dc 21
22# FORTRAN sources
23
c3fc2536 24FSRCS = jet_finder_ua1.F sgpdge.F
471f69dc 25
2012850d 26# C++ Headers
27
28HDRS = $(SRCS:.cxx=.h) $(ROOTSYS)/include/TTree.h EMCALLinkDef.h
29
30# Library dictionary
31
32DICT = EMCALCint.cxx
33DICTH = $(DICT:.cxx=.h)
34DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
35
36# C++ Objects
37
38OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
39
471f69dc 40# FORTRAN Objects
41FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
2012850d 42# C++ compilation flags
43
44CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
45
471f69dc 46
47FFLAGS = $(FOPT)
48
2012850d 49ALSRCS = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c
50
51ALOBJS = $(SHOBJS) $(RCOBJS) $(DUOBJS)
52
53##### COMMANDS #####
54
55SLIBRARY = $(LIBDIR)/libEMCAL.$(SL)
56
57default: $(SLIBRARY)
58
59$(LIBDIR)/libEMCAL.$(SL): $(OBJS) $(FOBJS)
60
61$(DICT): $(HDRS)
62
471f69dc 63depend: $(SRCS)
2012850d 64
471f69dc 65TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
2012850d 66
67CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
68
69############################### General Macros ################################
70
71include $(ALICE_ROOT)/conf/GeneralMacros
72
73############################ Dependencies #####################################
74
75-include tgt_$(ALICE_TARGET)/Make-depend
76