Fork me on GitHub

source: svn/trunk/Makefile@ 457

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

new header in all files

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