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