]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RALICE/Makefile
Updated version of the non-recursive Makefiles. See doc/README.FlatMakefile and build...
[u/mrichter/AliRoot.git] / RALICE / Makefile
1 ############################### TPC 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 = RALICE
9
10 # C++ sources
11
12 SRCS          = Ali3Vector.cxx Ali4Vector.cxx AliBoost.cxx AliCalcluster.cxx \
13         AliCalmodule.cxx AliCalorimeter.cxx AliInvmass.cxx AliJet.cxx \
14         AliMath.cxx AliPosition.cxx AliRandom.cxx AliSample.cxx AliSignal.cxx \
15         AliTrack.cxx AliVertex.cxx Ali3VectorObj.cxx Ali4VectorObj.cxx \
16         AliPositionObj.cxx AliEvent.cxx
17
18
19 # C++ Headers
20
21 HDRS          = $(SRCS:.cxx=.h) RALICELinkDef.h
22
23 # Library dictionary
24
25 DICT          = RALICECint.cxx
26 DICTH         = $(DICT:.cxx=.h)
27 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
28
29 # FORTRAN Objectrs
30
31 FOBJS         = $(FSRCS:.f=.o)
32
33 # C Objects
34
35 COBJS         = $(CSRCS:.c=.o)
36
37 # C++ Objects
38
39 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
40
41 # C++ compilation flags
42
43 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
44  
45 # FORTRAN compilation flags
46
47 FFLAGS      = $(FOPT)
48  
49 ##### TARGETS #####
50  
51 # Target
52
53 SLIBRARY        = $(LIBDIR)/libRALICE.$(SL)
54
55 default:        $(SLIBRARY)
56
57 $(LIBDIR)/libRALICE.$(SL):  $(OBJS)
58
59 $(DICT):                $(HDRS)
60
61 depend:                 $(SRCS)
62
63 TOCLEAN                 = $(OBJS) *Cint.h *Cint.cxx
64
65 CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
66
67 ############################### General Macros ################################
68
69 include $(ALICE_ROOT)/conf/GeneralMacros
70
71 ############################ Dependencies #####################################
72
73 -include tgt_$(ALICE_TARGET)/Make-depend 
74
75
76
77
78
79
80