Makefile from aliroot. The one that was used before.
[u/mrichter/AliRoot.git] / HLT / src / Makefile
CommitLineData
108615fc 1############################### TPC Makefile ##################################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = AliL3
9
10# C++ sources
11
12
13SRCS = AliL3ConfMapper.cxx AliL3ConfMapPoint.cxx AliLevel3.cxx\
14 AliL3ConfMapTrack.cxx AliL3ConfMapFit.cxx AliL3Track.cxx\
15 AliL3Transform.cxx AliL3TrackMerger.cxx AliL3VertexArray.cxx \
4a942324 16 AliL3Vertex.cxx AliL3VertexFinder.cxx \
108615fc 17 AliL3Merger.cxx AliL3GlobalMerger.cxx AliL3ClustFinder.cxx \
18 AliL3TrackArray.cxx AliL3InterMerger.cxx AliL3Logger.cxx \
19 AliL3MemHandler.cxx AliL3FileHandler.cxx AliL3Evaluate.cxx \
154049ac 20 AliL3Benchmark.cxx AliL3Display.cxx AliL3ClustFinderNew.cxx AliL3Fitter.cxx
108615fc 21
22
23# C++ Headers
24
25HDRS = $(SRCS:.cxx=.h) AliL3LinkDef.h
26# Library dictionary
27
28DICT = AliL3Cint.cxx
29DICTH = $(DICT:.cxx=.h)
30DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
31
32# FORTRAN Objectrs
33
34FOBJS = $(FSRCS:.f=.o)
35
36# C Objects
37
38COBJS = $(CSRCS:.c=.o)
39
40# C++ Objects
41
42OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
43
44# C++ compilation flags
45
4e82a87c 46CXXFLAGS = $(CXXOPTS) -g -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ -I$(ALICE_ROOT)/TPC -I$(ALICE_ROOT)/CONTAINERS -I$(HOME)/level3code/hough/
108615fc 47
48#CXXFLAGS = $(CXXOPTS) -g -Wall -I$(ROOTSYS)/include -I. -I $(ALICE_ROOT)/TPC -I$(ALICE_ROOT)/include/ -DCOMPILING
49
50# FORTRAN compilation flags
51
52FFLAGS = $(FOPT)
53
54##### TARGETS #####
55
56# Target
57
ed80e789 58SLIBRARY = $(LEVEL3)/lib_$(USERNAME)/libAliL3.$(SL)
108615fc 59
60default: $(SLIBRARY)
61
ed80e789 62$(LEVEL3)/lib_$(USERNAME)/libAliL3.$(SL): $(OBJS)
108615fc 63
64$(DICT): $(HDRS)
65
66depend: $(SRCS)
67
68TOCLEAN = $(OBJS) *Cint.h *Cint.cxx
69
70############################### General Macros ################################
71
72include $(ALICE_ROOT)/conf/GeneralMacros
73
74############################ Dependencies #####################################
75
76include tgt_$(ALICE_TARGET)/Make-depend
77
78###########
1406049c 79mrproper:
80 rm -fr tgt_Linux
81 rm -fr $(DICT) $(DICTH) $(DICTO)
108615fc 82clean:
83 rm -fr tgt_Linux/*.o
ed80e789 84 rm -fr $(LEVEL3)/lib_$(USERNAME)/libAliL3.so
108615fc 85 rm -fr $(DICT) $(DICTH) $(DICTO)
1406049c 86
87wipe: clean mrproper