]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/Makefile
Dependency on implementations of AliSegmentation and AliMUONResponse moved to AliMUON...
[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\
9e8ff550 19 AliMUONResponseTriggerV1.cxx\
a9e2aefa 20 AliMUONSegmentationTriggerX.cxx AliMUONSegmentationTriggerY.cxx \
72081c9b 21 AliMUONSegmentationV1.cxx AliMUON.cxx AliMUONv0.cxx AliMUONv1.cxx AliMUONvTemp.cxx\
a9e2aefa 22 AliMUONDisplay.cxx AliMUONPoints.cxx \
fc2ab451 23 AliMUONClusterFinderVS.cxx \
ad1184d9 24 AliMUONHitMapA1.cxx \
a9e2aefa 25 AliMUONHit.cxx AliMUONPadHit.cxx AliMUONDigit.cxx \
26 AliMUONTransientDigit.cxx AliMUONRawCluster.cxx \
27 AliMUONReconstHit.cxx \
28 AliMUONTrackReconstructor.cxx \
29 AliMUONEventReconstructor.cxx \
30 AliMUONTriggerDecision.cxx \
31 AliMUONHitForRec.cxx AliMUONSegment.cxx \
32 AliMUONTrack.cxx AliMUONTrackHit.cxx AliMUONTrackParam.cxx \
33 AliMUONTriggerCircuit.cxx AliMUONTriggerLut.cxx \
34 AliMUONGlobalTrigger.cxx AliMUONLocalTrigger.cxx \
30aaba74 35 AliMUONTriggerConstants.cxx AliMUONConstants.cxx \
4c503756 36 AliMUONClusterInput.cxx \
37 AliMUONSegmentationSlatModule.cxx AliMUONSegmentationSlatModuleN.cxx \
c7ba256d 38 AliMUONSegmentationSlat.cxx AliMUONSegmentationSlatN.cxx \
66f93042 39 AliMUONRecoEvent.cxx AliMUONRecoDisplay.cxx \
be3bb6c1 40 AliMUONMerger.cxx AliMUONFactory.cxx
fe4da5cc 41
42# C++ Headers
43
c1a185bf 44HDRS = $(SRCS:.cxx=.h) \
45 $(ROOTSYS)/include/TF1.h \
46 $(ROOTSYS)/include/TH3.h \
47 $(ROOTSYS)/include/TMarker3DBox.h \
48 $(ROOTSYS)/include/TMatrix.h \
49 $(ROOTSYS)/include/TTree.h \
50 MUONLinkDef.h
fe4da5cc 51
52# Library dictionary
53
54DICT = MUONCint.cxx
55DICTH = $(DICT:.cxx=.h)
4adb943a 56DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 57
58# Fortran sources
59
a6f03ddb 60FSRCS = reco_muon.F extrap.F
fe4da5cc 61
62# FORTRAN Objectrs
63
4adb943a 64FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 65
66# C Objects
67
4adb943a 68COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 69
70# C++ Objects
71
4adb943a 72OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 73
74# C++ compilation flags
75
76CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
77
78# FORTRAN compilation flags
79
80FFLAGS = $(FOPT)
81
82##### TARGETS #####
83
84# Target
85
cb342460 86SLIBRARY = $(LIBDIR)/libMUON.$(SL)
87ALIBRARY = $(LIBDIR)/libMUON.a
fe4da5cc 88
89default: $(SLIBRARY)
90
cb342460 91$(LIBDIR)/libMUON.$(SL): $(OBJS) $(FOBJS)
fe4da5cc 92
93$(DICT): $(HDRS)
94
95depend: $(SRCS)
96
97TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
98
7065831b 99CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
100
fe4da5cc 101############################### General Macros ################################
102
103include $(ALICE_ROOT)/conf/GeneralMacros
104
105############################ Dependencies #####################################
106
1207d6f2 107-include tgt_$(ALICE_TARGET)/Make-depend