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