Generation of N gaussian numbers through a known covariance matrix. It probably will...
[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                 AliLegoGeneratorPhiZ.cxx AliLegoGeneratorEta.cxx \
20                 AliRndm.cxx \
21                 AliKalmanTrack.cxx AliCluster.cxx AliTracker.cxx\
22                 AliMCQA.cxx AliPDG.cxx AliDebugVolume.cxx \
23                 AliGenEventHeader.cxx AliStack.cxx AliConfig.cxx \
24                 AliRunDigitizer.cxx AliDigitizer.cxx\
25                 AliStream.cxx AliMergeCombi.cxx \
26                 AliMagFMaps.cxx AliFieldMap.cxx \
27         AliGausCorr.cxx
28
29 # C++ Headers
30
31 HDRS          = $(SRCS:.cxx=.h) AliPDG.h $(ROOTSYS)/include/TH2.h \
32                                 $(ROOTSYS)/include/TRandom.h STEERLinkDef.h 
33
34 # Library dictionary
35
36 DICT          = STEERCint.cxx
37 DICTH         = $(DICT:.cxx=.h)
38 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
39
40 # FORTRAN Objectrs
41
42 FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
43
44 # C Objects
45
46 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
47
48 # C++ Objects
49
50 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
51
52 # C++ compilation flags
53
54 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
55  
56 # FORTRAN compilation flags
57
58 FFLAGS      = $(FOPT)
59
60 ##### TARGETS #####
61  
62 # Target
63
64 SLIBRARY        = $(LIBDIR)/libSTEER.$(SL)
65 ALIBRARY        = $(LIBDIR)/lib/libSTEER.a
66
67 default:        $(SLIBRARY)
68
69 $(LIBDIR)/libSTEER.$(SL):               $(OBJS)
70
71 $(DICT):                                $(HDRS)
72
73 depend:                                 $(SRCS)
74
75 HEADERS         = $(SRCS:.cxx=.h) AliPDG.h AliConst.h AliCallf77.h AliMCProcess.h AliConfig.h AliGenEventHeader.h
76
77 TOCLEAN         = $(OBJS) *Cint.cxx *Cint.h
78
79 CHECKS          = $(patsubst %.cxx,check/%.viol,$(SRCS))
80
81 ############################### General Macros ################################
82
83 include $(ALICE_ROOT)/conf/GeneralMacros
84
85 ############################ Dependencies #####################################
86
87 -include tgt_$(ALICE_TARGET)/Make-depend 
88
89
90
91
92
93
94