]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ZDC/Makefile
Do not save CVS subdirectories
[u/mrichter/AliRoot.git] / ZDC / Makefile
1 ############################### ZDC 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 = ZDC
9
10 # FORTRAN sources
11
12 FSRCS         = AliZDCf.F
13
14 # C++ sources
15
16 SRCS          = AliZDC.cxx
17
18 # Fortran sources
19
20 FSRCS          = AliZDCf.F 
21
22 # C++ Headers
23
24 HDRS          = $(SRCS:.cxx=.h) ZDCLinkDef.h
25
26 # Library dictionary
27
28 DICT          = ZDCCint.cxx
29 DICTH         = $(DICT:.cxx=.h)
30 DICTO         = $(DICT:.cxx=.o)
31
32 # FORTRAN Objectrs
33
34 FOBJS         = $(FSRCS:.F=.o)
35
36 # C Objects
37
38 COBJS         = $(CSRCS:.c=.o)
39
40 # C++ Objects
41
42 OBJS          = $(SRCS:.cxx=.o) $(DICTO)
43
44 # Global Macros
45
46 ALLOBJS       = $(OBJS) $(FOBJS)
47
48 # C++ compilation flags
49
50 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include
51  
52 # FORTRAN compilation flags
53
54 FFLAGS      = $(FOPT) -I$(ALICE_ROOT)/GEANT321
55
56 ##### TARGETS #####
57  
58 # Target
59
60 SLIBRARY        = $(ALICE_ROOT)/lib/libZDC.$(SL)
61 ALIBRARY        = $(ALICE_ROOT)/lib/libZDC.a
62
63 default:        $(SLIBRARY)
64
65 $(ALICE_ROOT)/lib/libZDC.$(SL): $(OBJS) $(FOBJS)
66
67 $(DICT):                        $(HDRS)
68
69 DEPINC  +=      -I$(ALICE_ROOT)/GEANT321
70
71 depend:                         $(SRCS) $(FSRCS)
72
73 TOCLEAN         = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
74
75 ############################### General Macros ################################
76
77 include $(ALICE_ROOT)/conf/GeneralMacros
78
79 ############################ Dependencies #####################################
80
81 include Make-depend 
82