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