cuts on Q out, side, long added
[u/mrichter/AliRoot.git] / PMD / Makefile
CommitLineData
fe4da5cc 1############################### PMD Makefile ##################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = PMD
9
10# C++ sources
11
c4561145 12SRCS = AliPMD.cxx AliPMDv0.cxx AliPMDv1.cxx AliPMDRecPoint.cxx
fe4da5cc 13
14# C++ Headers
15
4fa198c6 16HDRS = $(SRCS:.cxx=.h) \
17 $(ROOTSYS)/include/TClonesArray.h \
18 PMDLinkDef.h
fe4da5cc 19
20# Library dictionary
21
22DICT = PMDCint.cxx
23DICTH = $(DICT:.cxx=.h)
4adb943a 24DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 25
26# FORTRAN Objectrs
27
4adb943a 28FOBJS = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 29
30# C Objects
31
4adb943a 32COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 33
34# C++ Objects
35
4adb943a 36OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 37
38# C++ compilation flags
39
40CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
41
42# FORTRAN compilation flags
43
44FFLAGS = $(FOPT)
45
46##### TARGETS #####
47
48# Target
49
cb342460 50SLIBRARY = $(LIBDIR)/libPMD.$(SL)
51ALIBRARY = $(LIBDIR)/libPMD.a
fe4da5cc 52
53default: $(SLIBRARY)
54
cb342460 55$(LIBDIR)/libPMD.$(SL): $(OBJS)
fe4da5cc 56
57$(DICT): $(HDRS)
58
59depend: $(SRCS)
60
61TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
62
e2fe4c02 63CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
64
fe4da5cc 65############################### General Macros ################################
66
67include $(ALICE_ROOT)/conf/GeneralMacros
68
69############################ Dependencies #####################################
70
1207d6f2 71-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 72
41f6cf69 73
74
75
76
77
78