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