Fork me on GitHub

source: svn/trunk/Makefile@ 16

Last change on this file since 16 was 15, checked in by severine ovyn, 16 years ago

remove PT sorted bug

File size: 24.7 KB
Line 
1
2#
3# Makefile for Delphes, a Fast Simulator for general-purpose detectors at the LHC
4#
5# Author: S. Ovyn, X. Rouby - UCL, Louvain-la-Neuve
6# -- inspired by P. Demin's work on ExRootAnalysis (UCL, Louvain-la-Neuve)
7# -- the multi-platform configuration is taken from ROOT (root/test/Makefile.arch)
8#
9
10include $(ROOTSYS)/test/Makefile.arch
11
12ifeq ($(ARCH),macosx64)
13UNDEFOPT = dynamic_lookup
14endif
15
16SrcSuf = cc
17
18#CXXFLAGS += $(ROOTCFLAGS) -DDROP_CGAL -Iinterface -IUtilities/CDFCones/interface -IUtilities/ExRootAnalysis/interface -IUtilities/mcfio -IUtilities/stdhep -IUtilities/Hector/include
19CXXFLAGS += $(ROOTCFLAGS) -DDROP_CGAL -I. -IUtilities/mcfio -IUtilities/stdhep -IUtilities/Hector/include -IUtilities/CDFCones/interface
20LIBS = $(ROOTLIBS) -lEG $(SYSLIBS)
21GLIBS = $(ROOTGLIBS) $(SYSLIBS)
22
23###
24
25SHARED = lib/libUtilities.$(DllSuf) lib/libHector.$(DllSuf)
26
27all:
28
29
30Delphes$(ExeSuf): \
31 tmp/Delphes.$(ObjSuf)
32
33tmp/Delphes.$(ObjSuf): \
34 Delphes.cpp \
35 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
36 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
37 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
38 interface/DataConverter.h \
39 interface/HEPEVTConverter.h \
40 interface/LHEFConverter.h \
41 interface/STDHEPConverter.h \
42 interface/SmearUtil.h \
43 Utilities/Fastjet/include/fastjet/PseudoJet.hh \
44 Utilities/Fastjet/include/fastjet/ClusterSequence.hh \
45 Utilities/Fastjet/include/fastjet/config.h
46Resolutions$(ExeSuf): \
47 tmp/Resolutions.$(ObjSuf)
48
49tmp/Resolutions.$(ObjSuf): \
50 Resolutions.cpp \
51 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
52 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
53 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
54 interface/DataConverter.h \
55 interface/HEPEVTConverter.h \
56 interface/LHEFConverter.h \
57 interface/STDHEPConverter.h \
58 interface/SmearUtil.h
59EXECUTABLE = \
60 Delphes$(ExeSuf) \
61 Resolutions$(ExeSuf)
62
63EXECUTABLE_OBJ = \
64 tmp/Delphes.$(ObjSuf) \
65 tmp/Resolutions.$(ObjSuf)
66
67tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(SrcSuf): \
68 Utilities/ExRootAnalysis/src/BlockClassesLinkDef.h \
69 Utilities/ExRootAnalysis/interface/BlockClasses.h
70DICT = \
71 tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(SrcSuf)
72
73DICT_OBJ = \
74 tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(ObjSuf)
75
76tmp/src/HEPEVTConverter.$(ObjSuf): \
77 src/HEPEVTConverter.$(SrcSuf) \
78 Utilities/ExRootAnalysis/interface/BlockClasses.h \
79 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
80 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
81 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
82 interface/HEPEVTConverter.h
83tmp/src/LHEFConverter.$(ObjSuf): \
84 src/LHEFConverter.$(SrcSuf) \
85 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
86 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
87 Utilities/ExRootAnalysis/interface/BlockClasses.h \
88 interface/LHEFConverter.h \
89 Utilities/ExRootAnalysis/interface/LHEF.h
90tmp/src/STDHEPConverter.$(ObjSuf): \
91 src/STDHEPConverter.$(SrcSuf) \
92 Utilities/ExRootAnalysis/interface/BlockClasses.h \
93 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
94 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
95 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
96 Utilities/ExRootAnalysis/interface/LHEF.h \
97 Utilities/stdhep/stdhep_mcfio.h \
98 Utilities/stdhep/stdhep_declarations.h \
99 interface/STDHEPConverter.h
100tmp/src/SmearUtil.$(ObjSuf): \
101 src/SmearUtil.$(SrcSuf) \
102 interface/SmearUtil.h
103tmp/Utilities/ExRootAnalysis/src/BlockClasses.$(ObjSuf): \
104 Utilities/ExRootAnalysis/src/BlockClasses.$(SrcSuf) \
105 Utilities/ExRootAnalysis/interface/BlockClasses.h \
106 Utilities/ExRootAnalysis/interface/BlockCompare.h
107tmp/Utilities/ExRootAnalysis/src/ExRootProgressBar.$(ObjSuf): \
108 Utilities/ExRootAnalysis/src/ExRootProgressBar.$(SrcSuf) \
109 Utilities/ExRootAnalysis/interface/ExRootProgressBar.h
110tmp/Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(ObjSuf): \
111 Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(SrcSuf) \
112 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h
113tmp/Utilities/ExRootAnalysis/src/ExRootTreeReader.$(ObjSuf): \
114 Utilities/ExRootAnalysis/src/ExRootTreeReader.$(SrcSuf) \
115 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h
116tmp/Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(ObjSuf): \
117 Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(SrcSuf) \
118 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
119 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h
120tmp/Utilities/Hector/src/H_AbstractBeamLine.$(ObjSuf): \
121 Utilities/Hector/src/H_AbstractBeamLine.$(SrcSuf)
122tmp/Utilities/Hector/src/H_Aperture.$(ObjSuf): \
123 Utilities/Hector/src/H_Aperture.$(SrcSuf)
124tmp/Utilities/Hector/src/H_Beam.$(ObjSuf): \
125 Utilities/Hector/src/H_Beam.$(SrcSuf)
126tmp/Utilities/Hector/src/H_BeamLine.$(ObjSuf): \
127 Utilities/Hector/src/H_BeamLine.$(SrcSuf)
128tmp/Utilities/Hector/src/H_BeamLineParser.$(ObjSuf): \
129 Utilities/Hector/src/H_BeamLineParser.$(SrcSuf)
130tmp/Utilities/Hector/src/H_BeamParticle.$(ObjSuf): \
131 Utilities/Hector/src/H_BeamParticle.$(SrcSuf)
132tmp/Utilities/Hector/src/H_CircularAperture.$(ObjSuf): \
133 Utilities/Hector/src/H_CircularAperture.$(SrcSuf)
134tmp/Utilities/Hector/src/H_Dipole.$(ObjSuf): \
135 Utilities/Hector/src/H_Dipole.$(SrcSuf)
136tmp/Utilities/Hector/src/H_Drift.$(ObjSuf): \
137 Utilities/Hector/src/H_Drift.$(SrcSuf)
138tmp/Utilities/Hector/src/H_EllipticAperture.$(ObjSuf): \
139 Utilities/Hector/src/H_EllipticAperture.$(SrcSuf)
140tmp/Utilities/Hector/src/H_HorizontalKicker.$(ObjSuf): \
141 Utilities/Hector/src/H_HorizontalKicker.$(SrcSuf)
142tmp/Utilities/Hector/src/H_HorizontalQuadrupole.$(ObjSuf): \
143 Utilities/Hector/src/H_HorizontalQuadrupole.$(SrcSuf)
144tmp/Utilities/Hector/src/H_Kicker.$(ObjSuf): \
145 Utilities/Hector/src/H_Kicker.$(SrcSuf)
146tmp/Utilities/Hector/src/H_Marker.$(ObjSuf): \
147 Utilities/Hector/src/H_Marker.$(SrcSuf)
148tmp/Utilities/Hector/src/H_OpticalElement.$(ObjSuf): \
149 Utilities/Hector/src/H_OpticalElement.$(SrcSuf)
150tmp/Utilities/Hector/src/H_Parameters.$(ObjSuf): \
151 Utilities/Hector/src/H_Parameters.$(SrcSuf)
152tmp/Utilities/Hector/src/H_Quadrupole.$(ObjSuf): \
153 Utilities/Hector/src/H_Quadrupole.$(SrcSuf)
154tmp/Utilities/Hector/src/H_RecRPObject.$(ObjSuf): \
155 Utilities/Hector/src/H_RecRPObject.$(SrcSuf)
156tmp/Utilities/Hector/src/H_RectEllipticAperture.$(ObjSuf): \
157 Utilities/Hector/src/H_RectEllipticAperture.$(SrcSuf)
158tmp/Utilities/Hector/src/H_RectangularAperture.$(ObjSuf): \
159 Utilities/Hector/src/H_RectangularAperture.$(SrcSuf)
160tmp/Utilities/Hector/src/H_RectangularCollimator.$(ObjSuf): \
161 Utilities/Hector/src/H_RectangularCollimator.$(SrcSuf)
162tmp/Utilities/Hector/src/H_RectangularDipole.$(ObjSuf): \
163 Utilities/Hector/src/H_RectangularDipole.$(SrcSuf)
164tmp/Utilities/Hector/src/H_RomanPot.$(ObjSuf): \
165 Utilities/Hector/src/H_RomanPot.$(SrcSuf)
166tmp/Utilities/Hector/src/H_SectorDipole.$(ObjSuf): \
167 Utilities/Hector/src/H_SectorDipole.$(SrcSuf)
168tmp/Utilities/Hector/src/H_TransportMatrices.$(ObjSuf): \
169 Utilities/Hector/src/H_TransportMatrices.$(SrcSuf)
170tmp/Utilities/Hector/src/H_VerticalKicker.$(ObjSuf): \
171 Utilities/Hector/src/H_VerticalKicker.$(SrcSuf)
172tmp/Utilities/Hector/src/H_VerticalQuadrupole.$(ObjSuf): \
173 Utilities/Hector/src/H_VerticalQuadrupole.$(SrcSuf)
174tmp/Utilities/Fastjet/src/DnnPlane.$(ObjSuf): \
175 Utilities/Fastjet/src/DnnPlane.$(SrcSuf)
176tmp/Utilities/Fastjet/src/Dnn4piCylinder.$(ObjSuf): \
177 Utilities/Fastjet/src/Dnn4piCylinder.$(SrcSuf)
178tmp/Utilities/Fastjet/src/Dnn3piCylinder.$(ObjSuf): \
179 Utilities/Fastjet/src/Dnn3piCylinder.$(SrcSuf)
180tmp/Utilities/Fastjet/src/Dnn2piCylinder.$(ObjSuf): \
181 Utilities/Fastjet/src/Dnn2piCylinder.$(SrcSuf)
182tmp/Utilities/Fastjet/src/ClusterSequence.$(ObjSuf): \
183 Utilities/Fastjet/src/ClusterSequence.$(SrcSuf)
184tmp/Utilities/Fastjet/src/PseudoJet.$(ObjSuf): \
185 Utilities/Fastjet/src/PseudoJet.$(SrcSuf)
186tmp/Utilities/Fastjet/src/ClusterSequence_N2.$(ObjSuf): \
187 Utilities/Fastjet/src/ClusterSequence_N2.$(SrcSuf)
188tmp/Utilities/Fastjet/src/ClusterSequence_TiledN2.$(ObjSuf): \
189 Utilities/Fastjet/src/ClusterSequence_TiledN2.$(SrcSuf)
190tmp/Utilities/Fastjet/src/ClusterSequence_Delaunay.$(ObjSuf): \
191 Utilities/Fastjet/src/ClusterSequence_Delaunay.$(SrcSuf)
192tmp/Utilities/Fastjet/src/ClusterSequence_DumbN3.$(ObjSuf): \
193 Utilities/Fastjet/src/ClusterSequence_DumbN3.$(SrcSuf)
194tmp/Utilities/Fastjet/src/ClusterSequence_CP2DChan.$(ObjSuf): \
195 Utilities/Fastjet/src/ClusterSequence_CP2DChan.$(SrcSuf)
196tmp/Utilities/Fastjet/src/ClosestPair2D.$(ObjSuf): \
197 Utilities/Fastjet/src/ClosestPair2D.$(SrcSuf)
198tmp/Utilities/Fastjet/src/MinHeap.$(ObjSuf): \
199 Utilities/Fastjet/src/MinHeap.$(SrcSuf)
200tmp/Utilities/Fastjet/src/ClusterSequenceAreaBase.$(ObjSuf): \
201 Utilities/Fastjet/src/ClusterSequenceAreaBase.$(SrcSuf)
202tmp/Utilities/Fastjet/src/ClusterSequenceActiveAreaExplicitGhosts.$(ObjSuf): \
203 Utilities/Fastjet/src/ClusterSequenceActiveAreaExplicitGhosts.$(SrcSuf)
204tmp/Utilities/Fastjet/src/ClusterSequenceArea.$(ObjSuf): \
205 Utilities/Fastjet/src/ClusterSequenceArea.$(SrcSuf)
206tmp/Utilities/Fastjet/src/GhostedAreaSpec.$(ObjSuf): \
207 Utilities/Fastjet/src/GhostedAreaSpec.$(SrcSuf)
208tmp/Utilities/Fastjet/src/ClusterSequenceActiveArea.$(ObjSuf): \
209 Utilities/Fastjet/src/ClusterSequenceActiveArea.$(SrcSuf)
210tmp/Utilities/Fastjet/src/Voronoi.$(ObjSuf): \
211 Utilities/Fastjet/src/Voronoi.$(SrcSuf)
212tmp/Utilities/Fastjet/src/ClusterSequenceVoronoiArea.$(ObjSuf): \
213 Utilities/Fastjet/src/ClusterSequenceVoronoiArea.$(SrcSuf)
214tmp/Utilities/Fastjet/src/ClusterSequencePassiveArea.$(ObjSuf): \
215 Utilities/Fastjet/src/ClusterSequencePassiveArea.$(SrcSuf)
216tmp/Utilities/Fastjet/src/ClusterSequence1GhostPassiveArea.$(ObjSuf): \
217 Utilities/Fastjet/src/ClusterSequence1GhostPassiveArea.$(SrcSuf)
218tmp/Utilities/Fastjet/src/BasicRandom.$(ObjSuf): \
219 Utilities/Fastjet/src/BasicRandom.$(SrcSuf)
220tmp/Utilities/Fastjet/src/JetDefinition.$(ObjSuf): \
221 Utilities/Fastjet/src/JetDefinition.$(SrcSuf)
222tmp/Utilities/Fastjet/src/Error.$(ObjSuf): \
223 Utilities/Fastjet/src/Error.$(SrcSuf)
224tmp/Utilities/Fastjet/src/AreaDefinition.$(ObjSuf): \
225 Utilities/Fastjet/src/AreaDefinition.$(SrcSuf)
226tmp/Utilities/Fastjet/src/RangeDefinition.$(ObjSuf): \
227 Utilities/Fastjet/src/RangeDefinition.$(SrcSuf)
228tmp/Utilities/Fastjet/plugins/CDFCones/CDFJetCluPlugin.$(ObjSuf): \
229 Utilities/Fastjet/plugins/CDFCones/CDFJetCluPlugin.$(SrcSuf) \
230 Utilities/Fastjet/include/fastjet/ClusterSequence.hh
231tmp/Utilities/Fastjet/plugins/CDFCones/CDFMidPointPlugin.$(ObjSuf): \
232 Utilities/Fastjet/plugins/CDFCones/CDFMidPointPlugin.$(SrcSuf) \
233 Utilities/Fastjet/include/fastjet/ClusterSequence.hh \
234 Utilities/Fastjet/include/fastjet/Error.hh
235tmp/Utilities/Fastjet/plugins/CDFCones/src/CalTower.$(ObjSuf): \
236 Utilities/Fastjet/plugins/CDFCones/src/CalTower.$(SrcSuf)
237tmp/Utilities/Fastjet/plugins/CDFCones/src/Centroid.$(ObjSuf): \
238 Utilities/Fastjet/plugins/CDFCones/src/Centroid.$(SrcSuf)
239tmp/Utilities/Fastjet/plugins/CDFCones/src/Cluster.$(ObjSuf): \
240 Utilities/Fastjet/plugins/CDFCones/src/Cluster.$(SrcSuf)
241tmp/Utilities/Fastjet/plugins/CDFCones/src/ClusterComparisons.$(ObjSuf): \
242 Utilities/Fastjet/plugins/CDFCones/src/ClusterComparisons.$(SrcSuf)
243tmp/Utilities/Fastjet/plugins/CDFCones/src/JetCluAlgorithm.$(ObjSuf): \
244 Utilities/Fastjet/plugins/CDFCones/src/JetCluAlgorithm.$(SrcSuf)
245tmp/Utilities/Fastjet/plugins/CDFCones/src/LorentzVector.$(ObjSuf): \
246 Utilities/Fastjet/plugins/CDFCones/src/LorentzVector.$(SrcSuf)
247tmp/Utilities/Fastjet/plugins/CDFCones/src/MidPointAlgorithm.$(ObjSuf): \
248 Utilities/Fastjet/plugins/CDFCones/src/MidPointAlgorithm.$(SrcSuf)
249tmp/Utilities/Fastjet/plugins/CDFCones/src/PhysicsTower.$(ObjSuf): \
250 Utilities/Fastjet/plugins/CDFCones/src/PhysicsTower.$(SrcSuf)
251tmp/Utilities/Fastjet/plugins/SISCone/SISConePlugin.$(ObjSuf): \
252 Utilities/Fastjet/plugins/SISCone/SISConePlugin.$(SrcSuf) \
253 Utilities/Fastjet/include/fastjet/ClusterSequence.hh
254tmp/Utilities/Fastjet/plugins/SISCone/src/area.$(ObjSuf): \
255 Utilities/Fastjet/plugins/SISCone/src/area.$(SrcSuf)
256tmp/Utilities/Fastjet/plugins/SISCone/src/geom_2d.$(ObjSuf): \
257 Utilities/Fastjet/plugins/SISCone/src/geom_2d.$(SrcSuf)
258tmp/Utilities/Fastjet/plugins/SISCone/src/hash.$(ObjSuf): \
259 Utilities/Fastjet/plugins/SISCone/src/hash.$(SrcSuf)
260tmp/Utilities/Fastjet/plugins/SISCone/src/momentum.$(ObjSuf): \
261 Utilities/Fastjet/plugins/SISCone/src/momentum.$(SrcSuf)
262tmp/Utilities/Fastjet/plugins/SISCone/src/protocones.$(ObjSuf): \
263 Utilities/Fastjet/plugins/SISCone/src/protocones.$(SrcSuf)
264tmp/Utilities/Fastjet/plugins/SISCone/src/quadtree.$(ObjSuf): \
265 Utilities/Fastjet/plugins/SISCone/src/quadtree.$(SrcSuf)
266tmp/Utilities/Fastjet/plugins/SISCone/src/ranlux.$(ObjSuf): \
267 Utilities/Fastjet/plugins/SISCone/src/ranlux.$(SrcSuf)
268tmp/Utilities/Fastjet/plugins/SISCone/src/reference.$(ObjSuf): \
269 Utilities/Fastjet/plugins/SISCone/src/reference.$(SrcSuf)
270tmp/Utilities/Fastjet/plugins/SISCone/src/siscone.$(ObjSuf): \
271 Utilities/Fastjet/plugins/SISCone/src/siscone.$(SrcSuf)
272tmp/Utilities/Fastjet/plugins/SISCone/src/siscone_error.$(ObjSuf): \
273 Utilities/Fastjet/plugins/SISCone/src/siscone_error.$(SrcSuf)
274tmp/Utilities/Fastjet/plugins/SISCone/src/split_merge.$(ObjSuf): \
275 Utilities/Fastjet/plugins/SISCone/src/split_merge.$(SrcSuf)
276tmp/Utilities/Fastjet/plugins/SISCone/src/vicinity.$(ObjSuf): \
277 Utilities/Fastjet/plugins/SISCone/src/vicinity.$(SrcSuf)
278SOURCE_OBJ = \
279 tmp/src/HEPEVTConverter.$(ObjSuf) \
280 tmp/src/LHEFConverter.$(ObjSuf) \
281 tmp/src/STDHEPConverter.$(ObjSuf) \
282 tmp/src/SmearUtil.$(ObjSuf) \
283 tmp/Utilities/ExRootAnalysis/src/BlockClasses.$(ObjSuf) \
284 tmp/Utilities/ExRootAnalysis/src/ExRootProgressBar.$(ObjSuf) \
285 tmp/Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(ObjSuf) \
286 tmp/Utilities/ExRootAnalysis/src/ExRootTreeReader.$(ObjSuf) \
287 tmp/Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(ObjSuf) \
288 tmp/Utilities/Hector/src/H_AbstractBeamLine.$(ObjSuf) \
289 tmp/Utilities/Hector/src/H_Aperture.$(ObjSuf) \
290 tmp/Utilities/Hector/src/H_Beam.$(ObjSuf) \
291 tmp/Utilities/Hector/src/H_BeamLine.$(ObjSuf) \
292 tmp/Utilities/Hector/src/H_BeamLineParser.$(ObjSuf) \
293 tmp/Utilities/Hector/src/H_BeamParticle.$(ObjSuf) \
294 tmp/Utilities/Hector/src/H_CircularAperture.$(ObjSuf) \
295 tmp/Utilities/Hector/src/H_Dipole.$(ObjSuf) \
296 tmp/Utilities/Hector/src/H_Drift.$(ObjSuf) \
297 tmp/Utilities/Hector/src/H_EllipticAperture.$(ObjSuf) \
298 tmp/Utilities/Hector/src/H_HorizontalKicker.$(ObjSuf) \
299 tmp/Utilities/Hector/src/H_HorizontalQuadrupole.$(ObjSuf) \
300 tmp/Utilities/Hector/src/H_Kicker.$(ObjSuf) \
301 tmp/Utilities/Hector/src/H_Marker.$(ObjSuf) \
302 tmp/Utilities/Hector/src/H_OpticalElement.$(ObjSuf) \
303 tmp/Utilities/Hector/src/H_Parameters.$(ObjSuf) \
304 tmp/Utilities/Hector/src/H_Quadrupole.$(ObjSuf) \
305 tmp/Utilities/Hector/src/H_RecRPObject.$(ObjSuf) \
306 tmp/Utilities/Hector/src/H_RectEllipticAperture.$(ObjSuf) \
307 tmp/Utilities/Hector/src/H_RectangularAperture.$(ObjSuf) \
308 tmp/Utilities/Hector/src/H_RectangularCollimator.$(ObjSuf) \
309 tmp/Utilities/Hector/src/H_RectangularDipole.$(ObjSuf) \
310 tmp/Utilities/Hector/src/H_RomanPot.$(ObjSuf) \
311 tmp/Utilities/Hector/src/H_SectorDipole.$(ObjSuf) \
312 tmp/Utilities/Hector/src/H_TransportMatrices.$(ObjSuf) \
313 tmp/Utilities/Hector/src/H_VerticalKicker.$(ObjSuf) \
314 tmp/Utilities/Hector/src/H_VerticalQuadrupole.$(ObjSuf) \
315 tmp/Utilities/Fastjet/src/DnnPlane.$(ObjSuf) \
316 tmp/Utilities/Fastjet/src/Dnn4piCylinder.$(ObjSuf) \
317 tmp/Utilities/Fastjet/src/Dnn3piCylinder.$(ObjSuf) \
318 tmp/Utilities/Fastjet/src/Dnn2piCylinder.$(ObjSuf) \
319 tmp/Utilities/Fastjet/src/ClusterSequence.$(ObjSuf) \
320 tmp/Utilities/Fastjet/src/PseudoJet.$(ObjSuf) \
321 tmp/Utilities/Fastjet/src/ClusterSequence_N2.$(ObjSuf) \
322 tmp/Utilities/Fastjet/src/ClusterSequence_TiledN2.$(ObjSuf) \
323 tmp/Utilities/Fastjet/src/ClusterSequence_Delaunay.$(ObjSuf) \
324 tmp/Utilities/Fastjet/src/ClusterSequence_DumbN3.$(ObjSuf) \
325 tmp/Utilities/Fastjet/src/ClusterSequence_CP2DChan.$(ObjSuf) \
326 tmp/Utilities/Fastjet/src/ClosestPair2D.$(ObjSuf) \
327 tmp/Utilities/Fastjet/src/MinHeap.$(ObjSuf) \
328 tmp/Utilities/Fastjet/src/ClusterSequenceAreaBase.$(ObjSuf) \
329 tmp/Utilities/Fastjet/src/ClusterSequenceActiveAreaExplicitGhosts.$(ObjSuf) \
330 tmp/Utilities/Fastjet/src/ClusterSequenceArea.$(ObjSuf) \
331 tmp/Utilities/Fastjet/src/GhostedAreaSpec.$(ObjSuf) \
332 tmp/Utilities/Fastjet/src/ClusterSequenceActiveArea.$(ObjSuf) \
333 tmp/Utilities/Fastjet/src/Voronoi.$(ObjSuf) \
334 tmp/Utilities/Fastjet/src/ClusterSequenceVoronoiArea.$(ObjSuf) \
335 tmp/Utilities/Fastjet/src/ClusterSequencePassiveArea.$(ObjSuf) \
336 tmp/Utilities/Fastjet/src/ClusterSequence1GhostPassiveArea.$(ObjSuf) \
337 tmp/Utilities/Fastjet/src/BasicRandom.$(ObjSuf) \
338 tmp/Utilities/Fastjet/src/JetDefinition.$(ObjSuf) \
339 tmp/Utilities/Fastjet/src/Error.$(ObjSuf) \
340 tmp/Utilities/Fastjet/src/AreaDefinition.$(ObjSuf) \
341 tmp/Utilities/Fastjet/src/RangeDefinition.$(ObjSuf) \
342 tmp/Utilities/Fastjet/plugins/CDFCones/CDFJetCluPlugin.$(ObjSuf) \
343 tmp/Utilities/Fastjet/plugins/CDFCones/CDFMidPointPlugin.$(ObjSuf) \
344 tmp/Utilities/Fastjet/plugins/CDFCones/src/CalTower.$(ObjSuf) \
345 tmp/Utilities/Fastjet/plugins/CDFCones/src/Centroid.$(ObjSuf) \
346 tmp/Utilities/Fastjet/plugins/CDFCones/src/Cluster.$(ObjSuf) \
347 tmp/Utilities/Fastjet/plugins/CDFCones/src/ClusterComparisons.$(ObjSuf) \
348 tmp/Utilities/Fastjet/plugins/CDFCones/src/JetCluAlgorithm.$(ObjSuf) \
349 tmp/Utilities/Fastjet/plugins/CDFCones/src/LorentzVector.$(ObjSuf) \
350 tmp/Utilities/Fastjet/plugins/CDFCones/src/MidPointAlgorithm.$(ObjSuf) \
351 tmp/Utilities/Fastjet/plugins/CDFCones/src/PhysicsTower.$(ObjSuf) \
352 tmp/Utilities/Fastjet/plugins/SISCone/SISConePlugin.$(ObjSuf) \
353 tmp/Utilities/Fastjet/plugins/SISCone/src/area.$(ObjSuf) \
354 tmp/Utilities/Fastjet/plugins/SISCone/src/geom_2d.$(ObjSuf) \
355 tmp/Utilities/Fastjet/plugins/SISCone/src/hash.$(ObjSuf) \
356 tmp/Utilities/Fastjet/plugins/SISCone/src/momentum.$(ObjSuf) \
357 tmp/Utilities/Fastjet/plugins/SISCone/src/protocones.$(ObjSuf) \
358 tmp/Utilities/Fastjet/plugins/SISCone/src/quadtree.$(ObjSuf) \
359 tmp/Utilities/Fastjet/plugins/SISCone/src/ranlux.$(ObjSuf) \
360 tmp/Utilities/Fastjet/plugins/SISCone/src/reference.$(ObjSuf) \
361 tmp/Utilities/Fastjet/plugins/SISCone/src/siscone.$(ObjSuf) \
362 tmp/Utilities/Fastjet/plugins/SISCone/src/siscone_error.$(ObjSuf) \
363 tmp/Utilities/Fastjet/plugins/SISCone/src/split_merge.$(ObjSuf) \
364 tmp/Utilities/Fastjet/plugins/SISCone/src/vicinity.$(ObjSuf)
365
366tmp/Utilities/mcfio/mcf_NTuIOFiles.$(ObjSuf): \
367 Utilities/mcfio/mcf_NTuIOFiles.c
368tmp/Utilities/mcfio/mcf_NTuIOUtils.$(ObjSuf): \
369 Utilities/mcfio/mcf_NTuIOUtils.c
370tmp/Utilities/mcfio/mcf_evt_xdr.$(ObjSuf): \
371 Utilities/mcfio/mcf_evt_xdr.c
372tmp/Utilities/mcfio/mcf_ntuBldDbinc.$(ObjSuf): \
373 Utilities/mcfio/mcf_ntuBldDbinc.c
374tmp/Utilities/mcfio/mcf_ntubldInit.$(ObjSuf): \
375 Utilities/mcfio/mcf_ntubldInit.c
376tmp/Utilities/mcfio/mcfio_Block.$(ObjSuf): \
377 Utilities/mcfio/mcfio_Block.c
378tmp/Utilities/mcfio/mcfio_Direct.$(ObjSuf): \
379 Utilities/mcfio/mcfio_Direct.c
380tmp/Utilities/mcfio/mcfio_SeqDummy.$(ObjSuf): \
381 Utilities/mcfio/mcfio_SeqDummy.c
382tmp/Utilities/mcfio/mcfio_UserDictionary.$(ObjSuf): \
383 Utilities/mcfio/mcfio_UserDictionary.c
384tmp/Utilities/mcfio/mcfio_Util1.$(ObjSuf): \
385 Utilities/mcfio/mcfio_Util1.c
386tmp/Utilities/stdhep/mcf_Stdhep_xdr.$(ObjSuf): \
387 Utilities/stdhep/mcf_Stdhep_xdr.c \
388 Utilities/mcfio/mcfio_Dict.h \
389 Utilities/mcfio/mcf_xdr.h \
390 Utilities/stdhep/stdhep.h \
391 Utilities/stdhep/stdtmp.h \
392 Utilities/stdhep/stdver.h
393tmp/Utilities/stdhep/mcf_hepev4_xdr.$(ObjSuf): \
394 Utilities/stdhep/mcf_hepev4_xdr.c \
395 Utilities/mcfio/mcfio_Dict.h \
396 Utilities/mcfio/mcf_xdr.h \
397 Utilities/stdhep/stdhep.h \
398 Utilities/stdhep/hepev4.h \
399 Utilities/stdhep/stdtmp.h \
400 Utilities/stdhep/stdver.h
401tmp/Utilities/stdhep/mcf_hepup_xdr.$(ObjSuf): \
402 Utilities/stdhep/mcf_hepup_xdr.c \
403 Utilities/mcfio/mcfio_Dict.h \
404 Utilities/mcfio/mcf_xdr.h \
405 Utilities/stdhep/hepeup.h \
406 Utilities/stdhep/heprup.h \
407 Utilities/stdhep/stdver.h
408tmp/Utilities/stdhep/mcf_stdcm1_xdr.$(ObjSuf): \
409 Utilities/stdhep/mcf_stdcm1_xdr.c \
410 Utilities/mcfio/mcfio_Dict.h \
411 Utilities/mcfio/mcf_xdr.h \
412 Utilities/stdhep/stdcm1.h \
413 Utilities/stdhep/stdver.h
414tmp/Utilities/stdhep/stdhep_internal_utils.$(ObjSuf): \
415 Utilities/stdhep/stdhep_internal_utils.c \
416 Utilities/stdhep/stdhep.h \
417 Utilities/stdhep/hepev4.h \
418 Utilities/stdhep/stdtmp.h \
419 Utilities/stdhep/hepeup.h
420tmp/Utilities/stdhep/stdhep_mcfio.$(ObjSuf): \
421 Utilities/stdhep/stdhep_mcfio.c \
422 Utilities/mcfio/mcf_xdr.h \
423 Utilities/mcfio/mcfio_Block.h \
424 Utilities/mcfio/mcfio_Dict.h \
425 Utilities/mcfio/mcfio_Direct.h \
426 Utilities/mcfio/mcfio_Util1.h \
427 Utilities/stdhep/stdhep.h \
428 Utilities/stdhep/hepev4.h \
429 Utilities/stdhep/hepeup.h \
430 Utilities/stdhep/heprup.h \
431 Utilities/stdhep/stdtmp.h \
432 Utilities/stdhep/stdhd.h \
433 Utilities/stdhep/stdcnt.h \
434 Utilities/stdhep/stdhep_mcfio.h
435STDHEP_OBJ = \
436 tmp/Utilities/mcfio/mcf_NTuIOFiles.$(ObjSuf) \
437 tmp/Utilities/mcfio/mcf_NTuIOUtils.$(ObjSuf) \
438 tmp/Utilities/mcfio/mcf_evt_xdr.$(ObjSuf) \
439 tmp/Utilities/mcfio/mcf_ntuBldDbinc.$(ObjSuf) \
440 tmp/Utilities/mcfio/mcf_ntubldInit.$(ObjSuf) \
441 tmp/Utilities/mcfio/mcfio_Block.$(ObjSuf) \
442 tmp/Utilities/mcfio/mcfio_Direct.$(ObjSuf) \
443 tmp/Utilities/mcfio/mcfio_SeqDummy.$(ObjSuf) \
444 tmp/Utilities/mcfio/mcfio_UserDictionary.$(ObjSuf) \
445 tmp/Utilities/mcfio/mcfio_Util1.$(ObjSuf) \
446 tmp/Utilities/stdhep/mcf_Stdhep_xdr.$(ObjSuf) \
447 tmp/Utilities/stdhep/mcf_hepev4_xdr.$(ObjSuf) \
448 tmp/Utilities/stdhep/mcf_hepup_xdr.$(ObjSuf) \
449 tmp/Utilities/stdhep/mcf_stdcm1_xdr.$(ObjSuf) \
450 tmp/Utilities/stdhep/stdhep_internal_utils.$(ObjSuf) \
451 tmp/Utilities/stdhep/stdhep_mcfio.$(ObjSuf)
452
453interface/DataConverter.h: \
454 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
455 Utilities/ExRootAnalysis/interface/LHEF.h
456 @touch $@
457
458interface/HEPEVTConverter.h: \
459 Utilities/ExRootAnalysis/interface/BlockClasses.h \
460 Utilities/ExRootAnalysis/interface/TSimpleArray.h \
461 interface/DataConverter.h
462 @touch $@
463
464interface/SmearUtil.h: \
465 Utilities/ExRootAnalysis/interface/BlockClasses.h \
466 Utilities/ExRootAnalysis/interface/TSimpleArray.h \
467 Utilities/Fastjet/plugins/CDFCones/interface/PhysicsTower.hh
468 @touch $@
469
470interface/LHEFConverter.h: \
471 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
472 Utilities/ExRootAnalysis/interface/LHEF.h \
473 interface/DataConverter.h
474 @touch $@
475
476Utilities/Fastjet/include/fastjet/Error.hh: \
477 Utilities/Fastjet/include/fastjet/internal/base.hh
478 @touch $@
479
480Utilities/Fastjet/include/fastjet/ClusterSequence.hh: \
481 Utilities/Fastjet/include/fastjet/internal/DynamicNearestNeighbours.hh \
482 Utilities/Fastjet/include/fastjet/PseudoJet.hh \
483 Utilities/Fastjet/include/fastjet/Error.hh \
484 Utilities/Fastjet/include/fastjet/JetDefinition.hh
485 @touch $@
486
487Utilities/stdhep/stdhep_declarations.h: \
488 Utilities/stdhep/stdhep.h \
489 Utilities/stdhep/hepev4.h \
490 Utilities/stdhep/hepeup.h \
491 Utilities/stdhep/heprup.h \
492 Utilities/stdhep/stdtmp.h \
493 Utilities/stdhep/stdhd.h \
494 Utilities/stdhep/stdcnt.h \
495 Utilities/stdhep/stdcm1.h \
496 Utilities/stdhep/stdver.h
497 @touch $@
498
499interface/STDHEPConverter.h: \
500 Utilities/ExRootAnalysis/interface/BlockClasses.h \
501 Utilities/ExRootAnalysis/interface/TSimpleArray.h \
502 Utilities/ExRootAnalysis/interface/LHEF.h \
503 interface/DataConverter.h
504 @touch $@
505
506Utilities/ExRootAnalysis/interface/BlockClasses.h: \
507 Utilities/ExRootAnalysis/interface/BlockCompare.h
508 @touch $@
509
510Utilities/Fastjet/include/fastjet/PseudoJet.hh: \
511 Utilities/Fastjet/include/fastjet/internal/numconsts.hh
512 @touch $@
513
514
515
516###
517
518all: $(SHARED) $(EXECUTABLE) $(STDHEP_EXECUTABLE)
519
520$(SHARED): $(DICT_OBJ) $(SOURCE_OBJ)
521 @mkdir -p $(@D)
522 @echo ">> Building $@"
523ifeq ($(ARCH),aix)
524 @/usr/ibmcxx/bin/makeC++SharedLib $(OutPutOpt) $@ $(LIBS) -p 0 $^
525else
526ifeq ($(ARCH),aix5)
527 @/usr/vacpp/bin/makeC++SharedLib $(OutPutOpt) $@ $(LIBS) -p 0 $^
528else
529ifeq ($(PLATFORM),macosx)
530# We need to make both the .dylib and the .so
531 @$(LD) $(SOFLAGS) $^ $(OutPutOpt) $@
532 @$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ $(LIBS) $(OutPutOpt) $(subst .$(DllSuf),.so,$@)
533else
534ifeq ($(PLATFORM),win32)
535 @bindexplib $* $^ > $*.def
536 @lib -nologo -MACHINE:IX86 $^ -def:$*.def $(OutPutOpt)$(EVENTLIB)
537 @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $*.exp $(LIBS) $(OutPutOpt)$@
538 @$(MT_DLL)
539else
540 @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
541 @$(MT_DLL)
542endif
543endif
544endif
545endif
546
547clean:
548 @rm -f $(DICT_OBJ) $(SOURCE_OBJ) $(STDHEP_OBJ) core
549
550distclean: clean
551 @rm -f $(SHARED) $(EXECUTABLE) $(STDHEP_EXECUTABLE)
552
553###
554
555.SUFFIXES: .$(SrcSuf) .$(ObjSuf) .$(DllSuf)
556
557%Dict.$(SrcSuf):
558 @mkdir -p $(@D)
559 @echo ">> Generating $@"
560 @rootcint -f $@ -c $<
561 @echo "#define private public" > $@.arch
562 @echo "#define protected public" >> $@.arch
563 @mv $@ $@.base
564 @cat $@.arch $< $@.base > $@
565 @rm $@.arch $@.base
566
567$(SOURCE_OBJ): tmp/%.$(ObjSuf): %.$(SrcSuf)
568 @mkdir -p $(@D)
569 @echo ">> Compiling $<"
570 @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
571
572$(DICT_OBJ): %.$(ObjSuf): %.$(SrcSuf)
573 @mkdir -p $(@D)
574 @echo ">> Compiling $<"
575 @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
576
577$(STDHEP_OBJ): tmp/%.$(ObjSuf): %.c
578 @mkdir -p $(@D)
579 @echo ">> Compiling $<"
580 @gcc $(CXXFLAGS) -c $< $(OutPutOpt)$@
581
582$(STDHEP_EXECUTABLE_OBJ): tmp/%.$(ObjSuf): %.cpp
583 @mkdir -p $(@D)
584 @echo ">> Compiling $<"
585 @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
586
587$(EXECUTABLE_OBJ): tmp/%.$(ObjSuf): %.cpp
588 @mkdir -p $(@D)
589 @echo ">> Compiling $<"
590 @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
591
592$(EXECUTABLE): %$(ExeSuf): $(DICT_OBJ) $(SOURCE_OBJ) $(STDHEP_OBJ)
593 @echo ">> Building $@"
594 @$(LD) $(LDFLAGS) $^ $(LIBS) $(OutPutOpt)$@
595
596###
597
598
Note: See TracBrowser for help on using the repository browser.