source: trunk/FACT++/Makefile.am@ 18171

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