Fork me on GitHub

source: svn/trunk/Makefile@ 257

Last change on this file since 257 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
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
44Analysis_Ex$(ExeSuf): \
45 tmp/Examples/Analysis_Ex.$(ObjSuf)
46
47tmp/Examples/Analysis_Ex.$(ObjSuf): \
48 Examples/Analysis_Ex.cpp \
49 Examples/interface/Analysis_Ex.h
50Trigger_Only$(ExeSuf): \
51 tmp/Examples/Trigger_Only.$(ObjSuf)
52
53tmp/Examples/Trigger_Only.$(ObjSuf): \
54 Examples/Trigger_Only.cpp
55Frog_on_analysis_output$(ExeSuf): \
56 tmp/Examples/Frog_on_analysis_output.$(ObjSuf)
57
58tmp/Examples/Frog_on_analysis_output.$(ObjSuf): \
59 Examples/Frog_on_analysis_output.cpp
60EXECUTABLE = \
61 Delphes$(ExeSuf) \
62 Resolutions$(ExeSuf) \
63 Analysis_Ex$(ExeSuf) \
64 Trigger_Only$(ExeSuf) \
65 Frog_on_analysis_output$(ExeSuf)
66
67EXECUTABLE_OBJ = \
68 tmp/Delphes.$(ObjSuf) \
69 tmp/Resolutions.$(ObjSuf) \
70 tmp/Examples/Analysis_Ex.$(ObjSuf) \
71 tmp/Examples/Trigger_Only.$(ObjSuf) \
72 tmp/Examples/Frog_on_analysis_output.$(ObjSuf)
73
74tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(SrcSuf): \
75 Utilities/ExRootAnalysis/src/BlockClassesLinkDef.h \
76 Utilities/ExRootAnalysis/interface/BlockClasses.h
77tmp/src/TreeClassesDict.$(SrcSuf): \
78 src/TreeClassesLinkDef.h \
79 interface/TreeClasses.h
80tmp/Examples/src/Analysis_ExDict.$(SrcSuf): \
81 Examples/src/Analysis_ExLinkDef.h \
82 Examples/interface/Analysis_Ex.h
83DICT = \
84 tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(SrcSuf) \
85 tmp/src/TreeClassesDict.$(SrcSuf) \
86 tmp/Examples/src/Analysis_ExDict.$(SrcSuf)
87
88DICT_OBJ = \
89 tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(ObjSuf) \
90 tmp/src/TreeClassesDict.$(ObjSuf) \
91 tmp/Examples/src/Analysis_ExDict.$(ObjSuf)
92
93tmp/src/JetsUtil.$(ObjSuf): \
94 src/JetsUtil.$(SrcSuf)
95tmp/src/SmearUtil.$(ObjSuf): \
96 src/SmearUtil.$(SrcSuf)
97tmp/src/TriggerUtil.$(ObjSuf): \
98 src/TriggerUtil.$(SrcSuf)
99tmp/src/BFieldProp.$(ObjSuf): \
100 src/BFieldProp.$(SrcSuf)
101tmp/src/VeryForward.$(ObjSuf): \
102 src/VeryForward.$(SrcSuf)
103tmp/src/LHEFConverter.$(ObjSuf): \
104 src/LHEFConverter.$(SrcSuf)
105tmp/src/FrogUtil.$(ObjSuf): \
106 src/FrogUtil.$(SrcSuf)
107tmp/src/STDHEPConverter.$(ObjSuf): \
108 src/STDHEPConverter.$(SrcSuf)
109tmp/src/HEPEVTConverter.$(ObjSuf): \
110 src/HEPEVTConverter.$(SrcSuf)
111tmp/src/TreeClasses.$(ObjSuf): \
112 src/TreeClasses.$(SrcSuf)
113tmp/Utilities/ExRootAnalysis/src/ExRootTreeReader.$(ObjSuf): \
114 Utilities/ExRootAnalysis/src/ExRootTreeReader.$(SrcSuf)
115tmp/Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(ObjSuf): \
116 Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(SrcSuf)
117tmp/Utilities/ExRootAnalysis/src/ExRootProgressBar.$(ObjSuf): \
118 Utilities/ExRootAnalysis/src/ExRootProgressBar.$(SrcSuf)
119tmp/Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(ObjSuf): \
120 Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(SrcSuf)
121tmp/Utilities/ExRootAnalysis/src/BlockClasses.$(ObjSuf): \
122 Utilities/ExRootAnalysis/src/BlockClasses.$(SrcSuf)
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)
129tmp/Utilities/Hector/src/H_RomanPot.$(ObjSuf): \
130 Utilities/Hector/src/H_RomanPot.$(SrcSuf)
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)
137tmp/Utilities/Hector/src/H_Drift.$(ObjSuf): \
138 Utilities/Hector/src/H_Drift.$(SrcSuf)
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)
145tmp/Utilities/Hector/src/H_VerticalQuadrupole.$(ObjSuf): \
146 Utilities/Hector/src/H_VerticalQuadrupole.$(SrcSuf)
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)
155tmp/Utilities/Hector/src/H_RectangularDipole.$(ObjSuf): \
156 Utilities/Hector/src/H_RectangularDipole.$(SrcSuf)
157tmp/Utilities/Hector/src/H_Marker.$(ObjSuf): \
158 Utilities/Hector/src/H_Marker.$(SrcSuf)
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)
163tmp/Utilities/Hector/src/H_BeamLine.$(ObjSuf): \
164 Utilities/Hector/src/H_BeamLine.$(SrcSuf)
165tmp/Utilities/Hector/src/H_RectangularCollimator.$(ObjSuf): \
166 Utilities/Hector/src/H_RectangularCollimator.$(SrcSuf)
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)
175tmp/Utilities/Hector/src/H_RectEllipticAperture.$(ObjSuf): \
176 Utilities/Hector/src/H_RectEllipticAperture.$(SrcSuf)
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)
195tmp/Utilities/Fastjet/src/ClusterSequence_TiledN2.$(ObjSuf): \
196 Utilities/Fastjet/src/ClusterSequence_TiledN2.$(SrcSuf)
197tmp/Utilities/Fastjet/src/JetDefinition.$(ObjSuf): \
198 Utilities/Fastjet/src/JetDefinition.$(SrcSuf)
199tmp/Utilities/Fastjet/src/ClusterSequence_DumbN3.$(ObjSuf): \
200 Utilities/Fastjet/src/ClusterSequence_DumbN3.$(SrcSuf)
201tmp/Utilities/Fastjet/src/ClusterSequenceAreaBase.$(ObjSuf): \
202 Utilities/Fastjet/src/ClusterSequenceAreaBase.$(SrcSuf)
203tmp/Utilities/Fastjet/src/ClusterSequencePassiveArea.$(ObjSuf): \
204 Utilities/Fastjet/src/ClusterSequencePassiveArea.$(SrcSuf)
205tmp/Utilities/Fastjet/src/ClusterSequence_CP2DChan.$(ObjSuf): \
206 Utilities/Fastjet/src/ClusterSequence_CP2DChan.$(SrcSuf)
207tmp/Utilities/Fastjet/src/ClosestPair2D.$(ObjSuf): \
208 Utilities/Fastjet/src/ClosestPair2D.$(SrcSuf)
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)
221tmp/Utilities/Fastjet/src/ClusterSequence.$(ObjSuf): \
222 Utilities/Fastjet/src/ClusterSequence.$(SrcSuf)
223tmp/Utilities/Fastjet/src/ClusterSequenceActiveAreaExplicitGhosts.$(ObjSuf): \
224 Utilities/Fastjet/src/ClusterSequenceActiveAreaExplicitGhosts.$(SrcSuf)
225tmp/Utilities/Fastjet/src/AreaDefinition.$(ObjSuf): \
226 Utilities/Fastjet/src/AreaDefinition.$(SrcSuf)
227tmp/Utilities/Fastjet/src/Voronoi.$(ObjSuf): \
228 Utilities/Fastjet/src/Voronoi.$(SrcSuf)
229tmp/Utilities/Fastjet/src/Dnn2piCylinder.$(ObjSuf): \
230 Utilities/Fastjet/src/Dnn2piCylinder.$(SrcSuf)
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
235tmp/Utilities/Fastjet/plugins/CDFCones/CDFJetCluPlugin.$(ObjSuf): \
236 Utilities/Fastjet/plugins/CDFCones/CDFJetCluPlugin.$(SrcSuf) \
237 Utilities/Fastjet/include/fastjet/ClusterSequence.hh
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)
244tmp/Utilities/Fastjet/plugins/CDFCones/src/MidPointAlgorithm.$(ObjSuf): \
245 Utilities/Fastjet/plugins/CDFCones/src/MidPointAlgorithm.$(SrcSuf)
246tmp/Utilities/Fastjet/plugins/CDFCones/src/LorentzVector.$(ObjSuf): \
247 Utilities/Fastjet/plugins/CDFCones/src/LorentzVector.$(SrcSuf)
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)
252tmp/Utilities/Fastjet/plugins/CDFCones/src/ClusterComparisons.$(ObjSuf): \
253 Utilities/Fastjet/plugins/CDFCones/src/ClusterComparisons.$(SrcSuf)
254tmp/Utilities/Fastjet/plugins/SISCone/SISConePlugin.$(ObjSuf): \
255 Utilities/Fastjet/plugins/SISCone/SISConePlugin.$(SrcSuf) \
256 Utilities/Fastjet/include/fastjet/ClusterSequence.hh
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)
263tmp/Utilities/Fastjet/plugins/SISCone/src/ranlux.$(ObjSuf): \
264 Utilities/Fastjet/plugins/SISCone/src/ranlux.$(SrcSuf)
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)
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)
279tmp/Utilities/Fastjet/plugins/SISCone/src/quadtree.$(ObjSuf): \
280 Utilities/Fastjet/plugins/SISCone/src/quadtree.$(SrcSuf)
281tmp/Examples/src/Analysis_Ex.$(ObjSuf): \
282 Examples/src/Analysis_Ex.$(SrcSuf) \
283 Examples/interface/Analysis_Ex.h
284SOURCE_OBJ = \
285 tmp/src/JetsUtil.$(ObjSuf) \
286 tmp/src/SmearUtil.$(ObjSuf) \
287 tmp/src/TriggerUtil.$(ObjSuf) \
288 tmp/src/BFieldProp.$(ObjSuf) \
289 tmp/src/VeryForward.$(ObjSuf) \
290 tmp/src/LHEFConverter.$(ObjSuf) \
291 tmp/src/FrogUtil.$(ObjSuf) \
292 tmp/src/STDHEPConverter.$(ObjSuf) \
293 tmp/src/HEPEVTConverter.$(ObjSuf) \
294 tmp/src/TreeClasses.$(ObjSuf) \
295 tmp/Utilities/ExRootAnalysis/src/ExRootTreeReader.$(ObjSuf) \
296 tmp/Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(ObjSuf) \
297 tmp/Utilities/ExRootAnalysis/src/ExRootProgressBar.$(ObjSuf) \
298 tmp/Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(ObjSuf) \
299 tmp/Utilities/ExRootAnalysis/src/BlockClasses.$(ObjSuf) \
300 tmp/Utilities/Hector/src/H_Kicker.$(ObjSuf) \
301 tmp/Utilities/Hector/src/H_HorizontalQuadrupole.$(ObjSuf) \
302 tmp/Utilities/Hector/src/H_EllipticAperture.$(ObjSuf) \
303 tmp/Utilities/Hector/src/H_RomanPot.$(ObjSuf) \
304 tmp/Utilities/Hector/src/H_CircularAperture.$(ObjSuf) \
305 tmp/Utilities/Hector/src/H_TransportMatrices.$(ObjSuf) \
306 tmp/Utilities/Hector/src/H_Dipole.$(ObjSuf) \
307 tmp/Utilities/Hector/src/H_Drift.$(ObjSuf) \
308 tmp/Utilities/Hector/src/H_Aperture.$(ObjSuf) \
309 tmp/Utilities/Hector/src/H_HorizontalKicker.$(ObjSuf) \
310 tmp/Utilities/Hector/src/H_RectangularAperture.$(ObjSuf) \
311 tmp/Utilities/Hector/src/H_VerticalQuadrupole.$(ObjSuf) \
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) \
316 tmp/Utilities/Hector/src/H_RectangularDipole.$(ObjSuf) \
317 tmp/Utilities/Hector/src/H_Marker.$(ObjSuf) \
318 tmp/Utilities/Hector/src/H_OpticalElement.$(ObjSuf) \
319 tmp/Utilities/Hector/src/H_Quadrupole.$(ObjSuf) \
320 tmp/Utilities/Hector/src/H_BeamLine.$(ObjSuf) \
321 tmp/Utilities/Hector/src/H_RectangularCollimator.$(ObjSuf) \
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) \
326 tmp/Utilities/Hector/src/H_RectEllipticAperture.$(ObjSuf) \
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) \
336 tmp/Utilities/Fastjet/src/ClusterSequence_TiledN2.$(ObjSuf) \
337 tmp/Utilities/Fastjet/src/JetDefinition.$(ObjSuf) \
338 tmp/Utilities/Fastjet/src/ClusterSequence_DumbN3.$(ObjSuf) \
339 tmp/Utilities/Fastjet/src/ClusterSequenceAreaBase.$(ObjSuf) \
340 tmp/Utilities/Fastjet/src/ClusterSequencePassiveArea.$(ObjSuf) \
341 tmp/Utilities/Fastjet/src/ClusterSequence_CP2DChan.$(ObjSuf) \
342 tmp/Utilities/Fastjet/src/ClosestPair2D.$(ObjSuf) \
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) \
349 tmp/Utilities/Fastjet/src/ClusterSequence.$(ObjSuf) \
350 tmp/Utilities/Fastjet/src/ClusterSequenceActiveAreaExplicitGhosts.$(ObjSuf) \
351 tmp/Utilities/Fastjet/src/AreaDefinition.$(ObjSuf) \
352 tmp/Utilities/Fastjet/src/Voronoi.$(ObjSuf) \
353 tmp/Utilities/Fastjet/src/Dnn2piCylinder.$(ObjSuf) \
354 tmp/Utilities/Fastjet/plugins/CDFCones/CDFMidPointPlugin.$(ObjSuf) \
355 tmp/Utilities/Fastjet/plugins/CDFCones/CDFJetCluPlugin.$(ObjSuf) \
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) \
359 tmp/Utilities/Fastjet/plugins/CDFCones/src/MidPointAlgorithm.$(ObjSuf) \
360 tmp/Utilities/Fastjet/plugins/CDFCones/src/LorentzVector.$(ObjSuf) \
361 tmp/Utilities/Fastjet/plugins/CDFCones/src/JetCluAlgorithm.$(ObjSuf) \
362 tmp/Utilities/Fastjet/plugins/CDFCones/src/Cluster.$(ObjSuf) \
363 tmp/Utilities/Fastjet/plugins/CDFCones/src/ClusterComparisons.$(ObjSuf) \
364 tmp/Utilities/Fastjet/plugins/SISCone/SISConePlugin.$(ObjSuf) \
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) \
368 tmp/Utilities/Fastjet/plugins/SISCone/src/ranlux.$(ObjSuf) \
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) \
374 tmp/Utilities/Fastjet/plugins/SISCone/src/geom_2d.$(ObjSuf) \
375 tmp/Utilities/Fastjet/plugins/SISCone/src/momentum.$(ObjSuf) \
376 tmp/Utilities/Fastjet/plugins/SISCone/src/quadtree.$(ObjSuf) \
377 tmp/Examples/src/Analysis_Ex.$(ObjSuf)
378
379tmp/Utilities/mcfio/mcfio_UserDictionary.$(ObjSuf): \
380 Utilities/mcfio/mcfio_UserDictionary.c
381tmp/Utilities/mcfio/mcfio_Util1.$(ObjSuf): \
382 Utilities/mcfio/mcfio_Util1.c
383tmp/Utilities/mcfio/mcf_ntuBldDbinc.$(ObjSuf): \
384 Utilities/mcfio/mcf_ntuBldDbinc.c
385tmp/Utilities/mcfio/mcfio_SeqDummy.$(ObjSuf): \
386 Utilities/mcfio/mcfio_SeqDummy.c
387tmp/Utilities/mcfio/mcfio_Block.$(ObjSuf): \
388 Utilities/mcfio/mcfio_Block.c
389tmp/Utilities/mcfio/mcf_evt_xdr.$(ObjSuf): \
390 Utilities/mcfio/mcf_evt_xdr.c
391tmp/Utilities/mcfio/mcfio_Direct.$(ObjSuf): \
392 Utilities/mcfio/mcfio_Direct.c
393tmp/Utilities/mcfio/mcf_ntubldInit.$(ObjSuf): \
394 Utilities/mcfio/mcf_ntubldInit.c
395tmp/Utilities/mcfio/mcf_NTuIOUtils.$(ObjSuf): \
396 Utilities/mcfio/mcf_NTuIOUtils.c
397tmp/Utilities/mcfio/mcf_NTuIOFiles.$(ObjSuf): \
398 Utilities/mcfio/mcf_NTuIOFiles.c
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
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 \
413 Utilities/stdhep/stdhep.h \
414 Utilities/stdhep/hepev4.h \
415 Utilities/stdhep/hepeup.h \
416 Utilities/stdhep/heprup.h \
417 Utilities/stdhep/stdtmp.h \
418 Utilities/stdhep/stdhd.h \
419 Utilities/stdhep/stdcnt.h \
420 Utilities/stdhep/stdhep_mcfio.h
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
448STDHEP_OBJ = \
449 tmp/Utilities/mcfio/mcfio_UserDictionary.$(ObjSuf) \
450 tmp/Utilities/mcfio/mcfio_Util1.$(ObjSuf) \
451 tmp/Utilities/mcfio/mcf_ntuBldDbinc.$(ObjSuf) \
452 tmp/Utilities/mcfio/mcfio_SeqDummy.$(ObjSuf) \
453 tmp/Utilities/mcfio/mcfio_Block.$(ObjSuf) \
454 tmp/Utilities/mcfio/mcf_evt_xdr.$(ObjSuf) \
455 tmp/Utilities/mcfio/mcfio_Direct.$(ObjSuf) \
456 tmp/Utilities/mcfio/mcf_ntubldInit.$(ObjSuf) \
457 tmp/Utilities/mcfio/mcf_NTuIOUtils.$(ObjSuf) \
458 tmp/Utilities/mcfio/mcf_NTuIOFiles.$(ObjSuf) \
459 tmp/Utilities/stdhep/mcf_hepup_xdr.$(ObjSuf) \
460 tmp/Utilities/stdhep/stdhep_mcfio.$(ObjSuf) \
461 tmp/Utilities/stdhep/mcf_hepev4_xdr.$(ObjSuf) \
462 tmp/Utilities/stdhep/mcf_Stdhep_xdr.$(ObjSuf) \
463 tmp/Utilities/stdhep/mcf_stdcm1_xdr.$(ObjSuf) \
464 tmp/Utilities/stdhep/stdhep_internal_utils.$(ObjSuf)
465
466Examples/interface/Analysis_Ex.h: \
467 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
468 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
469 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
470 Utilities/ExRootAnalysis/interface/TSimpleArray.h \
471 Utilities/ExRootAnalysis/interface/BlockClasses.h
472 @touch $@
473
474interface/TreeClasses.h: \
475 Utilities/ExRootAnalysis/interface/BlockCompare.h \
476 Utilities/ExRootAnalysis/interface/BlockClasses.h
477 @touch $@
478
479Utilities/Fastjet/include/fastjet/Error.hh: \
480 Utilities/Fastjet/include/fastjet/internal/base.hh
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
488 @touch $@
489
490
491
492###
493
494all: $(SHARED) $(EXECUTABLE) $(STDHEP_EXECUTABLE)
495 @echo "Delphes has been compiled"
496 @echo "Ready to run"
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
529 @rm -f $(SHARED) $(EXECUTABLE) $(STDHEP_EXECUTABLE) *vis *geom
530 @rm -rf tmp
531
532
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
578tar $(TARBALL):
579 @echo Building tarball of sources
580 @mkdir $(FOLDER)
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)
582 @rm -f $(FOLDER)/$(SHARED)
583 @rm -f $(FOLDER)/Utilities/FROG/frog
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`
593
594
595
Note: See TracBrowser for help on using the repository browser.