Fork me on GitHub

source: svn/trunk/Makefile@ 9

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

first commit

File size: 17.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
30Resolutions$(ExeSuf): \
31 tmp/Resolutions.$(ObjSuf)
32
33tmp/Resolutions.$(ObjSuf): \
34 Resolutions.cpp \
35 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
36 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
37 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
38 Utilities/CDFCones/interface/JetCluAlgorithm.h \
39 Utilities/CDFCones/interface/MidPointAlgorithm.h \
40 Utilities/CDFCones/interface/PhysicsTower.h \
41 Utilities/CDFCones/interface/Cluster.h \
42 interface/DataConverter.h \
43 interface/HEPEVTConverter.h \
44 interface/LHEFConverter.h \
45 interface/STDHEPConverter.h \
46 interface/SmearUtil.h \
47 interface/TreeClasses.h
48Delphes$(ExeSuf): \
49 tmp/Delphes.$(ObjSuf)
50
51tmp/Delphes.$(ObjSuf): \
52 Delphes.cpp \
53 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
54 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
55 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
56 Utilities/CDFCones/interface/JetCluAlgorithm.h \
57 Utilities/CDFCones/interface/MidPointAlgorithm.h \
58 Utilities/CDFCones/interface/PhysicsTower.h \
59 Utilities/CDFCones/interface/Cluster.h \
60 interface/DataConverter.h \
61 interface/HEPEVTConverter.h \
62 interface/LHEFConverter.h \
63 interface/STDHEPConverter.h \
64 interface/SmearUtil.h
65EXECUTABLE = \
66 Resolutions$(ExeSuf) \
67 Delphes$(ExeSuf)
68
69EXECUTABLE_OBJ = \
70 tmp/Resolutions.$(ObjSuf) \
71 tmp/Delphes.$(ObjSuf)
72
73tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(SrcSuf): \
74 Utilities/ExRootAnalysis/src/BlockClassesLinkDef.h \
75 Utilities/ExRootAnalysis/interface/BlockClasses.h
76tmp/src/TreeClassesDict.$(SrcSuf): \
77 src/TreeClassesLinkDef.h
78DICT = \
79 tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(SrcSuf) \
80 tmp/src/TreeClassesDict.$(SrcSuf)
81
82DICT_OBJ = \
83 tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(ObjSuf) \
84 tmp/src/TreeClassesDict.$(ObjSuf)
85
86tmp/src/STDHEPConverter.$(ObjSuf): \
87 src/STDHEPConverter.$(SrcSuf) \
88 Utilities/ExRootAnalysis/interface/BlockClasses.h \
89 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
90 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
91 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
92 Utilities/ExRootAnalysis/interface/LHEF.h \
93 Utilities/stdhep/stdhep_mcfio.h \
94 Utilities/stdhep/stdhep_declarations.h \
95 interface/STDHEPConverter.h
96tmp/src/TreeClasses.$(ObjSuf): \
97 src/TreeClasses.$(SrcSuf) \
98 interface/TreeClasses.h
99tmp/src/LHEFConverter.$(ObjSuf): \
100 src/LHEFConverter.$(SrcSuf) \
101 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
102 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
103 Utilities/ExRootAnalysis/interface/BlockClasses.h \
104 interface/LHEFConverter.h \
105 Utilities/ExRootAnalysis/interface/LHEF.h
106tmp/src/HEPEVTConverter.$(ObjSuf): \
107 src/HEPEVTConverter.$(SrcSuf) \
108 Utilities/ExRootAnalysis/interface/BlockClasses.h \
109 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
110 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
111 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
112 interface/HEPEVTConverter.h
113tmp/src/SmearUtil.$(ObjSuf): \
114 src/SmearUtil.$(SrcSuf) \
115 interface/SmearUtil.h
116tmp/Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(ObjSuf): \
117 Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(SrcSuf) \
118 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
119 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h
120tmp/Utilities/ExRootAnalysis/src/BlockClasses.$(ObjSuf): \
121 Utilities/ExRootAnalysis/src/BlockClasses.$(SrcSuf) \
122 Utilities/ExRootAnalysis/interface/BlockClasses.h \
123 Utilities/ExRootAnalysis/interface/BlockCompare.h
124tmp/Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(ObjSuf): \
125 Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(SrcSuf) \
126 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h
127tmp/Utilities/ExRootAnalysis/src/ExRootTreeReader.$(ObjSuf): \
128 Utilities/ExRootAnalysis/src/ExRootTreeReader.$(SrcSuf) \
129 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h
130tmp/Utilities/ExRootAnalysis/src/ExRootProgressBar.$(ObjSuf): \
131 Utilities/ExRootAnalysis/src/ExRootProgressBar.$(SrcSuf) \
132 Utilities/ExRootAnalysis/interface/ExRootProgressBar.h
133tmp/Utilities/Hector/src/H_Parameters.$(ObjSuf): \
134 Utilities/Hector/src/H_Parameters.$(SrcSuf)
135tmp/Utilities/Hector/src/H_RomanPot.$(ObjSuf): \
136 Utilities/Hector/src/H_RomanPot.$(SrcSuf)
137tmp/Utilities/Hector/src/H_Beam.$(ObjSuf): \
138 Utilities/Hector/src/H_Beam.$(SrcSuf)
139tmp/Utilities/Hector/src/H_SectorDipole.$(ObjSuf): \
140 Utilities/Hector/src/H_SectorDipole.$(SrcSuf)
141tmp/Utilities/Hector/src/H_RecRPObject.$(ObjSuf): \
142 Utilities/Hector/src/H_RecRPObject.$(SrcSuf)
143tmp/Utilities/Hector/src/H_Drift.$(ObjSuf): \
144 Utilities/Hector/src/H_Drift.$(SrcSuf)
145tmp/Utilities/Hector/src/H_CircularAperture.$(ObjSuf): \
146 Utilities/Hector/src/H_CircularAperture.$(SrcSuf)
147tmp/Utilities/Hector/src/H_VerticalQuadrupole.$(ObjSuf): \
148 Utilities/Hector/src/H_VerticalQuadrupole.$(SrcSuf)
149tmp/Utilities/Hector/src/H_EllipticAperture.$(ObjSuf): \
150 Utilities/Hector/src/H_EllipticAperture.$(SrcSuf)
151tmp/Utilities/Hector/src/H_RectangularDipole.$(ObjSuf): \
152 Utilities/Hector/src/H_RectangularDipole.$(SrcSuf)
153tmp/Utilities/Hector/src/H_OpticalElement.$(ObjSuf): \
154 Utilities/Hector/src/H_OpticalElement.$(SrcSuf)
155tmp/Utilities/Hector/src/H_Kicker.$(ObjSuf): \
156 Utilities/Hector/src/H_Kicker.$(SrcSuf)
157tmp/Utilities/Hector/src/H_BeamLineParser.$(ObjSuf): \
158 Utilities/Hector/src/H_BeamLineParser.$(SrcSuf)
159tmp/Utilities/Hector/src/H_AbstractBeamLine.$(ObjSuf): \
160 Utilities/Hector/src/H_AbstractBeamLine.$(SrcSuf)
161tmp/Utilities/Hector/src/H_Aperture.$(ObjSuf): \
162 Utilities/Hector/src/H_Aperture.$(SrcSuf)
163tmp/Utilities/Hector/src/H_BeamParticle.$(ObjSuf): \
164 Utilities/Hector/src/H_BeamParticle.$(SrcSuf)
165tmp/Utilities/Hector/src/H_TransportMatrices.$(ObjSuf): \
166 Utilities/Hector/src/H_TransportMatrices.$(SrcSuf)
167tmp/Utilities/Hector/src/H_HorizontalKicker.$(ObjSuf): \
168 Utilities/Hector/src/H_HorizontalKicker.$(SrcSuf)
169tmp/Utilities/Hector/src/H_Quadrupole.$(ObjSuf): \
170 Utilities/Hector/src/H_Quadrupole.$(SrcSuf)
171tmp/Utilities/Hector/src/H_RectangularAperture.$(ObjSuf): \
172 Utilities/Hector/src/H_RectangularAperture.$(SrcSuf)
173tmp/Utilities/Hector/src/H_Marker.$(ObjSuf): \
174 Utilities/Hector/src/H_Marker.$(SrcSuf)
175tmp/Utilities/Hector/src/H_RectangularCollimator.$(ObjSuf): \
176 Utilities/Hector/src/H_RectangularCollimator.$(SrcSuf)
177tmp/Utilities/Hector/src/H_BeamLine.$(ObjSuf): \
178 Utilities/Hector/src/H_BeamLine.$(SrcSuf)
179tmp/Utilities/Hector/src/H_HorizontalQuadrupole.$(ObjSuf): \
180 Utilities/Hector/src/H_HorizontalQuadrupole.$(SrcSuf)
181tmp/Utilities/Hector/src/H_VerticalKicker.$(ObjSuf): \
182 Utilities/Hector/src/H_VerticalKicker.$(SrcSuf)
183tmp/Utilities/Hector/src/H_RectEllipticAperture.$(ObjSuf): \
184 Utilities/Hector/src/H_RectEllipticAperture.$(SrcSuf)
185tmp/Utilities/Hector/src/H_Dipole.$(ObjSuf): \
186 Utilities/Hector/src/H_Dipole.$(SrcSuf)
187tmp/Utilities/CDFCones/src/MidPointAlgorithm.$(ObjSuf): \
188 Utilities/CDFCones/src/MidPointAlgorithm.$(SrcSuf) \
189 Utilities/CDFCones/interface/MidPointAlgorithm.h \
190 Utilities/CDFCones/interface/ClusterComparisons.h
191tmp/Utilities/CDFCones/src/JetCluAlgorithm.$(ObjSuf): \
192 Utilities/CDFCones/src/JetCluAlgorithm.$(SrcSuf) \
193 Utilities/CDFCones/interface/JetCluAlgorithm.h \
194 Utilities/CDFCones/interface/ClusterComparisons.h \
195 Utilities/CDFCones/interface/Centroid.h
196SOURCE_OBJ = \
197 tmp/src/STDHEPConverter.$(ObjSuf) \
198 tmp/src/TreeClasses.$(ObjSuf) \
199 tmp/src/LHEFConverter.$(ObjSuf) \
200 tmp/src/HEPEVTConverter.$(ObjSuf) \
201 tmp/src/SmearUtil.$(ObjSuf) \
202 tmp/Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(ObjSuf) \
203 tmp/Utilities/ExRootAnalysis/src/BlockClasses.$(ObjSuf) \
204 tmp/Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(ObjSuf) \
205 tmp/Utilities/ExRootAnalysis/src/ExRootTreeReader.$(ObjSuf) \
206 tmp/Utilities/ExRootAnalysis/src/ExRootProgressBar.$(ObjSuf) \
207 tmp/Utilities/Hector/src/H_Parameters.$(ObjSuf) \
208 tmp/Utilities/Hector/src/H_RomanPot.$(ObjSuf) \
209 tmp/Utilities/Hector/src/H_Beam.$(ObjSuf) \
210 tmp/Utilities/Hector/src/H_SectorDipole.$(ObjSuf) \
211 tmp/Utilities/Hector/src/H_RecRPObject.$(ObjSuf) \
212 tmp/Utilities/Hector/src/H_Drift.$(ObjSuf) \
213 tmp/Utilities/Hector/src/H_CircularAperture.$(ObjSuf) \
214 tmp/Utilities/Hector/src/H_VerticalQuadrupole.$(ObjSuf) \
215 tmp/Utilities/Hector/src/H_EllipticAperture.$(ObjSuf) \
216 tmp/Utilities/Hector/src/H_RectangularDipole.$(ObjSuf) \
217 tmp/Utilities/Hector/src/H_OpticalElement.$(ObjSuf) \
218 tmp/Utilities/Hector/src/H_Kicker.$(ObjSuf) \
219 tmp/Utilities/Hector/src/H_BeamLineParser.$(ObjSuf) \
220 tmp/Utilities/Hector/src/H_AbstractBeamLine.$(ObjSuf) \
221 tmp/Utilities/Hector/src/H_Aperture.$(ObjSuf) \
222 tmp/Utilities/Hector/src/H_BeamParticle.$(ObjSuf) \
223 tmp/Utilities/Hector/src/H_TransportMatrices.$(ObjSuf) \
224 tmp/Utilities/Hector/src/H_HorizontalKicker.$(ObjSuf) \
225 tmp/Utilities/Hector/src/H_Quadrupole.$(ObjSuf) \
226 tmp/Utilities/Hector/src/H_RectangularAperture.$(ObjSuf) \
227 tmp/Utilities/Hector/src/H_Marker.$(ObjSuf) \
228 tmp/Utilities/Hector/src/H_RectangularCollimator.$(ObjSuf) \
229 tmp/Utilities/Hector/src/H_BeamLine.$(ObjSuf) \
230 tmp/Utilities/Hector/src/H_HorizontalQuadrupole.$(ObjSuf) \
231 tmp/Utilities/Hector/src/H_VerticalKicker.$(ObjSuf) \
232 tmp/Utilities/Hector/src/H_RectEllipticAperture.$(ObjSuf) \
233 tmp/Utilities/Hector/src/H_Dipole.$(ObjSuf) \
234 tmp/Utilities/CDFCones/src/MidPointAlgorithm.$(ObjSuf) \
235 tmp/Utilities/CDFCones/src/JetCluAlgorithm.$(ObjSuf)
236
237tmp/Utilities/mcfio/mcf_ntuBldDbinc.$(ObjSuf): \
238 Utilities/mcfio/mcf_ntuBldDbinc.c
239tmp/Utilities/mcfio/mcfio_SeqDummy.$(ObjSuf): \
240 Utilities/mcfio/mcfio_SeqDummy.c
241tmp/Utilities/mcfio/mcfio_Util1.$(ObjSuf): \
242 Utilities/mcfio/mcfio_Util1.c
243tmp/Utilities/mcfio/mcf_evt_xdr.$(ObjSuf): \
244 Utilities/mcfio/mcf_evt_xdr.c
245tmp/Utilities/mcfio/mcf_NTuIOUtils.$(ObjSuf): \
246 Utilities/mcfio/mcf_NTuIOUtils.c
247tmp/Utilities/mcfio/mcfio_Block.$(ObjSuf): \
248 Utilities/mcfio/mcfio_Block.c
249tmp/Utilities/mcfio/mcfio_Direct.$(ObjSuf): \
250 Utilities/mcfio/mcfio_Direct.c
251tmp/Utilities/mcfio/mcf_NTuIOFiles.$(ObjSuf): \
252 Utilities/mcfio/mcf_NTuIOFiles.c
253tmp/Utilities/mcfio/mcfio_UserDictionary.$(ObjSuf): \
254 Utilities/mcfio/mcfio_UserDictionary.c
255tmp/Utilities/mcfio/mcf_ntubldInit.$(ObjSuf): \
256 Utilities/mcfio/mcf_ntubldInit.c
257tmp/Utilities/stdhep/mcf_hepev4_xdr.$(ObjSuf): \
258 Utilities/stdhep/mcf_hepev4_xdr.c \
259 Utilities/mcfio/mcfio_Dict.h \
260 Utilities/mcfio/mcf_xdr.h \
261 Utilities/stdhep/stdhep.h \
262 Utilities/stdhep/hepev4.h \
263 Utilities/stdhep/stdtmp.h \
264 Utilities/stdhep/stdver.h
265tmp/Utilities/stdhep/mcf_stdcm1_xdr.$(ObjSuf): \
266 Utilities/stdhep/mcf_stdcm1_xdr.c \
267 Utilities/mcfio/mcfio_Dict.h \
268 Utilities/mcfio/mcf_xdr.h \
269 Utilities/stdhep/stdcm1.h \
270 Utilities/stdhep/stdver.h
271tmp/Utilities/stdhep/mcf_hepup_xdr.$(ObjSuf): \
272 Utilities/stdhep/mcf_hepup_xdr.c \
273 Utilities/mcfio/mcfio_Dict.h \
274 Utilities/mcfio/mcf_xdr.h \
275 Utilities/stdhep/hepeup.h \
276 Utilities/stdhep/heprup.h \
277 Utilities/stdhep/stdver.h
278tmp/Utilities/stdhep/mcf_Stdhep_xdr.$(ObjSuf): \
279 Utilities/stdhep/mcf_Stdhep_xdr.c \
280 Utilities/mcfio/mcfio_Dict.h \
281 Utilities/mcfio/mcf_xdr.h \
282 Utilities/stdhep/stdhep.h \
283 Utilities/stdhep/stdtmp.h \
284 Utilities/stdhep/stdver.h
285tmp/Utilities/stdhep/stdhep_internal_utils.$(ObjSuf): \
286 Utilities/stdhep/stdhep_internal_utils.c \
287 Utilities/stdhep/stdhep.h \
288 Utilities/stdhep/hepev4.h \
289 Utilities/stdhep/stdtmp.h \
290 Utilities/stdhep/hepeup.h
291tmp/Utilities/stdhep/stdhep_mcfio.$(ObjSuf): \
292 Utilities/stdhep/stdhep_mcfio.c \
293 Utilities/mcfio/mcf_xdr.h \
294 Utilities/mcfio/mcfio_Block.h \
295 Utilities/mcfio/mcfio_Dict.h \
296 Utilities/mcfio/mcfio_Direct.h \
297 Utilities/mcfio/mcfio_Util1.h \
298 Utilities/stdhep/stdhep.h \
299 Utilities/stdhep/hepev4.h \
300 Utilities/stdhep/hepeup.h \
301 Utilities/stdhep/heprup.h \
302 Utilities/stdhep/stdtmp.h \
303 Utilities/stdhep/stdhd.h \
304 Utilities/stdhep/stdcnt.h \
305 Utilities/stdhep/stdhep_mcfio.h
306STDHEP_OBJ = \
307 tmp/Utilities/mcfio/mcf_ntuBldDbinc.$(ObjSuf) \
308 tmp/Utilities/mcfio/mcfio_SeqDummy.$(ObjSuf) \
309 tmp/Utilities/mcfio/mcfio_Util1.$(ObjSuf) \
310 tmp/Utilities/mcfio/mcf_evt_xdr.$(ObjSuf) \
311 tmp/Utilities/mcfio/mcf_NTuIOUtils.$(ObjSuf) \
312 tmp/Utilities/mcfio/mcfio_Block.$(ObjSuf) \
313 tmp/Utilities/mcfio/mcfio_Direct.$(ObjSuf) \
314 tmp/Utilities/mcfio/mcf_NTuIOFiles.$(ObjSuf) \
315 tmp/Utilities/mcfio/mcfio_UserDictionary.$(ObjSuf) \
316 tmp/Utilities/mcfio/mcf_ntubldInit.$(ObjSuf) \
317 tmp/Utilities/stdhep/mcf_hepev4_xdr.$(ObjSuf) \
318 tmp/Utilities/stdhep/mcf_stdcm1_xdr.$(ObjSuf) \
319 tmp/Utilities/stdhep/mcf_hepup_xdr.$(ObjSuf) \
320 tmp/Utilities/stdhep/mcf_Stdhep_xdr.$(ObjSuf) \
321 tmp/Utilities/stdhep/stdhep_internal_utils.$(ObjSuf) \
322 tmp/Utilities/stdhep/stdhep_mcfio.$(ObjSuf)
323
324Utilities/CDFCones/interface/MidPointAlgorithm.h: \
325 Utilities/CDFCones/interface/PhysicsTower.h \
326 Utilities/CDFCones/interface/Cluster.h
327 @touch $@
328
329interface/DataConverter.h: \
330 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
331 Utilities/ExRootAnalysis/interface/LHEF.h
332 @touch $@
333
334interface/HEPEVTConverter.h: \
335 Utilities/ExRootAnalysis/interface/BlockClasses.h \
336 Utilities/ExRootAnalysis/interface/TSimpleArray.h \
337 Utilities/CDFCones/interface/PhysicsTower.h \
338 interface/DataConverter.h
339 @touch $@
340
341interface/TreeClasses.h: \
342 Utilities/ExRootAnalysis/interface/BlockCompare.h \
343 Utilities/ExRootAnalysis/interface/BlockClasses.h
344 @touch $@
345
346interface/SmearUtil.h: \
347 Utilities/ExRootAnalysis/interface/BlockClasses.h \
348 Utilities/ExRootAnalysis/interface/TSimpleArray.h \
349 Utilities/CDFCones/interface/PhysicsTower.h
350 @touch $@
351
352interface/LHEFConverter.h: \
353 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
354 Utilities/ExRootAnalysis/interface/LHEF.h \
355 interface/DataConverter.h
356 @touch $@
357
358Utilities/CDFCones/interface/Cluster.h: \
359 Utilities/CDFCones/interface/PhysicsTower.h \
360 Utilities/CDFCones/interface/LorentzVector.h \
361 Utilities/CDFCones/interface/Centroid.h
362 @touch $@
363
364Utilities/stdhep/stdhep_declarations.h: \
365 Utilities/stdhep/stdhep.h \
366 Utilities/stdhep/hepev4.h \
367 Utilities/stdhep/hepeup.h \
368 Utilities/stdhep/heprup.h \
369 Utilities/stdhep/stdtmp.h \
370 Utilities/stdhep/stdhd.h \
371 Utilities/stdhep/stdcnt.h \
372 Utilities/stdhep/stdcm1.h \
373 Utilities/stdhep/stdver.h
374 @touch $@
375
376Utilities/CDFCones/interface/PhysicsTower.h: \
377 Utilities/CDFCones/interface/LorentzVector.h \
378 Utilities/CDFCones/interface/CalTower.h
379 @touch $@
380
381Utilities/CDFCones/interface/JetCluAlgorithm.h: \
382 Utilities/CDFCones/interface/PhysicsTower.h \
383 Utilities/CDFCones/interface/Cluster.h
384 @touch $@
385
386Utilities/CDFCones/interface/ClusterComparisons.h: \
387 Utilities/CDFCones/interface/Cluster.h
388 @touch $@
389
390Utilities/ExRootAnalysis/interface/BlockClasses.h: \
391 Utilities/ExRootAnalysis/interface/BlockCompare.h
392 @touch $@
393
394interface/STDHEPConverter.h: \
395 Utilities/ExRootAnalysis/interface/BlockClasses.h \
396 Utilities/ExRootAnalysis/interface/TSimpleArray.h \
397 Utilities/CDFCones/interface/PhysicsTower.h \
398 Utilities/ExRootAnalysis/interface/LHEF.h \
399 interface/DataConverter.h
400 @touch $@
401
402
403
404###
405
406all: $(SHARED) $(EXECUTABLE) $(STDHEP_EXECUTABLE)
407
408$(SHARED): $(DICT_OBJ) $(SOURCE_OBJ)
409 @mkdir -p $(@D)
410 @echo ">> Building $@"
411ifeq ($(ARCH),aix)
412 @/usr/ibmcxx/bin/makeC++SharedLib $(OutPutOpt) $@ $(LIBS) -p 0 $^
413else
414ifeq ($(ARCH),aix5)
415 @/usr/vacpp/bin/makeC++SharedLib $(OutPutOpt) $@ $(LIBS) -p 0 $^
416else
417ifeq ($(PLATFORM),macosx)
418# We need to make both the .dylib and the .so
419 @$(LD) $(SOFLAGS) $^ $(OutPutOpt) $@
420 @$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ $(LIBS) $(OutPutOpt) $(subst .$(DllSuf),.so,$@)
421else
422ifeq ($(PLATFORM),win32)
423 @bindexplib $* $^ > $*.def
424 @lib -nologo -MACHINE:IX86 $^ -def:$*.def $(OutPutOpt)$(EVENTLIB)
425 @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $*.exp $(LIBS) $(OutPutOpt)$@
426 @$(MT_DLL)
427else
428 @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
429 @$(MT_DLL)
430endif
431endif
432endif
433endif
434
435clean:
436 @rm -f $(DICT_OBJ) $(SOURCE_OBJ) $(STDHEP_OBJ) core
437
438distclean: clean
439 @rm -f $(SHARED) $(EXECUTABLE) $(STDHEP_EXECUTABLE)
440
441###
442
443.SUFFIXES: .$(SrcSuf) .$(ObjSuf) .$(DllSuf)
444
445%Dict.$(SrcSuf):
446 @mkdir -p $(@D)
447 @echo ">> Generating $@"
448 @rootcint -f $@ -c $<
449 @echo "#define private public" > $@.arch
450 @echo "#define protected public" >> $@.arch
451 @mv $@ $@.base
452 @cat $@.arch $< $@.base > $@
453 @rm $@.arch $@.base
454
455$(SOURCE_OBJ): tmp/%.$(ObjSuf): %.$(SrcSuf)
456 @mkdir -p $(@D)
457 @echo ">> Compiling $<"
458 @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
459
460$(DICT_OBJ): %.$(ObjSuf): %.$(SrcSuf)
461 @mkdir -p $(@D)
462 @echo ">> Compiling $<"
463 @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
464
465$(STDHEP_OBJ): tmp/%.$(ObjSuf): %.c
466 @mkdir -p $(@D)
467 @echo ">> Compiling $<"
468 @gcc $(CXXFLAGS) -c $< $(OutPutOpt)$@
469
470$(STDHEP_EXECUTABLE_OBJ): tmp/%.$(ObjSuf): %.cpp
471 @mkdir -p $(@D)
472 @echo ">> Compiling $<"
473 @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
474
475$(EXECUTABLE_OBJ): tmp/%.$(ObjSuf): %.cpp
476 @mkdir -p $(@D)
477 @echo ">> Compiling $<"
478 @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
479
480$(EXECUTABLE): %$(ExeSuf): $(DICT_OBJ) $(SOURCE_OBJ) $(STDHEP_OBJ)
481 @echo ">> Building $@"
482 @$(LD) $(LDFLAGS) $^ $(LIBS) $(OutPutOpt)$@
483
484###
485
486
Note: See TracBrowser for help on using the repository browser.