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