Fork me on GitHub

source: svn/trunk/Makefile@ 338

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

update. v1.5

File size: 25.2 KB
Line 
1
2#
3# Makefile for Delphes, a Fast Simulator for general-purpose detectors at the LHC
4#
5# Author: S. Ovyn, X. Rouby - UCL, Louvain-la-Neuve
6# -- inspired by P. Demin's work on ExRootAnalysis (UCL, Louvain-la-Neuve)
7# -- the multi-platform configuration is taken from ROOT (root/test/Makefile.arch)
8#
9
10include $(ROOTSYS)/test/Makefile.arch
11
12ifeq ($(ARCH),macosx64)
13UNDEFOPT = dynamic_lookup
14endif
15
16SrcSuf = cc
17
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
20LIBS = $(ROOTLIBS) -lEG $(SYSLIBS)
21GLIBS = $(ROOTGLIBS) $(SYSLIBS)
22
23###
24
25#SHARED = lib/libUtilities.$(DllSuf) lib/libHector.$(DllSuf)
26SHARED = lib/libUtilities.$(DllSuf)
27VERSION=$(shell cat VERSION)
28FOLDER=Delphes_V_$(VERSION)
29TARBALL=$(FOLDER).tar.gz
30TESTFILE=tt_jj_small.hep
31
32all:
33
34
35Delphes$(ExeSuf): \
36 tmp/Delphes.$(ObjSuf)
37
38tmp/Delphes.$(ObjSuf): \
39 Delphes.cpp
40Resolutions$(ExeSuf): \
41 tmp/Resolutions.$(ObjSuf)
42
43tmp/Resolutions.$(ObjSuf): \
44 Resolutions.cpp
45Convertors_Only$(ExeSuf): \
46 tmp/Examples/Convertors_Only.$(ObjSuf)
47
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
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
71EXECUTABLE = \
72 Delphes$(ExeSuf) \
73 Resolutions$(ExeSuf) \
74 Convertors_Only$(ExeSuf) \
75 Analysis_Ex$(ExeSuf) \
76 Trigger_Only$(ExeSuf) \
77 LHCO_Only$(ExeSuf) \
78 Frog_on_analysis_output$(ExeSuf)
79
80EXECUTABLE_OBJ = \
81 tmp/Delphes.$(ObjSuf) \
82 tmp/Resolutions.$(ObjSuf) \
83 tmp/Examples/Convertors_Only.$(ObjSuf) \
84 tmp/Examples/Analysis_Ex.$(ObjSuf) \
85 tmp/Examples/Trigger_Only.$(ObjSuf) \
86 tmp/Examples/LHCO_Only.$(ObjSuf) \
87 tmp/Examples/Frog_on_analysis_output.$(ObjSuf)
88
89tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(SrcSuf): \
90 Utilities/ExRootAnalysis/src/BlockClassesLinkDef.h \
91 Utilities/ExRootAnalysis/interface/BlockClasses.h \
92 interface/D_Constants.h
93tmp/src/TreeClassesDict.$(SrcSuf): \
94 src/TreeClassesLinkDef.h \
95 interface/TreeClasses.h
96tmp/Examples/src/Analysis_ExDict.$(SrcSuf): \
97 Examples/src/Analysis_ExLinkDef.h \
98 Examples/interface/Analysis_Ex.h
99DICT = \
100 tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(SrcSuf) \
101 tmp/src/TreeClassesDict.$(SrcSuf) \
102 tmp/Examples/src/Analysis_ExDict.$(SrcSuf)
103
104DICT_OBJ = \
105 tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(ObjSuf) \
106 tmp/src/TreeClassesDict.$(ObjSuf) \
107 tmp/Examples/src/Analysis_ExDict.$(ObjSuf)
108
109tmp/src/JetsUtil.$(ObjSuf): \
110 src/JetsUtil.$(SrcSuf)
111tmp/src/CaloUtil.$(ObjSuf): \
112 src/CaloUtil.$(SrcSuf)
113tmp/src/SmearUtil.$(ObjSuf): \
114 src/SmearUtil.$(SrcSuf)
115tmp/src/TriggerUtil.$(ObjSuf): \
116 src/TriggerUtil.$(SrcSuf)
117tmp/src/BFieldProp.$(ObjSuf): \
118 src/BFieldProp.$(SrcSuf)
119tmp/src/VeryForward.$(ObjSuf): \
120 src/VeryForward.$(SrcSuf)
121tmp/src/LHEFConverter.$(ObjSuf): \
122 src/LHEFConverter.$(SrcSuf)
123tmp/src/FrogUtil.$(ObjSuf): \
124 src/FrogUtil.$(SrcSuf)
125tmp/src/STDHEPConverter.$(ObjSuf): \
126 src/STDHEPConverter.$(SrcSuf)
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)
141tmp/Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(ObjSuf): \
142 Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(SrcSuf)
143tmp/Utilities/ExRootAnalysis/src/BlockClasses.$(ObjSuf): \
144 Utilities/ExRootAnalysis/src/BlockClasses.$(SrcSuf)
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)
161tmp/Utilities/Hector/src/H_Aperture.$(ObjSuf): \
162 Utilities/Hector/src/H_Aperture.$(SrcSuf)
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)
169tmp/Utilities/Hector/src/H_VerticalKicker.$(ObjSuf): \
170 Utilities/Hector/src/H_VerticalKicker.$(SrcSuf)
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)
181tmp/Utilities/Hector/src/H_OpticalElement.$(ObjSuf): \
182 Utilities/Hector/src/H_OpticalElement.$(SrcSuf)
183tmp/Utilities/Hector/src/H_Quadrupole.$(ObjSuf): \
184 Utilities/Hector/src/H_Quadrupole.$(SrcSuf)
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)
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)
197tmp/Utilities/Hector/src/H_RectEllipticAperture.$(ObjSuf): \
198 Utilities/Hector/src/H_RectEllipticAperture.$(SrcSuf)
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)
217tmp/Utilities/Fastjet/src/ClusterSequence_TiledN2.$(ObjSuf): \
218 Utilities/Fastjet/src/ClusterSequence_TiledN2.$(SrcSuf)
219tmp/Utilities/Fastjet/src/JetDefinition.$(ObjSuf): \
220 Utilities/Fastjet/src/JetDefinition.$(SrcSuf)
221tmp/Utilities/Fastjet/src/ClusterSequence_DumbN3.$(ObjSuf): \
222 Utilities/Fastjet/src/ClusterSequence_DumbN3.$(SrcSuf)
223tmp/Utilities/Fastjet/src/ClusterSequenceAreaBase.$(ObjSuf): \
224 Utilities/Fastjet/src/ClusterSequenceAreaBase.$(SrcSuf)
225tmp/Utilities/Fastjet/src/ClusterSequencePassiveArea.$(ObjSuf): \
226 Utilities/Fastjet/src/ClusterSequencePassiveArea.$(SrcSuf)
227tmp/Utilities/Fastjet/src/ClusterSequence_CP2DChan.$(ObjSuf): \
228 Utilities/Fastjet/src/ClusterSequence_CP2DChan.$(SrcSuf)
229tmp/Utilities/Fastjet/src/ClosestPair2D.$(ObjSuf): \
230 Utilities/Fastjet/src/ClosestPair2D.$(SrcSuf)
231tmp/Utilities/Fastjet/src/Dnn4piCylinder.$(ObjSuf): \
232 Utilities/Fastjet/src/Dnn4piCylinder.$(SrcSuf)
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)
241tmp/Utilities/Fastjet/src/Dnn3piCylinder.$(ObjSuf): \
242 Utilities/Fastjet/src/Dnn3piCylinder.$(SrcSuf)
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)
251tmp/Utilities/Fastjet/src/Dnn2piCylinder.$(ObjSuf): \
252 Utilities/Fastjet/src/Dnn2piCylinder.$(SrcSuf)
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
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)
262tmp/Utilities/Fastjet/plugins/CDFCones/src/CalTower.$(ObjSuf): \
263 Utilities/Fastjet/plugins/CDFCones/src/CalTower.$(SrcSuf)
264tmp/Utilities/Fastjet/plugins/CDFCones/src/PhysicsTower.$(ObjSuf): \
265 Utilities/Fastjet/plugins/CDFCones/src/PhysicsTower.$(SrcSuf)
266tmp/Utilities/Fastjet/plugins/CDFCones/src/MidPointAlgorithm.$(ObjSuf): \
267 Utilities/Fastjet/plugins/CDFCones/src/MidPointAlgorithm.$(SrcSuf)
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)
272tmp/Utilities/Fastjet/plugins/CDFCones/src/Cluster.$(ObjSuf): \
273 Utilities/Fastjet/plugins/CDFCones/src/Cluster.$(SrcSuf)
274tmp/Utilities/Fastjet/plugins/CDFCones/src/ClusterComparisons.$(ObjSuf): \
275 Utilities/Fastjet/plugins/CDFCones/src/ClusterComparisons.$(SrcSuf)
276tmp/Utilities/Fastjet/plugins/SISCone/SISConePlugin.$(ObjSuf): \
277 Utilities/Fastjet/plugins/SISCone/SISConePlugin.$(SrcSuf) \
278 Utilities/Fastjet/include/fastjet/ClusterSequence.hh
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)
283tmp/Utilities/Fastjet/plugins/SISCone/src/reference.$(ObjSuf): \
284 Utilities/Fastjet/plugins/SISCone/src/reference.$(SrcSuf)
285tmp/Utilities/Fastjet/plugins/SISCone/src/ranlux.$(ObjSuf): \
286 Utilities/Fastjet/plugins/SISCone/src/ranlux.$(SrcSuf)
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)
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)
303tmp/Examples/src/Analysis_Ex.$(ObjSuf): \
304 Examples/src/Analysis_Ex.$(SrcSuf) \
305 Examples/interface/Analysis_Ex.h
306SOURCE_OBJ = \
307 tmp/src/JetsUtil.$(ObjSuf) \
308 tmp/src/CaloUtil.$(ObjSuf) \
309 tmp/src/SmearUtil.$(ObjSuf) \
310 tmp/src/TriggerUtil.$(ObjSuf) \
311 tmp/src/BFieldProp.$(ObjSuf) \
312 tmp/src/VeryForward.$(ObjSuf) \
313 tmp/src/LHEFConverter.$(ObjSuf) \
314 tmp/src/FrogUtil.$(ObjSuf) \
315 tmp/src/STDHEPConverter.$(ObjSuf) \
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) \
323 tmp/Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(ObjSuf) \
324 tmp/Utilities/ExRootAnalysis/src/BlockClasses.$(ObjSuf) \
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) \
333 tmp/Utilities/Hector/src/H_Aperture.$(ObjSuf) \
334 tmp/Utilities/Hector/src/H_HorizontalKicker.$(ObjSuf) \
335 tmp/Utilities/Hector/src/H_RectangularAperture.$(ObjSuf) \
336 tmp/Utilities/Hector/src/H_VerticalQuadrupole.$(ObjSuf) \
337 tmp/Utilities/Hector/src/H_VerticalKicker.$(ObjSuf) \
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) \
343 tmp/Utilities/Hector/src/H_OpticalElement.$(ObjSuf) \
344 tmp/Utilities/Hector/src/H_Quadrupole.$(ObjSuf) \
345 tmp/Utilities/Hector/src/H_BeamLine.$(ObjSuf) \
346 tmp/Utilities/Hector/src/H_RectangularCollimator.$(ObjSuf) \
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) \
351 tmp/Utilities/Hector/src/H_RectEllipticAperture.$(ObjSuf) \
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) \
361 tmp/Utilities/Fastjet/src/ClusterSequence_TiledN2.$(ObjSuf) \
362 tmp/Utilities/Fastjet/src/JetDefinition.$(ObjSuf) \
363 tmp/Utilities/Fastjet/src/ClusterSequence_DumbN3.$(ObjSuf) \
364 tmp/Utilities/Fastjet/src/ClusterSequenceAreaBase.$(ObjSuf) \
365 tmp/Utilities/Fastjet/src/ClusterSequencePassiveArea.$(ObjSuf) \
366 tmp/Utilities/Fastjet/src/ClusterSequence_CP2DChan.$(ObjSuf) \
367 tmp/Utilities/Fastjet/src/ClosestPair2D.$(ObjSuf) \
368 tmp/Utilities/Fastjet/src/Dnn4piCylinder.$(ObjSuf) \
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) \
373 tmp/Utilities/Fastjet/src/Dnn3piCylinder.$(ObjSuf) \
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) \
378 tmp/Utilities/Fastjet/src/Dnn2piCylinder.$(ObjSuf) \
379 tmp/Utilities/Fastjet/plugins/CDFCones/CDFMidPointPlugin.$(ObjSuf) \
380 tmp/Utilities/Fastjet/plugins/CDFCones/CDFJetCluPlugin.$(ObjSuf) \
381 tmp/Utilities/Fastjet/plugins/CDFCones/src/Centroid.$(ObjSuf) \
382 tmp/Utilities/Fastjet/plugins/CDFCones/src/CalTower.$(ObjSuf) \
383 tmp/Utilities/Fastjet/plugins/CDFCones/src/PhysicsTower.$(ObjSuf) \
384 tmp/Utilities/Fastjet/plugins/CDFCones/src/MidPointAlgorithm.$(ObjSuf) \
385 tmp/Utilities/Fastjet/plugins/CDFCones/src/LorentzVector.$(ObjSuf) \
386 tmp/Utilities/Fastjet/plugins/CDFCones/src/JetCluAlgorithm.$(ObjSuf) \
387 tmp/Utilities/Fastjet/plugins/CDFCones/src/Cluster.$(ObjSuf) \
388 tmp/Utilities/Fastjet/plugins/CDFCones/src/ClusterComparisons.$(ObjSuf) \
389 tmp/Utilities/Fastjet/plugins/SISCone/SISConePlugin.$(ObjSuf) \
390 tmp/Utilities/Fastjet/plugins/SISCone/src/hash.$(ObjSuf) \
391 tmp/Utilities/Fastjet/plugins/SISCone/src/siscone.$(ObjSuf) \
392 tmp/Utilities/Fastjet/plugins/SISCone/src/reference.$(ObjSuf) \
393 tmp/Utilities/Fastjet/plugins/SISCone/src/ranlux.$(ObjSuf) \
394 tmp/Utilities/Fastjet/plugins/SISCone/src/vicinity.$(ObjSuf) \
395 tmp/Utilities/Fastjet/plugins/SISCone/src/siscone_error.$(ObjSuf) \
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) \
402 tmp/Examples/src/Analysis_Ex.$(ObjSuf)
403
404tmp/Utilities/mcfio/mcfio_UserDictionary.$(ObjSuf): \
405 Utilities/mcfio/mcfio_UserDictionary.c
406tmp/Utilities/mcfio/mcfio_Util1.$(ObjSuf): \
407 Utilities/mcfio/mcfio_Util1.c
408tmp/Utilities/mcfio/mcf_ntuBldDbinc.$(ObjSuf): \
409 Utilities/mcfio/mcf_ntuBldDbinc.c
410tmp/Utilities/mcfio/mcfio_SeqDummy.$(ObjSuf): \
411 Utilities/mcfio/mcfio_SeqDummy.c
412tmp/Utilities/mcfio/mcfio_Block.$(ObjSuf): \
413 Utilities/mcfio/mcfio_Block.c
414tmp/Utilities/mcfio/mcf_evt_xdr.$(ObjSuf): \
415 Utilities/mcfio/mcf_evt_xdr.c
416tmp/Utilities/mcfio/mcfio_Direct.$(ObjSuf): \
417 Utilities/mcfio/mcfio_Direct.c
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
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
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 \
438 Utilities/stdhep/stdhep.h \
439 Utilities/stdhep/hepev4.h \
440 Utilities/stdhep/hepeup.h \
441 Utilities/stdhep/heprup.h \
442 Utilities/stdhep/stdtmp.h \
443 Utilities/stdhep/stdhd.h \
444 Utilities/stdhep/stdcnt.h \
445 Utilities/stdhep/stdhep_mcfio.h
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
473STDHEP_OBJ = \
474 tmp/Utilities/mcfio/mcfio_UserDictionary.$(ObjSuf) \
475 tmp/Utilities/mcfio/mcfio_Util1.$(ObjSuf) \
476 tmp/Utilities/mcfio/mcf_ntuBldDbinc.$(ObjSuf) \
477 tmp/Utilities/mcfio/mcfio_SeqDummy.$(ObjSuf) \
478 tmp/Utilities/mcfio/mcfio_Block.$(ObjSuf) \
479 tmp/Utilities/mcfio/mcf_evt_xdr.$(ObjSuf) \
480 tmp/Utilities/mcfio/mcfio_Direct.$(ObjSuf) \
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) \
487 tmp/Utilities/stdhep/mcf_Stdhep_xdr.$(ObjSuf) \
488 tmp/Utilities/stdhep/mcf_stdcm1_xdr.$(ObjSuf) \
489 tmp/Utilities/stdhep/stdhep_internal_utils.$(ObjSuf)
490
491Examples/interface/Analysis_Ex.h: \
492 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
493 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
494 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
495 Utilities/ExRootAnalysis/interface/TSimpleArray.h \
496 Utilities/ExRootAnalysis/interface/BlockClasses.h
497 @touch $@
498
499interface/TreeClasses.h: \
500 Utilities/ExRootAnalysis/interface/BlockCompare.h \
501 Utilities/ExRootAnalysis/interface/BlockClasses.h
502 @touch $@
503
504Utilities/Fastjet/include/fastjet/Error.hh: \
505 Utilities/Fastjet/include/fastjet/internal/base.hh
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
513 @touch $@
514
515Utilities/ExRootAnalysis/interface/BlockClasses.h: \
516 interface/D_Constants.h \
517 interface/CaloUtil.h
518 @touch $@
519
520
521
522###
523
524all: $(SHARED) $(EXECUTABLE) $(STDHEP_EXECUTABLE)
525 @echo "Delphes has been compiled"
526 @echo "Ready to run"
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
559 @rm -f $(SHARED) $(EXECUTABLE) $(STDHEP_EXECUTABLE) *vis *geom
560 @rm -rf tmp
561
562
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
608tar $(TARBALL):
609 @echo Building tarball of sources
610 @mkdir $(FOLDER)
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)
612 @rm -f $(FOLDER)/$(SHARED)
613 @rm -f $(FOLDER)/Utilities/FROG/frog
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`
623
624
625
Note: See TracBrowser for help on using the repository browser.