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