]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/Makefile
NodeName array dimension enlarged
[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
a897a37a 12SRCS = AliMUONchamber.cxx AliMUONSegResV0.cxx AliMUONSegResV01.cxx \
13 AliMUONSegResV02.cxx AliMUONSegResV04.cxx AliMUONSegResV05.cxx\
14 AliMUONSegResV1.cxx AliMUON.cxx AliMUONv0.cxx \
15 AliMUONdisplay.cxx AliMUONpoints.cxx \
16 AliMUONClusterFinder.cxx AliMUONClusterFinderv0.cxx \
17 AliMUONHitMap.cxx AliMUONTUBE.cxx
fe4da5cc 18
19# C++ Headers
20
21HDRS = $(SRCS:.cxx=.h) AliMUONConst.h MUONLinkDef.h
22
23# Library dictionary
24
25DICT = MUONCint.cxx
26DICTH = $(DICT:.cxx=.h)
4adb943a 27DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 28
29# Fortran sources
30
a897a37a 31FSRCS = algo.F reco_muon.F
fe4da5cc 32
33# FORTRAN Objectrs
34
4adb943a 35FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 36
37# C Objects
38
4adb943a 39COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 40
41# C++ Objects
42
4adb943a 43OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 44
45# C++ compilation flags
46
47CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
48
49# FORTRAN compilation flags
50
51FFLAGS = $(FOPT)
52
53##### TARGETS #####
54
55# Target
56
cb342460 57SLIBRARY = $(LIBDIR)/libMUON.$(SL)
58ALIBRARY = $(LIBDIR)/libMUON.a
fe4da5cc 59
60default: $(SLIBRARY)
61
cb342460 62$(LIBDIR)/libMUON.$(SL): $(OBJS) $(FOBJS)
fe4da5cc 63
64$(DICT): $(HDRS)
65
66depend: $(SRCS)
67
68TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
69
e2fe4c02 70CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
71
fe4da5cc 72############################### General Macros ################################
73
74include $(ALICE_ROOT)/conf/GeneralMacros
75
76############################ Dependencies #####################################
77
1207d6f2 78-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 79