libHBTAnalysis renamed to libHBTAN
[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\
b19fc848 21 AliHBTReaderITSv1.cxx AliHBTReaderITSv2.cxx\
34f6291c 22 AliHBTReaderKineTree.cxx
1b446896 23
24# Fortran sources
25
26FSRCS =
27
28# C++ Headers
29
30HDRS = $(SRCS:.cxx=.h) HBTAnalysisLinkDef.h
31
32# Library dictionary
33
34DICT = HBTAnalysisCint.cxx
35DICTH = $(DICT:.cxx=.h)
36DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
37
38# FORTRAN Objectrs
39
40FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
41
42# C Objects
43
44COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
45
46# C++ Objects
47
48OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
49
50# C++ compilation flags
51
b19fc848 52INCLUDES = -I$(ALICE_ROOT)/TPC/ -I$(ALICE_ROOT)/CONTAINERS/ -I$(ALICE_ROOT)/ITS/
1b446896 53
54CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ $(INCLUDES)
55
56# FORTRAN compilation flags
57
58FFLAGS = $(FOPT) -I$(ALICE_ROOT)/GEANT321
59
60##### TARGETS #####
61
62# Target
63
b0837540 64SLIBRARY = $(LIBDIR)/libHBTAN.$(SL)
65ALIBRARY = $(LIBDIR)/libHBTAN.a
1b446896 66
67default: $(SLIBRARY)
68
69
b0837540 70$(LIBDIR)/libHBTAN.$(SL): $(OBJS)
1b446896 71
72$(DICT): $(HDRS)
73
74DEPINC += -I$(ALICE_ROOT)/GEANT321
75
76depend: $(SRCS) $(FSRCS)
77
78TOCLEAN = $(OBJS) $(FOBJS) *Cint.cxx *Cint.h
79
80CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
81
82############################### General Macros ################################
83
84include $(ALICE_ROOT)/conf/GeneralMacros
85
86############################ Dependencies #####################################
87
88-include tgt_$(ALICE_TARGET)/Make-depend
89
90