This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / ZDC / Makefile
CommitLineData
fe4da5cc 1############################### ZDC Makefile ##################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = ZDC
9
10# FORTRAN sources
11
12FSRCS = AliZDCf.F
13
14# C++ sources
15
16SRCS = AliZDC.cxx
17
18# Fortran sources
19
20FSRCS = AliZDCf.F
21
22# C++ Headers
23
24HDRS = $(SRCS:.cxx=.h) ZDCLinkDef.h
25
26# Library dictionary
27
28DICT = ZDCCint.cxx
29DICTH = $(DICT:.cxx=.h)
30DICTO = $(DICT:.cxx=.o)
31
32# FORTRAN Objectrs
33
34FOBJS = $(FSRCS:.F=.o)
35
36# C Objects
37
38COBJS = $(CSRCS:.c=.o)
39
40# C++ Objects
41
42OBJS = $(SRCS:.cxx=.o) $(DICTO)
43
44# Global Macros
45
46ALLOBJS = $(OBJS) $(FOBJS)
47
48# C++ compilation flags
49
50CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include
51
52# FORTRAN compilation flags
53
54FFLAGS = $(FOPT) -I$(ALICE_ROOT)/GEANT321
55
56##### TARGETS #####
57
58# Target
59
60SLIBRARY = $(ALICE_ROOT)/lib/libZDC.$(SL)
61ALIBRARY = $(ALICE_ROOT)/lib/libZDC.a
62
63default: $(SLIBRARY)
64
65$(ALICE_ROOT)/lib/libZDC.$(SL): $(OBJS) $(FOBJS)
66
67$(DICT): $(HDRS)
68
69DEPINC += -I$(ALICE_ROOT)/GEANT321
70
71depend: $(SRCS) $(FSRCS)
72
73TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
74
75############################### General Macros ################################
76
77include $(ALICE_ROOT)/conf/GeneralMacros
78
79############################ Dependencies #####################################
80
81include Make-depend
82