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