]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/Makefile
New package for reconstructed tracks (A. Gheata):
[u/mrichter/AliRoot.git] / MUON / Makefile
1 ############################### MUON Makefile #################################
2
3 # Include machine specific definitions
4
5 include $(ALICE_ROOT)/conf/GeneralDef
6 include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8 PACKAGE = MUON
9
10 # C++ sources
11
12 SRCS         = AliMUONChamber.cxx AliMUONChamberTrigger.cxx \
13                AliMUONSegmentationV0.cxx\
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 \
22                AliMUONClusterFinderVS.cxx \
23                AliMUONHitMapA1.cxx \
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 \
34                AliMUONTriggerConstants.cxx  AliMUONConstants.cxx \
35                AliMUONClusterInput.cxx  \
36                AliMUONSegmentationSlatModule.cxx AliMUONSegmentationSlatModuleN.cxx \
37                AliMUONSegmentationSlat.cxx AliMUONSegmentationSlatN.cxx \
38                AliMUONRecoEvent.cxx AliMUONRecoDisplay.cxx
39
40 # C++ Headers
41
42 HDRS          = $(SRCS:.cxx=.h) \
43                 $(ROOTSYS)/include/TF1.h \
44                 $(ROOTSYS)/include/TH3.h \
45                 $(ROOTSYS)/include/TMarker3DBox.h \
46                 $(ROOTSYS)/include/TMatrix.h \
47                 $(ROOTSYS)/include/TTree.h \
48                 MUONLinkDef.h
49
50 # Library dictionary
51
52 DICT          = MUONCint.cxx
53 DICTH         = $(DICT:.cxx=.h)
54 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
55
56 # Fortran sources
57
58 FSRCS         = reco_muon.F extrap.F
59
60 # FORTRAN Objectrs
61
62 FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
63
64 # C Objects
65
66 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
67
68 # C++ Objects
69
70 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
71
72 # C++ compilation flags
73
74 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
75  
76 # FORTRAN compilation flags
77
78 FFLAGS      = $(FOPT)
79
80 ##### TARGETS #####
81  
82 # Target
83
84 SLIBRARY        = $(LIBDIR)/libMUON.$(SL)
85 ALIBRARY        = $(LIBDIR)/libMUON.a
86
87 default:        $(SLIBRARY)
88
89 $(LIBDIR)/libMUON.$(SL):        $(OBJS) $(FOBJS)
90
91 $(DICT):                        $(HDRS)
92
93 depend:                         $(SRCS)
94
95 TOCLEAN         = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
96
97 CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
98
99 ############################### General Macros ################################
100
101 include $(ALICE_ROOT)/conf/GeneralMacros
102
103 ############################ Dependencies #####################################
104
105 -include tgt_$(ALICE_TARGET)/Make-depend