Fork me on GitHub

source: svn/trunk/Makefile@ 37

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

plugins at the begining

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