2006-05-29 08:59:36 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
|
|
|
# We require automake 1.6 at least.
|
|
|
|
AUTOMAKE_OPTIONS = 1.6
|
|
|
|
|
|
|
|
# This is a blank Makefile.am for using gtk-doc.
|
|
|
|
# Copy this to your project's API docs directory and modify the variables to
|
|
|
|
# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
|
|
|
|
# of using the various options.
|
|
|
|
|
|
|
|
# The name of the module, e.g. 'glib'.
|
2006-06-21 22:34:25 +00:00
|
|
|
DOC_MODULE=clutter
|
2006-05-29 08:59:36 +00:00
|
|
|
|
|
|
|
# The top-level SGML file. You can change this if you want to.
|
2006-11-15 23:37:53 +00:00
|
|
|
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
|
2006-05-29 08:59:36 +00:00
|
|
|
|
|
|
|
# The directory containing the source code. Relative to $(srcdir).
|
|
|
|
# gtk-doc will search all .c & .h files beneath here for inline comments
|
|
|
|
# documenting the functions and macros.
|
|
|
|
# e.g. DOC_SOURCE_DIR=../../../gtk
|
|
|
|
DOC_SOURCE_DIR=../../clutter
|
|
|
|
|
|
|
|
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
|
2007-05-16 15:00:41 +00:00
|
|
|
SCANGOBJ_OPTIONS=--type-init-func="clutter_base_init()"
|
2006-05-29 08:59:36 +00:00
|
|
|
|
|
|
|
# Extra options to supply to gtkdoc-scan.
|
|
|
|
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
|
2007-08-13 17:00:37 +00:00
|
|
|
SCAN_OPTIONS=--deprecated-guards="CLUTTER_DISABLE_DEPRECATED"
|
2006-05-29 08:59:36 +00:00
|
|
|
|
|
|
|
# Extra options to supply to gtkdoc-mkdb.
|
|
|
|
# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
|
|
|
|
MKDB_OPTIONS=--sgml-mode --output-format=xml
|
|
|
|
|
|
|
|
# Extra options to supply to gtkdoc-mktmpl
|
|
|
|
# e.g. MKTMPL_OPTIONS=--only-section-tmpl
|
|
|
|
MKTMPL_OPTIONS=
|
|
|
|
|
|
|
|
# Extra options to supply to gtkdoc-fixref. Not normally needed.
|
|
|
|
# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
|
2008-02-08 13:39:35 +00:00
|
|
|
FIXXREF_OPTIONS=\
|
|
|
|
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
|
|
|
|
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
|
|
|
|
--extra-dir=$(PANGO_PREFIX)/share/gtk-doc/html/pango \
|
|
|
|
--extra-dir=$(GDPIXBUF_PREFIX)/share/gtk-doc/html/gdk-pixbuf
|
2006-05-29 08:59:36 +00:00
|
|
|
|
|
|
|
# Used for dependencies. The docs will be rebuilt if any of these change.
|
|
|
|
# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
|
|
|
|
# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
|
2007-11-15 17:35:47 +00:00
|
|
|
HFILE_GLOB=$(top_srcdir)/clutter/*.h \
|
|
|
|
$(top_srcdir)/clutter/x11/clutter-x11.h
|
2006-05-29 08:59:36 +00:00
|
|
|
CFILE_GLOB=$(top_srcdir)/clutter/*.c
|
|
|
|
|
|
|
|
# Header files to ignore when scanning.
|
|
|
|
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
|
2006-06-22 12:05:51 +00:00
|
|
|
IGNORE_HFILES=\
|
2007-11-18 15:41:47 +00:00
|
|
|
clutter.h \
|
2006-11-21 Emmanuele Bassi <ebassi@openedhand.com>
* configure.ac: Enable debug messages also when
--enable-debug is set to "minimum".
* clutter/Makefile.am:
* clutter/clutter-debug.h: Move all debugging macros inside
this private header; make all debug macros depend on the
CLUTTER_ENABLE_DEBUG compile time define, controlled by
the --enable-debug configure switch; add G_LOG_DOMAIN define.
* clutter/clutter-main.c: Clean up the debug stuff; add
command line argument parsing using GOption; the debug
messages now are triggered like this:
CLUTTER_DEBUG=section:section:... clutter-app
or like this:
clutter-app --clutter-debug=section:section:...
where "section" is one of the sections listed in clutter-main.c,
or "all", for all sections; each section is bound to a flag,
which can be used to define a domain when adding a debug note
using the CLUTTER_NOTE() macro; the old CLUTTER_DBG() macro is
just a wrapper around that, under the CLUTTER_DEBUG_MISC domain;
CLUTTER_NOTE() is used like this:
CLUTTER_NOTE (DOMAIN, log-function);
where log function is g_printerr(), g_message(), g_warning(),
g_critical() or directly g_log() - for instance:
CLUTTER_NOTE (PANGO, g_warning ("Cache miss: %d", glyph));
will print the warning only if the "pango" flag has been
set to the CLUTTER_DEBUG envvar or passed to the --clutter-debug
command line argument.
similar to CLUTTER_SHOW_FPS, there's also the --clutter-show-fps
command line switch; also, the --display and --screen command
line switches have been added: the first overrides the DISPLAY
envvar and the second controls the X screen used by Clutter to
get the root window on the display.
* clutter/clutter-main.h:
* clutter/clutter-main.c: Add extended support for GOption
in Clutter; use clutter_init_with_args() to let Clutter
parse your own command line arguments; use instead
clutter_get_option_group() to get the GOptionGroup used by
Clutter if you want to do the parsing yourself with
g_option_context_parse(). The init sequence has been verified,
updated and moved into common functions where possible.
* clutter/pango/pangoclutter-render.c:
* clutter/*.c: Include "clutter-debug.h" where needed; use
CLUTTER_NOTE() instead of CLUTTER_DBG().
* examples/super-oh.c: Use the new clutter_init_with_args()
function, and add a --num-hands command line switch to
the SuperOH example code controlling the number of hands at
runtime.
2006-11-21 21:27:53 +00:00
|
|
|
clutter-debug.h \
|
2007-12-14 17:25:55 +00:00
|
|
|
clutter-deprecated.h \
|
|
|
|
clutter-enum-types.h \
|
|
|
|
clutter-json.h \
|
2006-06-22 12:05:51 +00:00
|
|
|
clutter-keysyms.h \
|
2007-03-22 20:23:29 +00:00
|
|
|
clutter-keysyms-table.h \
|
2007-12-14 17:25:55 +00:00
|
|
|
clutter-marshal.h \
|
2008-01-09 14:18:53 +00:00
|
|
|
clutter-model-private.h \
|
2007-12-14 17:25:55 +00:00
|
|
|
clutter-private.h \
|
2007-10-10 10:42:19 +00:00
|
|
|
clutter-script-private.h \
|
2006-11-17 18:45:31 +00:00
|
|
|
stamp-clutter-enum-types.h \
|
2006-11-20 12:02:24 +00:00
|
|
|
stamp-clutter-marshal.h \
|
2007-03-27 09:39:00 +00:00
|
|
|
cogl \
|
2007-07-24 17:39:58 +00:00
|
|
|
eglnative \
|
|
|
|
eglx \
|
2007-03-22 20:23:29 +00:00
|
|
|
glx \
|
2007-11-15 17:35:47 +00:00
|
|
|
osx \
|
|
|
|
x11 \
|
2007-10-08 15:03:22 +00:00
|
|
|
json \
|
|
|
|
pango \
|
|
|
|
sdl
|
2006-05-29 08:59:36 +00:00
|
|
|
|
2007-03-22 20:31:53 +00:00
|
|
|
EXTRA_HFILES=\
|
2007-11-18 15:41:47 +00:00
|
|
|
../../clutter/x11/clutter-x11.h
|
2007-03-22 20:31:53 +00:00
|
|
|
|
2006-05-29 08:59:36 +00:00
|
|
|
# Images to copy into HTML directory.
|
|
|
|
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
|
2008-02-08 13:51:24 +00:00
|
|
|
HTML_IMAGES=\
|
2008-02-08 16:12:58 +00:00
|
|
|
actor-box.png \
|
2008-02-08 13:51:24 +00:00
|
|
|
alpha-func.png \
|
|
|
|
event-flow.png \
|
|
|
|
path-alpha-func.png
|
2006-05-29 08:59:36 +00:00
|
|
|
|
|
|
|
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
|
|
|
|
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
|
2007-06-16 20:56:40 +00:00
|
|
|
content_files= \
|
|
|
|
subclassing-ClutterActor.sgml \
|
2007-07-26 14:00:20 +00:00
|
|
|
clutter-animation.sgml \
|
2008-02-13 16:46:07 +00:00
|
|
|
creating-your-own-behaviours.sgml \
|
2007-06-16 20:56:40 +00:00
|
|
|
version.xml
|
2006-05-29 08:59:36 +00:00
|
|
|
|
|
|
|
# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
|
|
|
|
# These files must be listed here *and* in content_files
|
|
|
|
# e.g. expand_content_files=running.sgml
|
2007-06-16 20:56:40 +00:00
|
|
|
expand_content_files= \
|
2007-07-26 14:00:20 +00:00
|
|
|
subclassing-ClutterActor.sgml \
|
2008-02-13 16:46:07 +00:00
|
|
|
clutter-animation.sgml \
|
|
|
|
creating-your-own-behaviours.sgml
|
2006-05-29 08:59:36 +00:00
|
|
|
|
|
|
|
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
|
|
|
|
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
|
|
|
|
# signals and properties.
|
|
|
|
# e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
|
|
|
|
# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
|
2006-06-21 22:34:25 +00:00
|
|
|
|
2006-08-30 13:48:48 +00:00
|
|
|
INCLUDES=-I$(top_srcdir) $(CLUTTER_CFLAGS)
|
2007-03-22 18:21:59 +00:00
|
|
|
GTKDOC_LIBS=$(top_builddir)/clutter/libclutter-@CLUTTER_FLAVOUR@-@CLUTTER_MAJORMINOR@.la $(CLUTTER_LIBS)
|
2006-05-29 08:59:36 +00:00
|
|
|
|
|
|
|
# This includes the standard gtk-doc make rules, copied by gtkdocize.
|
|
|
|
include $(top_srcdir)/gtk-doc.make
|
|
|
|
|
|
|
|
# Other files to distribute
|
|
|
|
# e.g. EXTRA_DIST += version.xml.in
|
2008-02-08 13:51:24 +00:00
|
|
|
EXTRA_DIST += \
|
|
|
|
version.xml.in \
|
2008-02-08 16:12:58 +00:00
|
|
|
actor-box.png \
|
2008-02-08 13:51:24 +00:00
|
|
|
alpha-func.png \
|
|
|
|
event-flow.png \
|
|
|
|
path-alpha-func.png
|