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