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