Fork me on GitHub

source: svn/trunk/Makefile@ 349

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

update. v1.5

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