Release version of ITS code
[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
e8189707 12SRCS = AliITS.cxx AliITSv1.cxx AliITSv3.cxx AliITSv5.cxx \
13 AliITSvtest.cxx AliITShit.cxx AliITSDetType.cxx \
14 AliITSgeom.cxx AliITSgeomSPD.cxx AliITSgeomSDD.cxx \
15 AliITSgeomSSD.cxx AliITSmodule.cxx \
16 AliITSsimulationFastPoints.cxx \
17 AliITSsimulationFastPointsV0.cxx AliITSsimulation.cxx \
18 AliITSsimulationSPD.cxx AliITSsimulationSDD.cxx \
19 AliITSetfSDD.cxx AliITSsimulationSSD.cxx AliITSdcsSSD.cxx \
20 AliITSdigit.cxx AliITSRawCluster.cxx AliITSRecPoint.cxx \
21 AliITStrack.cxx AliITSMap.cxx AliITSMapA1.cxx AliITSMapA2.cxx \
22 AliITSsegmentation.cxx AliITSsegmentationSPD.cxx \
23 AliITSsegmentationSDD.cxx AliITSsegmentationSSD.cxx\
24 AliITSresponse.cxx AliITSresponseSPD.cxx \
25 AliITSresponseSDD.cxx AliITSresponseSSD.cxx \
26 AliITSClusterFinder.cxx AliITSClusterFinderSPD.cxx \
27 AliITSClusterFinderSDD.cxx AliITSRawData.cxx \
28 AliITSHuffman.cxx AliITSClusterFinderSSD.cxx \
29 AliITSclusterSSD.cxx AliITSpackageSSD.cxx \
30 AliITSdictSSD.cxx AliITSgeomSPD300.cxx AliITSgeomSPD425.cxx \
31 vertex.cxx AliITSstatistics.cxx AliITSstatistics2.cxx \
32 AnalysisITSAlignment.cxx AliITSAlignmentTrack.cxx \
33 AliITSAlignmentModule.cxx
34
fe4da5cc 35# Fortran sources
36
766ac21b 37FSRCS =
fe4da5cc 38
39# C++ Headers
40
41HDRS = $(SRCS:.cxx=.h) ITSLinkDef.h
42
43# Library dictionary
44
45DICT = ITSCint.cxx
46DICTH = $(DICT:.cxx=.h)
4adb943a 47DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 48
49# FORTRAN Objectrs
50
4adb943a 51FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 52
53# C Objects
54
4adb943a 55COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 56
57# C++ Objects
58
4adb943a 59OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 60
61# C++ compilation flags
62
63CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
64
65# FORTRAN compilation flags
66
67FFLAGS = $(FOPT) -I$(ALICE_ROOT)/GEANT321
68
69##### TARGETS #####
70
71# Target
72
cb342460 73SLIBRARY = $(LIBDIR)/libITS.$(SL)
74ALIBRARY = $(LIBDIR)/libITS.a
fe4da5cc 75
76default: $(SLIBRARY)
77
58005f18 78
cb342460 79$(LIBDIR)/libITS.$(SL): $(OBJS)
fe4da5cc 80
81$(DICT): $(HDRS)
82
83DEPINC += -I$(ALICE_ROOT)/GEANT321
84
85depend: $(SRCS) $(FSRCS)
86
87TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
88
7a9a209a 89CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
90
fe4da5cc 91############################### General Macros ################################
92
93include $(ALICE_ROOT)/conf/GeneralMacros
94
95############################ Dependencies #####################################
96
1207d6f2 97-include tgt_$(ALICE_TARGET)/Make-depend
ed79e3fa 98
e8189707 99