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