]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/Makefile
Introducing new Rndm and QA classes
[u/mrichter/AliRoot.git] / STEER / Makefile
1 ############################### STEER 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 = STEER
9
10 # C++ sources
11
12 SRCS          = AliDetector.cxx AliHeader.cxx   AliMagF.cxx \
13                 AliDigit.cxx    AliHit.cxx      AliPoints.cxx \
14                 AliDisplay.cxx  AliMC.cxx       AliRun.cxx AliGenerator.cxx \
15                 AliLego.cxx     AliModule.cxx   AliDigitNew.cxx \
16                 AliGeometry.cxx AliRecPoint.cxx AliSegmentation.cxx \
17                 AliHitMap.cxx   AliMagFC.cxx    AliMagFCM.cxx \
18                 AliMagFDM.cxx   AliLegoGenerator.cxx AliLegoGeneratorXYZ.cxx\
19                 AliLegoGeneratorEta.cxx         AliRndm.cxx \
20                 AliKalmanTrack.cxx              AliCluster.cxx \
21                 AliMCQA.cxx
22
23 # C++ Headers
24
25 HDRS          = $(SRCS:.cxx=.h) AliPDG.h $(ROOTSYS)/include/TH2.h \
26                                 $(ROOTSYS)/include/TRandom.h STEERLinkDef.h 
27
28 # Library dictionary
29
30 DICT          = STEERCint.cxx
31 DICTH         = $(DICT:.cxx=.h)
32 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
33
34 # FORTRAN Objectrs
35
36 FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
37
38 # C Objects
39
40 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
41
42 # C++ Objects
43
44 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
45
46 # C++ compilation flags
47
48 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
49  
50 # FORTRAN compilation flags
51
52 FFLAGS      = $(FOPT)
53
54 ##### TARGETS #####
55  
56 # Target
57
58 SLIBRARY        = $(LIBDIR)/libSTEER.$(SL)
59 ALIBRARY        = $(LIBDIR)/lib/libSTEER.a
60
61 default:        $(SLIBRARY)
62
63 $(LIBDIR)/libSTEER.$(SL):               $(OBJS)
64
65 $(DICT):                                $(HDRS)
66
67 depend:                                 $(SRCS)
68
69 HEADERS         = $(SRCS:.cxx=.h) AliPDG.h AliConst.h AliCallf77.h AliMCProcess.h
70
71 TOCLEAN         = $(OBJS) *Cint.cxx *Cint.h
72
73 CHECKS          = $(patsubst %.cxx,check/%.viol,$(SRCS))
74
75 ############################### General Macros ################################
76
77 include $(ALICE_ROOT)/conf/GeneralMacros
78
79 ############################ Dependencies #####################################
80
81 -include tgt_$(ALICE_TARGET)/Make-depend 
82
83
84
85
86
87
88