Fork me on GitHub

source: svn/trunk/Makefile@ 323

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

update

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