Muon filter removed
[u/mrichter/AliRoot.git] / STRUCT / Makefile
CommitLineData
fe4da5cc 1############################### STRUCT Makefile ###############################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = STRUCT
9
10# C++ sources
11
12SRCS = AliMAG.cxx AliABSO.cxx \
13 AliDIPO.cxx AliDIPOv1.cxx AliDIPOv2.cxx \
14 AliFRAME.cxx AliFRAMEv0.cxx AliFRAMEv1.cxx \
15 AliHALL.cxx AliSHIL.cxx \
16 AliPIPE.cxx AliPIPEv0.cxx AliPIPEv1.cxx \
77289c85 17 AliPIPEv3.cxx AliBODY.cxx
fe4da5cc 18
19# C++ Headers
20
21HDRS = $(SRCS:.cxx=.h) STRUCTLinkDef.h
22
23# Library dictionary
24
25DICT = STRUCTCint.cxx
26DICTH = $(DICT:.cxx=.h)
4adb943a 27DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
fe4da5cc 28
29# FORTRAN Objectrs
30
4adb943a 31FOBJS = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
fe4da5cc 32
33# C Objects
34
4adb943a 35COBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
fe4da5cc 36
37# C++ Objects
38
4adb943a 39OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
fe4da5cc 40
41# C++ compilation flags
42
43CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
44
45# FORTRAN compilation flags
46
47FFLAGS = $(FOPT)
48
49##### TARGETS #####
50
51# Target
52
cb342460 53SLIBRARY = $(LIBDIR)/libSTRUCT.$(SL)
54ALIBRARY = $(LIBDIR)/libSTRUCT.a
fe4da5cc 55
56default: $(SLIBRARY)
57
cb342460 58$(LIBDIR)/libSTRUCT.$(SL): $(OBJS)
fe4da5cc 59
60$(DICT): $(HDRS)
61
62depend: $(SRCS)
63
64TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
65
66############################### General Macros ################################
67
68include $(ALICE_ROOT)/conf/GeneralMacros
69
70############################ Dependencies #####################################
71
1207d6f2 72-include tgt_$(ALICE_TARGET)/Make-depend
41f6cf69 73
74### Target check creates violation reports (.viol), which depend on
75### stripped files (.ii), which in turn depend on preprocessed
76### files (.i). Dependences are in conf/GeneralDef.
77
78CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))
79
80check: $(CHECKS)
81
82
83
84
85
86
87