]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVGEN/Makefile
Decayer functionality of AliPythia has been moved to AliDecayerPythia.
[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 \
20                 AliGenHijing.cxx \
21                 AliGenEventHeader.cxx AliGenHijingEventHeader.cxx 
22 # C++ Headers
23
24 HDRS          = $(SRCS:.cxx=.h) EVGENLinkDef.h
25
26 # Library dictionary
27
28 DICT          = EVGENCint.cxx
29 DICTH         = $(DICT:.cxx=.h)
30 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
31
32 # FORTRAN Objectrs
33
34 FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
35
36 # C Objects
37
38 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
39
40 # C++ Objects
41
42 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
43
44 # C++ compilation flags
45
46 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
47  
48 # FORTRAN compilation flags
49
50 FFLAGS      = $(FOPT)
51
52 ##### TARGETS #####
53  
54 # Target
55
56 SLIBRARY        = $(LIBDIR)/libEVGEN.$(SL)
57 ALIBRARY        = $(LIBDIR)/libEVGEN.a
58
59 default:        $(SLIBRARY)
60
61 $(LIBDIR)/libEVGEN.$(SL):               $(OBJS)
62
63 $(DICT):                                $(HDRS)
64
65 depend:                                 $(SRCS)
66
67 HEADERS       = AliPythia.h
68
69 TOCLEAN       = $(OBJS) *Cint.cxx *Cint.h
70
71 CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
72
73
74
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