]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/Makefile
Removal of useless dependecies via forward declarations
[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 \
19                 AliKalmanTrack.cxx              AliCluster.cxx
20
21 # C++ Headers
22
23 HDRS          = $(SRCS:.cxx=.h) AliPDG.h $(ROOTSYS)/include/TH2.h STEERLinkDef.h 
24
25 # Library dictionary
26
27 DICT          = STEERCint.cxx
28 DICTH         = $(DICT:.cxx=.h)
29 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
30
31 # FORTRAN Objectrs
32
33 FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
34
35 # C Objects
36
37 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
38
39 # C++ Objects
40
41 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
42
43 # C++ compilation flags
44
45 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
46  
47 # FORTRAN compilation flags
48
49 FFLAGS      = $(FOPT)
50
51 ##### TARGETS #####
52  
53 # Target
54
55 SLIBRARY        = $(LIBDIR)/libSTEER.$(SL)
56 ALIBRARY        = $(LIBDIR)/lib/libSTEER.a
57
58 default:        $(SLIBRARY)
59
60 $(LIBDIR)/libSTEER.$(SL):               $(OBJS)
61
62 $(DICT):                                $(HDRS)
63
64 depend:                                 $(SRCS)
65
66 HEADERS         = $(SRCS:.cxx=.h) AliPDG.h AliConst.h AliCallf77.h 
67
68 TOCLEAN         = $(OBJS) *Cint.cxx *Cint.h
69
70 CHECKS          = $(patsubst %.cxx,check/%.viol,$(SRCS))
71
72 ############################### General Macros ################################
73
74 include $(ALICE_ROOT)/conf/GeneralMacros
75
76 ############################ Dependencies #####################################
77
78 -include tgt_$(ALICE_TARGET)/Make-depend 
79
80
81
82
83
84
85