This URL has Read-Only access.

Statistics
| Branch: | Tag: | Revision:

root / Makefile.am @ 2eb8ec17

History | View | Annotate | Download (1.5 kB)

1
# "foreign" means not GNU, and is common for avoiding boring messages about files organized differently from what gnu expects
2
AUTOMAKE_OPTIONS = foreign
3

    
4
ACLOCAL_AMFLAGS = -I m4
5

    
6
SUBDIRS = src
7

    
8
man_MANS = spinserver.1 spinviewer.1 
9
MAN_TEXT_FILES=man-spinserver.txt man-spinviewer.txt
10
EXTRA_DIST = README LICENSE $(man_MANS) $(MAN_TEXT_FILES)
11

    
12
MAINTAINERCLEANFILES = $(man_MANS)
13

    
14
# The man pages depend on the --help strings and the version number.
15
common_mandeps = $(top_srcdir)/configure.ac
16

    
17
# Depend on the source, not the binary; we don't need to regenerate the
18
# binary when any source file changes, only the main one.
19
# Use -o so that the `missing' program can infer the output file.
20
spinserver.1: $(top_srcdir)/src/spin/spinServer.cpp $(common_mandeps) $(top_srcdir)/man-spinserver.txt
21
	$(HELP2MAN) --include=man-spinserver.txt --name="server for the SPIN Framework" --no-info $(top_builddir)/src/spin/spinserver -o $@
22

    
23
spinviewer.1: $(top_srcdir)/src/spin/spinViewer.cpp $(common_mandeps) $(top_srcdir)/man-spinviewer.txt
24
	$(HELP2MAN) --include=man-spinviewer.txt --name="3D viewer for the SPIN Framework" --no-info $(top_builddir)/src/spin/spinviewer -o $@
25

    
26
wrappers:
27
	@echo ""; \
28
	echo ">>>>>>>>>>>>>>>>>>>>> Generating osgWrappers <<<<<<<<<<<<<<<<<<<<<"; \
29
	$(MAKE) -C src/osgWrappers wrappers
30

    
31
doc:
32
	@echo ""; \
33
	echo ">>>>>>>>>>>>>>>>>>>>> Generating Documentation <<<<<<<<<<<<<<<<<<<<<"; \
34
	doxygen ./doxygen_config        
35
	$(MAKE) -C src/spin doc
36

    
37
INCLUDES = src/tinyxml
38