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