2006-05-29 04:59:36 -04: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 18:34:25 -04:00
|
|
|
DOC_MODULE=clutter
|
2006-05-29 04:59:36 -04:00
|
|
|
|
|
|
|
# The top-level SGML file. You can change this if you want to.
|
2006-11-15 18:37:53 -05:00
|
|
|
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
|
2006-05-29 04:59:36 -04: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 11:00:41 -04:00
|
|
|
SCANGOBJ_OPTIONS=--type-init-func="clutter_base_init()"
|
2006-05-29 04:59:36 -04:00
|
|
|
|
|
|
|
# Extra options to supply to gtkdoc-scan.
|
|
|
|
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
|
2007-08-13 13:00:37 -04:00
|
|
|
SCAN_OPTIONS=--deprecated-guards="CLUTTER_DISABLE_DEPRECATED"
|
2006-05-29 04:59:36 -04: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
|
|
|
|
FIXXREF_OPTIONS=
|
|
|
|
|
|
|
|
# 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-03-22 16:23:29 -04:00
|
|
|
HFILE_GLOB=$(top_srcdir)/clutter/*.h $(top_srcdir)/clutter/glx/clutter-glx.h
|
2006-05-29 04:59:36 -04:00
|
|
|
CFILE_GLOB=$(top_srcdir)/clutter/*.c
|
|
|
|
|
|
|
|
# Header files to ignore when scanning.
|
|
|
|
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
|
2006-06-22 08:05:51 -04:00
|
|
|
IGNORE_HFILES=\
|
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 16:27:53 -05:00
|
|
|
clutter-debug.h \
|
2006-06-22 08:05:51 -04:00
|
|
|
clutter-private.h \
|
|
|
|
clutter-marshal.h \
|
|
|
|
clutter-keysyms.h \
|
2007-03-22 16:23:29 -04:00
|
|
|
clutter-keysyms-table.h \
|
2006-11-17 13:45:31 -05:00
|
|
|
clutter-enum-types.h \
|
|
|
|
stamp-clutter-enum-types.h \
|
2006-11-20 07:02:24 -05:00
|
|
|
stamp-clutter-marshal.h \
|
2007-03-27 05:39:00 -04:00
|
|
|
cogl \
|
2007-07-24 13:39:58 -04:00
|
|
|
eglnative \
|
|
|
|
eglx \
|
2007-03-22 16:23:29 -04:00
|
|
|
glx \
|
2007-05-17 08:03:43 -04:00
|
|
|
sdl \
|
2007-03-27 05:39:00 -04:00
|
|
|
pango
|
2006-05-29 04:59:36 -04:00
|
|
|
|
2007-03-22 16:31:53 -04:00
|
|
|
EXTRA_HFILES=\
|
|
|
|
../../clutter/glx/clutter-glx.h
|
|
|
|
|
2006-05-29 04:59:36 -04:00
|
|
|
# Images to copy into HTML directory.
|
|
|
|
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
|
|
|
|
HTML_IMAGES=
|
|
|
|
|
|
|
|
# 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 16:56:40 -04:00
|
|
|
content_files= \
|
|
|
|
subclassing-ClutterActor.sgml \
|
2007-07-26 10:00:20 -04:00
|
|
|
clutter-animation.sgml \
|
2007-06-16 16:56:40 -04:00
|
|
|
version.xml
|
2006-05-29 04:59:36 -04: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 16:56:40 -04:00
|
|
|
expand_content_files= \
|
2007-07-26 10:00:20 -04:00
|
|
|
subclassing-ClutterActor.sgml \
|
|
|
|
clutter-animation.sgml
|
2006-05-29 04:59:36 -04: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 18:34:25 -04:00
|
|
|
|
2006-08-30 09:48:48 -04:00
|
|
|
INCLUDES=-I$(top_srcdir) $(CLUTTER_CFLAGS)
|
2007-03-22 14:21:59 -04:00
|
|
|
GTKDOC_LIBS=$(top_builddir)/clutter/libclutter-@CLUTTER_FLAVOUR@-@CLUTTER_MAJORMINOR@.la $(CLUTTER_LIBS)
|
2006-05-29 04:59:36 -04: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
|
2006-06-21 18:34:25 -04:00
|
|
|
EXTRA_DIST += version.xml.in
|