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