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