Fork me on GitHub

source: svn/trunk/Makefile@ 226

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

more include paths for compilation; README file removed from the tarball

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