1 ############################### STEER Makefile ################################
3 # Include machine specific definitions
5 include $(ALICE_ROOT)/conf/GeneralDef
6 include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
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 \
16 AliGeometry.cxx AliRecPoint.cxx AliSegmentation.cxx \
17 AliHitMap.cxx AliMagFC.cxx AliMagFCM.cxx \
18 AliMagFDM.cxx AliLegoGenerator.cxx AliLegoGeneratorXYZ.cxx\
19 AliLegoGeneratorEta.cxx AliRndm.cxx \
20 AliKalmanTrack.cxx AliCluster.cxx \
25 HDRS = $(SRCS:.cxx=.h) AliPDG.h $(ROOTSYS)/include/TH2.h \
26 $(ROOTSYS)/include/TRandom.h STEERLinkDef.h
31 DICTH = $(DICT:.cxx=.h)
32 DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
36 FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
40 COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
44 OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
46 # C++ compilation flags
48 CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
50 # FORTRAN compilation flags
58 SLIBRARY = $(LIBDIR)/libSTEER.$(SL)
59 ALIBRARY = $(LIBDIR)/lib/libSTEER.a
63 $(LIBDIR)/libSTEER.$(SL): $(OBJS)
69 HEADERS = $(SRCS:.cxx=.h) AliPDG.h AliConst.h AliCallf77.h AliMCProcess.h
71 TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
73 CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
75 ############################### General Macros ################################
77 include $(ALICE_ROOT)/conf/GeneralMacros
79 ############################ Dependencies #####################################
81 -include tgt_$(ALICE_TARGET)/Make-depend