Fork me on GitHub

source: svn/trunk/Makefile@ 275

Last change on this file since 275 was 266, checked in by severine ovyn, 16 years ago

convertor only first commit

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