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