1
## Process this file with automake to produce Makefile.in
3
# We require automake 1.6 at least.
6
# This is a blank Makefile.am for using gtk-doc.
7
# Copy this to your project's API docs directory and modify the variables to
8
# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
9
# of using the various options.
11
# The name of the module, e.g. 'glib'.
14
# The top-level SGML file. You can change this if you want to.
15
DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
17
# The directory containing the source code. Relative to $(srcdir).
18
# gtk-doc will search all .c & .h files beneath here for inline comments
19
# documenting the functions and macros.
20
# e.g. DOC_SOURCE_DIR=../../../gtk
21
DOC_SOURCE_DIR = $(top_srcdir)/gst-libs/gst/vaapi
23
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
24
SCANGOBJ_OPTIONS = --type-init-func="g_type_init()"
26
# List files used by scanobj
27
SCANOBJ_TYPES = $(srcdir)/$(DOC_MODULE).core.types
28
SCANOBJ_TYPES += $(srcdir)/$(DOC_MODULE).x11.types
30
SCANOBJ_TYPES += $(srcdir)/$(DOC_MODULE).glx.types
33
# Extra options to supply to gtkdoc-scan.
34
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
35
SCAN_OPTIONS = --deprecated-guards="GST_VAAPI_DISABLE_DEPRECATED"
37
# Extra options to supply to gtkdoc-mkdb.
38
# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
39
MKDB_OPTIONS = --sgml-mode --output-format=xml --name-space=$(DOC_MODULE)
41
# Extra options to supply to gtkdoc-mktmpl
42
# e.g. MKTMPL_OPTIONS=--only-section-tmpl
45
# Extra options to supply to gtkdoc-fixref. Not normally needed.
46
# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
48
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
49
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
50
--extra-dir=$(CAIRO_PREFIX)/share/gtk-doc/html/cairo \
51
--extra-dir=$(PANGO_PREFIX)/share/gtk-doc/html/pango
53
# Used for dependencies. The docs will be rebuilt if any of these change.
54
# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
55
# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
56
HFILE_GLOB = $(top_srcdir)/gst-libs/gst/vaapi/*.h
57
CFILE_GLOB = $(top_srcdir)/gst-libs/gst/vaapi/*.c $(srcdir)/$(DOC_MODULE).types
59
# Header files to ignore when scanning.
60
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
65
gstvaapidecoder_priv.h \
66
gstvaapidisplay_priv.h \
67
gstvaapidisplay_glx_priv.h \
68
gstvaapidisplay_x11_priv.h \
70
gstvaapiobject_priv.h \
81
# Images to copy into HTML directory.
82
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
86
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
87
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
91
# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
92
# These files must be listed here *and* in content_files
93
# e.g. expand_content_files=running.sgml
94
expand_content_files = \
97
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
98
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
99
# signals and properties.
100
# e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
101
# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
107
-I$(top_srcdir)/gst-libs \
108
-I$(top_srcdir)/gst-libs/gst/vaapi
113
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-$(GST_MAJORMINOR).la
116
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-x11-$(GST_MAJORMINOR).la
120
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-glx-$(GST_MAJORMINOR).la
123
$(srcdir)/$(DOC_MODULE).types: $(SCANOBJ_TYPES)
124
cat $(SCANOBJ_TYPES) > $@
126
# This includes the standard gtk-doc make rules, copied by gtkdocize.
127
include $(top_srcdir)/gtk-doc.make
129
# Other files to distribute
130
# e.g. EXTRA_DIST += version.xml.in
138
DISTCLEANFILES = $(srcdir)/$(DOC_MODULE).types
139
BUILT_SOURCES = $(srcdir)/$(DOC_MODULE).types
141
# Extra clean files so that maintainer-clean removes *everything*
142
MAINTAINERCLEANFILES = Makefile.in lib-docs.xml