]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/Makefile
Changes imposed by HP-UX which ignores the new C++ standart
[u/mrichter/AliRoot.git] / PHOS / Makefile
1 ############################### PHOS 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 = PHOS
9
10 # C++ sources
11
12 SRCS          =    AliPHOS.cxx AliPHOSv0.cxx AliPHOSv1.cxx AliPHOSHit.cxx \
13                    AliPHOSGeometry.cxx \
14                    AliPHOSDigit.cxx  \
15                    AliPHOSRecPoint.cxx AliPHOSEmcRecPoint.cxx AliPHOSPpsdRecPoint.cxx \
16                    AliPHOSClusterizer.cxx AliPHOSClusterizerv1.cxx  AliPHOSLink.cxx \
17                    AliPHOSReconstructioner.cxx  AliPHOSTrackSegment.cxx \
18                    AliPHOSTrackSegmentMaker.cxx AliPHOSTrackSegmentMakerv1.cxx \
19                    AliPHOSRecParticle.cxx AliPHOSPID.cxx AliPHOSPIDv1.cxx \
20                    AliPHOSAnalyze.cxx  AliPHOSvFast.cxx AliPHOSFastRecParticle.cxx 
21
22 # C++ Headers
23
24 HDRS          = $(SRCS:.cxx=.h) PHOSLinkDef.h
25
26 # Library dictionary
27
28 DICT          = PHOSCint.cxx
29 DICTH         = $(DICT:.cxx=.h)
30 DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
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 ALSRCS  = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c
41
42 ALOBJS  = $(SHOBJS) $(RCOBJS) $(DUOBJS)
43
44 ##### COMMANDS ##### 
45
46 SLIBRARY        = $(LIBDIR)/libPHOS.$(SL)
47
48 default:        $(SLIBRARY)
49
50 $(LIBDIR)/libPHOS.$(SL):                        $(OBJS) $(FOBJS)
51
52 $(DICT):                                        $(HDRS)
53
54 depend:                         $(SRCS) 
55
56 TOCLEAN         =        $(OBJS) *Cint.cxx *Cint.h
57
58 ############################### General Macros ################################
59
60 include $(ALICE_ROOT)/conf/GeneralMacros
61
62 ############################ Dependencies #####################################
63
64 -include tgt_$(ALICE_TARGET)/Make-depend 
65
66 ### Target check creates violation reports (.viol), which depend on
67 ### stripped files (.ii), which in turn depend on preprocessed
68 ### files (.i). Dependences are in conf/GeneralDef.
69
70 CHECKS        = $(patsubst %.cxx,check/%.viol,$(SRCS))
71
72 check:          $(CHECKS)
73
74
75
76
77
78
79