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