Correction of the inheritance scheme
[u/mrichter/AliRoot.git] / ITS / Makefile
CommitLineData
fe4da5cc 1############################### ITS Makefile ##################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = ITS
9
10# C++ sources
11
ed79e3fa 12SRCS = AliITS.cxx \
13AliITSv1.cxx AliITSv3.cxx AliITSv5.cxx\
14AliITShit.cxx \
15AliITSgeom.cxx AliITSgeomSPD.cxx AliITSgeomSDD.cxx AliITSgeomSSD.cxx \
16AliITSmodule.cxx AliITSsimulationFastPoints.cxx\
17AliITSsimulation.cxx AliITSsimulationSPD.cxx \
18AliITSsimulationSDD.cxx AliITSetfSDD.cxx\
19AliITSsimulationSSD.cxx AliITSdcsSSD.cxx\
20AliITSdictSSD.cxx \
21AliITSdigit.cxx \
22AliITSRawCluster.cxx \
23AliITSstatistics.cxx AliITSstatistics2.cxx \
24AliITSMap.cxx \
25AliITSsegmentationSPD.cxx AliITSsegmentationSDD.cxx AliITSsegmentationSSD.cxx\
26AliITSresponseSPD.cxx AliITSresponseSDD.cxx AliITSresponseSSD.cxx\
27AliITSClusterFinder.cxx \
28AliITSClusterFinderSPD.cxx AliITSClusterFinderSDD.cxx AliITSRawData.cxx \
29AliITSHuffman.cxx \
30AliITSClusterFinderSSD.cxx AliITSclusterSSD.cxx AliITSpackageSSD.cxx \
31AliITSDetType.cxx \
32AliITSgeomSPD300.cxx AliITSgeomSPD425.cxx
fe4da5cc 33# Fortran sources
34
766ac21b 35FSRCS =
fe4da5cc 36
37# C++ Headers
38
39HDRS = $(SRCS:.cxx=.h) ITSLinkDef.h
40
41# Library dictionary
42
43DICT = ITSCint.cxx
44DICTH = $(DICT:.cxx=.h)
4adb943a 45DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 46
47# FORTRAN Objectrs
48
4adb943a 49FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 50
51# C Objects
52
4adb943a 53COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 54
55# C++ Objects
56
4adb943a 57OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 58
59# C++ compilation flags
60
61CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
62
63# FORTRAN compilation flags
64
65FFLAGS = $(FOPT) -I$(ALICE_ROOT)/GEANT321
66
67##### TARGETS #####
68
69# Target
70
cb342460 71SLIBRARY = $(LIBDIR)/libITS.$(SL)
72ALIBRARY = $(LIBDIR)/libITS.a
fe4da5cc 73
74default: $(SLIBRARY)
75
58005f18 76
cb342460 77$(LIBDIR)/libITS.$(SL): $(OBJS)
fe4da5cc 78
79$(DICT): $(HDRS)
80
81DEPINC += -I$(ALICE_ROOT)/GEANT321
82
83depend: $(SRCS) $(FSRCS)
84
85TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
86
7a9a209a 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
ed79e3fa 96