]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/Makefile
08c726e3f9b9cb5d4e18d2529707e35328510e22
[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                AliMUONSegmentation.cxx  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 AliMUONClusterFinder.cxx \
23                AliMUONHitMap.cxx 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
35 # C++ Headers
36
37 HDRS          = $(SRCS:.cxx=.h) MUONLinkDef.h
38
39 # Library dictionary
40
41 DICT          = MUONCint.cxx
42 DICTH         = $(DICT:.cxx=.h)
43 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
44
45 # Fortran sources
46
47 FSRCS         = reco_muon.F
48
49 # FORTRAN Objectrs
50
51 FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
52
53 # C Objects
54
55 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
56
57 # C++ Objects
58
59 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
60
61 # C++ compilation flags
62
63 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
64  
65 # FORTRAN compilation flags
66
67 FFLAGS      = $(FOPT)
68
69 ##### TARGETS #####
70  
71 # Target
72
73 SLIBRARY        = $(LIBDIR)/libMUON.$(SL)
74 ALIBRARY        = $(LIBDIR)/libMUON.a
75
76 default:        $(SLIBRARY)
77
78 $(LIBDIR)/libMUON.$(SL):        $(OBJS) $(FOBJS)
79
80 $(DICT):                        $(HDRS)
81
82 depend:                         $(SRCS)
83
84 TOCLEAN         = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
85
86 CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
87
88 ############################### General Macros ################################
89
90 include $(ALICE_ROOT)/conf/GeneralMacros
91
92 ############################ Dependencies #####################################
93
94 -include tgt_$(ALICE_TARGET)/Make-depend 
95
96 # DO NOT DELETE