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