source: trunk/MagicSoft/Simulation/Detector/TimeCam/Makefile@ 353

Last change on this file since 353 was 353, checked in by harald, 25 years ago
this is just the starting point of the further development of the camera project to simulate MonteCarloShower for MAGIC. The TimeCam is using also the information of the arrival time of the cerenkov photons (or the photoelectrons). This is the status of the program as presented on the general MAGIC meeting in Barcelona! Each one is invited to collaborate!!!
File size: 15.4 KB
Line 
1##################################################################
2#
3# makefile
4#
5# @file makefile
6# @title Simulation of the camera and trigger logic
7# @author J C Gonz\'alez
8# @email gonzalez@mppmu.mpg.de
9# @date Fri Mar 12 11:51:11 MET 1999
10#
11#_______________________________________________________________
12#
13# Created: Fri Mar 12 11:51:11 MET 1999
14# Author: Jose Carlos Gonzalez
15# Purpose: Makefile for the compilation of the camera program
16# Notes:
17#
18#---------------------------------------------------------------
19#
20# $RCSfile: Makefile,v $
21# $Revision: 1.1.1.1 $
22# $Author: harald $
23# $Date: 2000-02-08 15:13:44 $
24#
25##################################################################
26# @maintitle
27
28# @code
29
30INCLUDEMK = config.mk.${OSTYPE}
31include ${INCLUDEMK}
32
33# @endcode
34
35# @code
36
37# common flags
38INCLUDES = -I${INCLUDE} \
39 -I${INCLUDE_COR} \
40 -I${INCLUDE_MC} \
41 -I${INCLUDE_EVITA} \
42 -I${INCLUDE_TRIGGER} \
43 -I${INCLUDE_FADC} \
44 -I${INCLUDE_REFL} \
45 -I${INCLUDE_ROOT} \
46 -I${INCLUDE_CPLUS}
47
48RANLIB = -L${RANLIBDIR} -lranlib
49
50# what is needed for ROOT is inside the config.mk... file
51
52
53# special flags
54
55osf_FORLIBS = -lUfor -lfor -lutil -lots -lm
56#linux_FORLIBS = -lf2c -lm /usr/lib/libc.a
57linux_FORLIBS = -lm -ldl
58#linux_FORLIBS = -lm -ldl -rdynamic
59generic_FORLIBS = -lm
60
61FORLIBS = ${${SYSTEM}_FORLIBS}
62
63# compilation and linking flags
64
65CXXFLAGS = -D__${SYSTEM}__ ${INCLUDES} ${OPTIM} ${DEBUG}
66CFLAGS = ${CXXFLAGS}
67FFLAGS = ${CXXFLAGS}
68LIBS = ${RANLIB} ${ROOTLIBS} ${ROOTGLIBS} ${GLIBS}
69
70#------------------------------------------------------------------------------
71
72#.SILENT:
73
74.SUFFIXES: .c .cxx .C .c++ .h .hxx .H .h++ .o .so .f
75
76SRCS = \
77 ${INCLUDE_MC}/MCEventHeader.cxx \
78 ${INCLUDE_MC}/MCCphoton.cxx \
79 ${INCLUDE_TRIGGER}/MTrigger.cxx \
80 ${INCLUDE_TRIGGER}/MGTriggerSignal.cxx \
81 ${INCLUDE_EVITA}/MRawPixel.cxx \
82 ${INCLUDE_EVITA}/MRawEvt.cxx \
83 ${INCLUDE_EVITA}/MMcEvt.cxx \
84 ${INCLUDE_EVITA}/MMcTrig.cxx \
85 MCamCint.cxx \
86 creadparam.cxx \
87 timecam.cxx
88
89HEADERS = \
90 MCEventHeader.hxx \
91 MCCphoton.hxx \
92 MTRigger.hxx \
93 MGTriggerSignal.hxx \
94 MRawPixel.h \
95 MRawEvt.h \
96 MMcEvt.h \
97 MMcTrig.hxx \
98 lagrange.h \
99 atm.h \
100 creadparam.h \
101 timecam.h
102
103OBJS = \
104 ${INCLUDE_MC}/MCEventHeader.o \
105 ${INCLUDE_MC}/MCCphoton.o \
106 ${INCLUDE_TRIGGER}/MTrigger.o \
107 ${INCLUDE_TRIGGER}/MGTriggerSignal.o \
108 ${INCLUDE_EVITA}/MRawPixel.o \
109 ${INCLUDE_EVITA}/MRawEvt.o \
110 ${INCLUDE_EVITA}/MMcEvt.o \
111 ${INCLUDE_EVITA}/MMcTrig.o \
112 MCamCint.o \
113 creadparam.o \
114 timecam.o
115
116############################################################
117
118all: ${PROGRAM}
119
120depend:
121 @makedepend $(SRCS) $(INCLUDES) -fMakefile 2> kk.kk ; cat kk.kk
122
123doc: camera-doc
124
125camera-doc:
126 @echo "Generating documentation for camera . . . "
127 $(DOCUM) -latex -o camera.tex \
128 camera.cxx camera.h \
129 creadparam.cxx creadparam.h \
130 moments.cxx moments.h
131 latex "\nonstopmode\input{camera.tex}" && \
132 makeindex camera && \
133 latex "\nonstopmode\input{camera.tex}" && \
134 latex "\nonstopmode\input{camera.tex}"
135 @echo "Files camera.tex and camera.dvi generated."
136
137${PROGRAM}: $(OBJS)
138 @echo "Linking..."
139 echo `ls -m $(OBJS)|sed 's/,/ +/g' `" + libraries => " $@
140 $(CXX) $(CXXFLAGS) $(OBJS) $(LIBS) -o $@
141 @echo "done."
142
143
144MCamCint.cxx: ${INCLUDE_EVITA}/MRawPixel.h \
145 ${INCLUDE_EVITA}/MRawEvt.h \
146 ${INCLUDE_EVITA}/MMcEvt.h \
147 ${INCLUDE_EVITA}/MMcTrig.hxx \
148 ${INCLUDE_EVITA}/Mdefine.h
149
150 @echo
151 @echo "Generating dictionary ..."
152 @echo
153
154 @$(ROOTSYS)/bin/rootcint -f \
155 MCamCint.cxx -c \
156 ${INCLUDE_EVITA}/MRawPixel.h \
157 ${INCLUDE_EVITA}/MRawEvt.h \
158 ${INCLUDE_EVITA}/MMcEvt.h \
159 ${INCLUDE_EVITA}/MMcTrig.hxx \
160 ${INCLUDE_EVITA}/Mdefine.h \
161 ${INCLUDE_EVITA}/LinkDef.h
162
163 @echo
164 @echo "Dictionary done"
165 @echo
166
167.cxx.o:
168 @echo "Compiling " $<
169 $(CXX) $(CXXFLAGS) -c $< -o $@
170
171.c.o:
172 @echo "Compiling " $<
173 $(CC) $(CFLAGS) -c $< -o $@
174
175lclean:
176 @echo "Cleanning..."
177 @rm -f *.o core
178
179clean:
180 @echo "Cleanning..."
181 @rm -f $(OBJS) core
182 @rm -f MCamCint.cxx MCamCint.h
183
184mrproper: clean
185 @echo "Mr.Proper in action . . ."
186 @rm -f $(PROGRAM)
187
188ctags:
189 @echo "Creating CTAGS file . . ."
190 @ctags -txw $(SRCS) $(HEADERS) > CTAGS
191
192etags:
193 @echo "Creating TAGS file . . ."
194 @etags -C $(SRCS) $(HEADERS)
195
196listsrc:
197 @ls -m $(SRCS) $(HEADERS) | sed 's/,//g'
198
199redo: clean all
200
201cflags:
202 @echo $(INCLUDES) $(CXXFLAGS)
203
204# @endcode
205
206# DO NOT DELETE THIS LINE -- make depend depends on it.
207
208../include-MC/MCEventHeader.o: ../include-MC/MCEventHeader.hxx
209../include-MC/MCEventHeader.o: ../include-GENERAL/Rtypes.h
210../include-MC/MCEventHeader.o: /usr/include/g++/iostream.h
211../include-MC/MCEventHeader.o: /usr/include/g++/streambuf.h
212../include-MC/MCEventHeader.o: /usr/include/libio.h /usr/include/_G_config.h
213../include-MC/MCEventHeader.o: /usr/include/bits/types.h
214../include-MC/MCEventHeader.o: /usr/include/features.h
215../include-MC/MCEventHeader.o: /usr/include/sys/cdefs.h
216../include-MC/MCEventHeader.o: /usr/include/gnu/stubs.h
217../include-MC/MCEventHeader.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h
218../include-MC/MCEventHeader.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stdarg.h
219../include-MC/MCEventHeader.o: /usr/include/g++/iomanip.h
220../include-MC/MCEventHeader.o: /usr/include/g++/fstream.h
221../include-MC/MCEventHeader.o: /usr/include/stdlib.h /usr/include/sys/types.h
222../include-MC/MCEventHeader.o: /usr/include/time.h /usr/include/endian.h
223../include-MC/MCEventHeader.o: /usr/include/bits/endian.h
224../include-MC/MCEventHeader.o: /usr/include/sys/select.h
225../include-MC/MCEventHeader.o: /usr/include/bits/select.h
226../include-MC/MCEventHeader.o: /usr/include/bits/sigset.h
227../include-MC/MCEventHeader.o: /usr/include/sys/sysmacros.h
228../include-MC/MCEventHeader.o: /usr/include/alloca.h /usr/include/math.h
229../include-MC/MCEventHeader.o: /usr/include/bits/huge_val.h
230../include-MC/MCEventHeader.o: /usr/include/bits/mathdef.h
231../include-MC/MCEventHeader.o: /usr/include/bits/mathcalls.h
232../include-MC/MCEventHeader.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/float.h
233../include-MC/MCEventHeader.o: ../include-CORSIKA/COREventHeader.hxx
234../include-MC/MCCphoton.o: ../include-MC/MCCphoton.hxx
235../include-MC/MCCphoton.o: ../include-GENERAL/Rtypes.h
236../include-MC/MCCphoton.o: /usr/include/g++/iostream.h
237../include-MC/MCCphoton.o: /usr/include/g++/streambuf.h /usr/include/libio.h
238../include-MC/MCCphoton.o: /usr/include/_G_config.h /usr/include/bits/types.h
239../include-MC/MCCphoton.o: /usr/include/features.h /usr/include/sys/cdefs.h
240../include-MC/MCCphoton.o: /usr/include/gnu/stubs.h
241../include-MC/MCCphoton.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h
242../include-MC/MCCphoton.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stdarg.h
243../include-MC/MCCphoton.o: /usr/include/g++/iomanip.h
244../include-MC/MCCphoton.o: /usr/include/g++/fstream.h /usr/include/stdlib.h
245../include-MC/MCCphoton.o: /usr/include/sys/types.h /usr/include/time.h
246../include-MC/MCCphoton.o: /usr/include/endian.h /usr/include/bits/endian.h
247../include-MC/MCCphoton.o: /usr/include/sys/select.h
248../include-MC/MCCphoton.o: /usr/include/bits/select.h
249../include-MC/MCCphoton.o: /usr/include/bits/sigset.h
250../include-MC/MCCphoton.o: /usr/include/sys/sysmacros.h /usr/include/alloca.h
251../include-MC/MCCphoton.o: /usr/include/string.h /usr/include/math.h
252../include-MC/MCCphoton.o: /usr/include/bits/huge_val.h
253../include-MC/MCCphoton.o: /usr/include/bits/mathdef.h
254../include-MC/MCCphoton.o: /usr/include/bits/mathcalls.h
255../include-MC/MCCphoton.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/float.h
256../include-MC/MCCphoton.o: ../include-GENERAL/jcmacros.h
257../include-MTrigger/MTrigger.o: ../include-MTrigger/MTrigger.hxx
258../include-MTrigger/MTrigger.o: /usr/include/g++/iostream.h
259../include-MTrigger/MTrigger.o: /usr/include/g++/streambuf.h
260../include-MTrigger/MTrigger.o: /usr/include/libio.h /usr/include/_G_config.h
261../include-MTrigger/MTrigger.o: /usr/include/bits/types.h
262../include-MTrigger/MTrigger.o: /usr/include/features.h
263../include-MTrigger/MTrigger.o: /usr/include/sys/cdefs.h
264../include-MTrigger/MTrigger.o: /usr/include/gnu/stubs.h
265../include-MTrigger/MTrigger.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h
266../include-MTrigger/MTrigger.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stdarg.h
267../include-MTrigger/MTrigger.o: /usr/include/math.h
268../include-MTrigger/MTrigger.o: /usr/include/bits/huge_val.h
269../include-MTrigger/MTrigger.o: /usr/include/bits/mathdef.h
270../include-MTrigger/MTrigger.o: /usr/include/bits/mathcalls.h
271../include-MTrigger/MTrigger.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/float.h
272../include-MTrigger/MTrigger.o: /cern/root/include/TROOT.h
273../include-MTrigger/MTrigger.o: /cern/root/include/TObject.h
274../include-MTrigger/MTrigger.o: /cern/root/include/TRandom.h
275../include-MTrigger/MTrigger.o: /cern/root/include/TH1.h
276../include-MTrigger/MTrigger.o: ../../../include-Classes/Mdefine.h
277../include-MTrigger/MTrigger.o: ../../../include-Classes/MMcEvt.h
278../include-MTrigger/MTrigger.o: /usr/include/stdlib.h
279../include-MTrigger/MTrigger.o: /usr/include/sys/types.h /usr/include/time.h
280../include-MTrigger/MTrigger.o: /usr/include/endian.h
281../include-MTrigger/MTrigger.o: /usr/include/bits/endian.h
282../include-MTrigger/MTrigger.o: /usr/include/sys/select.h
283../include-MTrigger/MTrigger.o: /usr/include/bits/select.h
284../include-MTrigger/MTrigger.o: /usr/include/bits/sigset.h
285../include-MTrigger/MTrigger.o: /usr/include/sys/sysmacros.h
286../include-MTrigger/MTrigger.o: /usr/include/alloca.h /usr/include/stdio.h
287../include-MTrigger/MTrigger.o: /usr/include/bits/stdio_lim.h
288../include-MTrigger/MTrigger.o: /usr/include/string.h /usr/include/unistd.h
289../include-MTrigger/MTrigger.o: /usr/include/bits/posix_opt.h
290../include-MTrigger/MTrigger.o: /usr/include/bits/confname.h
291../include-MTrigger/MTrigger.o: /usr/include/getopt.h /usr/include/fcntl.h
292../include-MTrigger/MTrigger.o: /usr/include/bits/fcntl.h
293../include-MTrigger/MTrigger.o: ../include-MTrigger/MTriggerDefine.h
294../include-MTrigger/MTrigger.o: /cern/root/include/TFile.h
295../include-MTrigger/MTrigger.o: /cern/root/include/TObjArray.h
296../include-MTrigger/MTrigger.o: ../include-MTrigger/MGTriggerSignal.hxx
297../include-MTrigger/MTrigger.o: /cern/root/include/TApplication.h
298../include-MTrigger/MTrigger.o: /cern/root/include/TVirtualX.h
299../include-MTrigger/MTrigger.o: /cern/root/include/TGListBox.h
300../include-MTrigger/MTrigger.o: /cern/root/include/TGClient.h
301../include-MTrigger/MTrigger.o: /cern/root/include/GuiTypes.h
302../include-MTrigger/MTrigger.o: /cern/root/include/TGFrame.h
303../include-MTrigger/MTrigger.o: /cern/root/include/TGIcon.h
304../include-MTrigger/MTrigger.o: /cern/root/include/TGLabel.h
305../include-MTrigger/MTrigger.o: /cern/root/include/TGButton.h
306../include-MTrigger/MTrigger.o: /cern/root/include/TGTextEntry.h
307../include-MTrigger/MTrigger.o: /cern/root/include/TGMsgBox.h
308../include-MTrigger/MTrigger.o: /cern/root/include/TGMenu.h
309../include-MTrigger/MTrigger.o: /cern/root/include/TGCanvas.h
310../include-MTrigger/MTrigger.o: /cern/root/include/TGComboBox.h
311../include-MTrigger/MTrigger.o: /cern/root/include/TGTab.h
312../include-MTrigger/MTrigger.o: /cern/root/include/TGSlider.h
313../include-MTrigger/MTrigger.o: /cern/root/include/TGDoubleSlider.h
314../include-MTrigger/MTrigger.o: /cern/root/include/TGFileDialog.h
315../include-MTrigger/MTrigger.o: /cern/root/include/TRootEmbeddedCanvas.h
316../include-MTrigger/MTrigger.o: /cern/root/include/TCanvas.h
317../include-MTrigger/MTrigger.o: /cern/root/include/TH2.h
318../include-MTrigger/MTrigger.o: /cern/root/include/TSystem.h
319../include-MTrigger/MTrigger.o: /cern/root/include/TEnv.h
320../include-MTrigger/MGTriggerSignal.o: ../include-MTrigger/MGTriggerSignal.hxx
321../include-MTrigger/MGTriggerSignal.o: /usr/include/stdlib.h
322../include-MTrigger/MGTriggerSignal.o: /usr/include/features.h
323../include-MTrigger/MGTriggerSignal.o: /usr/include/sys/cdefs.h
324../include-MTrigger/MGTriggerSignal.o: /usr/include/gnu/stubs.h
325../include-MTrigger/MGTriggerSignal.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h
326../include-MTrigger/MGTriggerSignal.o: /usr/include/sys/types.h
327../include-MTrigger/MGTriggerSignal.o: /usr/include/bits/types.h
328../include-MTrigger/MGTriggerSignal.o: /usr/include/time.h
329../include-MTrigger/MGTriggerSignal.o: /usr/include/endian.h
330../include-MTrigger/MGTriggerSignal.o: /usr/include/bits/endian.h
331../include-MTrigger/MGTriggerSignal.o: /usr/include/sys/select.h
332../include-MTrigger/MGTriggerSignal.o: /usr/include/bits/select.h
333../include-MTrigger/MGTriggerSignal.o: /usr/include/bits/sigset.h
334../include-MTrigger/MGTriggerSignal.o: /usr/include/sys/sysmacros.h
335../include-MTrigger/MGTriggerSignal.o: /usr/include/alloca.h
336../include-MTrigger/MGTriggerSignal.o: /usr/include/g++/iostream.h
337../include-MTrigger/MGTriggerSignal.o: /usr/include/g++/streambuf.h
338../include-MTrigger/MGTriggerSignal.o: /usr/include/libio.h
339../include-MTrigger/MGTriggerSignal.o: /usr/include/_G_config.h
340../include-MTrigger/MGTriggerSignal.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stdarg.h
341../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TROOT.h
342../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TApplication.h
343../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TVirtualX.h
344../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TGListBox.h
345../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TGClient.h
346../include-MTrigger/MGTriggerSignal.o: /cern/root/include/GuiTypes.h
347../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TGFrame.h
348../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TGIcon.h
349../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TGLabel.h
350../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TGButton.h
351../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TGTextEntry.h
352../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TGMsgBox.h
353../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TGMenu.h
354../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TGCanvas.h
355../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TGComboBox.h
356../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TGTab.h
357../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TGSlider.h
358../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TGDoubleSlider.h
359../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TGFileDialog.h
360../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TRootEmbeddedCanvas.h
361../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TCanvas.h
362../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TH1.h
363../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TH2.h
364../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TRandom.h
365../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TSystem.h
366../include-MTrigger/MGTriggerSignal.o: /usr/include/stdio.h
367../include-MTrigger/MGTriggerSignal.o: /usr/include/bits/stdio_lim.h
368../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TEnv.h
369../include-MTrigger/MGTriggerSignal.o: ../../../include-Classes/MMcEvt.h
370../include-MTrigger/MGTriggerSignal.o: /usr/include/string.h
371../include-MTrigger/MGTriggerSignal.o: /usr/include/unistd.h
372../include-MTrigger/MGTriggerSignal.o: /usr/include/bits/posix_opt.h
373../include-MTrigger/MGTriggerSignal.o: /usr/include/bits/confname.h
374../include-MTrigger/MGTriggerSignal.o: /usr/include/getopt.h
375../include-MTrigger/MGTriggerSignal.o: /usr/include/fcntl.h
376../include-MTrigger/MGTriggerSignal.o: /usr/include/bits/fcntl.h
377../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TObject.h
378../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TPavesText.h
379../include-MTrigger/MGTriggerSignal.o: /cern/root/include/TObjArray.h
Note: See TracBrowser for help on using the repository browser.