]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HERWIG/Makefile
AliTPCkalmanFit.h AliTPCkalmanFit.cxx -
[u/mrichter/AliRoot.git] / HERWIG / Makefile
1 # Makefile to compile Herwig6 as a shared library for
2 # ROOT. Needs the Herwig6 routines and the F77 to C++
3 # interface routines
4
5 # General Definitions for linux compilers
6
7 include $(ALICE_ROOT)/conf/GeneralDef
8 include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
9
10 PACKAGE = HERWIG
11
12 # C++ sources
13
14 SRCS          =
15
16 # C sources
17
18 CSRCS       = main.c  herwig6_address.c 
19
20 # C Objects
21
22 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
23
24 ##### MACROS #####
25
26 FSRCS   = HERWIG6100.f herwig6_common_block_address.f herwig6_called_from_cc.f 
27
28 FOBJS   = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
29
30 SRCS    = $(FSRCS) $(CSRCS)
31 OBJS    = $(FOBJS) $(COBJS)
32
33 DSRCS   = 
34
35 DOBJS   = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(DSRCS))
36
37 # C++ compilation flags
38
39 CXXFLAGS      = $(CXXOPTS) $(CLIBCXXOPTS) $(CLIBDEFS)
40
41 # C compilation flags
42
43 CFLAGS      = $(COPT) $(CLIBCOPT) $(CLIBDEFS)
44
45 # FORTRAN compilation flags
46
47 FFLAGS      = $(FOPT) $(CLIBFOPT) $(CLIBDEFS)
48
49
50
51 ##### TARGETS #####
52
53 # Target
54
55 SLIBRARY        = $(LIBDIR)/libherwig6.$(SL)
56 ALIBRARY        = $(LIBDIR)/libherwig6.a
57
58 default:        $(SLIBRARY)
59
60 $(LIBDIR)/libherwig6.$(SL):  $(OBJS)
61
62 depend:           $(CSRCS) $(DSRCS)
63
64 TOCLEAN         = $(OBJS) $(DOBJS) *Cint.cxx *Cint.h
65
66 ############################### General Macros ################################
67
68 include $(ALICE_ROOT)/conf/GeneralMacros
69
70 ############################ Dependencies #####################################
71
72 -include tgt_$(ALICE_TARGET)/Make-depend 
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101