Adding includes for Cint file
[u/mrichter/AliRoot.git] / EVGEN / Makefile
CommitLineData
fe4da5cc 1############################### EVGEN Makefile ################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = EVGEN
9
10# C++ sources
11
8828a23e 12SRCS = AliGenHIJINGpara.cxx AliGenBox.cxx AliGenFixed.cxx \
13 AliGenCocktail.cxx AliGenFLUKAsource.cxx \
b22ee262 14 AliGenLib.cxx \
fe4da5cc 15 AliGenMUONlib.cxx AliGenParam.cxx AliGenPythia.cxx \
dafbc1c5 16 AliPythia.cxx AliDimuCombinator.cxx AliGenHalo.cxx \
1c7eb2b8 17 AliGenExtFile.cxx AliGenScan.cxx AliGenPHOSlib.cxx \
014616eb 18 AliGenDoubleScan.cxx AliGenCocktailEntry.cxx \
cf8b45f4 19 AliGenGSIlib.cxx AliGenPMDlib.cxx\
56a10437 20 AliGenHijing.cxx \
31e7c749 21 AliGenEventHeader.cxx AliGenHijingEventHeader.cxx \
22 AliDecayer.cxx AliDecayerPythia.cxx
fe4da5cc 23# C++ Headers
24
65fb704d 25HDRS = $(SRCS:.cxx=.h) $(ALICE_ROOT)/include/THijing.h \
26 $(ROOTSYS)/include/TF1.h $(ROOTSYS)/include/TChain.h \
ced9217f 27 $(ROOTSYS)/include/TParticle.h \
65fb704d 28 EVGENLinkDef.h
fe4da5cc 29
30# Library dictionary
31
32DICT = EVGENCint.cxx
ced9217f 33DICTH = $(DICT:.cxx=.h)
4adb943a 34DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 35
36# FORTRAN Objectrs
37
4adb943a 38FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 39
40# C Objects
41
4adb943a 42COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 43
44# C++ Objects
45
4adb943a 46OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 47
48# C++ compilation flags
49
50CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
51
52# FORTRAN compilation flags
53
54FFLAGS = $(FOPT)
55
56##### TARGETS #####
57
58# Target
59
cb342460 60SLIBRARY = $(LIBDIR)/libEVGEN.$(SL)
61ALIBRARY = $(LIBDIR)/libEVGEN.a
fe4da5cc 62
31ccd13b 63default: $(SLIBRARY)
fe4da5cc 64
cb342460 65$(LIBDIR)/libEVGEN.$(SL): $(OBJS)
fe4da5cc 66
67$(DICT): $(HDRS)
68
69depend: $(SRCS)
70
e1006252 71HEADERS = AliPythia.h GenTypeDefs.h AliDecayer.h AliDecayerPythia.h
50614497 72
31e7c749 73TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
fe4da5cc 74
e2fe4c02 75CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
76
fe4da5cc 77############################### General Macros ################################
78
79include $(ALICE_ROOT)/conf/GeneralMacros
80
81############################ Dependencies #####################################
82
1207d6f2 83-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 84
41f6cf69 85
86
87
88
89
90