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