Inconsistent names (between flat and recursive makefiles) corrected
[u/mrichter/AliRoot.git] / THbtp / Makefile
CommitLineData
6671656e 1############################### THBTprocessor Makefile ##############################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8
9
10
11PACKAGE = THBTprocessor
12
13LIBS = $(ALILIBS) -lhbtprocessor
14
15# FORTRAN sources
16
17FSRCS =
18
19# C++ sources
20
21SRCS = THBTprocessor.cxx
22
23# C++ Headers
24
25HDRS = $(SRCS:.cxx=.h) THBTprocessorLinkDef.h
26
27# Library dictionary
28
29DICT = THBTprocessorCint.cxx
30DICTH = $(DICT:.cxx=.h)
31DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
32
33# Objects
34
35OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(FOBJS) $(DICTO)
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
51CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
52
53# FORTRAN compilation flags
54
55FFLAGS = $(FOPT)
56
57
58##### TARGETS #####
59
60# Target
61
0b99cf01 62SLIBRARY = $(LIBDIR)/libTHbtp.$(SL)
63ALIBRARY = $(LIBDIR)/libTHbtp.a
6671656e 64
65default: $(SLIBRARY)
66
67$(LIBDIR)/libTHBTprocessor.$(SL): $(OBJS)
68
69$(DICT): $(HDRS)
70
71depend: $(SRCS) $(FSRCS)
72
73HEADERS = HBTprocCOMMON.h THBTprocessor.h
74
75TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
76
77CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
78
79############################### General Macros ################################
80
81include $(ALICE_ROOT)/conf/GeneralMacros
82
83############################ Dependencies #####################################
84
85-include tgt_$(ALICE_TARGET)/Make-depend
86
87
88
89
90
91
92