Adding particles to the PDG database delegated to AliPDG.
[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                 AliGenExtFile.cxx AliGenScan.cxx AliGenPHOSlib.cxx \
18                 AliGenDoubleScan.cxx AliGenCocktailEntry.cxx \
19                 AliGenGSIlib.cxx AliGenPMDlib.cxx\
20                 AliGenHijing.cxx \
21                 AliGenEventHeader.cxx AliGenHijingEventHeader.cxx \
22                 AliDecayer.cxx AliDecayerPythia.cxx
23 # C++ Headers
24
25 HDRS          = $(SRCS:.cxx=.h) $(ALICE_ROOT)/include/THijing.h \
26                 $(ROOTSYS)/include/TF1.h $(ROOTSYS)/include/TChain.h \
27                 EVGENLinkDef.h
28
29 # Library dictionary
30
31 DICT          = EVGENCint.cxx
32 DICTH         = $(DICT:.cxx=.h)
33 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
34
35 # FORTRAN Objectrs
36
37 FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
38
39 # C Objects
40
41 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
42
43 # C++ Objects
44
45 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
46
47 # C++ compilation flags
48
49 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
50  
51 # FORTRAN compilation flags
52
53 FFLAGS      = $(FOPT)
54
55 ##### TARGETS #####
56  
57 # Target
58
59 SLIBRARY        = $(LIBDIR)/libEVGEN.$(SL)
60 ALIBRARY        = $(LIBDIR)/libEVGEN.a
61
62 default:        $(SLIBRARY)
63
64 $(LIBDIR)/libEVGEN.$(SL):               $(OBJS)
65
66 $(DICT):                                $(HDRS)
67
68 depend:                                 $(SRCS)
69
70 HEADERS       = AliPythia.h GenTypeDefs.h AliDecayer.h AliDecayerPythia.h
71
72 TOCLEAN         = $(OBJS) *Cint.cxx *Cint.h
73
74 CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
75
76 ############################### General Macros ################################
77
78 include $(ALICE_ROOT)/conf/GeneralMacros
79
80 ############################ Dependencies #####################################
81
82 -include tgt_$(ALICE_TARGET)/Make-depend 
83
84
85
86
87
88
89