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