1 | #include aminclude.am
|
---|
2 |
|
---|
3 | #-------------------------------------------------------------------------
|
---|
4 |
|
---|
5 | ACLOCAL_AMFLAGS = -I .macro_dir
|
---|
6 |
|
---|
7 | SVN_REVISION = -DREVISION=\"`svnversion -n .`\"
|
---|
8 |
|
---|
9 | DIM_FLAGS = -DMIPSEL -DPROTOCOL=1 -Dunix -Dlinux
|
---|
10 | BOOST_FLAGS = -DBOOST_DISABLE_ASSERTS
|
---|
11 |
|
---|
12 | AM_CPPFLAGS = -Idim/dim $(DIM_FLAGS) $(BOOST_FLAGS) $(ROOTCPPFLAGS) \
|
---|
13 | -Wall -Winit-self -Wpointer-arith -Wcast-align -Wextra -Wformat=2 \
|
---|
14 | $(SVN_REVISION)
|
---|
15 |
|
---|
16 | AM_CXXFLAGS = $(AM_CPPFLAGS) \
|
---|
17 | -Woverloaded-virtual -Wnon-virtual-dtor -Wshadow
|
---|
18 |
|
---|
19 | # -no-undefined
|
---|
20 | AM_LDFLAGS = -module -avoid-version
|
---|
21 |
|
---|
22 | #$(man3_MANS): doxygen-doc
|
---|
23 | #DX_CLEANFILES = everything to clean.
|
---|
24 | # Add to MOSTLYCLEANFILES.
|
---|
25 |
|
---|
26 | #-------------------------------------------------------------------------
|
---|
27 |
|
---|
28 | # Executables which are build by default ('all')
|
---|
29 | bin_PROGRAMS = \
|
---|
30 | dns \
|
---|
31 | log logtime time argv \
|
---|
32 | dimctrl \
|
---|
33 | datalogger \
|
---|
34 | ftmctrl ftm \
|
---|
35 | fadctrl fad \
|
---|
36 | fscctrl fsc \
|
---|
37 | chatclient chatserv \
|
---|
38 | biasctrl drivectrl \
|
---|
39 | mcp feedback ratescan ratecontrol \
|
---|
40 | magicweather \
|
---|
41 | tngweather \
|
---|
42 | smartfact \
|
---|
43 | fitsdump fitscheck
|
---|
44 |
|
---|
45 | if HAS_GUI
|
---|
46 | bin_PROGRAMS += fact
|
---|
47 | endif
|
---|
48 |
|
---|
49 | if HAS_SOPRANO
|
---|
50 | bin_PROGRAMS += tngweather
|
---|
51 | endif
|
---|
52 |
|
---|
53 | if HAS_VIEWER
|
---|
54 | bin_PROGRAMS += viewer
|
---|
55 | endif
|
---|
56 |
|
---|
57 | if HAS_LIBXP
|
---|
58 | bin_PROGRAMS += did
|
---|
59 | endif
|
---|
60 |
|
---|
61 | # This is a trick to be able to build them but not having them in 'all'
|
---|
62 | if IS_FALSE
|
---|
63 | bin_PROGRAMS += \
|
---|
64 | test scheduler \
|
---|
65 | triggerschedule \
|
---|
66 | dclient5 dserver2 \
|
---|
67 | fitsloader fitsgrep \
|
---|
68 | sched astro drivectrl \
|
---|
69 | readfits
|
---|
70 | endif
|
---|
71 |
|
---|
72 | lib_LTLIBRARIES = \
|
---|
73 | libDim++.la libDim.la libDimExtension.la \
|
---|
74 | libConfiguration.la libStateMachine.la libTime.la libTools.la
|
---|
75 | # libAstro.la
|
---|
76 |
|
---|
77 | if HAS_HELP2MAN
|
---|
78 | dist_man1_MANS = \
|
---|
79 | dimctrl.man \
|
---|
80 | ftmctrl.man \
|
---|
81 | fadctrl.man \
|
---|
82 | fscctrl.man \
|
---|
83 | mcp.man \
|
---|
84 | feedback.man \
|
---|
85 | ratescan.man \
|
---|
86 | biasctrl.man \
|
---|
87 | drivectrl.man \
|
---|
88 | datalogger.man \
|
---|
89 | fitsdump.man \
|
---|
90 | fitscheck.man \
|
---|
91 | smartfact.man
|
---|
92 | endif
|
---|
93 |
|
---|
94 | #-------------------------------------------------------------------------
|
---|
95 |
|
---|
96 | CLEANFILES =
|
---|
97 |
|
---|
98 | dist_noinst_SCRIPTS = autogen.sh
|
---|
99 |
|
---|
100 | EXTRA_DIST = \
|
---|
101 | Doxyfile \
|
---|
102 | dim/DIM_Performance.pdf \
|
---|
103 | dim/LICENSE.GPL \
|
---|
104 | dim/README.txt \
|
---|
105 | dim/README_v9.txt \
|
---|
106 | dim/README_v10.txt \
|
---|
107 | dim/README_v11.txt \
|
---|
108 | dim/README_v12.txt \
|
---|
109 | dim/README_v13.txt \
|
---|
110 | dim/README_v14.txt \
|
---|
111 | dim/README_v17.txt \
|
---|
112 | dim/README_v16.txt \
|
---|
113 | dim/README_v17.txt \
|
---|
114 | dim/README_v18.txt \
|
---|
115 | dim/README_v19.txt
|
---|
116 |
|
---|
117 | dns_LDADD = libDim.la libDimExtension.la
|
---|
118 | dns_SOURCES = src/dns.c
|
---|
119 | #dns_CPPFLAGS = $(AM_CPPFLAGS) $(DIM_FLAGS)
|
---|
120 |
|
---|
121 | did_LDADD = libDim.la
|
---|
122 | did_CPPFLAGS = $(AM_CPPFLAGS) -Idim/src/did
|
---|
123 | did_SOURCES = \
|
---|
124 | dim/src/did/did.c dim/src/did/did.h \
|
---|
125 | dim/src/did/dui_util.c dim/src/did/dui_util.h \
|
---|
126 | dim/src/did/dui_colors.h
|
---|
127 |
|
---|
128 |
|
---|
129 | #libDim_la_CPPFLAGS = $(AM_CPPFLAGS) $(DIM_FLAGS)
|
---|
130 | libDim_ladir =
|
---|
131 | libDim_la_HEADERS = \
|
---|
132 | dim/dim/dic.h \
|
---|
133 | dim/dim/dim_common.h \
|
---|
134 | dim/dim/dim.h \
|
---|
135 | dim/dim/dim_tcpip.h \
|
---|
136 | dim/dim/dis.h
|
---|
137 |
|
---|
138 | libDim_la_SOURCES = \
|
---|
139 | dim/src/dic.c \
|
---|
140 | dim/src/dis.c \
|
---|
141 | dim/src/dna.c \
|
---|
142 | dim/src/sll.c \
|
---|
143 | dim/src/dll.c \
|
---|
144 | dim/src/hash.c \
|
---|
145 | dim/src/swap.c \
|
---|
146 | dim/src/copy_swap.c \
|
---|
147 | dim/src/open_dns.c \
|
---|
148 | dim/src/conn_handler.c \
|
---|
149 | dim/src/tcpip.c \
|
---|
150 | dim/src/dtq.c \
|
---|
151 | dim/src/dim_thr.c \
|
---|
152 | dim/src/utilities.c
|
---|
153 |
|
---|
154 | libDimExtension_la_SOURCES = src/DimSetup.cc src/DimSetup.h
|
---|
155 |
|
---|
156 | #libDimCpp_la_CXXFLAGS = $(AM_CXXFLAGS) $(DIM_FLAGS)
|
---|
157 | libDim___ladir =
|
---|
158 | libDim___la_HEADERS = \
|
---|
159 | dim/dim/dic.hxx \
|
---|
160 | dim/dim/dis.hxx \
|
---|
161 | dim/dim/dim_core.hxx \
|
---|
162 | dim/dim/dim.hxx \
|
---|
163 | dim/dim/dim_tcpip.h \
|
---|
164 | dim/dim/dllist.hxx \
|
---|
165 | dim/dim/sllist.hxx \
|
---|
166 | dim/dim/tokenstring.hxx \
|
---|
167 | src/Dim.h
|
---|
168 | libDim___la_SOURCES = \
|
---|
169 | dim/src/diccpp.cxx \
|
---|
170 | dim/src/dimcpp.cxx \
|
---|
171 | dim/src/discpp.cxx \
|
---|
172 | dim/src/tokenstring.cxx
|
---|
173 |
|
---|
174 | # Divide into Readline / StateMachine / StateMachineDim / Tools?
|
---|
175 | libStateMachine_la_SOURCES = \
|
---|
176 | src/WindowLog.h src/WindowLog.cc \
|
---|
177 | src/Readline.h src/Readline.cc \
|
---|
178 | src/ReadlineColor.h src/ReadlineColor.cc \
|
---|
179 | src/ReadlineWindow.h src/ReadlineWindow.cc \
|
---|
180 | src/Console.h src/Console.cc \
|
---|
181 | src/Shell.h src/Shell.cc \
|
---|
182 | \
|
---|
183 | src/EventImp.h src/EventImp.cc \
|
---|
184 | src/Event.h src/Event.cc \
|
---|
185 | src/State.h src/State.cc \
|
---|
186 | src/Description.h src/Description.cc \
|
---|
187 | src/MessageImp.h src/MessageImp.cc \
|
---|
188 | src/Converter.h src/Converter.cc \
|
---|
189 | src/StateMachineImp.h src/StateMachineImp.cc \
|
---|
190 | src/StateMachine.h src/StateMachine.cc \
|
---|
191 | \
|
---|
192 | src/EventDim.h \
|
---|
193 | src/MessageDim.h src/MessageDim.cc \
|
---|
194 | src/StateMachineDim.h src/StateMachineDim.cc \
|
---|
195 | src/DimServerList.h src/DimServerList.cc \
|
---|
196 | src/DimServiceInfoList.h src/DimServiceInfoList.cc \
|
---|
197 | src/DimNetworkList.h src/DimNetwork.cc \
|
---|
198 | src/ServiceList.h src/ServiceList.cc \
|
---|
199 | src/DimErrorRedirecter.h \
|
---|
200 | src/DimErrorRedirecter.cc \
|
---|
201 | src/DimDescriptionService.h \
|
---|
202 | src/DimDescriptionService.cc \
|
---|
203 | \
|
---|
204 | src/Connection.h src/Connection.cc \
|
---|
205 | src/ConnectionUSB.h src/ConnectionUSB.cc \
|
---|
206 | \
|
---|
207 | FACT.h ByteOrder.h \
|
---|
208 | \
|
---|
209 | src/DimWriteStatistics.h src/DimWriteStatistics.cc
|
---|
210 |
|
---|
211 | libConfiguration_la_SOURCES = \
|
---|
212 | src/Configuration.h src/Configuration.cc \
|
---|
213 | src/FACT.h src/FACT.cc
|
---|
214 |
|
---|
215 | libTime_la_SOURCES = src/Time.h src/Time.cc
|
---|
216 | #libAstro_la_SOURCES = src/Astro.h src/Astro.cc
|
---|
217 | libTools_la_SOURCES = src/tools.h src/tools.cc
|
---|
218 |
|
---|
219 |
|
---|
220 | dserver2_SOURCES = src/dserver2.cc
|
---|
221 | dserver2_LDADD = libTime.la libTools.la
|
---|
222 |
|
---|
223 | ftm_SOURCES = src/ftm.cc src/HeadersFTM.cc
|
---|
224 | ftm_LDADD = libTime.la libTools.la libDim++.la libDim.la libConfiguration.la libDimExtension.la
|
---|
225 |
|
---|
226 | fad_SOURCES = src/fad.cc src/HeadersFAD.cc
|
---|
227 | fad_LDADD = libTime.la libTools.la libTools.la libDim++.la libDim.la libConfiguration.la libDimExtension.la
|
---|
228 |
|
---|
229 | fsc_SOURCES = src/fsc.cc
|
---|
230 | fsc_LDADD = libTime.la libTools.la
|
---|
231 |
|
---|
232 |
|
---|
233 | log_SOURCES = src/log.cc
|
---|
234 | log_LDADD = libDim++.la libDim.la libStateMachine.la libTime.la libTools.la
|
---|
235 |
|
---|
236 |
|
---|
237 | logtime_SOURCES = src/logtime.cc
|
---|
238 | logtime_LDADD = libStateMachine.la libTools.la libTime.la libDim++.la libDim.la
|
---|
239 |
|
---|
240 |
|
---|
241 | chatserv_SOURCES = src/chatserv.cc src/LocalControl.h
|
---|
242 | chatserv_LDADD = libStateMachine.la libTools.la libConfiguration.la libTime.la \
|
---|
243 | libDim++.la libDim.la libDimExtension.la
|
---|
244 |
|
---|
245 |
|
---|
246 | dclient5_SOURCES = src/dclient5.cc src/LocalControl.h
|
---|
247 | dclient5_LDADD = libDim++.la libDim.la libStateMachine.la libTime.la libTools.la \
|
---|
248 | libConfiguration.la
|
---|
249 |
|
---|
250 | ftmctrl_SOURCES = src/ftmctrl.cc src/LocalControl.h src/HeadersFTM.cc
|
---|
251 | ftmctrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
252 | libStateMachine.la libTime.la libTools.la \
|
---|
253 | libConfiguration.la
|
---|
254 |
|
---|
255 | drivectrl_SOURCES = src/drivectrl.cc src/LocalControl.h src/HeadersFTM.cc
|
---|
256 | drivectrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
257 | libStateMachine.la libTools.la libTime.la \
|
---|
258 | libConfiguration.la
|
---|
259 |
|
---|
260 | magicweather_SOURCES = src/magicweather.cc src/LocalControl.h
|
---|
261 | magicweather_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
262 | libStateMachine.la libTools.la libTime.la \
|
---|
263 | libConfiguration.la
|
---|
264 |
|
---|
265 | tngweather_SOURCES = src/tngweather.cc src/LocalControl.h
|
---|
266 | tngweather_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
267 | libStateMachine.la libTools.la libTime.la \
|
---|
268 | libConfiguration.la
|
---|
269 |
|
---|
270 | smartfact_SOURCES = src/smartfact.cc src/LocalControl.h src/PixelMap.cc
|
---|
271 | smartfact_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
272 | libStateMachine.la libTools.la libTime.la \
|
---|
273 | libConfiguration.la
|
---|
274 |
|
---|
275 | fadctrl_SOURCES = src/fadctrl.cc src/LocalControl.h src/HeadersFAD.cc \
|
---|
276 | src/EventBuilder.c src/EventBuilder.h \
|
---|
277 | src/DataProcessorImp.cc src/DataProcessorImp.h \
|
---|
278 | src/DataCalib.cc src/DataCalib.h \
|
---|
279 | src/DataWriteRaw.cc src/DataWriteRaw.h \
|
---|
280 | src/DrsCalib.h
|
---|
281 | if HAS_FITS
|
---|
282 | fadctrl_SOURCES += src/FitsFile.h src/FitsFile.cc \
|
---|
283 | src/DataWriteFits.cc src/DataWriteFits.h \
|
---|
284 | src/DataWriteFits2.cc src/DataWriteFits2.h
|
---|
285 | endif
|
---|
286 | fadctrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
287 | libStateMachine.la libTools.la libTime.la \
|
---|
288 | libConfiguration.la
|
---|
289 |
|
---|
290 | fscctrl_SOURCES = src/fscctrl.cc src/LocalControl.h
|
---|
291 | fscctrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
292 | libStateMachine.la libTools.la libTime.la \
|
---|
293 | libConfiguration.la
|
---|
294 |
|
---|
295 | biasctrl_SOURCES = src/biasctrl.cc src/LocalControl.h src/PixelMap.cc
|
---|
296 | biasctrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
297 | libStateMachine.la libTools.la libTime.la \
|
---|
298 | libConfiguration.la
|
---|
299 |
|
---|
300 | mcp_SOURCES = src/mcp.cc src/LocalControl.h
|
---|
301 | mcp_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
302 | libStateMachine.la libTools.la libTime.la \
|
---|
303 | libConfiguration.la
|
---|
304 |
|
---|
305 | feedback_SOURCES = src/feedback.cc src/LocalControl.h src/PixelMap.cc
|
---|
306 | feedback_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
307 | libStateMachine.la libTools.la libTime.la \
|
---|
308 | libConfiguration.la
|
---|
309 |
|
---|
310 | ratescan_SOURCES = src/ratescan.cc src/LocalControl.h src/PixelMap.cc
|
---|
311 | ratescan_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
312 | libStateMachine.la libTools.la libTime.la \
|
---|
313 | libConfiguration.la
|
---|
314 |
|
---|
315 | ratecontrol_SOURCES = src/ratecontrol.cc src/LocalControl.h src/PixelMap.cc
|
---|
316 | ratecontrol_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
317 | libStateMachine.la libTools.la libTime.la \
|
---|
318 | libConfiguration.la
|
---|
319 |
|
---|
320 |
|
---|
321 | argv_SOURCES = src/argv.cc
|
---|
322 | argv_LDADD = libConfiguration.la
|
---|
323 |
|
---|
324 |
|
---|
325 | dimctrl_SOURCES = src/dimctrl.cc src/RemoteControl.cc src/RemoteControl.h
|
---|
326 | dimctrl_LDADD = libStateMachine.la libTools.la libTime.la \
|
---|
327 | libDim++.la libDim.la libDimExtension.la libConfiguration.la
|
---|
328 |
|
---|
329 |
|
---|
330 | chatclient_SOURCES = src/chatclient.cc src/ChatClient.h
|
---|
331 | chatclient_LDADD = libStateMachine.la libTools.la libTime.la \
|
---|
332 | libDim++.la libDim.la libDimExtension.la libConfiguration.la
|
---|
333 |
|
---|
334 |
|
---|
335 | time_SOURCES = src/time.cc
|
---|
336 | time_LDADD = libTime.la
|
---|
337 |
|
---|
338 | #astro_SOURCES = src/astro.cc
|
---|
339 | #astro_LDADD = libAstro.la libTime.la
|
---|
340 |
|
---|
341 | test_SOURCES = src/test.cc
|
---|
342 | test_LDADD = libStateMachine.la libTools.la libTime.la libDim++.la libDim.la libConfiguration.la
|
---|
343 |
|
---|
344 | datalogger_SOURCES = src/datalogger.cc src/LocalControl.h
|
---|
345 | if HAS_FITS
|
---|
346 | datalogger_SOURCES += src/FitsFile.h src/FitsFile.cc src/Fits.h src/Fits.cc
|
---|
347 | endif
|
---|
348 | datalogger_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
349 | libStateMachine.la libTools.la libTime.la \
|
---|
350 | libConfiguration.la
|
---|
351 |
|
---|
352 | scheduler_SOURCES = src/scheduler.cc src/LocalControl.h
|
---|
353 | scheduler_LDADD = libStateMachine.la libTools.la libTime.la \
|
---|
354 | libDim++.la libDim.la libDimExtension.la libConfiguration.la
|
---|
355 |
|
---|
356 | fitsloader_SOURCES = src/fitsloader.cc src/LocalControl.h
|
---|
357 | fitsloader_LDADD = libStateMachine.la libTools.la libTime.la libDim++.la libDim.la libConfiguration.la
|
---|
358 |
|
---|
359 | fitsdump_SOURCES = src/fitsdump.cc
|
---|
360 | fitsdump_LDADD = $(ROOTLDFLAGS) $(ROOTLIBS) libConfiguration.la libTime.la
|
---|
361 |
|
---|
362 | fitscheck_SOURCES = src/fitscheck.cc
|
---|
363 | fitscheck_LDADD = libConfiguration.la
|
---|
364 |
|
---|
365 |
|
---|
366 | readfits_SOURCES = src/readfits.cc src/ReadFits.h
|
---|
367 | readfits_LDADD = libStateMachine.la libTools.la libTime.la libDim++.la libDim.la libConfiguration.la
|
---|
368 |
|
---|
369 | triggerschedule_SOURCES = src/triggerschedule.cc
|
---|
370 | triggerschedule_LDADD = libDim++.la libDim.la libDimExtension.la libConfiguration.la
|
---|
371 |
|
---|
372 | #fitsgrep_SOURCES = src/fitsgrep.cc
|
---|
373 | #fitsgrep_LDADD = libConfiguration.la
|
---|
374 |
|
---|
375 | # -----
|
---|
376 |
|
---|
377 | if HAS_GUI
|
---|
378 |
|
---|
379 | fact_DIALOGS = \
|
---|
380 | gui/design.ui
|
---|
381 |
|
---|
382 | fact_RESOURCES = \
|
---|
383 | gui/design.qrc
|
---|
384 |
|
---|
385 | fact_QT_SOURCES = \
|
---|
386 | gui/DockWindow.cc \
|
---|
387 | gui/MainWindow.cc \
|
---|
388 | gui/QCameraWidget.cc \
|
---|
389 | gui/BasicGlCamera.cc
|
---|
390 |
|
---|
391 | fact_SRCADD = $(fact_DIALOGS:.ui=.h) $(fact_RESOURCES:.qrc=.cc) $(fact_QT_SOURCES:.cc=.moc.cc)
|
---|
392 |
|
---|
393 | endif
|
---|
394 |
|
---|
395 | # -----
|
---|
396 |
|
---|
397 | if HAS_VIEWER
|
---|
398 |
|
---|
399 | viewer_DIALOGS = \
|
---|
400 | gui/RawEventsViewer/viewer.ui
|
---|
401 |
|
---|
402 | viewer_QT_SOURCES = \
|
---|
403 | gui/RawEventsViewer/RawEventsViewer.cc \
|
---|
404 | gui/BasicGlCamera.cc \
|
---|
405 | gui/QCameraWidget.cc
|
---|
406 |
|
---|
407 | viewer_SRCADD = $(viewer_DIALOGS:.ui=.h) $(viewer_RESOURCES:.qrc=.cc) $(viewer_QT_SOURCES:.cc=.moc.cc)
|
---|
408 |
|
---|
409 | endif
|
---|
410 |
|
---|
411 |
|
---|
412 |
|
---|
413 | BUILT_SOURCES = $(fact_SRCADD) $(viewer_SRCADD)
|
---|
414 |
|
---|
415 | CLEANFILES += $(BUILT_SOURCES)
|
---|
416 |
|
---|
417 | EXTRA_DIST += \
|
---|
418 | $(fact_DIALOGS) $(fact_RESOURCES) \
|
---|
419 | $(viewer_DIALOGS) $(viewer_RESOURCES)
|
---|
420 |
|
---|
421 | fact_LDADD = $(ROOTLDFLAGS) $(ROOTGLIBS) $(QT4_LIB) $(QT4_LDFLAGS) -L. \
|
---|
422 | libDim++.la libDim.la libDimExtension.la \
|
---|
423 | libTools.la libStateMachine.la libTime.la libTools.la \
|
---|
424 | libConfiguration.la
|
---|
425 |
|
---|
426 | fact_SOURCES = $(fact_SRCADD) $(fact_QT_SOURCES) \
|
---|
427 | gui/CheckBoxDelegate.cc gui/HtmlDelegate.cc \
|
---|
428 | gui/fact.cc gui/FactGui.cc src/HeadersFTM.cc \
|
---|
429 | src/PixelMap.cc
|
---|
430 |
|
---|
431 | # Switch off most qwt warnings
|
---|
432 | viewer_CXXFLAGS = $(AM_CXXFLAGS) -Wno-shadow
|
---|
433 |
|
---|
434 | viewer_LDADD = $(QT4_LIB) $(QT4_LDFLAGS) -L. -lQtOpenGL -lGLU \
|
---|
435 | libDimExtension.la \
|
---|
436 | libConfiguration.la libStateMachine.la libTools.la \
|
---|
437 | libTime.la libDim++.la libDim.la
|
---|
438 |
|
---|
439 | viewer_SOURCES = $(viewer_SRCADD) $(viewer_QT_SOURCES) \
|
---|
440 | src/DataProcessorImp.cc src/DataProcessorImp.h \
|
---|
441 | src/FitsFile.cc src/FitsFile.h \
|
---|
442 | src/Fits.cc src/Fits.h \
|
---|
443 | src/PixelMap.cc
|
---|
444 |
|
---|
445 |
|
---|
446 |
|
---|
447 | #-------------------------------------------------------------------------
|
---|
448 |
|
---|
449 | SUFFIXES = .moc.cc
|
---|
450 |
|
---|
451 | .ui.h: $<
|
---|
452 | $(AM_V_GEN)$(UIC4) $< -o $@
|
---|
453 |
|
---|
454 | .h.moc.cc: $<
|
---|
455 | $(AM_V_GEN)$(MOC4) $(EXTRA_CPPFLAGS) $< -o $@
|
---|
456 |
|
---|
457 | .qrc.cc: $<
|
---|
458 | $(AM_V_GEN)$(RCC4) -name `echo "$<" | sed 's|^.*/\(.*\)\.qrc$$|\1|'` $< -o $@
|
---|
459 |
|
---|
460 |
|
---|
461 | #-------------------------------------------------------------------------
|
---|
462 |
|
---|
463 | MAN_TARGETS = $(dist_man1_MANS)
|
---|
464 |
|
---|
465 | if HAS_GROFF
|
---|
466 |
|
---|
467 | MAN_TARGETS += $(dist_man1_MANS:.man=.html)
|
---|
468 | EXTRA_DIST += $(dist_man1_MANS:.man=.html)
|
---|
469 | CLEANFILES += $(dist_man1_MANS:.man=.html)
|
---|
470 |
|
---|
471 | if HAS_PS2PDF
|
---|
472 |
|
---|
473 | MAN_TARGETS += $(dist_man1_MANS:.man=.pdf)
|
---|
474 | EXTRA_DIST += $(dist_man1_MANS:.man=.pdf)
|
---|
475 | CLEANFILES += $(dist_man1_MANS:.man=.pdf)
|
---|
476 | endif
|
---|
477 |
|
---|
478 | endif
|
---|
479 |
|
---|
480 | $(dist_man1_MANS): $(dist_man1_MANS:.man=)
|
---|
481 | @mkdir -p man
|
---|
482 | $(AM_V_GEN)help2man -N -o $@ -m $(@:.man=) ./$(@:.man=)
|
---|
483 |
|
---|
484 | .man.html: $<
|
---|
485 | $(AM_V_GEN)groff -mandoc `man -w -l $<` -T html > $@
|
---|
486 |
|
---|
487 | .man.pdf: $<
|
---|
488 | $(AM_V_GEN)groff -mandoc `man -w -l $<` | ps2pdf - $@
|
---|
489 |
|
---|
490 | man: $(MAN_TARGETS) doxygen-doc
|
---|
491 |
|
---|
492 | diff:
|
---|
493 | @svn diff | $(COLORDIFF)
|
---|
494 | @svn diff externals | $(COLORDIFF)
|
---|
495 |
|
---|
496 | #-------------------------------------------------------------------------
|
---|
497 |
|
---|
498 | # Overwrite rules for silent or other verbosity levels
|
---|
499 | #AM_V_MAN = $(AM_MAN_$(V))
|
---|
500 | #AM_MAN_ = $(AM_V_GEN)
|
---|
501 | #AM_MAN_0 = @echo " MAN "$@;
|
---|
502 |
|
---|
503 | #$(MyAnalysisDS): $(MyAnalysisH) $(MyAnalysisL)
|
---|
504 | # $(ROOTCINT) -f $@ -c -I$(top_builddir)/config $(INCLUDES) $^
|
---|
505 | # rootcint_files=`echo $@ | sed -ne 's/\(.*\)\..*/\1.cxx \1.h/p'` && \
|
---|
506 | # $(top_srcdir)/config/runsed $(top_srcdir)/config/rootcint.sed $$rootcint_files && \
|
---|
507 | # for i in $$rootcint_files; do \
|
---|
508 | # if test ! `diff $$i $(srcdir)/$$i >/dev/null 2>&1`; then \
|
---|
509 | # cp $$i $(srcdir)/; \
|
---|
510 | # fi; \
|
---|
511 | # done
|
---|
512 |
|
---|
513 | #CLEANFILES = *~ *.rej *.orig
|
---|
514 | #MAINTAINERCLEANFILES = aclocal.m4 config.h.in configure Makefile.in \
|
---|
515 | # stamp-h.in stamp-h[0-9].in
|
---|
516 | #DISTCLEANFILES = config.cache config.log
|
---|