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