]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVGEN/Makefile
AliDecayer and AliDecayerPythia added
[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                 AliDecayer.cxx AliDecayerPythia.cxx
23 # C++ Headers
24
25 HDRS          = $(SRCS:.cxx=.h) EVGENLinkDef.h
26
27 # Library dictionary
28
29 DICT          = EVGENCint.cxx
30 DICTH         = $(DICT:.cxx=.h)
31 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
32
33 # FORTRAN Objectrs
34
35 FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
36
37 # C Objects
38
39 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
40
41 # C++ Objects
42
43 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
44
45 # C++ compilation flags
46
47 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
48  
49 # FORTRAN compilation flags
50
51 FFLAGS      = $(FOPT)
52
53 ##### TARGETS #####
54  
55 # Target
56
57 SLIBRARY        = $(LIBDIR)/libEVGEN.$(SL)
58 ALIBRARY        = $(LIBDIR)/libEVGEN.a
59
60 default:        $(SLIBRARY)
61
62 $(LIBDIR)/libEVGEN.$(SL):               $(OBJS)
63
64 $(DICT):                                $(HDRS)
65
66 depend:                                 $(SRCS)
67
68 HEADERS       = AliPythia.h GenTypeDefs.h AliDecayer.h
69
70 TOCLEAN         = $(OBJS) *Cint.cxx *Cint.h
71
72 CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
73
74 ############################### General Macros ################################
75
76 include $(ALICE_ROOT)/conf/GeneralMacros
77
78 ############################ Dependencies #####################################
79
80 -include tgt_$(ALICE_TARGET)/Make-depend 
81
82
83
84
85
86
87