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