]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/Makefile
New code from Piergiorgio added
[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 \
87594435 18 AliMagFDM.cxx AliLegoGenerator.cxx \
19 AliKalmanTrack.cxx AliCluster.cxx
fe4da5cc 20
21# C++ Headers
22
c5970876 23HDRS = $(SRCS:.cxx=.h) AliPDG.h STEERLinkDef.h
fe4da5cc 24
25# Library dictionary
26
27DICT = STEERCint.cxx
28DICTH = $(DICT:.cxx=.h)
4adb943a 29DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 30
31# FORTRAN Objectrs
32
4adb943a 33FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 34
35# C Objects
36
4adb943a 37COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 38
39# C++ Objects
40
4adb943a 41OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 42
43# C++ compilation flags
44
45CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
46
47# FORTRAN compilation flags
48
49FFLAGS = $(FOPT)
50
51##### TARGETS #####
52
53# Target
54
cb342460 55SLIBRARY = $(LIBDIR)/libSTEER.$(SL)
56ALIBRARY = $(LIBDIR)/lib/libSTEER.a
fe4da5cc 57
31ccd13b 58default: $(SLIBRARY)
fe4da5cc 59
cb342460 60$(LIBDIR)/libSTEER.$(SL): $(OBJS)
fe4da5cc 61
62$(DICT): $(HDRS)
63
64depend: $(SRCS)
65
6f0fc79c 66HEADERS = $(filter-out %LinkDef.h,$(HDRS) AliConst.h AliCallf77.h \
67 Copyright.h)
fe4da5cc 68
69TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
70
e2fe4c02 71CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
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