New version of AliGeVSim code. New class for flow afterburner (S.Radomski)
[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 \
31                 AliGenAfterBurnerFlow.cxx
32
33
34
35 # C++ Headers
36
37 HDRS          = $(SRCS:.cxx=.h) $(ALICE_ROOT)/include/THijing.h \
38                 $(ROOTSYS)/include/TF1.h $(ROOTSYS)/include/TChain.h \
39                 $(ROOTSYS)/include/TParticle.h \
40                 EVGENLinkDef.h
41
42 # Library dictionary
43
44 DICT          = EVGENCint.cxx
45 DICTH         = $(DICT:.cxx=.h) 
46 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
47
48 # FORTRAN Objectrs
49
50 FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
51
52 # C Objects
53
54 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
55
56 # C++ Objects
57
58 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
59
60 # C++ compilation flags
61
62 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I$(ALICE_ROOT)/include/ -I$(ALICE_ROOT)/TMevSim -I.
63  
64 # FORTRAN compilation flags
65
66 FFLAGS      = $(FOPT)
67
68 ##### TARGETS #####
69  
70 # Target
71
72 SLIBRARY        = $(LIBDIR)/libEVGEN.$(SL)
73 ALIBRARY        = $(LIBDIR)/libEVGEN.a
74
75 default:        $(SLIBRARY)
76
77 $(LIBDIR)/libEVGEN.$(SL):               $(OBJS)
78
79 $(DICT):                                $(HDRS)
80
81 depend:                                 $(SRCS)
82
83 HEADERS       = AliPythia.h AliDecayer.h AliDecayerPythia.h AliGenHijingEventHeader.h
84
85 TOCLEAN         = $(OBJS) *Cint.cxx *Cint.h
86
87 CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
88
89 ############################### General Macros ################################
90
91 include $(ALICE_ROOT)/conf/GeneralMacros
92
93 ############################ Dependencies #####################################
94
95 -include tgt_$(ALICE_TARGET)/Make-depend 
96
97
98
99
100
101
102