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