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