Fork me on GitHub

source: svn/trunk/Makefile@ 440

Last change on this file since 440 was 432, checked in by Xavier Rouby, 15 years ago

-Dlinux/-Dmacos/-Dwindows automatically set in Makefile

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