]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/Makefile
Some additional changes related to the previous changes. AliL3Transform
[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                AliMUONResponseTriggerV1.cxx\
20                AliMUONSegmentationTriggerX.cxx AliMUONSegmentationTriggerY.cxx \
21                AliMUONSegmentationV1.cxx AliMUON.cxx AliMUONv0.cxx AliMUONv1.cxx \
22                AliMUONDisplay.cxx AliMUONPoints.cxx \
23                AliMUONClusterFinderVS.cxx \
24                AliMUONHitMapA1.cxx \
25                AliMUONHit.cxx AliMUONPadHit.cxx AliMUONDigit.cxx \
26                AliMUONTransientDigit.cxx AliMUONRawCluster.cxx \
27                AliMUONReconstHit.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                AliMUONMerger.cxx AliMUONFactory.cxx AliMUONDigitizer.cxx 
40
41 # C++ Headers
42
43 HDRS          = $(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
50
51 # Library dictionary
52
53 DICT          = MUONCint.cxx
54 DICTH         = $(DICT:.cxx=.h)
55 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
56
57 # Fortran sources
58
59 FSRCS         = extrap.F
60
61 # FORTRAN Objectrs
62
63 FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
64
65 # C Objects
66
67 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
68
69 # C++ Objects
70
71 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
72
73 # C++ compilation flags
74
75 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ 
76  
77 # FORTRAN compilation flags
78
79 FFLAGS      = $(FOPT)
80
81 ##### TARGETS #####
82  
83 # Target
84
85 SLIBRARY        = $(LIBDIR)/libMUON.$(SL)
86 ALIBRARY        = $(LIBDIR)/libMUON.a
87
88 default:        $(SLIBRARY)
89
90 $(LIBDIR)/libMUON.$(SL):        $(OBJS) $(FOBJS)
91
92 $(DICT):                        $(HDRS)
93
94 depend:                         $(SRCS)
95
96 TOCLEAN         = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
97
98 CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
99
100 ############################### General Macros ################################
101
102 include $(ALICE_ROOT)/conf/GeneralMacros
103
104 ############################ Dependencies #####################################
105
106 -include tgt_$(ALICE_TARGET)/Make-depend