]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/Makefile
Major upgrade of AliRoot code
[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 \
21 AliMUONSegmentationV1.cxx AliMUON.cxx AliMUONv0.cxx AliMUONv1.cxx\
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 \
39 AliMUONRecoEvent.cxx AliMUONRecoDisplay.cxx
fe4da5cc 40
41# C++ Headers
42
c1a185bf 43HDRS = $(SRCS:.cxx=.h) \
44 $(ROOTSYS)/include/TF1.h \
45 $(ROOTSYS)/include/TH3.h \
46 $(ROOTSYS)/include/TMarker3DBox.h \
47 $(ROOTSYS)/include/TMatrix.h \
48 $(ROOTSYS)/include/TTree.h \
49 MUONLinkDef.h
fe4da5cc 50
51# Library dictionary
52
53DICT = MUONCint.cxx
54DICTH = $(DICT:.cxx=.h)
4adb943a 55DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 56
57# Fortran sources
58
a6f03ddb 59FSRCS = reco_muon.F extrap.F
fe4da5cc 60
61# FORTRAN Objectrs
62
4adb943a 63FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 64
65# C Objects
66
4adb943a 67COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 68
69# C++ Objects
70
4adb943a 71OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 72
73# C++ compilation flags
74
75CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
76
77# FORTRAN compilation flags
78
79FFLAGS = $(FOPT)
80
81##### TARGETS #####
82
83# Target
84
cb342460 85SLIBRARY = $(LIBDIR)/libMUON.$(SL)
86ALIBRARY = $(LIBDIR)/libMUON.a
fe4da5cc 87
88default: $(SLIBRARY)
89
cb342460 90$(LIBDIR)/libMUON.$(SL): $(OBJS) $(FOBJS)
fe4da5cc 91
92$(DICT): $(HDRS)
93
94depend: $(SRCS)
95
96TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
97
7065831b 98CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
99
fe4da5cc 100############################### General Macros ################################
101
102include $(ALICE_ROOT)/conf/GeneralMacros
103
104############################ Dependencies #####################################
105
1207d6f2 106-include tgt_$(ALICE_TARGET)/Make-depend