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 |
|
---|
10 | include $(ROOTSYS)/test/Makefile.arch
|
---|
11 |
|
---|
12 | ifeq ($(ARCH),macosx64)
|
---|
13 | UNDEFOPT = dynamic_lookup
|
---|
14 | endif
|
---|
15 |
|
---|
16 | SrcSuf = cc
|
---|
17 |
|
---|
18 | #CXXFLAGS += $(ROOTCFLAGS) -DDROP_CGAL -Iinterface -IUtilities/CDFCones/interface -IUtilities/ExRootAnalysis/interface -IUtilities/mcfio -IUtilities/stdhep -IUtilities/Hector/include
|
---|
19 | CXXFLAGS += $(ROOTCFLAGS) -DDROP_CGAL -I. -IUtilities/mcfio -IUtilities/stdhep -IUtilities/Hector/include -IUtilities/CDFCones/interface
|
---|
20 | LIBS = $(ROOTLIBS) -lEG $(SYSLIBS)
|
---|
21 | GLIBS = $(ROOTGLIBS) $(SYSLIBS)
|
---|
22 |
|
---|
23 | ###
|
---|
24 |
|
---|
25 | SHARED = lib/libUtilities.$(DllSuf) lib/libHector.$(DllSuf)
|
---|
26 |
|
---|
27 | all:
|
---|
28 |
|
---|
29 |
|
---|
30 | Delphes$(ExeSuf): \
|
---|
31 | tmp/Delphes.$(ObjSuf)
|
---|
32 |
|
---|
33 | tmp/Delphes.$(ObjSuf): \
|
---|
34 | Delphes.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 | EXECUTABLE = \
|
---|
48 | Delphes$(ExeSuf)
|
---|
49 |
|
---|
50 | EXECUTABLE_OBJ = \
|
---|
51 | tmp/Delphes.$(ObjSuf)
|
---|
52 |
|
---|
53 | tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(SrcSuf): \
|
---|
54 | Utilities/ExRootAnalysis/src/BlockClassesLinkDef.h \
|
---|
55 | Utilities/ExRootAnalysis/interface/BlockClasses.h
|
---|
56 | DICT = \
|
---|
57 | tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(SrcSuf)
|
---|
58 |
|
---|
59 | DICT_OBJ = \
|
---|
60 | tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(ObjSuf)
|
---|
61 |
|
---|
62 | tmp/src/STDHEPConverter.$(ObjSuf): \
|
---|
63 | src/STDHEPConverter.$(SrcSuf) \
|
---|
64 | Utilities/ExRootAnalysis/interface/BlockClasses.h \
|
---|
65 | Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
|
---|
66 | Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
|
---|
67 | Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
|
---|
68 | Utilities/ExRootAnalysis/interface/LHEF.h \
|
---|
69 | Utilities/stdhep/stdhep_mcfio.h \
|
---|
70 | Utilities/stdhep/stdhep_declarations.h \
|
---|
71 | interface/STDHEPConverter.h
|
---|
72 | tmp/src/LHEFConverter.$(ObjSuf): \
|
---|
73 | src/LHEFConverter.$(SrcSuf) \
|
---|
74 | Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
|
---|
75 | Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
|
---|
76 | Utilities/ExRootAnalysis/interface/BlockClasses.h \
|
---|
77 | interface/LHEFConverter.h \
|
---|
78 | Utilities/ExRootAnalysis/interface/LHEF.h
|
---|
79 | tmp/src/HEPEVTConverter.$(ObjSuf): \
|
---|
80 | src/HEPEVTConverter.$(SrcSuf) \
|
---|
81 | Utilities/ExRootAnalysis/interface/BlockClasses.h \
|
---|
82 | Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
|
---|
83 | Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
|
---|
84 | Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
|
---|
85 | interface/HEPEVTConverter.h
|
---|
86 | tmp/src/SmearUtil.$(ObjSuf): \
|
---|
87 | src/SmearUtil.$(SrcSuf) \
|
---|
88 | interface/SmearUtil.h
|
---|
89 | tmp/Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(ObjSuf): \
|
---|
90 | Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(SrcSuf) \
|
---|
91 | Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
|
---|
92 | Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h
|
---|
93 | tmp/Utilities/ExRootAnalysis/src/BlockClasses.$(ObjSuf): \
|
---|
94 | Utilities/ExRootAnalysis/src/BlockClasses.$(SrcSuf) \
|
---|
95 | Utilities/ExRootAnalysis/interface/BlockClasses.h \
|
---|
96 | Utilities/ExRootAnalysis/interface/BlockCompare.h
|
---|
97 | tmp/Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(ObjSuf): \
|
---|
98 | Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(SrcSuf) \
|
---|
99 | Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h
|
---|
100 | tmp/Utilities/ExRootAnalysis/src/ExRootTreeReader.$(ObjSuf): \
|
---|
101 | Utilities/ExRootAnalysis/src/ExRootTreeReader.$(SrcSuf) \
|
---|
102 | Utilities/ExRootAnalysis/interface/ExRootTreeReader.h
|
---|
103 | tmp/Utilities/ExRootAnalysis/src/ExRootProgressBar.$(ObjSuf): \
|
---|
104 | Utilities/ExRootAnalysis/src/ExRootProgressBar.$(SrcSuf) \
|
---|
105 | Utilities/ExRootAnalysis/interface/ExRootProgressBar.h
|
---|
106 | tmp/Utilities/Hector/src/H_Parameters.$(ObjSuf): \
|
---|
107 | Utilities/Hector/src/H_Parameters.$(SrcSuf)
|
---|
108 | tmp/Utilities/Hector/src/H_RomanPot.$(ObjSuf): \
|
---|
109 | Utilities/Hector/src/H_RomanPot.$(SrcSuf)
|
---|
110 | tmp/Utilities/Hector/src/H_Beam.$(ObjSuf): \
|
---|
111 | Utilities/Hector/src/H_Beam.$(SrcSuf)
|
---|
112 | tmp/Utilities/Hector/src/H_SectorDipole.$(ObjSuf): \
|
---|
113 | Utilities/Hector/src/H_SectorDipole.$(SrcSuf)
|
---|
114 | tmp/Utilities/Hector/src/H_RecRPObject.$(ObjSuf): \
|
---|
115 | Utilities/Hector/src/H_RecRPObject.$(SrcSuf)
|
---|
116 | tmp/Utilities/Hector/src/H_Drift.$(ObjSuf): \
|
---|
117 | Utilities/Hector/src/H_Drift.$(SrcSuf)
|
---|
118 | tmp/Utilities/Hector/src/H_CircularAperture.$(ObjSuf): \
|
---|
119 | Utilities/Hector/src/H_CircularAperture.$(SrcSuf)
|
---|
120 | tmp/Utilities/Hector/src/H_VerticalQuadrupole.$(ObjSuf): \
|
---|
121 | Utilities/Hector/src/H_VerticalQuadrupole.$(SrcSuf)
|
---|
122 | tmp/Utilities/Hector/src/H_EllipticAperture.$(ObjSuf): \
|
---|
123 | Utilities/Hector/src/H_EllipticAperture.$(SrcSuf)
|
---|
124 | tmp/Utilities/Hector/src/H_RectangularDipole.$(ObjSuf): \
|
---|
125 | Utilities/Hector/src/H_RectangularDipole.$(SrcSuf)
|
---|
126 | tmp/Utilities/Hector/src/H_OpticalElement.$(ObjSuf): \
|
---|
127 | Utilities/Hector/src/H_OpticalElement.$(SrcSuf)
|
---|
128 | tmp/Utilities/Hector/src/H_Kicker.$(ObjSuf): \
|
---|
129 | Utilities/Hector/src/H_Kicker.$(SrcSuf)
|
---|
130 | tmp/Utilities/Hector/src/H_BeamLineParser.$(ObjSuf): \
|
---|
131 | Utilities/Hector/src/H_BeamLineParser.$(SrcSuf)
|
---|
132 | tmp/Utilities/Hector/src/H_AbstractBeamLine.$(ObjSuf): \
|
---|
133 | Utilities/Hector/src/H_AbstractBeamLine.$(SrcSuf)
|
---|
134 | tmp/Utilities/Hector/src/H_Aperture.$(ObjSuf): \
|
---|
135 | Utilities/Hector/src/H_Aperture.$(SrcSuf)
|
---|
136 | tmp/Utilities/Hector/src/H_BeamParticle.$(ObjSuf): \
|
---|
137 | Utilities/Hector/src/H_BeamParticle.$(SrcSuf)
|
---|
138 | tmp/Utilities/Hector/src/H_TransportMatrices.$(ObjSuf): \
|
---|
139 | Utilities/Hector/src/H_TransportMatrices.$(SrcSuf)
|
---|
140 | tmp/Utilities/Hector/src/H_HorizontalKicker.$(ObjSuf): \
|
---|
141 | Utilities/Hector/src/H_HorizontalKicker.$(SrcSuf)
|
---|
142 | tmp/Utilities/Hector/src/H_Quadrupole.$(ObjSuf): \
|
---|
143 | Utilities/Hector/src/H_Quadrupole.$(SrcSuf)
|
---|
144 | tmp/Utilities/Hector/src/H_RectangularAperture.$(ObjSuf): \
|
---|
145 | Utilities/Hector/src/H_RectangularAperture.$(SrcSuf)
|
---|
146 | tmp/Utilities/Hector/src/H_Marker.$(ObjSuf): \
|
---|
147 | Utilities/Hector/src/H_Marker.$(SrcSuf)
|
---|
148 | tmp/Utilities/Hector/src/H_RectangularCollimator.$(ObjSuf): \
|
---|
149 | Utilities/Hector/src/H_RectangularCollimator.$(SrcSuf)
|
---|
150 | tmp/Utilities/Hector/src/H_BeamLine.$(ObjSuf): \
|
---|
151 | Utilities/Hector/src/H_BeamLine.$(SrcSuf)
|
---|
152 | tmp/Utilities/Hector/src/H_HorizontalQuadrupole.$(ObjSuf): \
|
---|
153 | Utilities/Hector/src/H_HorizontalQuadrupole.$(SrcSuf)
|
---|
154 | tmp/Utilities/Hector/src/H_VerticalKicker.$(ObjSuf): \
|
---|
155 | Utilities/Hector/src/H_VerticalKicker.$(SrcSuf)
|
---|
156 | tmp/Utilities/Hector/src/H_RectEllipticAperture.$(ObjSuf): \
|
---|
157 | Utilities/Hector/src/H_RectEllipticAperture.$(SrcSuf)
|
---|
158 | tmp/Utilities/Hector/src/H_Dipole.$(ObjSuf): \
|
---|
159 | Utilities/Hector/src/H_Dipole.$(SrcSuf)
|
---|
160 | tmp/Utilities/CDFCones/src/MidPointAlgorithm.$(ObjSuf): \
|
---|
161 | Utilities/CDFCones/src/MidPointAlgorithm.$(SrcSuf) \
|
---|
162 | Utilities/CDFCones/interface/MidPointAlgorithm.h \
|
---|
163 | Utilities/CDFCones/interface/ClusterComparisons.h
|
---|
164 | tmp/Utilities/CDFCones/src/JetCluAlgorithm.$(ObjSuf): \
|
---|
165 | Utilities/CDFCones/src/JetCluAlgorithm.$(SrcSuf) \
|
---|
166 | Utilities/CDFCones/interface/JetCluAlgorithm.h \
|
---|
167 | Utilities/CDFCones/interface/ClusterComparisons.h \
|
---|
168 | Utilities/CDFCones/interface/Centroid.h
|
---|
169 | SOURCE_OBJ = \
|
---|
170 | tmp/src/STDHEPConverter.$(ObjSuf) \
|
---|
171 | tmp/src/LHEFConverter.$(ObjSuf) \
|
---|
172 | tmp/src/HEPEVTConverter.$(ObjSuf) \
|
---|
173 | tmp/src/SmearUtil.$(ObjSuf) \
|
---|
174 | tmp/Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(ObjSuf) \
|
---|
175 | tmp/Utilities/ExRootAnalysis/src/BlockClasses.$(ObjSuf) \
|
---|
176 | tmp/Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(ObjSuf) \
|
---|
177 | tmp/Utilities/ExRootAnalysis/src/ExRootTreeReader.$(ObjSuf) \
|
---|
178 | tmp/Utilities/ExRootAnalysis/src/ExRootProgressBar.$(ObjSuf) \
|
---|
179 | tmp/Utilities/Hector/src/H_Parameters.$(ObjSuf) \
|
---|
180 | tmp/Utilities/Hector/src/H_RomanPot.$(ObjSuf) \
|
---|
181 | tmp/Utilities/Hector/src/H_Beam.$(ObjSuf) \
|
---|
182 | tmp/Utilities/Hector/src/H_SectorDipole.$(ObjSuf) \
|
---|
183 | tmp/Utilities/Hector/src/H_RecRPObject.$(ObjSuf) \
|
---|
184 | tmp/Utilities/Hector/src/H_Drift.$(ObjSuf) \
|
---|
185 | tmp/Utilities/Hector/src/H_CircularAperture.$(ObjSuf) \
|
---|
186 | tmp/Utilities/Hector/src/H_VerticalQuadrupole.$(ObjSuf) \
|
---|
187 | tmp/Utilities/Hector/src/H_EllipticAperture.$(ObjSuf) \
|
---|
188 | tmp/Utilities/Hector/src/H_RectangularDipole.$(ObjSuf) \
|
---|
189 | tmp/Utilities/Hector/src/H_OpticalElement.$(ObjSuf) \
|
---|
190 | tmp/Utilities/Hector/src/H_Kicker.$(ObjSuf) \
|
---|
191 | tmp/Utilities/Hector/src/H_BeamLineParser.$(ObjSuf) \
|
---|
192 | tmp/Utilities/Hector/src/H_AbstractBeamLine.$(ObjSuf) \
|
---|
193 | tmp/Utilities/Hector/src/H_Aperture.$(ObjSuf) \
|
---|
194 | tmp/Utilities/Hector/src/H_BeamParticle.$(ObjSuf) \
|
---|
195 | tmp/Utilities/Hector/src/H_TransportMatrices.$(ObjSuf) \
|
---|
196 | tmp/Utilities/Hector/src/H_HorizontalKicker.$(ObjSuf) \
|
---|
197 | tmp/Utilities/Hector/src/H_Quadrupole.$(ObjSuf) \
|
---|
198 | tmp/Utilities/Hector/src/H_RectangularAperture.$(ObjSuf) \
|
---|
199 | tmp/Utilities/Hector/src/H_Marker.$(ObjSuf) \
|
---|
200 | tmp/Utilities/Hector/src/H_RectangularCollimator.$(ObjSuf) \
|
---|
201 | tmp/Utilities/Hector/src/H_BeamLine.$(ObjSuf) \
|
---|
202 | tmp/Utilities/Hector/src/H_HorizontalQuadrupole.$(ObjSuf) \
|
---|
203 | tmp/Utilities/Hector/src/H_VerticalKicker.$(ObjSuf) \
|
---|
204 | tmp/Utilities/Hector/src/H_RectEllipticAperture.$(ObjSuf) \
|
---|
205 | tmp/Utilities/Hector/src/H_Dipole.$(ObjSuf) \
|
---|
206 | tmp/Utilities/CDFCones/src/MidPointAlgorithm.$(ObjSuf) \
|
---|
207 | tmp/Utilities/CDFCones/src/JetCluAlgorithm.$(ObjSuf)
|
---|
208 |
|
---|
209 | tmp/Utilities/mcfio/mcf_ntuBldDbinc.$(ObjSuf): \
|
---|
210 | Utilities/mcfio/mcf_ntuBldDbinc.c
|
---|
211 | tmp/Utilities/mcfio/mcfio_SeqDummy.$(ObjSuf): \
|
---|
212 | Utilities/mcfio/mcfio_SeqDummy.c
|
---|
213 | tmp/Utilities/mcfio/mcfio_Util1.$(ObjSuf): \
|
---|
214 | Utilities/mcfio/mcfio_Util1.c
|
---|
215 | tmp/Utilities/mcfio/mcf_evt_xdr.$(ObjSuf): \
|
---|
216 | Utilities/mcfio/mcf_evt_xdr.c
|
---|
217 | tmp/Utilities/mcfio/mcf_NTuIOUtils.$(ObjSuf): \
|
---|
218 | Utilities/mcfio/mcf_NTuIOUtils.c
|
---|
219 | tmp/Utilities/mcfio/mcfio_Block.$(ObjSuf): \
|
---|
220 | Utilities/mcfio/mcfio_Block.c
|
---|
221 | tmp/Utilities/mcfio/mcfio_Direct.$(ObjSuf): \
|
---|
222 | Utilities/mcfio/mcfio_Direct.c
|
---|
223 | tmp/Utilities/mcfio/mcf_NTuIOFiles.$(ObjSuf): \
|
---|
224 | Utilities/mcfio/mcf_NTuIOFiles.c
|
---|
225 | tmp/Utilities/mcfio/mcfio_UserDictionary.$(ObjSuf): \
|
---|
226 | Utilities/mcfio/mcfio_UserDictionary.c
|
---|
227 | tmp/Utilities/mcfio/mcf_ntubldInit.$(ObjSuf): \
|
---|
228 | Utilities/mcfio/mcf_ntubldInit.c
|
---|
229 | tmp/Utilities/stdhep/mcf_hepev4_xdr.$(ObjSuf): \
|
---|
230 | Utilities/stdhep/mcf_hepev4_xdr.c
|
---|
231 | tmp/Utilities/stdhep/mcf_stdcm1_xdr.$(ObjSuf): \
|
---|
232 | Utilities/stdhep/mcf_stdcm1_xdr.c
|
---|
233 | tmp/Utilities/stdhep/mcf_hepup_xdr.$(ObjSuf): \
|
---|
234 | Utilities/stdhep/mcf_hepup_xdr.c
|
---|
235 | tmp/Utilities/stdhep/mcf_Stdhep_xdr.$(ObjSuf): \
|
---|
236 | Utilities/stdhep/mcf_Stdhep_xdr.c
|
---|
237 | tmp/Utilities/stdhep/stdhep_internal_utils.$(ObjSuf): \
|
---|
238 | Utilities/stdhep/stdhep_internal_utils.c
|
---|
239 | tmp/Utilities/stdhep/stdhep_mcfio.$(ObjSuf): \
|
---|
240 | Utilities/stdhep/stdhep_mcfio.c
|
---|
241 | STDHEP_OBJ = \
|
---|
242 | tmp/Utilities/mcfio/mcf_ntuBldDbinc.$(ObjSuf) \
|
---|
243 | tmp/Utilities/mcfio/mcfio_SeqDummy.$(ObjSuf) \
|
---|
244 | tmp/Utilities/mcfio/mcfio_Util1.$(ObjSuf) \
|
---|
245 | tmp/Utilities/mcfio/mcf_evt_xdr.$(ObjSuf) \
|
---|
246 | tmp/Utilities/mcfio/mcf_NTuIOUtils.$(ObjSuf) \
|
---|
247 | tmp/Utilities/mcfio/mcfio_Block.$(ObjSuf) \
|
---|
248 | tmp/Utilities/mcfio/mcfio_Direct.$(ObjSuf) \
|
---|
249 | tmp/Utilities/mcfio/mcf_NTuIOFiles.$(ObjSuf) \
|
---|
250 | tmp/Utilities/mcfio/mcfio_UserDictionary.$(ObjSuf) \
|
---|
251 | tmp/Utilities/mcfio/mcf_ntubldInit.$(ObjSuf) \
|
---|
252 | tmp/Utilities/stdhep/mcf_hepev4_xdr.$(ObjSuf) \
|
---|
253 | tmp/Utilities/stdhep/mcf_stdcm1_xdr.$(ObjSuf) \
|
---|
254 | tmp/Utilities/stdhep/mcf_hepup_xdr.$(ObjSuf) \
|
---|
255 | tmp/Utilities/stdhep/mcf_Stdhep_xdr.$(ObjSuf) \
|
---|
256 | tmp/Utilities/stdhep/stdhep_internal_utils.$(ObjSuf) \
|
---|
257 | tmp/Utilities/stdhep/stdhep_mcfio.$(ObjSuf)
|
---|
258 |
|
---|
259 | Utilities/CDFCones/interface/MidPointAlgorithm.h: \
|
---|
260 | Utilities/CDFCones/interface/PhysicsTower.h \
|
---|
261 | Utilities/CDFCones/interface/Cluster.h
|
---|
262 | @touch $@
|
---|
263 |
|
---|
264 | interface/DataConverter.h: \
|
---|
265 | Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
|
---|
266 | Utilities/ExRootAnalysis/interface/LHEF.h
|
---|
267 | @touch $@
|
---|
268 |
|
---|
269 | interface/HEPEVTConverter.h: \
|
---|
270 | Utilities/ExRootAnalysis/interface/BlockClasses.h \
|
---|
271 | Utilities/ExRootAnalysis/interface/TSimpleArray.h \
|
---|
272 | Utilities/CDFCones/interface/PhysicsTower.h \
|
---|
273 | interface/DataConverter.h
|
---|
274 | @touch $@
|
---|
275 |
|
---|
276 | interface/SmearUtil.h: \
|
---|
277 | Utilities/ExRootAnalysis/interface/BlockClasses.h \
|
---|
278 | Utilities/ExRootAnalysis/interface/TSimpleArray.h \
|
---|
279 | Utilities/CDFCones/interface/PhysicsTower.h
|
---|
280 | @touch $@
|
---|
281 |
|
---|
282 | interface/LHEFConverter.h: \
|
---|
283 | Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
|
---|
284 | Utilities/ExRootAnalysis/interface/LHEF.h \
|
---|
285 | interface/DataConverter.h
|
---|
286 | @touch $@
|
---|
287 |
|
---|
288 | Utilities/CDFCones/interface/Cluster.h: \
|
---|
289 | Utilities/CDFCones/interface/PhysicsTower.h \
|
---|
290 | Utilities/CDFCones/interface/LorentzVector.h \
|
---|
291 | Utilities/CDFCones/interface/Centroid.h
|
---|
292 | @touch $@
|
---|
293 |
|
---|
294 | Utilities/CDFCones/interface/PhysicsTower.h: \
|
---|
295 | Utilities/CDFCones/interface/LorentzVector.h \
|
---|
296 | Utilities/CDFCones/interface/CalTower.h
|
---|
297 | @touch $@
|
---|
298 |
|
---|
299 | Utilities/CDFCones/interface/JetCluAlgorithm.h: \
|
---|
300 | Utilities/CDFCones/interface/PhysicsTower.h \
|
---|
301 | Utilities/CDFCones/interface/Cluster.h
|
---|
302 | @touch $@
|
---|
303 |
|
---|
304 | Utilities/CDFCones/interface/ClusterComparisons.h: \
|
---|
305 | Utilities/CDFCones/interface/Cluster.h
|
---|
306 | @touch $@
|
---|
307 |
|
---|
308 | Utilities/ExRootAnalysis/interface/BlockClasses.h: \
|
---|
309 | Utilities/ExRootAnalysis/interface/BlockCompare.h
|
---|
310 | @touch $@
|
---|
311 |
|
---|
312 | interface/STDHEPConverter.h: \
|
---|
313 | Utilities/ExRootAnalysis/interface/BlockClasses.h \
|
---|
314 | Utilities/ExRootAnalysis/interface/TSimpleArray.h \
|
---|
315 | Utilities/CDFCones/interface/PhysicsTower.h \
|
---|
316 | Utilities/ExRootAnalysis/interface/LHEF.h \
|
---|
317 | interface/DataConverter.h
|
---|
318 | @touch $@
|
---|
319 |
|
---|
320 |
|
---|
321 |
|
---|
322 | ###
|
---|
323 |
|
---|
324 | all: $(SHARED) $(EXECUTABLE) $(STDHEP_EXECUTABLE)
|
---|
325 |
|
---|
326 | $(SHARED): $(DICT_OBJ) $(SOURCE_OBJ)
|
---|
327 | @mkdir -p $(@D)
|
---|
328 | @echo ">> Building $@"
|
---|
329 | ifeq ($(ARCH),aix)
|
---|
330 | @/usr/ibmcxx/bin/makeC++SharedLib $(OutPutOpt) $@ $(LIBS) -p 0 $^
|
---|
331 | else
|
---|
332 | ifeq ($(ARCH),aix5)
|
---|
333 | @/usr/vacpp/bin/makeC++SharedLib $(OutPutOpt) $@ $(LIBS) -p 0 $^
|
---|
334 | else
|
---|
335 | ifeq ($(PLATFORM),macosx)
|
---|
336 | # We need to make both the .dylib and the .so
|
---|
337 | @$(LD) $(SOFLAGS) $^ $(OutPutOpt) $@
|
---|
338 | @$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ $(LIBS) $(OutPutOpt) $(subst .$(DllSuf),.so,$@)
|
---|
339 | else
|
---|
340 | ifeq ($(PLATFORM),win32)
|
---|
341 | @bindexplib $* $^ > $*.def
|
---|
342 | @lib -nologo -MACHINE:IX86 $^ -def:$*.def $(OutPutOpt)$(EVENTLIB)
|
---|
343 | @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $*.exp $(LIBS) $(OutPutOpt)$@
|
---|
344 | @$(MT_DLL)
|
---|
345 | else
|
---|
346 | @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
|
---|
347 | @$(MT_DLL)
|
---|
348 | endif
|
---|
349 | endif
|
---|
350 | endif
|
---|
351 | endif
|
---|
352 |
|
---|
353 | clean:
|
---|
354 | @rm -f $(DICT_OBJ) $(SOURCE_OBJ) $(STDHEP_OBJ) core
|
---|
355 |
|
---|
356 | distclean: clean
|
---|
357 | @rm -f $(SHARED) $(EXECUTABLE) $(STDHEP_EXECUTABLE)
|
---|
358 |
|
---|
359 | ###
|
---|
360 |
|
---|
361 | .SUFFIXES: .$(SrcSuf) .$(ObjSuf) .$(DllSuf)
|
---|
362 |
|
---|
363 | %Dict.$(SrcSuf):
|
---|
364 | @mkdir -p $(@D)
|
---|
365 | @echo ">> Generating $@"
|
---|
366 | @rootcint -f $@ -c $<
|
---|
367 | @echo "#define private public" > $@.arch
|
---|
368 | @echo "#define protected public" >> $@.arch
|
---|
369 | @mv $@ $@.base
|
---|
370 | @cat $@.arch $< $@.base > $@
|
---|
371 | @rm $@.arch $@.base
|
---|
372 |
|
---|
373 | $(SOURCE_OBJ): tmp/%.$(ObjSuf): %.$(SrcSuf)
|
---|
374 | @mkdir -p $(@D)
|
---|
375 | @echo ">> Compiling $<"
|
---|
376 | @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
|
---|
377 |
|
---|
378 | $(DICT_OBJ): %.$(ObjSuf): %.$(SrcSuf)
|
---|
379 | @mkdir -p $(@D)
|
---|
380 | @echo ">> Compiling $<"
|
---|
381 | @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
|
---|
382 |
|
---|
383 | $(STDHEP_OBJ): tmp/%.$(ObjSuf): %.c
|
---|
384 | @mkdir -p $(@D)
|
---|
385 | @echo ">> Compiling $<"
|
---|
386 | @gcc $(CXXFLAGS) -c $< $(OutPutOpt)$@
|
---|
387 |
|
---|
388 | $(STDHEP_EXECUTABLE_OBJ): tmp/%.$(ObjSuf): %.cpp
|
---|
389 | @mkdir -p $(@D)
|
---|
390 | @echo ">> Compiling $<"
|
---|
391 | @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
|
---|
392 |
|
---|
393 | $(EXECUTABLE_OBJ): tmp/%.$(ObjSuf): %.cpp
|
---|
394 | @mkdir -p $(@D)
|
---|
395 | @echo ">> Compiling $<"
|
---|
396 | @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
|
---|
397 |
|
---|
398 | $(EXECUTABLE): %$(ExeSuf): $(DICT_OBJ) $(SOURCE_OBJ) $(STDHEP_OBJ)
|
---|
399 | @echo ">> Building $@"
|
---|
400 | @$(LD) $(LDFLAGS) $^ $(LIBS) $(OutPutOpt)$@
|
---|
401 |
|
---|
402 | ###
|
---|
403 |
|
---|
404 |
|
---|