]> git.uio.no Git - u/mrichter/AliRoot.git/blame - VZERO/Makefile
Resolved merging conflicts
[u/mrichter/AliRoot.git] / VZERO / Makefile
CommitLineData
47890cd3 1###############################VZERO Makefile##################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = VZERO
9
10# C++ sources
11
12SRCS = AliVZERO.cxx AliVZEROv0.cxx AliVZEROhit.cxx AliVZEROdigit.cxx
13
14# C++ Headers
15
16HDRS = $(SRCS:.cxx=.h) VZEROLinkDef.h
17
18# Library dictionary
19
20DICT = VZEROCint.cxx
21DICTH = $(DICT:.cxx=.h)
22DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
23
24# FORTRAN Objectrs
25
26FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
27
28# C Objects
29
30COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
31
32# C++ Objects
33
34OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
35
36# C++ compilation flags
37
38CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include
39
40CXXFLAGS += -I$(ALICE_ROOT)/TGeant3 -I$(ALICE_ROOT)/STRUCT
41DEPINC += -I$(ALICE_ROOT)/TGeant3
42
43# FORTRAN compilation flags
44
45FFLAGS = $(FOPT)
46
47##### TARGETS #####
48
49# Target
50
51SLIBRARY = $(LIBDIR)/libVZERO.$(SL)
52ALIBRARY = $(LIBDIR)/libVZERO.a
53
54default: $(SLIBRARY)
55
56$(LIBDIR)/libVZERO.$(SL): $(OBJS)
57
58$(DICT): $(HDRS)
59
60depend: $(SRCS)
61
62TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
63
64############################### General Macros ################################
65
66include $(ALICE_ROOT)/conf/GeneralMacros
67
68############################ Dependencies #####################################
69
70-include tgt_$(ALICE_TARGET)/Make-depend
71
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# DO NOT DELETE