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