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'.
12 DOC_MODULE=cogl-2.0-experimental
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=../../../cogl
23 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
24 SCANGOBJ_OPTIONS=--type-init-func="g_type_init()"
26 # Extra options to supply to gtkdoc-scan.
27 # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
28 SCAN_OPTIONS=--deprecated-guards="COGL_DISABLE_DEPRECATED"
30 # Extra options to supply to gtkdoc-mkdb.
31 # e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
32 MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=cogl
34 # Extra options to supply to gtkdoc-mktmpl
35 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
38 # Extra options to supply to gtkdoc-fixref. Not normally needed.
39 # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
41 --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
42 --extra-dir=$(GDPIXBUF_PREFIX)/share/gtk-doc/html/gdk-pixbuf
44 # Used for dependencies. The docs will be rebuilt if any of these change.
45 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
46 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
48 $(top_srcdir)/cogl/*.h \
49 $(top_builddir)/cogl/*.h \
50 $(top_srcdir)/cogl/winsys/*.h
51 CFILE_GLOB=$(top_srcdir)/cogl/*.c
53 # Header files to ignore when scanning.
54 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
57 cogl-atlas-texture-private.h \
58 cogl-bitmap-private.h \
59 cogl-buffer-private.h \
60 cogl-color-private.h \
61 cogl-feature-private.h \
62 cogl-framebuffer-private.h \
63 cogl-onscreen-private.h \
64 cogl-gtype-private.h \
65 cogl-index-array-private.h \
66 cogl-indices-private.h \
67 cogl-journal-private.h \
68 cogl-material-compat.h \
69 cogl-matrix-private.h \
70 cogl-object-private.h \
73 cogl-depth-state-private.h \
74 cogl-pipeline-fragend-arbfp-private.h \
75 cogl-pipeline-fragend-fixed-private.h \
76 cogl-pipeline-fragend-glsl-private.h \
77 cogl-pipeline-opengl-private.h \
78 cogl-pipeline-private.h \
79 cogl-pipeline-state-private.h \
80 cogl-pipeline-layer-state-private.h \
81 cogl-pipeline-progend-glsl-private.h \
82 cogl-pipeline-vertend-fixed-private.h \
83 cogl-pipeline-vertend-glsl-private.h \
84 cogl-pixel-array-private.h \
85 cogl-primitive-private.h \
86 cogl-primitives-private.h \
88 cogl-program-private.h \
90 cogl-shader-private.h \
92 cogl-snippet-private.h \
93 cogl-sub-texture-private.h \
94 cogl-texture-2d-private.h \
95 cogl-texture-2d-sliced-private.h \
96 cogl-texture-3d-private.h \
97 cogl-texture-private.h \
98 cogl-texture-rectangle-private.h \
99 cogl-vertex-buffer.h \
100 cogl-vertex-array-private.h \
101 cogl-vertex-attribute-private.h \
102 cogl-vertex-buffer-private.h \
103 cogl-blend-string.h \
111 cogl-matrix-stack.h \
120 # Images to copy into HTML directory.
121 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
123 fill-rule-non-zero.png \
124 fill-rule-even-odd.png \
125 quad-indices-order.png \
126 quad-indices-triangles.png \
129 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
130 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
134 # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
135 # These files must be listed here *and* in content_files
136 # e.g. expand_content_files=running.sgml
137 expand_content_files = \
140 # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
141 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
142 # signals and properties.
143 # e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
144 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
146 INCLUDES=-I$(top_srcdir) -I$(top_builddir)/cogl -DCOGL_ENABLE_EXPERIMENTAL_API $(COGL_DEP_CFLAGS)
147 GTKDOC_LIBS=$(top_builddir)/cogl/libcogl.la $(COGL_DEP_LIBS)
149 # This includes the standard gtk-doc make rules, copied by gtkdocize.
151 include $(top_srcdir)/gtk-doc.make
156 # Other files to distribute
157 # e.g. EXTRA_DIST += version.xml.in
159 EXTRA_DIST += $(HTML_IMAGES) $(content_files)