AliPDG class, first commit.
[u/mrichter/AliRoot.git] / STEER / Makefile
CommitLineData
fe4da5cc 1############################### STEER Makefile ################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = STEER
9
10# C++ sources
11
2a33668d 12SRCS = 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 \
d9d543ab 16 AliGeometry.cxx AliRecPoint.cxx AliSegmentation.cxx \
aee8290b 17 AliHitMap.cxx AliMagFC.cxx AliMagFCM.cxx \
c5ca52b2 18 AliMagFDM.cxx AliLegoGenerator.cxx AliLegoGeneratorXYZ.cxx\
56050439 19 AliLegoGeneratorPhiZ.cxx AliLegoGeneratorEta.cxx \
20 AliRndm.cxx \
21 AliKalmanTrack.cxx AliCluster.cxx \
22 AliMCQA.cxx AliPDG.cxx
fe4da5cc 23
24# C++ Headers
25
65fb704d 26HDRS = $(SRCS:.cxx=.h) AliPDG.h $(ROOTSYS)/include/TH2.h \
27 $(ROOTSYS)/include/TRandom.h STEERLinkDef.h
fe4da5cc 28
29# Library dictionary
30
31DICT = STEERCint.cxx
32DICTH = $(DICT:.cxx=.h)
4adb943a 33DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 34
35# FORTRAN Objectrs
36
4adb943a 37FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 38
39# C Objects
40
4adb943a 41COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 42
43# C++ Objects
44
4adb943a 45OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 46
47# C++ compilation flags
48
49CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
50
51# FORTRAN compilation flags
52
53FFLAGS = $(FOPT)
54
55##### TARGETS #####
56
57# Target
58
cb342460 59SLIBRARY = $(LIBDIR)/libSTEER.$(SL)
60ALIBRARY = $(LIBDIR)/lib/libSTEER.a
fe4da5cc 61
31ccd13b 62default: $(SLIBRARY)
fe4da5cc 63
cb342460 64$(LIBDIR)/libSTEER.$(SL): $(OBJS)
fe4da5cc 65
66$(DICT): $(HDRS)
67
68depend: $(SRCS)
69
65fb704d 70HEADERS = $(SRCS:.cxx=.h) AliPDG.h AliConst.h AliCallf77.h AliMCProcess.h
fe4da5cc 71
72TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
73
94de3818 74CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
e2fe4c02 75
fe4da5cc 76############################### General Macros ################################
77
78include $(ALICE_ROOT)/conf/GeneralMacros
79
80############################ Dependencies #####################################
81
1207d6f2 82-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 83
84
85
86
87
88
89