Fork me on GitHub

source: svn/trunk/Makefile@ 226

Last change on this file since 226 was 214, checked in by Xavier Rouby, 16 years ago

more include paths for compilation; README file removed from the tarball

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