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