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_CFLAGS = -pedantic
|
---|
13 | AM_CPPFLAGS = -Idim/dim -Ipal -Ierfa/src \
|
---|
14 | $(DIM_FLAGS) $(BOOST_FLAGS) $(ROOTCPPFLAGS) \
|
---|
15 | $(SVN_REVISION)
|
---|
16 |
|
---|
17 | AM_CXXFLAGS = $(ROOTCXXFLAGS) \
|
---|
18 | -Wall -Winit-self -Wpointer-arith -Wcast-align -Wextra -Wformat=2 \
|
---|
19 | -Woverloaded-virtual -Wnon-virtual-dtor -Wshadow
|
---|
20 |
|
---|
21 | # -no-undefined
|
---|
22 | AM_LDFLAGS = -module -avoid-version
|
---|
23 |
|
---|
24 | #$(man3_MANS): doxygen-doc
|
---|
25 | #DX_CLEANFILES = everything to clean.
|
---|
26 | # Add to MOSTLYCLEANFILES.
|
---|
27 |
|
---|
28 | #-------------------------------------------------------------------------
|
---|
29 |
|
---|
30 | # Executables which are build by default ('all')
|
---|
31 | bin_PROGRAMS = \
|
---|
32 | dns \
|
---|
33 | log logtime time argv \
|
---|
34 | ftmctrl \
|
---|
35 | fadctrl \
|
---|
36 | fscctrl \
|
---|
37 | gcn \
|
---|
38 | chatclient chatserv \
|
---|
39 | biasctrl drivectrl agilentctrl \
|
---|
40 | mcp feedback ratescan ratecontrol \
|
---|
41 | tngweather lidctrl gpsctrl pfminictrl sqmctrl pwrctrl \
|
---|
42 | magicweather magiclidar \
|
---|
43 | smartfact evtserver getevent \
|
---|
44 | temperature biastemp \
|
---|
45 | timecheck \
|
---|
46 | showlog \
|
---|
47 | fitsdump fitscheck fitsselect \
|
---|
48 | zfits
|
---|
49 |
|
---|
50 | if HAS_FITS
|
---|
51 | bin_PROGRAMS += datalogger
|
---|
52 | endif
|
---|
53 |
|
---|
54 | if HAS_V8
|
---|
55 | bin_PROGRAMS += dimctrl dimserver
|
---|
56 | endif
|
---|
57 |
|
---|
58 | if HAS_GUI
|
---|
59 | bin_PROGRAMS += fact
|
---|
60 | endif
|
---|
61 |
|
---|
62 | if HAS_DBUS
|
---|
63 | bin_PROGRAMS += skypeclient
|
---|
64 | endif
|
---|
65 |
|
---|
66 | if HAS_VIEWER
|
---|
67 | bin_PROGRAMS += viewer
|
---|
68 | endif
|
---|
69 |
|
---|
70 | if HAS_NOVA
|
---|
71 | bin_PROGRAMS += moon
|
---|
72 | endif
|
---|
73 |
|
---|
74 | if HAS_SQL
|
---|
75 | if HAS_NOVA
|
---|
76 | bin_PROGRAMS += makedata makeschedule
|
---|
77 | if HAS_ROOT
|
---|
78 | bin_PROGRAMS += makeplots rootifysql
|
---|
79 | endif
|
---|
80 | endif
|
---|
81 | endif
|
---|
82 |
|
---|
83 |
|
---|
84 | if HAS_LIBXP
|
---|
85 | bin_PROGRAMS += did webDid
|
---|
86 | endif
|
---|
87 |
|
---|
88 | # This is a trick to be able to build them but not having them in 'all'
|
---|
89 | if IS_FALSE
|
---|
90 | bin_PROGRAMS += \
|
---|
91 | ftm fsc fad \
|
---|
92 | test scheduler \
|
---|
93 | triggerschedule \
|
---|
94 | dclient5 dserver2 \
|
---|
95 | fitsloader fitsgrep \
|
---|
96 | sched astro readfits \
|
---|
97 | cosyctrl
|
---|
98 | endif
|
---|
99 |
|
---|
100 | lib_LTLIBRARIES = \
|
---|
101 | libDim++.la libDim.la libDimExtension.la \
|
---|
102 | libConfiguration.la libStateMachine.la libTime.la libTools.la \
|
---|
103 | libPal.la
|
---|
104 |
|
---|
105 | if HAS_HELP2MAN
|
---|
106 | dist_man1_MANS = \
|
---|
107 | biasctrl.man \
|
---|
108 | biastemp.man \
|
---|
109 | datalogger.man \
|
---|
110 | dimctrl.man \
|
---|
111 | dimserver.man \
|
---|
112 | drivectrl.man \
|
---|
113 | evtserver.man \
|
---|
114 | fadctrl.man \
|
---|
115 | feedback.man \
|
---|
116 | fitsdump.man \
|
---|
117 | fitscheck.man \
|
---|
118 | fitsselect.man \
|
---|
119 | fscctrl.man \
|
---|
120 | ftmctrl.man \
|
---|
121 | getevent.man \
|
---|
122 | gpsctrl.man \
|
---|
123 | lidctrl.man \
|
---|
124 | magiclidar.man \
|
---|
125 | magicweather.man \
|
---|
126 | mcp.man \
|
---|
127 | pfminictrl.man \
|
---|
128 | pwrctrl.man \
|
---|
129 | ratecontrol.man \
|
---|
130 | ratescan.man \
|
---|
131 | showlog.man \
|
---|
132 | smartfact.man \
|
---|
133 | sqmctrl.man \
|
---|
134 | temperature.man \
|
---|
135 | timecheck.man \
|
---|
136 | tngweather.man \
|
---|
137 | zfits.man
|
---|
138 | endif
|
---|
139 |
|
---|
140 | #-------------------------------------------------------------------------
|
---|
141 |
|
---|
142 | CLEANFILES =
|
---|
143 |
|
---|
144 | dist_noinst_SCRIPTS = autogen.sh
|
---|
145 |
|
---|
146 | EXTRA_DIST = \
|
---|
147 | Doxyfile \
|
---|
148 | dim/DIM_Performance.pdf \
|
---|
149 | dim/LICENSE.GPL \
|
---|
150 | dim/README.txt \
|
---|
151 | dim/README_v9.txt \
|
---|
152 | dim/README_v10.txt \
|
---|
153 | dim/README_v11.txt \
|
---|
154 | dim/README_v12.txt \
|
---|
155 | dim/README_v13.txt \
|
---|
156 | dim/README_v14.txt \
|
---|
157 | dim/README_v17.txt \
|
---|
158 | dim/README_v16.txt \
|
---|
159 | dim/README_v17.txt \
|
---|
160 | dim/README_v18.txt \
|
---|
161 | dim/README_v19.txt
|
---|
162 |
|
---|
163 | dns_LDADD = libDim.la libDimExtension.la
|
---|
164 | dns_SOURCES = src/dns.c
|
---|
165 | #dns_CPPFLAGS = $(AM_CPPFLAGS) $(DIM_FLAGS)
|
---|
166 |
|
---|
167 | did_LDADD = libDim.la
|
---|
168 | did_CPPFLAGS = $(AM_CPPFLAGS) -Idim/src/did
|
---|
169 | did_SOURCES = \
|
---|
170 | dim/src/did/did.c dim/src/did/did.h \
|
---|
171 | dim/src/did/dui_util.c dim/src/did/dui_util.h \
|
---|
172 | dim/src/did/dui_colors.h
|
---|
173 |
|
---|
174 | webDid_LDADD = libDim.la
|
---|
175 | webDid_CPPFLAGS = $(AM_CPPFLAGS) -Idim/src/did
|
---|
176 | webDid_SOURCES = \
|
---|
177 | dim/src/webDid/webDid.c \
|
---|
178 | src/webServer.c \
|
---|
179 | dim/src/webDid/webTcpip.c
|
---|
180 |
|
---|
181 |
|
---|
182 | #libDim_la_CPPFLAGS = $(AM_CPPFLAGS) $(DIM_FLAGS)
|
---|
183 | libDim_ladir =
|
---|
184 | libDim_la_HEADERS = \
|
---|
185 | dim/dim/dic.h \
|
---|
186 | dim/dim/dim_common.h \
|
---|
187 | dim/dim/dim.h \
|
---|
188 | dim/dim/dim_tcpip.h \
|
---|
189 | dim/dim/dis.h
|
---|
190 |
|
---|
191 | libDim_la_SOURCES = \
|
---|
192 | dim/src/dic.c \
|
---|
193 | dim/src/dis.c \
|
---|
194 | dim/src/dna.c \
|
---|
195 | dim/src/sll.c \
|
---|
196 | dim/src/dll.c \
|
---|
197 | dim/src/hash.c \
|
---|
198 | dim/src/swap.c \
|
---|
199 | dim/src/copy_swap.c \
|
---|
200 | dim/src/open_dns.c \
|
---|
201 | dim/src/conn_handler.c \
|
---|
202 | dim/src/tcpip.c \
|
---|
203 | dim/src/dtq.c \
|
---|
204 | dim/src/dim_thr.c \
|
---|
205 | dim/src/utilities.c
|
---|
206 |
|
---|
207 | libDimExtension_la_SOURCES = src/DimSetup.cc src/DimSetup.h
|
---|
208 |
|
---|
209 | #libDimCpp_la_CXXFLAGS = $(AM_CXXFLAGS) $(DIM_FLAGS)
|
---|
210 | libDim___ladir =
|
---|
211 | libDim___la_HEADERS = \
|
---|
212 | dim/dim/dic.hxx \
|
---|
213 | dim/dim/dis.hxx \
|
---|
214 | dim/dim/dim_core.hxx \
|
---|
215 | dim/dim/dim.hxx \
|
---|
216 | dim/dim/dim_tcpip.h \
|
---|
217 | dim/dim/dllist.hxx \
|
---|
218 | dim/dim/sllist.hxx \
|
---|
219 | dim/dim/tokenstring.hxx \
|
---|
220 | src/Dim.h
|
---|
221 | libDim___la_SOURCES = \
|
---|
222 | dim/src/diccpp.cxx \
|
---|
223 | dim/src/dimcpp.cxx \
|
---|
224 | dim/src/discpp.cxx \
|
---|
225 | dim/src/tokenstring.cxx
|
---|
226 |
|
---|
227 | # Divide into Readline / StateMachine / StateMachineDim / Tools?
|
---|
228 | libStateMachine_la_SOURCES = \
|
---|
229 | src/WindowLog.h src/WindowLog.cc \
|
---|
230 | src/Readline.h src/Readline.cc \
|
---|
231 | src/ReadlineColor.h src/ReadlineColor.cc \
|
---|
232 | src/ReadlineWindow.h src/ReadlineWindow.cc \
|
---|
233 | src/Console.h src/Console.cc \
|
---|
234 | src/Shell.h src/Shell.cc \
|
---|
235 | \
|
---|
236 | src/EventImp.h src/EventImp.cc \
|
---|
237 | src/Event.h src/Event.cc \
|
---|
238 | src/State.h src/State.cc \
|
---|
239 | src/Description.h src/Description.cc \
|
---|
240 | src/MessageImp.h src/MessageImp.cc \
|
---|
241 | src/Converter.h src/Converter.cc \
|
---|
242 | src/StateMachineImp.h src/StateMachineImp.cc \
|
---|
243 | src/StateMachine.h src/StateMachine.cc \
|
---|
244 | \
|
---|
245 | src/EventDim.h \
|
---|
246 | src/MessageDim.h src/MessageDim.cc \
|
---|
247 | src/StateMachineDim.h src/StateMachineDim.cc \
|
---|
248 | src/DimServerList.h src/DimServerList.cc \
|
---|
249 | src/DimServiceInfoList.h src/DimServiceInfoList.cc \
|
---|
250 | src/DimNetworkList.h src/DimNetwork.cc \
|
---|
251 | src/ServiceList.h src/ServiceList.cc \
|
---|
252 | src/DimErrorRedirecter.h \
|
---|
253 | src/DimErrorRedirecter.cc \
|
---|
254 | src/DimDescriptionService.h \
|
---|
255 | src/DimDescriptionService.cc \
|
---|
256 | \
|
---|
257 | src/Connection.h src/Connection.cc \
|
---|
258 | src/ConnectionUSB.h src/ConnectionUSB.cc \
|
---|
259 | \
|
---|
260 | FACT.h ByteOrder.h \
|
---|
261 | \
|
---|
262 | src/DimWriteStatistics.h src/DimWriteStatistics.cc
|
---|
263 |
|
---|
264 | libConfiguration_la_SOURCES = \
|
---|
265 | src/Configuration.h src/Configuration.cc \
|
---|
266 | src/FACT.h src/FACT.cc
|
---|
267 |
|
---|
268 | libTime_la_SOURCES = src/Time.h src/Time.cc
|
---|
269 | #libAstro_la_SOURCES = src/Astro.h src/Astro.cc
|
---|
270 | libTools_la_SOURCES = src/tools.h src/tools.cc
|
---|
271 |
|
---|
272 | libPal_la_SOURCES = pal/pal.h \
|
---|
273 | pal/palDtt.c pal/palDat.c pal/palMappa.c \
|
---|
274 | pal/palPrenut.c pal/palEvp.c pal/palAoppa.c \
|
---|
275 | pal/palAoppat.c pal/palRefco.c pal/palRefro.c \
|
---|
276 | pal/pal1Atmt.c pal/palDrange.c pal/palOne2One.c \
|
---|
277 | pal/pal1Atms.c pal/palMapqkz.c pal/palAopqk.c \
|
---|
278 | pal/palRefz.c pal/palAmpqk.c pal/palRdplan.c \
|
---|
279 | pal/palDt.c pal/palPvobs.c pal/palNut.c \
|
---|
280 | pal/palDmoon.c pal/palPlanet.c pal/palNutc.c \
|
---|
281 | pal/palDeuler.c \
|
---|
282 | \
|
---|
283 | erfa/src/gd2gc.c erfa/src/p06e.c erfa/src/c2s.c \
|
---|
284 | erfa/src/eform.c erfa/src/s2c.c erfa/src/pas.c \
|
---|
285 | erfa/src/pmat06.c erfa/src/epv00.c erfa/src/plan94.c \
|
---|
286 | erfa/src/anpm.c erfa/src/obl06.c erfa/src/dat.c \
|
---|
287 | erfa/src/af2a.c erfa/src/rxr.c erfa/src/gmst06.c \
|
---|
288 | erfa/src/sepp.c erfa/src/rz.c erfa/src/zp.c \
|
---|
289 | erfa/src/rxpv.c erfa/src/pn.c erfa/src/cr.c \
|
---|
290 | erfa/src/seps.c erfa/src/ry.c erfa/src/pdp.c \
|
---|
291 | erfa/src/pnm06a.c erfa/src/hfk5z.c erfa/src/epj2jd.c \
|
---|
292 | erfa/src/pv2s.c erfa/src/tf2a.c erfa/src/pm.c \
|
---|
293 | erfa/src/sxp.c erfa/src/a2af.c erfa/src/rxp.c \
|
---|
294 | erfa/src/pxp.c erfa/src/fk5hip.c erfa/src/fw2m.c \
|
---|
295 | erfa/src/rx.c erfa/src/tf2d.c erfa/src/cal2jd.c \
|
---|
296 | erfa/src/cp.c erfa/src/nut06a.c erfa/src/rm2v.c \
|
---|
297 | erfa/src/nut00a.c erfa/src/ee06a.c erfa/src/fk5hz.c \
|
---|
298 | erfa/src/epb2jd.c erfa/src/refco.c erfa/src/a2tf.c \
|
---|
299 | erfa/src/fapa03.c erfa/src/gst06a.c erfa/src/faf03.c \
|
---|
300 | erfa/src/faur03.c erfa/src/faju03.c erfa/src/fal03.c \
|
---|
301 | erfa/src/fasa03.c erfa/src/fame03.c erfa/src/fave03.c \
|
---|
302 | erfa/src/fama03.c erfa/src/faom03.c erfa/src/gst06.c \
|
---|
303 | erfa/src/jd2cal.c erfa/src/gd2gce.c erfa/src/anp.c \
|
---|
304 | erfa/src/fae03.c erfa/src/ir.c erfa/src/pfw06.c \
|
---|
305 | erfa/src/bpn2xy.c erfa/src/eors.c erfa/src/s06.c \
|
---|
306 | erfa/src/trxp.c erfa/src/era00.c erfa/src/epj.c \
|
---|
307 | erfa/src/d2tf.c erfa/src/epb.c erfa/src/rv2m.c \
|
---|
308 | erfa/src/pap.c erfa/src/fad03.c erfa/src/pmp.c \
|
---|
309 | erfa/src/tr.c erfa/src/falp03.c
|
---|
310 |
|
---|
311 | dserver2_SOURCES = src/dserver2.cc
|
---|
312 | dserver2_LDADD = libTime.la libTools.la
|
---|
313 |
|
---|
314 | ftm_SOURCES = src/ftm.cc src/HeadersFTM.cc
|
---|
315 | ftm_LDADD = libTime.la libTools.la libDim++.la libDim.la libConfiguration.la libDimExtension.la
|
---|
316 |
|
---|
317 | fad_SOURCES = src/fad.cc src/HeadersFAD.cc
|
---|
318 | fad_LDADD = libTime.la libTools.la libTools.la libDim++.la libDim.la libConfiguration.la libDimExtension.la
|
---|
319 |
|
---|
320 | fsc_SOURCES = src/fsc.cc
|
---|
321 | fsc_LDADD = libTime.la libTools.la
|
---|
322 |
|
---|
323 |
|
---|
324 | log_SOURCES = src/log.cc
|
---|
325 | log_LDADD = libDim++.la libDim.la libStateMachine.la libTime.la libTools.la
|
---|
326 |
|
---|
327 |
|
---|
328 | logtime_SOURCES = src/logtime.cc
|
---|
329 | logtime_LDADD = libStateMachine.la libTools.la libTime.la libDim++.la libDim.la
|
---|
330 |
|
---|
331 | moon_SOURCES = src/moon.cc
|
---|
332 | moon_LDADD = libTime.la libConfiguration.la
|
---|
333 |
|
---|
334 | rootifysql_SOURCES = src/rootifysql.cc
|
---|
335 | rootifysql_LDADD = $(ROOTLDFLAGS) $(ROOTLIBS) libTime.la libConfiguration.la -lmysqlclient
|
---|
336 |
|
---|
337 | makeplots_SOURCES = src/makeplots.cc
|
---|
338 | makeplots_LDADD = $(ROOTLDFLAGS) $(ROOTLIBS) libTime.la libConfiguration.la
|
---|
339 |
|
---|
340 | makedata_SOURCES = src/makedata.cc
|
---|
341 | makedata_LDADD = libTime.la libConfiguration.la
|
---|
342 |
|
---|
343 | makeschedule_SOURCES = src/makeschedule.cc
|
---|
344 | makeschedule_LDADD = libTime.la libConfiguration.la libTools.la
|
---|
345 |
|
---|
346 |
|
---|
347 | chatserv_SOURCES = src/chatserv.cc src/LocalControl.h
|
---|
348 | chatserv_LDADD = libStateMachine.la libTools.la libConfiguration.la libTime.la \
|
---|
349 | libDim++.la libDim.la libDimExtension.la
|
---|
350 |
|
---|
351 |
|
---|
352 | dclient5_SOURCES = src/dclient5.cc src/LocalControl.h
|
---|
353 | dclient5_LDADD = libDim++.la libDim.la libStateMachine.la libTime.la libTools.la \
|
---|
354 | libConfiguration.la
|
---|
355 |
|
---|
356 | ftmctrl_SOURCES = src/ftmctrl.cc src/LocalControl.h src/HeadersFTM.cc
|
---|
357 | ftmctrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
358 | libStateMachine.la libTime.la libTools.la \
|
---|
359 | libConfiguration.la
|
---|
360 |
|
---|
361 | cosyctrl_SOURCES = src/cosyctrl.cc src/LocalControl.h src/HeadersFTM.cc
|
---|
362 | cosyctrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
363 | libStateMachine.la libTools.la libTime.la \
|
---|
364 | libConfiguration.la
|
---|
365 |
|
---|
366 | drivectrl_SOURCES = src/drivectrl.cc src/LocalControl.h
|
---|
367 | drivectrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
368 | libStateMachine.la libTools.la libTime.la \
|
---|
369 | libConfiguration.la libPal.la
|
---|
370 |
|
---|
371 | agilentctrl_SOURCES = src/agilentctrl.cc src/LocalControl.h src/HeadersAgilent.h
|
---|
372 | agilentctrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
373 | libStateMachine.la libTools.la libTime.la \
|
---|
374 | libConfiguration.la
|
---|
375 |
|
---|
376 | magicweather_SOURCES = src/magicweather.cc src/LocalControl.h
|
---|
377 | magicweather_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
378 | libStateMachine.la libTools.la libTime.la \
|
---|
379 | libConfiguration.la
|
---|
380 |
|
---|
381 | magiclidar_SOURCES = src/magiclidar.cc src/LocalControl.h
|
---|
382 | magiclidar_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
383 | libStateMachine.la libTools.la libTime.la \
|
---|
384 | libConfiguration.la
|
---|
385 |
|
---|
386 | tngweather_SOURCES = src/tngweather.cc src/LocalControl.h
|
---|
387 | tngweather_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
388 | libStateMachine.la libTools.la libTime.la \
|
---|
389 | libConfiguration.la -lQtXml
|
---|
390 |
|
---|
391 | lidctrl_SOURCES = src/lidctrl.cc src/LocalControl.h
|
---|
392 | lidctrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
393 | libStateMachine.la libTools.la libTime.la \
|
---|
394 | libConfiguration.la -lQtXml
|
---|
395 |
|
---|
396 | gpsctrl_SOURCES = src/gpsctrl.cc src/LocalControl.h
|
---|
397 | gpsctrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
398 | libStateMachine.la libTools.la libTime.la \
|
---|
399 | libConfiguration.la
|
---|
400 |
|
---|
401 | pfminictrl_SOURCES = src/pfminictrl.cc src/LocalControl.h
|
---|
402 | pfminictrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
403 | libStateMachine.la libTools.la libTime.la \
|
---|
404 | libConfiguration.la
|
---|
405 |
|
---|
406 | sqmctrl_SOURCES = src/sqmctrl.cc src/LocalControl.h
|
---|
407 | sqmctrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
408 | libStateMachine.la libTools.la libTime.la \
|
---|
409 | libConfiguration.la
|
---|
410 |
|
---|
411 | biastemp_SOURCES = src/biastemp.cc src/LocalControl.h
|
---|
412 | biastemp_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
413 | libStateMachine.la libTools.la libTime.la \
|
---|
414 | libConfiguration.la
|
---|
415 |
|
---|
416 | temperature_SOURCES = src/temperature.cc src/LocalControl.h
|
---|
417 | temperature_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
418 | libStateMachine.la libTools.la libTime.la \
|
---|
419 | libConfiguration.la
|
---|
420 |
|
---|
421 | pwrctrl_SOURCES = src/pwrctrl.cc src/LocalControl.h \
|
---|
422 | src/HeadersPower.h src/HeadersPower.cc
|
---|
423 | pwrctrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
424 | libStateMachine.la libTools.la libTime.la \
|
---|
425 | libConfiguration.la -lQtXml
|
---|
426 |
|
---|
427 | timecheck_SOURCES = src/timecheck.cc src/LocalControl.h
|
---|
428 | timecheck_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
429 | libStateMachine.la libTools.la libTime.la \
|
---|
430 | libConfiguration.la
|
---|
431 |
|
---|
432 | smartfact_SOURCES = src/smartfact.cc src/LocalControl.h src/PixelMap.cc
|
---|
433 | smartfact_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
434 | libStateMachine.la libTools.la libTime.la \
|
---|
435 | libConfiguration.la
|
---|
436 |
|
---|
437 | evtserver_SOURCES = src/evtserver.cc src/LocalControl.h
|
---|
438 | evtserver_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
439 | libStateMachine.la libTools.la libTime.la \
|
---|
440 | libConfiguration.la
|
---|
441 |
|
---|
442 | getevent_SOURCES = src/getevent.cc
|
---|
443 | getevent_LDADD = libTools.la libTime.la libConfiguration.la
|
---|
444 |
|
---|
445 | fadctrl_SOURCES = src/fadctrl.cc src/LocalControl.h src/HeadersFAD.cc \
|
---|
446 | src/EventBuilder.cc src/EventBuilder.h \
|
---|
447 | src/DataProcessorImp.cc src/DataProcessorImp.h \
|
---|
448 | src/DataCalib.cc src/DataCalib.h \
|
---|
449 | src/DataWriteRaw.cc src/DataWriteRaw.h \
|
---|
450 | src/DrsCalib.h
|
---|
451 | if HAS_FITS
|
---|
452 | fadctrl_SOURCES += src/FitsFile.h src/FitsFile.cc \
|
---|
453 | src/DataWriteFits.cc src/DataWriteFits.h \
|
---|
454 | src/DataWriteFits2.cc src/DataWriteFits2.h
|
---|
455 | endif
|
---|
456 | fadctrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
457 | libStateMachine.la libTools.la libTime.la \
|
---|
458 | libConfiguration.la
|
---|
459 |
|
---|
460 | fscctrl_SOURCES = src/fscctrl.cc src/LocalControl.h
|
---|
461 | fscctrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
462 | libStateMachine.la libTools.la libTime.la \
|
---|
463 | libConfiguration.la
|
---|
464 |
|
---|
465 | gcn_SOURCES = src/gcn.cc src/LocalControl.h
|
---|
466 | gcn_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
467 | libStateMachine.la libTools.la libTime.la \
|
---|
468 | libConfiguration.la -lQtXml
|
---|
469 |
|
---|
470 | biasctrl_SOURCES = src/biasctrl.cc src/LocalControl.h src/PixelMap.cc
|
---|
471 | biasctrl_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
472 | libStateMachine.la libTools.la libTime.la \
|
---|
473 | libConfiguration.la
|
---|
474 |
|
---|
475 | mcp_SOURCES = src/mcp.cc src/LocalControl.h
|
---|
476 | mcp_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
477 | libStateMachine.la libTools.la libTime.la \
|
---|
478 | libConfiguration.la
|
---|
479 |
|
---|
480 | feedback_SOURCES = src/feedback.cc src/LocalControl.h src/PixelMap.cc
|
---|
481 | feedback_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
482 | libStateMachine.la libTools.la libTime.la \
|
---|
483 | libConfiguration.la
|
---|
484 |
|
---|
485 | ratescan_SOURCES = src/ratescan.cc src/LocalControl.h src/PixelMap.cc
|
---|
486 | ratescan_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
487 | libStateMachine.la libTools.la libTime.la \
|
---|
488 | libConfiguration.la
|
---|
489 |
|
---|
490 | ratecontrol_SOURCES = src/ratecontrol.cc src/LocalControl.h src/PixelMap.cc
|
---|
491 | ratecontrol_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
492 | libStateMachine.la libTools.la libTime.la \
|
---|
493 | libConfiguration.la
|
---|
494 |
|
---|
495 |
|
---|
496 | argv_SOURCES = src/argv.cc
|
---|
497 | argv_LDADD = libConfiguration.la
|
---|
498 |
|
---|
499 |
|
---|
500 | dimctrl_SOURCES = src/dimctrl.cc \
|
---|
501 | src/StateMachineDimControl.cc src/StateMachineDimControl.h \
|
---|
502 | src/RemoteControl.cc src/RemoteControl.h \
|
---|
503 | src/InterpreterV8.cc src/InterpreterV8.h \
|
---|
504 | src/DimState.cc src/DimState.h
|
---|
505 | dimctrl_LDADD = libStateMachine.la libTools.la libTime.la \
|
---|
506 | libDim++.la libDim.la libDimExtension.la libConfiguration.la
|
---|
507 |
|
---|
508 | dimserver_SOURCES = $(dimctrl_SOURCES)
|
---|
509 | dimserver_LDADD = $(dimctrl_LDADD)
|
---|
510 |
|
---|
511 |
|
---|
512 | chatclient_SOURCES = src/chatclient.cc src/ChatClient.h
|
---|
513 | chatclient_LDADD = libStateMachine.la libTools.la libTime.la \
|
---|
514 | libDim++.la libDim.la libDimExtension.la libConfiguration.la
|
---|
515 |
|
---|
516 | skypeclient_SOURCES = src/skypeclient.cc src/ChatClient.h
|
---|
517 | skypeclient_LDADD = libStateMachine.la libTools.la libTime.la \
|
---|
518 | libDim++.la libDim.la libDimExtension.la libConfiguration.la
|
---|
519 |
|
---|
520 |
|
---|
521 | time_SOURCES = src/time.cc
|
---|
522 | time_LDADD = libTime.la
|
---|
523 |
|
---|
524 | #astro_SOURCES = src/astro.cc
|
---|
525 | #astro_LDADD = libAstro.la libTime.la
|
---|
526 |
|
---|
527 | test_SOURCES = src/test.cc
|
---|
528 | test_LDADD = libStateMachine.la libTools.la libTime.la libDim++.la libDim.la libConfiguration.la
|
---|
529 |
|
---|
530 | datalogger_SOURCES = src/datalogger.cc src/LocalControl.h src/DimState.cc src/DimState.h
|
---|
531 | if HAS_FITS
|
---|
532 | datalogger_SOURCES += src/FitsFile.h src/FitsFile.cc src/Fits.h src/Fits.cc
|
---|
533 | endif
|
---|
534 | datalogger_LDADD = libDim++.la libDim.la libDimExtension.la \
|
---|
535 | libStateMachine.la libTools.la libTime.la \
|
---|
536 | libConfiguration.la
|
---|
537 |
|
---|
538 | scheduler_SOURCES = src/scheduler.cc src/LocalControl.h
|
---|
539 | scheduler_LDADD = libStateMachine.la libTools.la libTime.la \
|
---|
540 | libDim++.la libDim.la libDimExtension.la libConfiguration.la
|
---|
541 |
|
---|
542 | fitsloader_SOURCES = src/fitsloader.cc src/LocalControl.h
|
---|
543 | fitsloader_LDADD = libStateMachine.la libTools.la libTime.la libDim++.la libDim.la libConfiguration.la
|
---|
544 |
|
---|
545 | fitsdump_SOURCES = src/fitsdump.cc
|
---|
546 | fitsdump_LDADD = $(ROOTLDFLAGS) $(ROOTLIBS) libTools.la libConfiguration.la libTime.la
|
---|
547 |
|
---|
548 | fitscheck_SOURCES = src/fitscheck.cc
|
---|
549 | fitscheck_LDADD = libConfiguration.la
|
---|
550 |
|
---|
551 | fitsselect_SOURCES = src/fitsselect.cc
|
---|
552 | fitsselect_LDADD = libConfiguration.la
|
---|
553 |
|
---|
554 |
|
---|
555 | readfits_SOURCES = src/readfits.cc src/ReadFits.h
|
---|
556 | readfits_LDADD = libStateMachine.la libTools.la libTime.la libDim++.la libDim.la libConfiguration.la
|
---|
557 |
|
---|
558 | zfits_SOURCES = src/zfits.cc externals/huffmans.h
|
---|
559 | zfits_LDADD = libTime.la libConfiguration.la
|
---|
560 |
|
---|
561 | showlog_SOURCES = src/showlog.cc
|
---|
562 | showlog_LDADD = libTime.la libTools.la libConfiguration.la -lncurses src/WindowLog.lo
|
---|
563 |
|
---|
564 | triggerschedule_SOURCES = src/triggerschedule.cc
|
---|
565 | triggerschedule_LDADD = libDim++.la libDim.la libDimExtension.la libConfiguration.la
|
---|
566 |
|
---|
567 | #fitsCompressor_SOURCES = src/fitsCompressor.cc
|
---|
568 | #fitsCompressor_LDADD = libConfiguration.la
|
---|
569 |
|
---|
570 | #fitsgrep_SOURCES = src/fitsgrep.cc
|
---|
571 | #fitsgrep_LDADD = libConfiguration.la
|
---|
572 |
|
---|
573 | # -----
|
---|
574 |
|
---|
575 | if HAS_GUI
|
---|
576 |
|
---|
577 | fact_DIALOGS = \
|
---|
578 | gui/design.ui
|
---|
579 |
|
---|
580 | fact_RESOURCES = \
|
---|
581 | gui/design.qrc
|
---|
582 |
|
---|
583 | fact_QT_SOURCES = \
|
---|
584 | gui/DockWindow.cc \
|
---|
585 | gui/MainWindow.cc \
|
---|
586 | gui/QCameraWidget.cc \
|
---|
587 | gui/BasicGlCamera.cc
|
---|
588 |
|
---|
589 | fact_SRCADD = $(fact_DIALOGS:.ui=.h) $(fact_RESOURCES:.qrc=.cc) $(fact_QT_SOURCES:.cc=.moc.cc)
|
---|
590 |
|
---|
591 | endif
|
---|
592 |
|
---|
593 | # -----
|
---|
594 |
|
---|
595 | if HAS_VIEWER
|
---|
596 |
|
---|
597 | viewer_DIALOGS = \
|
---|
598 | gui/RawEventsViewer/viewer.ui
|
---|
599 |
|
---|
600 | viewer_QT_SOURCES = \
|
---|
601 | gui/RawEventsViewer/RawEventsViewer.cc \
|
---|
602 | gui/BasicGlCamera.cc \
|
---|
603 | gui/QCameraWidget.cc \
|
---|
604 | gui/Q3DCameraWidget.cc
|
---|
605 |
|
---|
606 | viewer_SRCADD = $(viewer_DIALOGS:.ui=.h) $(viewer_RESOURCES:.qrc=.cc) $(viewer_QT_SOURCES:.cc=.moc.cc)
|
---|
607 |
|
---|
608 | endif
|
---|
609 |
|
---|
610 |
|
---|
611 |
|
---|
612 | BUILT_SOURCES = $(fact_SRCADD) $(viewer_SRCADD)
|
---|
613 |
|
---|
614 | CLEANFILES += $(BUILT_SOURCES)
|
---|
615 |
|
---|
616 | EXTRA_DIST += \
|
---|
617 | $(fact_DIALOGS) $(fact_RESOURCES) \
|
---|
618 | $(viewer_DIALOGS) $(viewer_RESOURCES)
|
---|
619 |
|
---|
620 | fact_LDADD = $(ROOTLDFLAGS) $(ROOTGLIBS) -lGQt $(QT4_LIB) $(QT4_LDFLAGS) -L. \
|
---|
621 | libDim++.la libDim.la libDimExtension.la \
|
---|
622 | libTools.la libStateMachine.la libTime.la libTools.la \
|
---|
623 | libConfiguration.la
|
---|
624 |
|
---|
625 | fact_SOURCES = $(fact_SRCADD) $(fact_QT_SOURCES) \
|
---|
626 | gui/CheckBoxDelegate.cc gui/HtmlDelegate.cc \
|
---|
627 | gui/fact.cc gui/FactGui.cc src/HeadersFTM.cc \
|
---|
628 | src/PixelMap.cc
|
---|
629 |
|
---|
630 | # Switch off most qwt warnings
|
---|
631 | viewer_CXXFLAGS = $(AM_CXXFLAGS) -Wno-shadow
|
---|
632 |
|
---|
633 | viewer_LDADD = $(QT4_LIB) $(QT4_LDFLAGS) -L. -lQtOpenGL -lGLU \
|
---|
634 | libDimExtension.la \
|
---|
635 | libConfiguration.la libStateMachine.la libTools.la \
|
---|
636 | libTime.la libDim++.la libDim.la
|
---|
637 |
|
---|
638 | viewer_SOURCES = $(viewer_SRCADD) $(viewer_QT_SOURCES) \
|
---|
639 | src/DataProcessorImp.cc src/DataProcessorImp.h \
|
---|
640 | src/FitsFile.cc src/FitsFile.h \
|
---|
641 | src/Fits.cc src/Fits.h \
|
---|
642 | src/PixelMap.cc
|
---|
643 |
|
---|
644 |
|
---|
645 |
|
---|
646 | #-------------------------------------------------------------------------
|
---|
647 |
|
---|
648 | SUFFIXES = .moc.cc
|
---|
649 |
|
---|
650 | .ui.h: $<
|
---|
651 | $(AM_V_GEN)$(UIC4) $< -o $@
|
---|
652 |
|
---|
653 | .h.moc.cc: $<
|
---|
654 | $(AM_V_GEN)$(MOC4) $(EXTRA_CPPFLAGS) $< -o $@
|
---|
655 |
|
---|
656 | .qrc.cc: $<
|
---|
657 | $(AM_V_GEN)$(RCC4) -name `echo "$<" | sed 's|^.*/\(.*\)\.qrc$$|\1|'` $< -o $@
|
---|
658 |
|
---|
659 |
|
---|
660 | #-------------------------------------------------------------------------
|
---|
661 |
|
---|
662 | MAN_TARGETS = $(dist_man1_MANS)
|
---|
663 |
|
---|
664 | if HAS_GROFF
|
---|
665 |
|
---|
666 | MAN_TARGETS += $(dist_man1_MANS:.man=.html)
|
---|
667 | EXTRA_DIST += $(dist_man1_MANS:.man=.html)
|
---|
668 | CLEANFILES += $(dist_man1_MANS:.man=.html)
|
---|
669 |
|
---|
670 | if HAS_PS2PDF
|
---|
671 |
|
---|
672 | MAN_TARGETS += $(dist_man1_MANS:.man=.pdf)
|
---|
673 | EXTRA_DIST += $(dist_man1_MANS:.man=.pdf)
|
---|
674 | CLEANFILES += $(dist_man1_MANS:.man=.pdf)
|
---|
675 | endif
|
---|
676 |
|
---|
677 | endif
|
---|
678 |
|
---|
679 | if HAS_JSDOC
|
---|
680 | JAVA_SCRIPT_DOC=jsdoc
|
---|
681 | endif
|
---|
682 |
|
---|
683 | $(dist_man1_MANS): $(dist_man1_MANS:.man=)
|
---|
684 | @mkdir -p man
|
---|
685 | $(AM_V_GEN)help2man -N -o $@ -m $(@:.man=) ./$(@:.man=)
|
---|
686 |
|
---|
687 | .man.html: $<
|
---|
688 | $(AM_V_GEN)groff -mandoc `man -w -l $<` -T html > $@
|
---|
689 |
|
---|
690 | .man.pdf: $<
|
---|
691 | $(AM_V_GEN)groff -mandoc `man -w -l $<` | ps2pdf - $@
|
---|
692 |
|
---|
693 | jsdoc:
|
---|
694 | @rm -rf www/dimctrl
|
---|
695 | $(AM_V_GEN)jsdoc -r=2 -d=www/dimctrl scripts | grep -v ^java
|
---|
696 |
|
---|
697 |
|
---|
698 | doc: $(MAN_TARGETS) $(JAVA_SCRIPT_DOC) doxygen-run
|
---|
699 | @ln -sfv doxygen-doc/html/index.html doxygen-doc/html/main.html
|
---|
700 | @mkdir -vp doxygen-doc/html/pdf
|
---|
701 | @mkdir -vp doxygen-doc/html/man
|
---|
702 | @ln -sfv `pwd`/*.pdf doxygen-doc/html/pdf/
|
---|
703 | @ln -sfv `pwd`/*.html doxygen-doc/html/man/
|
---|
704 |
|
---|
705 | diff:
|
---|
706 | @svn diff | $(COLORDIFF)
|
---|
707 |
|
---|
708 | rdiff:
|
---|
709 | @svn diff -r BASE:HEAD . externals | $(COLORDIFF)
|
---|
710 |
|
---|
711 | status:
|
---|
712 | @svn status -u | grep -v ^\?
|
---|
713 |
|
---|
714 | #-------------------------------------------------------------------------
|
---|
715 |
|
---|
716 | # Overwrite rules for silent or other verbosity levels
|
---|
717 | #AM_V_MAN = $(AM_MAN_$(V))
|
---|
718 | #AM_MAN_ = $(AM_V_GEN)
|
---|
719 | #AM_MAN_0 = @echo " MAN "$@;
|
---|
720 |
|
---|
721 | #$(MyAnalysisDS): $(MyAnalysisH) $(MyAnalysisL)
|
---|
722 | # $(ROOTCINT) -f $@ -c -I$(top_builddir)/config $(INCLUDES) $^
|
---|
723 | # rootcint_files=`echo $@ | sed -ne 's/\(.*\)\..*/\1.cxx \1.h/p'` && \
|
---|
724 | # $(top_srcdir)/config/runsed $(top_srcdir)/config/rootcint.sed $$rootcint_files && \
|
---|
725 | # for i in $$rootcint_files; do \
|
---|
726 | # if test ! `diff $$i $(srcdir)/$$i >/dev/null 2>&1`; then \
|
---|
727 | # cp $$i $(srcdir)/; \
|
---|
728 | # fi; \
|
---|
729 | # done
|
---|
730 |
|
---|
731 | #CLEANFILES = *~ *.rej *.orig
|
---|
732 | #MAINTAINERCLEANFILES = aclocal.m4 config.h.in configure Makefile.in \
|
---|
733 | # stamp-h.in stamp-h[0-9].in
|
---|
734 | #DISTCLEANFILES = config.cache config.log
|
---|