Readers for EMCAL primary particle input.
[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 \
14ab5373 17 AliGenHaloProtvino.cxx \
1c7eb2b8 18 AliGenExtFile.cxx AliGenScan.cxx AliGenPHOSlib.cxx \
014616eb 19 AliGenDoubleScan.cxx AliGenCocktailEntry.cxx \
87f8f72e 20 AliGenGSIlib.cxx AliGenPMDlib.cxx AliGenSTRANGElib.cxx \
56a10437 21 AliGenHijing.cxx \
c0ac61ca 22 AliGenHijingEventHeader.cxx AliGenPythiaEventHeader.cxx \
4005df34 23 AliDecayer.cxx AliDecayerPythia.cxx \
e36044d6 24 AliGenMevSim.cxx AliMevSimParticle.cxx AliMevSimConfig.cxx \
2b9786f4 25 AliGenMC.cxx AliGenCocktailAfterBurner.cxx \
7abc54a0 26 AliGenHBTprocessor.cxx \
27 AliGenReader.cxx AliGenReaderCwn.cxx AliGenReaderTreeK.cxx
fe4da5cc 28# C++ Headers
29
65fb704d 30HDRS = $(SRCS:.cxx=.h) $(ALICE_ROOT)/include/THijing.h \
31 $(ROOTSYS)/include/TF1.h $(ROOTSYS)/include/TChain.h \
ced9217f 32 $(ROOTSYS)/include/TParticle.h \
65fb704d 33 EVGENLinkDef.h
fe4da5cc 34
35# Library dictionary
36
37DICT = EVGENCint.cxx
ced9217f 38DICTH = $(DICT:.cxx=.h)
4adb943a 39DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 40
41# FORTRAN Objectrs
42
4adb943a 43FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 44
45# C Objects
46
4adb943a 47COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 48
49# C++ Objects
50
4adb943a 51OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 52
53# C++ compilation flags
54
9e1a0ddb 55CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I$(ALICE_ROOT)/include/ -I$(ALICE_ROOT)/TMevSim -I.
fe4da5cc 56
57# FORTRAN compilation flags
58
59FFLAGS = $(FOPT)
60
61##### TARGETS #####
62
63# Target
64
cb342460 65SLIBRARY = $(LIBDIR)/libEVGEN.$(SL)
66ALIBRARY = $(LIBDIR)/libEVGEN.a
fe4da5cc 67
31ccd13b 68default: $(SLIBRARY)
fe4da5cc 69
cb342460 70$(LIBDIR)/libEVGEN.$(SL): $(OBJS)
fe4da5cc 71
72$(DICT): $(HDRS)
73
74depend: $(SRCS)
75
a5599301 76HEADERS = AliPythia.h AliDecayer.h AliDecayerPythia.h AliGenHijingEventHeader.h
50614497 77
31e7c749 78TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
fe4da5cc 79
e2fe4c02 80CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
81
fe4da5cc 82############################### General Macros ################################
83
84include $(ALICE_ROOT)/conf/GeneralMacros
85
86############################ Dependencies #####################################
87
1207d6f2 88-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 89
41f6cf69 90
91
92
93
94
95