]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVGEN/Makefile
AliGenHijingEventHeader.h made available in include
[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 \
cf8b45f4 20 AliGenGSIlib.cxx AliGenPMDlib.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 \
0b359ada 25 AliGenMC.cxx AliGenCocktailAfterBurner.cxx
fe4da5cc 26# C++ Headers
27
65fb704d 28HDRS = $(SRCS:.cxx=.h) $(ALICE_ROOT)/include/THijing.h \
29 $(ROOTSYS)/include/TF1.h $(ROOTSYS)/include/TChain.h \
ced9217f 30 $(ROOTSYS)/include/TParticle.h \
65fb704d 31 EVGENLinkDef.h
fe4da5cc 32
33# Library dictionary
34
35DICT = EVGENCint.cxx
ced9217f 36DICTH = $(DICT:.cxx=.h)
4adb943a 37DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 38
39# FORTRAN Objectrs
40
4adb943a 41FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 42
43# C Objects
44
4adb943a 45COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 46
47# C++ Objects
48
4adb943a 49OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 50
51# C++ compilation flags
52
9e1a0ddb 53CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I$(ALICE_ROOT)/include/ -I$(ALICE_ROOT)/TMevSim -I.
fe4da5cc 54
55# FORTRAN compilation flags
56
57FFLAGS = $(FOPT)
58
59##### TARGETS #####
60
61# Target
62
cb342460 63SLIBRARY = $(LIBDIR)/libEVGEN.$(SL)
64ALIBRARY = $(LIBDIR)/libEVGEN.a
fe4da5cc 65
31ccd13b 66default: $(SLIBRARY)
fe4da5cc 67
cb342460 68$(LIBDIR)/libEVGEN.$(SL): $(OBJS)
fe4da5cc 69
70$(DICT): $(HDRS)
71
72depend: $(SRCS)
73
a5599301 74HEADERS = AliPythia.h AliDecayer.h AliDecayerPythia.h AliGenHijingEventHeader.h
50614497 75
31e7c749 76TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
fe4da5cc 77
e2fe4c02 78CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
79
fe4da5cc 80############################### General Macros ################################
81
82include $(ALICE_ROOT)/conf/GeneralMacros
83
84############################ Dependencies #####################################
85
1207d6f2 86-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 87
41f6cf69 88
89
90
91
92
93