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