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