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