~ubuntu-branches/ubuntu/vivid/gstreamer-vaapi/vivid

« back to all changes in this revision

Viewing changes to .pc/drop-g-type.patch/docs/reference/libs/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs
  • Date: 2013-11-21 15:38:50 UTC
  • Revision ID: package-import@ubuntu.com-20131121153850-gyxqtuze06pj933d
Tags: 0.3.6-0ubuntu5
* Disable building ffmpeg bindings.
* Do not pass g_type_init() when generating docs.
* Drop ffmpeg from the docs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to produce Makefile.in
 
2
 
 
3
# We require automake 1.6 at least.
 
4
AUTOMAKE_OPTIONS = 1.6
 
5
 
 
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.
 
10
 
 
11
# The name of the module, e.g. 'glib'.
 
12
DOC_MODULE = libs
 
13
 
 
14
# The top-level SGML file. You can change this if you want to.
 
15
DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
 
16
 
 
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
 
22
 
 
23
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
 
24
SCANGOBJ_OPTIONS = --type-init-func="g_type_init()"
 
25
 
 
26
# List files used by scanobj
 
27
SCANOBJ_TYPES  = $(srcdir)/$(DOC_MODULE).core.types
 
28
SCANOBJ_TYPES += $(srcdir)/$(DOC_MODULE).x11.types
 
29
if USE_GLX
 
30
SCANOBJ_TYPES += $(srcdir)/$(DOC_MODULE).glx.types
 
31
endif
 
32
 
 
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"
 
36
 
 
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)
 
40
 
 
41
# Extra options to supply to gtkdoc-mktmpl
 
42
# e.g. MKTMPL_OPTIONS=--only-section-tmpl
 
43
MKTMPL_OPTIONS =
 
44
 
 
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
 
47
FIXXREF_OPTIONS = \
 
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
 
52
 
 
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
 
58
 
 
59
# Header files to ignore when scanning.
 
60
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
 
61
IGNORE_HFILES = \
 
62
        gstvaapi_priv.h \
 
63
        gstvaapicompat.h \
 
64
        gstvaapidebug.h \
 
65
        gstvaapidecoder_priv.h \
 
66
        gstvaapidisplay_priv.h \
 
67
        gstvaapidisplay_glx_priv.h \
 
68
        gstvaapidisplay_x11_priv.h \
 
69
        gstvaapimarshal.h \
 
70
        gstvaapiobject_priv.h \
 
71
        gstvaapiutils.h \
 
72
        gstvaapiutils_glx.h \
 
73
        gstvaapiutils_gst.h \
 
74
        gstvaapiutils_x11.h \
 
75
        $(NULL)
 
76
 
 
77
EXTRA_HFILES = \
 
78
        gstvaapimarshal.c \
 
79
        $(NULL)
 
80
 
 
81
# Images to copy into HTML directory.
 
82
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
 
83
HTML_IMAGES = \
 
84
        $(NULL)
 
85
 
 
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
 
88
content_files = \
 
89
        $(NULL)
 
90
 
 
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 = \
 
95
        $(NULL)
 
96
 
 
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)
 
102
 
 
103
INCLUDES = \
 
104
        $(GLIB_CFLAGS) \
 
105
        $(GST_CFLAGS) \
 
106
        -I$(top_srcdir) \
 
107
        -I$(top_srcdir)/gst-libs \
 
108
        -I$(top_srcdir)/gst-libs/gst/vaapi
 
109
 
 
110
GTKDOC_LIBS = \
 
111
        $(GLIB_LIBS) \
 
112
        $(GST_LIBS) \
 
113
        $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-$(GST_MAJORMINOR).la
 
114
 
 
115
GTKDOC_LIBS += \
 
116
        $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-x11-$(GST_MAJORMINOR).la
 
117
 
 
118
if USE_GLX
 
119
GTKDOC_LIBS += \
 
120
        $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-glx-$(GST_MAJORMINOR).la
 
121
endif
 
122
 
 
123
$(srcdir)/$(DOC_MODULE).types: $(SCANOBJ_TYPES)
 
124
        cat $(SCANOBJ_TYPES) > $@
 
125
 
 
126
# This includes the standard gtk-doc make rules, copied by gtkdocize.
 
127
include $(top_srcdir)/gtk-doc.make
 
128
 
 
129
# Other files to distribute
 
130
# e.g. EXTRA_DIST += version.xml.in
 
131
EXTRA_DIST += \
 
132
        libs-docs.xml.in \
 
133
        libs.core.types \
 
134
        libs.x11.types \
 
135
        libs.glx.types \
 
136
        $(NULL)
 
137
 
 
138
DISTCLEANFILES = $(srcdir)/$(DOC_MODULE).types
 
139
BUILT_SOURCES  = $(srcdir)/$(DOC_MODULE).types
 
140
 
 
141
# Extra clean files so that maintainer-clean removes *everything*
 
142
MAINTAINERCLEANFILES = Makefile.in lib-docs.xml