]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/Makefile
Automatic streamer used and forward declarations added
[u/mrichter/AliRoot.git] / ITS / Makefile
1 ############################### ITS Makefile ##################################
2
3 # Include machine specific definitions
4
5 include $(ALICE_ROOT)/conf/GeneralDef
6 include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8 PACKAGE = ITS
9
10 # C++ sources
11
12 SRCS          = AliITS.cxx AliITSv1.cxx AliITSv3.cxx AliITSv5.cxx \
13                 AliITShit.cxx AliITSDetType.cxx \
14                 AliITSgeom.cxx AliITSgeomMatrix.cxx \
15                 AliITSgeomSPD.cxx AliITSgeomSDD.cxx \
16                 AliITSgeomSSD.cxx AliITSmodule.cxx \
17                 AliITSsimulationFastPoints.cxx \
18                 AliITSsimulationFastPointsV0.cxx AliITSsimulation.cxx \
19                 AliITSsimulationSPD.cxx AliITSsimulationSDD.cxx \
20                 AliITSetfSDD.cxx AliITSsimulationSSD.cxx AliITSdcsSSD.cxx \
21                 AliITSdigit.cxx AliITSRawCluster.cxx AliITSRecPoint.cxx \
22                 AliITSMap.cxx AliITSMapA1.cxx AliITSMapA2.cxx \
23                 AliITSsegmentation.cxx AliITSsegmentationSPD.cxx \
24                 AliITSsegmentationSDD.cxx AliITSsegmentationSSD.cxx\
25                 AliITSresponse.cxx AliITSresponseSPD.cxx \
26                 AliITSresponseSDD.cxx AliITSresponseSSD.cxx \
27                 AliITSClusterFinder.cxx AliITSClusterFinderSPD.cxx \
28                 AliITSClusterFinderSDD.cxx AliITSRawData.cxx \
29                 AliITSHuffman.cxx AliITSClusterFinderSSD.cxx \
30                 AliITSclusterSSD.cxx AliITSpackageSSD.cxx \
31                 AliITSdictSSD.cxx AliITSgeomSPD300.cxx AliITSgeomSPD425.cxx \
32                 AliITSstatistics.cxx AliITSstatistics2.cxx 
33 #               AliITSAlignmentTrack.cxx AliITSAlignmentModule.cxx \
34 #               AliITSvtest.cxx AliITStrack.cxx
35
36 # Fortran sources
37
38 FSRCS          = 
39
40 # C++ Headers
41
42 HDRS          = $(SRCS:.cxx=.h) ITSLinkDef.h
43
44 # Library dictionary
45
46 DICT          = ITSCint.cxx
47 DICTH         = $(DICT:.cxx=.h)
48 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
49
50 # FORTRAN Objectrs
51
52 FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
53
54 # C Objects
55
56 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
57
58 # C++ Objects
59
60 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
61
62 # C++ compilation flags
63
64 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
65  
66 # FORTRAN compilation flags
67
68 FFLAGS      = $(FOPT) -I$(ALICE_ROOT)/GEANT321
69
70 ##### TARGETS #####
71  
72 # Target
73
74 SLIBRARY        = $(LIBDIR)/libITS.$(SL)
75 ALIBRARY        = $(LIBDIR)/libITS.a
76
77 default:        $(SLIBRARY)
78
79
80 $(LIBDIR)/libITS.$(SL):         $(OBJS)
81
82 $(DICT):                        $(HDRS)
83
84 DEPINC += -I$(ALICE_ROOT)/GEANT321
85
86 depend:                         $(SRCS) $(FSRCS)
87
88 TOCLEAN         = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
89
90 CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
91
92 ############################### General Macros ################################
93
94 include $(ALICE_ROOT)/conf/GeneralMacros
95
96 ############################ Dependencies #####################################
97
98 -include tgt_$(ALICE_TARGET)/Make-depend 
99
100