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

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