]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/Makefile
Changed default digitisation to all particles.
[u/mrichter/AliRoot.git] / MUON / Makefile
CommitLineData
fe4da5cc 1############################### MUON Makefile #################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = MUON
9
10# C++ sources
11
a9e2aefa 12SRCS = AliMUONChamber.cxx AliMUONChamberTrigger.cxx \
ad1184d9 13 AliMUONSegmentationV0.cxx\
a9e2aefa 14 AliMUONResponse.cxx AliMUONResponseV0.cxx \
15 AliMUONSegmentationV01.cxx \
16 AliMUONSegmentationV02.cxx AliMUONSegmentationV04.cxx \
17 AliMUONSegmentationV05.cxx\
18 AliMUONSegmentationTrigger.cxx AliMUONResponseTrigger.cxx\
19 AliMUONSegmentationTriggerX.cxx AliMUONSegmentationTriggerY.cxx \
20 AliMUONSegmentationV1.cxx AliMUON.cxx AliMUONv0.cxx AliMUONv1.cxx\
21 AliMUONDisplay.cxx AliMUONPoints.cxx \
fc2ab451 22 AliMUONClusterFinderVS.cxx \
ad1184d9 23 AliMUONHitMapA1.cxx \
a9e2aefa 24 AliMUONHit.cxx AliMUONPadHit.cxx AliMUONDigit.cxx \
25 AliMUONTransientDigit.cxx AliMUONRawCluster.cxx \
26 AliMUONReconstHit.cxx \
27 AliMUONTrackReconstructor.cxx \
28 AliMUONEventReconstructor.cxx \
29 AliMUONTriggerDecision.cxx \
30 AliMUONHitForRec.cxx AliMUONSegment.cxx \
31 AliMUONTrack.cxx AliMUONTrackHit.cxx AliMUONTrackParam.cxx \
32 AliMUONTriggerCircuit.cxx AliMUONTriggerLut.cxx \
33 AliMUONGlobalTrigger.cxx AliMUONLocalTrigger.cxx \
30aaba74 34 AliMUONTriggerConstants.cxx AliMUONConstants.cxx \
4c503756 35 AliMUONClusterInput.cxx \
36 AliMUONSegmentationSlatModule.cxx AliMUONSegmentationSlatModuleN.cxx \
37 AliMUONSegmentationSlat.cxx AliMUONSegmentationSlatN.cxx
fe4da5cc 38
39# C++ Headers
40
c1a185bf 41HDRS = $(SRCS:.cxx=.h) \
42 $(ROOTSYS)/include/TF1.h \
43 $(ROOTSYS)/include/TH3.h \
44 $(ROOTSYS)/include/TMarker3DBox.h \
45 $(ROOTSYS)/include/TMatrix.h \
46 $(ROOTSYS)/include/TTree.h \
47 MUONLinkDef.h
fe4da5cc 48
49# Library dictionary
50
51DICT = MUONCint.cxx
52DICTH = $(DICT:.cxx=.h)
4adb943a 53DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 54
55# Fortran sources
56
a6f03ddb 57FSRCS = reco_muon.F extrap.F
fe4da5cc 58
59# FORTRAN Objectrs
60
4adb943a 61FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 62
63# C Objects
64
4adb943a 65COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 66
67# C++ Objects
68
4adb943a 69OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 70
71# C++ compilation flags
72
73CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
74
75# FORTRAN compilation flags
76
77FFLAGS = $(FOPT)
78
79##### TARGETS #####
80
81# Target
82
cb342460 83SLIBRARY = $(LIBDIR)/libMUON.$(SL)
84ALIBRARY = $(LIBDIR)/libMUON.a
fe4da5cc 85
86default: $(SLIBRARY)
87
cb342460 88$(LIBDIR)/libMUON.$(SL): $(OBJS) $(FOBJS)
fe4da5cc 89
90$(DICT): $(HDRS)
91
92depend: $(SRCS)
93
94TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
95
7065831b 96CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
97
fe4da5cc 98############################### General Macros ################################
99
100include $(ALICE_ROOT)/conf/GeneralMacros
101
102############################ Dependencies #####################################
103
1207d6f2 104-include tgt_$(ALICE_TARGET)/Make-depend