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 \
|
---|
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 | temperature.man \
|
---|
121 | timecheck.man \
|
---|
122 | tngweather.man \
|
---|
123 | zfits.man
|
---|
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 -lQtXml
|
---|
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 -lQtXml
|
---|
332 |
|
---|
333 | gpsctrl_SOURCES = src/gpsctrl.cc src/LocalControl.h
|
---|
334 | gpsctrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
335 | libStateMachine.la libTools.la libTime.la \
|
---|
336 | libConfiguration.la
|
---|
337 |
|
---|
338 | temperature_SOURCES = src/temperature.cc src/LocalControl.h
|
---|
339 | temperature_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
340 | libStateMachine.la libTools.la libTime.la \
|
---|
341 | libConfiguration.la
|
---|
342 |
|
---|
343 | pwrctrl_SOURCES = src/pwrctrl.cc src/LocalControl.h \
|
---|
344 | src/HeadersPower.h src/HeadersPower.cc
|
---|
345 | pwrctrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
346 | libStateMachine.la libTools.la libTime.la \
|
---|
347 | libConfiguration.la -lQtXml
|
---|
348 |
|
---|
349 | timecheck_SOURCES = src/timecheck.cc src/LocalControl.h
|
---|
350 | timecheck_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
351 | libStateMachine.la libTools.la libTime.la \
|
---|
352 | libConfiguration.la
|
---|
353 |
|
---|
354 | smartfact_SOURCES = src/smartfact.cc src/LocalControl.h src/PixelMap.cc
|
---|
355 | smartfact_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
356 | libStateMachine.la libTools.la libTime.la \
|
---|
357 | libConfiguration.la
|
---|
358 |
|
---|
359 | fadctrl_SOURCES = src/fadctrl.cc src/LocalControl.h src/HeadersFAD.cc \
|
---|
360 | src/EventBuilder.cc src/EventBuilder.h \
|
---|
361 | src/DataProcessorImp.cc src/DataProcessorImp.h \
|
---|
362 | src/DataCalib.cc src/DataCalib.h \
|
---|
363 | src/DataWriteRaw.cc src/DataWriteRaw.h \
|
---|
364 | src/DrsCalib.h
|
---|
365 | if HAS_FITS
|
---|
366 | fadctrl_SOURCES += src/FitsFile.h src/FitsFile.cc \
|
---|
367 | src/DataWriteFits.cc src/DataWriteFits.h \
|
---|
368 | src/DataWriteFits2.cc src/DataWriteFits2.h
|
---|
369 | endif
|
---|
370 | fadctrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
371 | libStateMachine.la libTools.la libTime.la \
|
---|
372 | libConfiguration.la
|
---|
373 |
|
---|
374 | fscctrl_SOURCES = src/fscctrl.cc src/LocalControl.h
|
---|
375 | fscctrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
376 | libStateMachine.la libTools.la libTime.la \
|
---|
377 | libConfiguration.la
|
---|
378 |
|
---|
379 | gcn_SOURCES = src/gcn.cc src/LocalControl.h
|
---|
380 | gcn_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
381 | libStateMachine.la libTools.la libTime.la \
|
---|
382 | libConfiguration.la -lQtXml
|
---|
383 |
|
---|
384 | biasctrl_SOURCES = src/biasctrl.cc src/LocalControl.h src/PixelMap.cc
|
---|
385 | biasctrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
386 | libStateMachine.la libTools.la libTime.la \
|
---|
387 | libConfiguration.la
|
---|
388 |
|
---|
389 | mcp_SOURCES = src/mcp.cc src/LocalControl.h
|
---|
390 | mcp_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
391 | libStateMachine.la libTools.la libTime.la \
|
---|
392 | libConfiguration.la
|
---|
393 |
|
---|
394 | feedback_SOURCES = src/feedback.cc src/LocalControl.h src/PixelMap.cc
|
---|
395 | feedback_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
396 | libStateMachine.la libTools.la libTime.la \
|
---|
397 | libConfiguration.la
|
---|
398 |
|
---|
399 | ratescan_SOURCES = src/ratescan.cc src/LocalControl.h src/PixelMap.cc
|
---|
400 | ratescan_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
401 | libStateMachine.la libTools.la libTime.la \
|
---|
402 | libConfiguration.la
|
---|
403 |
|
---|
404 | ratecontrol_SOURCES = src/ratecontrol.cc src/LocalControl.h src/PixelMap.cc
|
---|
405 | ratecontrol_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
406 | libStateMachine.la libTools.la libTime.la \
|
---|
407 | libConfiguration.la
|
---|
408 |
|
---|
409 |
|
---|
410 | argv_SOURCES = src/argv.cc
|
---|
411 | argv_LDADD = libConfiguration.la
|
---|
412 |
|
---|
413 |
|
---|
414 | dimctrl_SOURCES = src/dimctrl.cc \
|
---|
415 | src/StateMachineDimControl.cc src/StateMachineDimControl.h \
|
---|
416 | src/RemoteControl.cc src/RemoteControl.h \
|
---|
417 | src/InterpreterV8.cc src/InterpreterV8.h \
|
---|
418 | src/DimState.cc src/DimState.h
|
---|
419 | dimctrl_LDADD = libStateMachine.la libTools.la libTime.la \
|
---|
420 | libDim++.la libDim.la libDimExtension.la libConfiguration.la
|
---|
421 |
|
---|
422 | dimserver_SOURCES = $(dimctrl_SOURCES)
|
---|
423 | dimserver_LDADD = $(dimctrl_LDADD)
|
---|
424 |
|
---|
425 |
|
---|
426 | chatclient_SOURCES = src/chatclient.cc src/ChatClient.h
|
---|
427 | chatclient_LDADD = libStateMachine.la libTools.la libTime.la \
|
---|
428 | libDim++.la libDim.la libDimExtension.la libConfiguration.la
|
---|
429 |
|
---|
430 | skypeclient_SOURCES = src/skypeclient.cc src/ChatClient.h
|
---|
431 | skypeclient_LDADD = libStateMachine.la libTools.la libTime.la \
|
---|
432 | libDim++.la libDim.la libDimExtension.la libConfiguration.la
|
---|
433 |
|
---|
434 |
|
---|
435 | time_SOURCES = src/time.cc
|
---|
436 | time_LDADD = libTime.la
|
---|
437 |
|
---|
438 | #astro_SOURCES = src/astro.cc
|
---|
439 | #astro_LDADD = libAstro.la libTime.la
|
---|
440 |
|
---|
441 | test_SOURCES = src/test.cc
|
---|
442 | test_LDADD = libStateMachine.la libTools.la libTime.la libDim++.la libDim.la libConfiguration.la
|
---|
443 |
|
---|
444 | datalogger_SOURCES = src/datalogger.cc src/LocalControl.h src/DimState.cc src/DimState.h
|
---|
445 | if HAS_FITS
|
---|
446 | datalogger_SOURCES += src/FitsFile.h src/FitsFile.cc src/Fits.h src/Fits.cc
|
---|
447 | endif
|
---|
448 | datalogger_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
449 | libStateMachine.la libTools.la libTime.la \
|
---|
450 | libConfiguration.la
|
---|
451 |
|
---|
452 | scheduler_SOURCES = src/scheduler.cc src/LocalControl.h
|
---|
453 | scheduler_LDADD = libStateMachine.la libTools.la libTime.la \
|
---|
454 | libDim++.la libDim.la libDimExtension.la libConfiguration.la
|
---|
455 |
|
---|
456 | fitsloader_SOURCES = src/fitsloader.cc src/LocalControl.h
|
---|
457 | fitsloader_LDADD = libStateMachine.la libTools.la libTime.la libDim++.la libDim.la libConfiguration.la
|
---|
458 |
|
---|
459 | fitsdump_SOURCES = src/fitsdump.cc
|
---|
460 | fitsdump_LDADD = $(ROOTLDFLAGS) $(ROOTLIBS) libTools.la libConfiguration.la libTime.la
|
---|
461 |
|
---|
462 | fitscheck_SOURCES = src/fitscheck.cc
|
---|
463 | fitscheck_LDADD = libConfiguration.la
|
---|
464 |
|
---|
465 |
|
---|
466 | readfits_SOURCES = src/readfits.cc src/ReadFits.h
|
---|
467 | readfits_LDADD = libStateMachine.la libTools.la libTime.la libDim++.la libDim.la libConfiguration.la
|
---|
468 |
|
---|
469 | zfits_SOURCES = src/zfits.cc externals/huffmans.h
|
---|
470 | zfits_LDADD = libTime.la libConfiguration.la
|
---|
471 |
|
---|
472 | showlog_SOURCES = src/showlog.cc
|
---|
473 | showlog_LDADD = libTime.la libTools.la libConfiguration.la -lncurses src/WindowLog.lo
|
---|
474 |
|
---|
475 | triggerschedule_SOURCES = src/triggerschedule.cc
|
---|
476 | triggerschedule_LDADD = libDim++.la libDim.la libDimExtension.la libConfiguration.la
|
---|
477 |
|
---|
478 | fitsCompressor_SOURCES = src/fitsCompressor.cc
|
---|
479 | fitsCompressor_LDADD = libConfiguration.la
|
---|
480 |
|
---|
481 | #fitsgrep_SOURCES = src/fitsgrep.cc
|
---|
482 | #fitsgrep_LDADD = libConfiguration.la
|
---|
483 |
|
---|
484 | # -----
|
---|
485 |
|
---|
486 | if HAS_GUI
|
---|
487 |
|
---|
488 | fact_DIALOGS = \
|
---|
489 | gui/design.ui
|
---|
490 |
|
---|
491 | fact_RESOURCES = \
|
---|
492 | gui/design.qrc
|
---|
493 |
|
---|
494 | fact_QT_SOURCES = \
|
---|
495 | gui/DockWindow.cc \
|
---|
496 | gui/MainWindow.cc \
|
---|
497 | gui/QCameraWidget.cc \
|
---|
498 | gui/BasicGlCamera.cc
|
---|
499 |
|
---|
500 | fact_SRCADD = $(fact_DIALOGS:.ui=.h) $(fact_RESOURCES:.qrc=.cc) $(fact_QT_SOURCES:.cc=.moc.cc)
|
---|
501 |
|
---|
502 | endif
|
---|
503 |
|
---|
504 | # -----
|
---|
505 |
|
---|
506 | if HAS_VIEWER
|
---|
507 |
|
---|
508 | viewer_DIALOGS = \
|
---|
509 | gui/RawEventsViewer/viewer.ui
|
---|
510 |
|
---|
511 | viewer_QT_SOURCES = \
|
---|
512 | gui/RawEventsViewer/RawEventsViewer.cc \
|
---|
513 | gui/BasicGlCamera.cc \
|
---|
514 | gui/QCameraWidget.cc \
|
---|
515 | gui/Q3DCameraWidget.cc
|
---|
516 |
|
---|
517 | viewer_SRCADD = $(viewer_DIALOGS:.ui=.h) $(viewer_RESOURCES:.qrc=.cc) $(viewer_QT_SOURCES:.cc=.moc.cc)
|
---|
518 |
|
---|
519 | endif
|
---|
520 |
|
---|
521 |
|
---|
522 |
|
---|
523 | BUILT_SOURCES = $(fact_SRCADD) $(viewer_SRCADD)
|
---|
524 |
|
---|
525 | CLEANFILES += $(BUILT_SOURCES)
|
---|
526 |
|
---|
527 | EXTRA_DIST += \
|
---|
528 | $(fact_DIALOGS) $(fact_RESOURCES) \
|
---|
529 | $(viewer_DIALOGS) $(viewer_RESOURCES)
|
---|
530 |
|
---|
531 | fact_LDADD = $(ROOTLDFLAGS) $(ROOTGLIBS) $(QT4_LIB) $(QT4_LDFLAGS) -L. \
|
---|
532 | libDim++.la libDim.la libDimExtension.la \
|
---|
533 | libTools.la libStateMachine.la libTime.la libTools.la \
|
---|
534 | libConfiguration.la
|
---|
535 |
|
---|
536 | fact_SOURCES = $(fact_SRCADD) $(fact_QT_SOURCES) \
|
---|
537 | gui/CheckBoxDelegate.cc gui/HtmlDelegate.cc \
|
---|
538 | gui/fact.cc gui/FactGui.cc src/HeadersFTM.cc \
|
---|
539 | src/PixelMap.cc
|
---|
540 |
|
---|
541 | # Switch off most qwt warnings
|
---|
542 | viewer_CXXFLAGS = $(AM_CXXFLAGS) -Wno-shadow
|
---|
543 |
|
---|
544 | viewer_LDADD = $(QT4_LIB) $(QT4_LDFLAGS) -L. -lQtOpenGL -lGLU \
|
---|
545 | libDimExtension.la \
|
---|
546 | libConfiguration.la libStateMachine.la libTools.la \
|
---|
547 | libTime.la libDim++.la libDim.la
|
---|
548 |
|
---|
549 | viewer_SOURCES = $(viewer_SRCADD) $(viewer_QT_SOURCES) \
|
---|
550 | src/DataProcessorImp.cc src/DataProcessorImp.h \
|
---|
551 | src/FitsFile.cc src/FitsFile.h \
|
---|
552 | src/Fits.cc src/Fits.h \
|
---|
553 | src/PixelMap.cc
|
---|
554 |
|
---|
555 |
|
---|
556 |
|
---|
557 | #-------------------------------------------------------------------------
|
---|
558 |
|
---|
559 | SUFFIXES = .moc.cc
|
---|
560 |
|
---|
561 | .ui.h: $<
|
---|
562 | $(AM_V_GEN)$(UIC4) $< -o $@
|
---|
563 |
|
---|
564 | .h.moc.cc: $<
|
---|
565 | $(AM_V_GEN)$(MOC4) $(EXTRA_CPPFLAGS) $< -o $@
|
---|
566 |
|
---|
567 | .qrc.cc: $<
|
---|
568 | $(AM_V_GEN)$(RCC4) -name `echo "$<" | sed 's|^.*/\(.*\)\.qrc$$|\1|'` $< -o $@
|
---|
569 |
|
---|
570 |
|
---|
571 | #-------------------------------------------------------------------------
|
---|
572 |
|
---|
573 | MAN_TARGETS = $(dist_man1_MANS)
|
---|
574 |
|
---|
575 | if HAS_GROFF
|
---|
576 |
|
---|
577 | MAN_TARGETS += $(dist_man1_MANS:.man=.html)
|
---|
578 | EXTRA_DIST += $(dist_man1_MANS:.man=.html)
|
---|
579 | CLEANFILES += $(dist_man1_MANS:.man=.html)
|
---|
580 |
|
---|
581 | if HAS_PS2PDF
|
---|
582 |
|
---|
583 | MAN_TARGETS += $(dist_man1_MANS:.man=.pdf)
|
---|
584 | EXTRA_DIST += $(dist_man1_MANS:.man=.pdf)
|
---|
585 | CLEANFILES += $(dist_man1_MANS:.man=.pdf)
|
---|
586 | endif
|
---|
587 |
|
---|
588 | endif
|
---|
589 |
|
---|
590 | if HAS_JSDOC
|
---|
591 | JAVA_SCRIPT_DOC=jsdoc
|
---|
592 | endif
|
---|
593 |
|
---|
594 | $(dist_man1_MANS): $(dist_man1_MANS:.man=)
|
---|
595 | @mkdir -p man
|
---|
596 | $(AM_V_GEN)help2man -N -o $@ -m $(@:.man=) ./$(@:.man=)
|
---|
597 |
|
---|
598 | .man.html: $<
|
---|
599 | $(AM_V_GEN)groff -mandoc `man -w -l $<` -T html > $@
|
---|
600 |
|
---|
601 | .man.pdf: $<
|
---|
602 | $(AM_V_GEN)groff -mandoc `man -w -l $<` | ps2pdf - $@
|
---|
603 |
|
---|
604 | jsdoc:
|
---|
605 | @rm -rf www/dimctrl
|
---|
606 | $(AM_V_GEN)jsdoc -r=2 -d=www/dimctrl scripts | grep -v ^java
|
---|
607 |
|
---|
608 |
|
---|
609 | doc: $(MAN_TARGETS) $(JAVA_SCRIPT_DOC) doxygen-run
|
---|
610 | @ln -s index.html doxygen-doc/html/main.html
|
---|
611 |
|
---|
612 | diff:
|
---|
613 | @svn diff | $(COLORDIFF)
|
---|
614 |
|
---|
615 | rdiff:
|
---|
616 | @svn diff -r BASE:HEAD . externals | $(COLORDIFF)
|
---|
617 |
|
---|
618 | status:
|
---|
619 | @svn status -u | grep -v ^\?
|
---|
620 |
|
---|
621 | #-------------------------------------------------------------------------
|
---|
622 |
|
---|
623 | # Overwrite rules for silent or other verbosity levels
|
---|
624 | #AM_V_MAN = $(AM_MAN_$(V))
|
---|
625 | #AM_MAN_ = $(AM_V_GEN)
|
---|
626 | #AM_MAN_0 = @echo " MAN "$@;
|
---|
627 |
|
---|
628 | #$(MyAnalysisDS): $(MyAnalysisH) $(MyAnalysisL)
|
---|
629 | # $(ROOTCINT) -f $@ -c -I$(top_builddir)/config $(INCLUDES) $^
|
---|
630 | # rootcint_files=`echo $@ | sed -ne 's/\(.*\)\..*/\1.cxx \1.h/p'` && \
|
---|
631 | # $(top_srcdir)/config/runsed $(top_srcdir)/config/rootcint.sed $$rootcint_files && \
|
---|
632 | # for i in $$rootcint_files; do \
|
---|
633 | # if test ! `diff $$i $(srcdir)/$$i >/dev/null 2>&1`; then \
|
---|
634 | # cp $$i $(srcdir)/; \
|
---|
635 | # fi; \
|
---|
636 | # done
|
---|
637 |
|
---|
638 | #CLEANFILES = *~ *.rej *.orig
|
---|
639 | #MAINTAINERCLEANFILES = aclocal.m4 config.h.in configure Makefile.in \
|
---|
640 | # stamp-h.in stamp-h[0-9].in
|
---|
641 | #DISTCLEANFILES = config.cache config.log
|
---|