]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/Makefile
Using the absolute path to the config macro
[u/mrichter/AliRoot.git] / TOF / Makefile
1 ############################### TOF Makefile ##################################
2
3 # Include machine specific definitions
4
5 include $(ALICE_ROOT)/conf/GeneralDef
6 include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8 PACKAGE = TOF
9
10 # C++ sources
11
12 SRCS  = AliTOF.cxx  AliTOFv0.cxx  AliTOFv1.cxx  AliTOFv2.cxx  AliTOFv3.cxx  AliTOFv4.cxx AliTOFv4T0.cxx AliTOFhit.cxx AliTOFhitT0.cxx AliTOFdigit.cxx AliTOFRawSector.cxx  AliTOFRoc.cxx  AliTOFRawDigit.cxx AliTOFDigitizer.cxx AliTOFSDigitizer.cxx AliTOFMerger.cxx  AliTOFv2FHoles.cxx AliTOFSDigit.cxx AliTOFHitMap.cxx AliTOFConstants.cxx AliTOFT0.cxx AliTOFPID.cxx AliTOFPad.cxx AliTOFRecHit.cxx AliTOFTrack.cxx AliTOFReconstructioner.cxx AliTOFProb.cxx AliTOFTrackV2.cxx AliTOFReconstructionerV2.cxx AliTOFDigitMap.cxx
13
14 # C++ Headers
15
16 HDRS          = $(SRCS:.cxx=.h) TOFLinkDef.h
17
18 # Library dictionary
19
20 DICT          = TOFCint.cxx
21 DICTH         = $(DICT:.cxx=.h)
22 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
23
24 # FORTRAN Objectrs
25
26 FOBJS         = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
27
28 # C Objects
29
30 COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
31
32 # C++ Objects
33
34 OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
35
36 # C++ compilation flags
37
38 CXXFLAGS      = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
39  
40 # FORTRAN compilation flags
41
42 FFLAGS      = $(FOPT)
43
44 ##### TARGETS #####
45  
46 # Target
47
48 SLIBRARY        = $(LIBDIR)/libTOF.$(SL)
49 ALIBRARY        = $(LIBDIR)/libTOF.a
50
51 default:        $(SLIBRARY)
52
53 $(LIBDIR)/libTOF.$(SL): $(OBJS)
54
55 $(DICT):                        $(HDRS)
56
57 depend:                         $(SRCS)
58
59 TOCLEAN                 = $(OBJS) *Cint.cxx *Cint.h
60
61 CHECKS                  = $(patsubst %.cxx,check/%.viol,$(SRCS))
62
63 ############################### General Macros ################################
64
65 include $(ALICE_ROOT)/conf/GeneralMacros
66
67 ############################ Dependencies #####################################
68
69 -include tgt_$(ALICE_TARGET)/Make-depend 
70 # DO NOT DELETE