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