Fork me on GitHub

source: svn/trunk/Makefile@ 388

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

first test HepMC

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