Add const to SolenoidField() method for correct overwriting from the parent class
[u/mrichter/AliRoot.git] / EVGEN / Makefile
CommitLineData
fe4da5cc 1############################### EVGEN Makefile ################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = EVGEN
9
10# C++ sources
11
3a406909 12SRCS = AliGenHIJINGpara.cxx AliGenHIJINGparaBa.cxx \
13 AliGenBox.cxx AliGenFixed.cxx \
8828a23e 14 AliGenCocktail.cxx AliGenFLUKAsource.cxx \
b22ee262 15 AliGenLib.cxx \
fe4da5cc 16 AliGenMUONlib.cxx AliGenParam.cxx AliGenPythia.cxx \
dafbc1c5 17 AliPythia.cxx AliDimuCombinator.cxx AliGenHalo.cxx \
14ab5373 18 AliGenHaloProtvino.cxx \
1c7eb2b8 19 AliGenExtFile.cxx AliGenScan.cxx AliGenPHOSlib.cxx \
014616eb 20 AliGenDoubleScan.cxx AliGenCocktailEntry.cxx \
87f8f72e 21 AliGenGSIlib.cxx AliGenPMDlib.cxx AliGenSTRANGElib.cxx \
56a10437 22 AliGenHijing.cxx \
c0ac61ca 23 AliGenHijingEventHeader.cxx AliGenPythiaEventHeader.cxx \
4005df34 24 AliDecayer.cxx AliDecayerPythia.cxx \
e36044d6 25 AliGenMevSim.cxx AliMevSimParticle.cxx AliMevSimConfig.cxx \
2b9786f4 26 AliGenMC.cxx AliGenCocktailAfterBurner.cxx \
7abc54a0 27 AliGenHBTprocessor.cxx \
3a406909 28 AliGenReader.cxx AliGenReaderCwn.cxx AliGenReaderTreeK.cxx \
7816887f 29 AliGenReaderEcalHijing.cxx AliGenReaderEcalJets.cxx \
332eda2c 30 AliGeVSimParticle.cxx AliGenGeVSim.cxx AliGenBeamGas.cxx \
4966b266 31 AliGeVSimParticle.cxx AliGenGeVSim.cxx \
32 AliGenAfterBurnerFlow.cxx
33
c416706e 34
7816887f 35
fe4da5cc 36# C++ Headers
37
65fb704d 38HDRS = $(SRCS:.cxx=.h) $(ALICE_ROOT)/include/THijing.h \
39 $(ROOTSYS)/include/TF1.h $(ROOTSYS)/include/TChain.h \
ced9217f 40 $(ROOTSYS)/include/TParticle.h \
65fb704d 41 EVGENLinkDef.h
fe4da5cc 42
43# Library dictionary
44
45DICT = EVGENCint.cxx
ced9217f 46DICTH = $(DICT:.cxx=.h)
4adb943a 47DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 48
49# FORTRAN Objectrs
50
4adb943a 51FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 52
53# C Objects
54
4adb943a 55COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 56
57# C++ Objects
58
4adb943a 59OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 60
61# C++ compilation flags
62
9e1a0ddb 63CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I$(ALICE_ROOT)/include/ -I$(ALICE_ROOT)/TMevSim -I.
fe4da5cc 64
65# FORTRAN compilation flags
66
67FFLAGS = $(FOPT)
68
69##### TARGETS #####
70
71# Target
72
cb342460 73SLIBRARY = $(LIBDIR)/libEVGEN.$(SL)
74ALIBRARY = $(LIBDIR)/libEVGEN.a
fe4da5cc 75
31ccd13b 76default: $(SLIBRARY)
fe4da5cc 77
cb342460 78$(LIBDIR)/libEVGEN.$(SL): $(OBJS)
fe4da5cc 79
80$(DICT): $(HDRS)
81
82depend: $(SRCS)
83
a5599301 84HEADERS = AliPythia.h AliDecayer.h AliDecayerPythia.h AliGenHijingEventHeader.h
50614497 85
31e7c749 86TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
fe4da5cc 87
e2fe4c02 88CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
89
fe4da5cc 90############################### General Macros ################################
91
92include $(ALICE_ROOT)/conf/GeneralMacros
93
94############################ Dependencies #####################################
95
1207d6f2 96-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 97
41f6cf69 98
99
100
101
102
103