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