]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 1 | ############################### EVGEN Makefile ################################ |
2 | ||
3 | # Include machine specific definitions | |
4 | ||
5 | include $(ALICE_ROOT)/conf/GeneralDef | |
6 | include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET) | |
7 | ||
8 | PACKAGE = EVGEN | |
9 | ||
10 | # C++ sources | |
11 | ||
3a406909 | 12 | SRCS = AliGenHIJINGpara.cxx AliGenHIJINGparaBa.cxx \ |
13 | AliGenBox.cxx AliGenFixed.cxx \ | |
8828a23e | 14 | AliGenCocktail.cxx AliGenFLUKAsource.cxx \ |
b22ee262 | 15 | AliGenLib.cxx \ |
fe4da5cc | 16 | AliGenMUONlib.cxx AliGenParam.cxx AliGenPythia.cxx \ |
dafbc1c5 | 17 | AliPythia.cxx AliDimuCombinator.cxx AliGenHalo.cxx \ |
14ab5373 | 18 | AliGenHaloProtvino.cxx \ |
1c7eb2b8 | 19 | AliGenExtFile.cxx AliGenScan.cxx AliGenPHOSlib.cxx \ |
014616eb | 20 | AliGenDoubleScan.cxx AliGenCocktailEntry.cxx \ |
87f8f72e | 21 | AliGenGSIlib.cxx AliGenPMDlib.cxx AliGenSTRANGElib.cxx \ |
56a10437 | 22 | AliGenHijing.cxx \ |
c0ac61ca | 23 | AliGenHijingEventHeader.cxx AliGenPythiaEventHeader.cxx \ |
4005df34 | 24 | AliDecayer.cxx AliDecayerPythia.cxx \ |
e36044d6 | 25 | AliGenMevSim.cxx AliMevSimParticle.cxx AliMevSimConfig.cxx \ |
2b9786f4 | 26 | AliGenMC.cxx AliGenCocktailAfterBurner.cxx \ |
7abc54a0 | 27 | AliGenHBTprocessor.cxx \ |
3a406909 | 28 | AliGenReader.cxx AliGenReaderCwn.cxx AliGenReaderTreeK.cxx \ |
7816887f | 29 | AliGenReaderEcalHijing.cxx AliGenReaderEcalJets.cxx \ |
56b2bd7e | 30 | AliGeVSimParticle.cxx AliGenGeVSim.cxx AliGenThetaSlice.cxx |
7816887f | 31 | |
fe4da5cc | 32 | # C++ Headers |
33 | ||
65fb704d | 34 | HDRS = $(SRCS:.cxx=.h) $(ALICE_ROOT)/include/THijing.h \ |
35 | $(ROOTSYS)/include/TF1.h $(ROOTSYS)/include/TChain.h \ | |
ced9217f | 36 | $(ROOTSYS)/include/TParticle.h \ |
65fb704d | 37 | EVGENLinkDef.h |
fe4da5cc | 38 | |
39 | # Library dictionary | |
40 | ||
41 | DICT = EVGENCint.cxx | |
ced9217f | 42 | DICTH = $(DICT:.cxx=.h) |
4adb943a | 43 | DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT)) |
fe4da5cc | 44 | |
45 | # FORTRAN Objectrs | |
46 | ||
4adb943a | 47 | FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS)) |
fe4da5cc | 48 | |
49 | # C Objects | |
50 | ||
4adb943a | 51 | COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS)) |
fe4da5cc | 52 | |
53 | # C++ Objects | |
54 | ||
4adb943a | 55 | OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO) |
fe4da5cc | 56 | |
57 | # C++ compilation flags | |
58 | ||
9e1a0ddb | 59 | CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I$(ALICE_ROOT)/include/ -I$(ALICE_ROOT)/TMevSim -I. |
fe4da5cc | 60 | |
61 | # FORTRAN compilation flags | |
62 | ||
63 | FFLAGS = $(FOPT) | |
64 | ||
65 | ##### TARGETS ##### | |
66 | ||
67 | # Target | |
68 | ||
cb342460 | 69 | SLIBRARY = $(LIBDIR)/libEVGEN.$(SL) |
70 | ALIBRARY = $(LIBDIR)/libEVGEN.a | |
fe4da5cc | 71 | |
31ccd13b | 72 | default: $(SLIBRARY) |
fe4da5cc | 73 | |
cb342460 | 74 | $(LIBDIR)/libEVGEN.$(SL): $(OBJS) |
fe4da5cc | 75 | |
76 | $(DICT): $(HDRS) | |
77 | ||
78 | depend: $(SRCS) | |
79 | ||
a5599301 | 80 | HEADERS = AliPythia.h AliDecayer.h AliDecayerPythia.h AliGenHijingEventHeader.h |
50614497 | 81 | |
31e7c749 | 82 | TOCLEAN = $(OBJS) *Cint.cxx *Cint.h |
fe4da5cc | 83 | |
e2fe4c02 | 84 | CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS)) |
85 | ||
fe4da5cc | 86 | ############################### General Macros ################################ |
87 | ||
88 | include $(ALICE_ROOT)/conf/GeneralMacros | |
89 | ||
90 | ############################ Dependencies ##################################### | |
91 | ||
1207d6f2 | 92 | -include tgt_$(ALICE_TARGET)/Make-depend |
41f6cf69 | 93 | |
41f6cf69 | 94 | |
95 | ||
96 | ||
97 | ||
98 | ||
99 |