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