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