1## Process this file with automake to produce Makefile.in
2
3abs_top_builddir = @abs_top_builddir@
4
5# We require automake 1.6 at least.
6AUTOMAKE_OPTIONS = 1.6
7
8# The name of the module, e.g. 'glib'.
9DOC_MODULE=telepathy-farstream
10
11# The top-level SGML file. You can change this if you want to.
12DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
13
14# The directory containing the source code. Relative to $(srcdir).
15# gtk-doc will search all .c & .h files beneath here for inline comments
16# documenting the functions and macros.
17# e.g. DOC_SOURCE_DIR=../../../gtk
18DOC_SOURCE_DIR=$(abs_top_srcdir)/telepathy-farstream
19
20# Extra options to pass to gtkdoc-scangobj. Not normally needed.
21SCANGOBJ_OPTIONS=
22
23# Extra options to supply to gtkdoc-scan.
24# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
25SCAN_OPTIONS=
26
27# Extra options to supply to gtkdoc-mkdb.
28# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
29MKDB_OPTIONS=--sgml-mode --output-format=xml
30
31# Extra options to supply to gtkdoc-mktmpl
32# e.g. MKTMPL_OPTIONS=--only-section-tmpl
33MKTMPL_OPTIONS=
34
35# Extra options to supply to gtkdoc-fixref. Not normally needed.
36# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
37FIXXREF_OPTIONS=
38
39# Used for dependencies. The docs will be rebuilt if any of these change.
40# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
41# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
42HFILE_GLOB=$(top_srcdir)/telepathy-farstream/channel.h $(top_srcdir)/telepathy-farstream/content.h
43CFILE_GLOB=$(top_srcdir)/telepathy-farstream/channel.c $(top_srcdir)/telepathy-farstream/content.c
44
45# Header files to ignore when scanning.
46# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
47IGNORE_HFILES=channel-priv.h content-priv.h session-priv.h stream-priv.h \
48  stream.h call-channel.h call-content.h call-stream.h \
49  media-signalling-channel.h media-signalling-content.h utils.h
50
51# Images to copy into HTML directory.
52# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
53HTML_IMAGES=
54
55# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
56# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
57content_files=
58
59# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
60# These files must be listed here *and* in content_files
61# e.g. expand_content_files=running.sgml
62expand_content_files=
63
64# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
65# Only needed if you are using gtkdoc-scangobj to dynamically query widget
66# signals and properties.
67# e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
68# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
69AM_CPPFLAGS = \
70	$(GLIB_CFLAGS) \
71	$(DBUS_CFLAGS) \
72	$(X11_CFLAGS) \
73	$(GST_CFLAGS) \
74	$(GST_INTERFACES_CFLAGS) \
75	$(FARSTREAM_CFLAGS) \
76	$(TELEPATHY_CFLAGS) \
77	-I$(top_srcdir) -I$(top_builddir)
78GTKDOC_LIBS= \
79	$(GLIB_LIBS) \
80	$(DBUS_LIBS) \
81	$(X11_LIBS) \
82	$(GST_LIBS) \
83	$(GST_INTERFACES_LIBS) \
84	$(TELEPATHY_LIBS) \
85	$(FARSTREAM_LIBS) \
86	$(top_builddir)/telepathy-farstream/libtelepathy-farstream.la
87
88# This includes the standard gtk-doc make rules, copied by gtkdocize.
89include $(top_srcdir)/gtk-doc.make
90
91if ENABLE_GTK_DOC
92check-local:
93	@if grep '^0 symbols incomplete' \
94		$(top_builddir)/doc/lib/telepathy-farstream-undocumented.txt; then\
95		:; else \
96		cat $(top_builddir)/doc/lib/telepathy-farstream-undocumented.txt; exit 1; fi
97	@if grep '^0 not documented' \
98		$(top_builddir)/doc/lib/telepathy-farstream-undocumented.txt; then\
99		:; else \
100		cat $(top_builddir)/doc/lib/telepathy-farstream-undocumented.txt; exit 1; fi
101	@if grep . $(top_builddir)/doc/lib/telepathy-farstream-unused.txt; then\
102		echo "^^^ Unused symbols" >&2; exit 1; fi
103	@if test -e $(top_builddir)/doc/lib/telepathy-farstream-undeclared.txt &&\
104		grep . $(top_builddir)/doc/lib/telepathy-farstream-undeclared.txt; then\
105		echo "^^^ Undeclared symbols" >&2; exit 1; fi
106endif
107