Fork me on GitHub

source: svn/trunk/Makefile@ 323

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

update

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