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