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