New version of RALICE introduced
[u/mrichter/AliRoot.git] / RALICE / Makefile
CommitLineData
d88f97cc 1############################### TPC Makefile ##################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = RALICE
9
10# C++ sources
11
12SRCS = 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 \
959fbac5 15 AliTrack.cxx AliVertex.cxx Ali3VectorObj.cxx Ali4VectorObj.cxx \
16 AliPositionObj.cxx
d88f97cc 17
18
19# C++ Headers
20
21HDRS = $(SRCS:.cxx=.h) RALICELinkDef.h
22
23# Library dictionary
24
25DICT = RALICECint.cxx
26DICTH = $(DICT:.cxx=.h)
4adb943a 27DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
d88f97cc 28
29# FORTRAN Objectrs
30
31FOBJS = $(FSRCS:.f=.o)
32
33# C Objects
34
35COBJS = $(CSRCS:.c=.o)
36
37# C++ Objects
38
4adb943a 39OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
d88f97cc 40
41# C++ compilation flags
42
43CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
44
45# FORTRAN compilation flags
46
47FFLAGS = $(FOPT)
48
49##### TARGETS #####
50
51# Target
52
53SLIBRARY = $(LIBDIR)/libRALICE.$(SL)
54
55default: $(SLIBRARY)
56
57$(LIBDIR)/libRALICE.$(SL): $(OBJS)
58
59$(DICT): $(HDRS)
60
61depend: $(SRCS)
62
63TOCLEAN = $(OBJS) *Cint.h *Cint.cxx
64
65############################### General Macros ################################
66
67include $(ALICE_ROOT)/conf/GeneralMacros
68
69############################ Dependencies #####################################
70
1207d6f2 71-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 72
73### Target check creates violation reports (.viol), which depend on
74### stripped files (.ii), which in turn depend on preprocessed
75### files (.i). Dependences are in conf/GeneralDef.
76
77CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
78
79check: $(CHECKS)
80
81
82
83
84
85
86