Fork me on GitHub

source: svn/trunk/Makefile@ 255

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

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

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