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