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