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