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