New readers for ITS
[u/mrichter/AliRoot.git] / HBTAN / Makefile
CommitLineData
1b446896 1############################### HBTAnalysis Makefile ##################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8
9OPT = -g
10PACKAGE = HBTAnalysis
11
12# C++ sources
13
14SRCS = AliHBTAnalysis.cxx AliHBTFunction.cxx \
15 AliHBTEvent.cxx AliHBTRun.cxx \
16 AliHBTParticle.cxx AliHBTParticleCut.cxx \
17 AliHBTPair.cxx AliHBTPairCut.cxx\
18 AliHBTCorrelFctn.cxx \
19 AliHBTReader.cxx AliHBTReaderTPC.cxx\
8a86dc8c 20 AliHBTQResolutionFctns.cxx AliHBTReaderPPprod.cxx\
21 AliHBTReaderITSv1.cxx AliHBTReaderITSv2.cxx
1b446896 22
23# Fortran sources
24
25FSRCS =
26
27# C++ Headers
28
29HDRS = $(SRCS:.cxx=.h) HBTAnalysisLinkDef.h
30
31# Library dictionary
32
33DICT = HBTAnalysisCint.cxx
34DICTH = $(DICT:.cxx=.h)
35DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
36
37# FORTRAN Objectrs
38
39FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
40
41# C Objects
42
43COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
44
45# C++ Objects
46
47OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
48
49# C++ compilation flags
50
51INCLUDES = -I$(ALICE_ROOT)/TPC/ -I$(ALICE_ROOT)/CONTAINERS/
52
53CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ $(INCLUDES)
54
55# FORTRAN compilation flags
56
57FFLAGS = $(FOPT) -I$(ALICE_ROOT)/GEANT321
58
59##### TARGETS #####
60
61# Target
62
63SLIBRARY = $(LIBDIR)/libHBTAnalysis.$(SL)
64ALIBRARY = $(LIBDIR)/libHBTAnalysis.a
65
66default: $(SLIBRARY)
67
68
69$(LIBDIR)/libHBTAnalysis.$(SL): $(OBJS)
70
71$(DICT): $(HDRS)
72
73DEPINC += -I$(ALICE_ROOT)/GEANT321
74
75depend: $(SRCS) $(FSRCS)
76
77TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
78
79CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
80
81############################### General Macros ################################
82
83include $(ALICE_ROOT)/conf/GeneralMacros
84
85############################ Dependencies #####################################
86
87-include tgt_$(ALICE_TARGET)/Make-depend
88
89