Fork me on GitHub

source: svn/trunk/Makefile@ 501

Last change on this file since 501 was 498, checked in by Xavier Rouby, 15 years ago

update

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