2008-04-25 13:37: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'.
|
|
|
|
DOC_MODULE=clutter
|
|
|
|
|
|
|
|
# The top-level SGML file. You can change this if you want to.
|
2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com>
Bug 1014 - Clutter Animation API Improvements
* clutter/Makefile.am:
* clutter/clutter.h: Update the build
* clutter/clutter-types.h: Add AnimationMode, an enumeration
for easing functions.
* clutter/clutter-alpha.[ch]: Add the :mode property to
control the function bound to an Alpha instance using an
enumeration value. Also add six new alpha functions:
- ease-in, ease-out, ease-in-out
- sine-in, sine-out, sine-in-out
* clutter/clutter-deprecated.h: Deprecate the #defines for
the alpha functions. They will be replaced by entries in the
ClutterAnimationMode.
* clutter/clutter-interval.[ch]: Add ClutterInterval, an
object for defining, validating and computing an interval
between two values.
* clutter/clutter-animation.[ch]: Add ClutterAnimation, an
object responsible for animation the properties of a single
actor along an interval of values. ClutterAnimation memory
management is automatic. A simple wrapper method for
ClutterActor is provided:
clutter_actor_animate()
which will create, or update, an animation for the passed
actor.
* clutter/clutter-debug.h:
* clutter/clutter-main.c: Add a new 'animation' debug note.
* clutter/clutter-script.c: Clean up the alpha functions
whitelist, and add the new functions.
* doc/reference/clutter/Makefile.am:
* doc/reference/clutter/clutter-sections.txt: Update the
API reference.
* doc/reference/clutter/clutter-animation.xml: Renamed to
doc/reference/clutter/clutter-animation-tutorial.xml to
avoid clashes with the ClutterAnimation section.
* doc/reference/clutter/clutter-docs.sgml: Renamed to
doc/reference/clutter/clutter-docs.xml, as it was an XML
file and not a SGML file.
* tests/Makefile.am:
* tests/interactive/Makefile.am:
* tests/interactive/test-animation.c:
* tests/interactive/test-easing.c: Add two tests for the
new simple animation API and the easing functions.
* tests/interactive/test-actors.c:
* tests/interactive/test-behave.c:
* tests/interactive/test-depth.c:
* tests/interactive/test-effects.c:
* tests/interactive/test-layout.c:
* tests/interactive/test-multistage.c:
* tests/interactive/test-paint-wrapper.c:
* tests/interactive/test-rotate.c:
* tests/interactive/test-scale.c:
* tests/interactive/test-texture-quality.c:
* tests/interactive/test-threads.c:
* tests/interactive/test-viewport.c: Update interactive tests
to the deprecations and new alpha API.
2008-11-18 09:50:03 +00:00
|
|
|
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
|
2008-04-25 13:37: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.
|
|
|
|
SCANGOBJ_OPTIONS=--type-init-func="clutter_base_init()"
|
|
|
|
|
|
|
|
# Extra options to supply to gtkdoc-scan.
|
Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys
As part of an incremental process to have Cogl be a standalone project we
want to re-consider how we organise the Cogl source code.
Currently this is the structure I'm aiming for:
cogl/
cogl/
<put common source here>
winsys/
cogl-glx.c
cogl-wgl.c
driver/
gl/
gles/
os/ ?
utils/
cogl-fixed
cogl-matrix-stack?
cogl-journal?
cogl-primitives?
pango/
The new winsys component is a starting point for migrating window system
code (i.e. x11,glx,wgl,osx,egl etc) from Clutter to Cogl.
The utils/ and pango/ directories aren't added by this commit, but they are
noted because I plan to add them soon.
Overview of the planned structure:
* The winsys/ API is the API that binds OpenGL to a specific window system,
be that X11 or win32 etc. Example are glx, wgl and egl. Much of the logic
under clutter/{glx,osx,win32 etc} should migrate here.
* Note there is also the idea of a winsys-base that may represent a window
system for which there are multiple winsys APIs. An example of this is
x11, since glx and egl may both be used with x11. (currently only Clutter
has the idea of a winsys-base)
* The driver/ represents a specific varient of OpenGL. Currently we have "gl"
representing OpenGL 1.4-2.1 (mostly fixed function) and "gles" representing
GLES 1.1 (fixed funciton) and 2.0 (fully shader based)
* Everything under cogl/ should fundamentally be supporting access to the
GPU. Essentially Cogl's most basic requirement is to provide a nice GPU
Graphics API and drawing a line between this and the utility functionality
we add to support Clutter should help keep this lean and maintainable.
* Code under utils/ as suggested builds on cogl/ adding more convenient
APIs or mechanism to optimize special cases. Broadly speaking you can
compare cogl/ to OpenGL and utils/ to GLU.
* clutter/pango will be moved to clutter/cogl/pango
How some of the internal configure.ac/pkg-config terminology has changed:
backendextra -> CLUTTER_WINSYS_BASE # e.g. "x11"
backendextralib -> CLUTTER_WINSYS_BASE_LIB # e.g. "x11/libclutter-x11.la"
clutterbackend -> {CLUTTER,COGL}_WINSYS # e.g. "glx"
CLUTTER_FLAVOUR -> {CLUTTER,COGL}_WINSYS
clutterbackendlib -> CLUTTER_WINSYS_LIB
CLUTTER_COGL -> COGL_DRIVER # e.g. "gl"
Note: The CLUTTER_FLAVOUR and CLUTTER_COGL defines are kept for apps
As the first thing to take advantage of the new winsys component in Cogl;
cogl_get_proc_address() has been moved from cogl/{gl,gles}/cogl.c into
cogl/common/cogl.c and this common implementation first trys
_cogl_winsys_get_proc_address() but if that fails then it falls back to
gmodule.
2009-07-28 01:02:02 +00:00
|
|
|
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
|
2008-04-25 13:37:36 +00:00
|
|
|
SCAN_OPTIONS=--deprecated-guards="CLUTTER_DISABLE_DEPRECATED"
|
|
|
|
|
|
|
|
# Extra options to supply to gtkdoc-mkdb.
|
|
|
|
# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
|
2009-02-20 11:58:04 +00:00
|
|
|
MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=clutter
|
2008-04-25 13:37:36 +00:00
|
|
|
|
|
|
|
# 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=\
|
2010-05-20 11:03:47 +00:00
|
|
|
--extra-dir=../cogl/html \
|
2008-04-25 13:37:36 +00:00
|
|
|
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
|
2009-09-09 15:15:54 +00:00
|
|
|
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
|
|
|
|
--extra-dir=$(CAIRO_PREFIX)/share/gtk-doc/html/cairo \
|
|
|
|
--extra-dir=$(PANGO_PREFIX)/share/gtk-doc/html/pango
|
2008-04-25 13:37: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
|
|
|
|
HFILE_GLOB=$(top_srcdir)/clutter/*.h \
|
2010-06-30 14:50:47 +00:00
|
|
|
$(top_builddir)/clutter/*.h \
|
2008-04-25 13:37:36 +00:00
|
|
|
$(top_srcdir)/clutter/x11/clutter-x11.h \
|
2009-03-18 17:06:56 +00:00
|
|
|
$(top_srcdir)/clutter/x11/clutter-x11-texture-pixmap.h \
|
|
|
|
$(top_srcdir)/clutter/glx/clutter-glx-texture-pixmap.h \
|
2010-06-18 03:38:43 +00:00
|
|
|
$(top_srcdir)/clutter/egl/clutter-egl.h \
|
2008-04-25 13:37:36 +00:00
|
|
|
$(top_srcdir)/clutter/win32/clutter-win32.h
|
2009-03-18 17:06:56 +00:00
|
|
|
CFILE_GLOB=$(top_srcdir)/clutter/*.c \
|
|
|
|
$(top_srcdir)/clutter/x11/*.c \
|
|
|
|
$(top_srcdir)/clutter/glx/*.c \
|
|
|
|
$(top_srcdir)/clutter/win32/*.c \
|
2010-06-18 03:38:43 +00:00
|
|
|
$(top_srcdir)/clutter/egl/*.c
|
2008-04-25 13:37:36 +00:00
|
|
|
|
|
|
|
# Header files to ignore when scanning.
|
|
|
|
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
|
|
|
|
IGNORE_HFILES=\
|
2010-01-15 14:47:20 +00:00
|
|
|
clutter.h \
|
2010-05-19 15:10:05 +00:00
|
|
|
clutter-actor-meta-private.h \
|
2010-01-15 14:47:20 +00:00
|
|
|
clutter-bezier.h \
|
|
|
|
clutter-debug.h \
|
|
|
|
clutter-deprecated.h \
|
|
|
|
clutter-enum-types.h \
|
|
|
|
clutter-id-pool.h \
|
|
|
|
clutter-json.h \
|
|
|
|
clutter-keysyms.h \
|
|
|
|
clutter-keysyms-table.h \
|
|
|
|
clutter-marshal.h \
|
|
|
|
clutter-master-clock.h \
|
|
|
|
clutter-model-private.h \
|
|
|
|
clutter-private.h \
|
|
|
|
clutter-profile.h \
|
|
|
|
clutter-script-private.h \
|
|
|
|
clutter-stage-window.h \
|
|
|
|
clutter-timeout-interval.h \
|
2010-07-05 12:59:36 +00:00
|
|
|
cally \
|
2010-01-15 14:47:20 +00:00
|
|
|
cogl \
|
2010-06-18 03:38:43 +00:00
|
|
|
egl \
|
2010-05-20 11:03:47 +00:00
|
|
|
fruity \
|
2010-01-15 14:47:20 +00:00
|
|
|
glx \
|
2010-07-05 12:59:36 +00:00
|
|
|
json \
|
2010-01-15 14:47:20 +00:00
|
|
|
osx \
|
|
|
|
x11 \
|
2008-04-25 13:37:36 +00:00
|
|
|
win32
|
|
|
|
|
|
|
|
EXTRA_HFILES=\
|
2009-06-10 13:24:33 +00:00
|
|
|
$(top_srcdir)/clutter/x11/clutter-x11.h \
|
|
|
|
$(top_srcdir)/clutter/x11/clutter-x11-texture-pixmap.h \
|
|
|
|
$(top_srcdir)/clutter/glx/clutter-glx-texture-pixmap.h \
|
2010-06-18 03:38:43 +00:00
|
|
|
$(top_srcdir)/clutter/egl/clutter-egl.h \
|
2009-06-10 13:24:33 +00:00
|
|
|
$(top_srcdir)/clutter/win32/clutter-win32.h
|
2008-04-25 13:37:36 +00:00
|
|
|
|
|
|
|
# Images to copy into HTML directory.
|
|
|
|
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
|
|
|
|
HTML_IMAGES=\
|
|
|
|
actor-box.png \
|
2010-02-25 17:09:55 +00:00
|
|
|
animator-key-frames.png \
|
2009-10-23 16:32:18 +00:00
|
|
|
bin-layout.png \
|
|
|
|
box-layout.png \
|
2009-01-20 18:13:36 +00:00
|
|
|
easing-modes.png \
|
2008-04-25 13:37:36 +00:00
|
|
|
event-flow.png \
|
2009-10-23 16:32:18 +00:00
|
|
|
flow-layout-horizontal.png \
|
|
|
|
flow-layout-vertical.png \
|
2008-04-25 13:37:36 +00:00
|
|
|
path-alpha-func.png
|
|
|
|
|
|
|
|
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
|
|
|
|
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
|
|
|
|
content_files= \
|
2009-09-03 15:51:14 +00:00
|
|
|
glossary.xml \
|
2008-06-26 09:02:58 +00:00
|
|
|
subclassing-ClutterActor.xml \
|
2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com>
Bug 1014 - Clutter Animation API Improvements
* clutter/Makefile.am:
* clutter/clutter.h: Update the build
* clutter/clutter-types.h: Add AnimationMode, an enumeration
for easing functions.
* clutter/clutter-alpha.[ch]: Add the :mode property to
control the function bound to an Alpha instance using an
enumeration value. Also add six new alpha functions:
- ease-in, ease-out, ease-in-out
- sine-in, sine-out, sine-in-out
* clutter/clutter-deprecated.h: Deprecate the #defines for
the alpha functions. They will be replaced by entries in the
ClutterAnimationMode.
* clutter/clutter-interval.[ch]: Add ClutterInterval, an
object for defining, validating and computing an interval
between two values.
* clutter/clutter-animation.[ch]: Add ClutterAnimation, an
object responsible for animation the properties of a single
actor along an interval of values. ClutterAnimation memory
management is automatic. A simple wrapper method for
ClutterActor is provided:
clutter_actor_animate()
which will create, or update, an animation for the passed
actor.
* clutter/clutter-debug.h:
* clutter/clutter-main.c: Add a new 'animation' debug note.
* clutter/clutter-script.c: Clean up the alpha functions
whitelist, and add the new functions.
* doc/reference/clutter/Makefile.am:
* doc/reference/clutter/clutter-sections.txt: Update the
API reference.
* doc/reference/clutter/clutter-animation.xml: Renamed to
doc/reference/clutter/clutter-animation-tutorial.xml to
avoid clashes with the ClutterAnimation section.
* doc/reference/clutter/clutter-docs.sgml: Renamed to
doc/reference/clutter/clutter-docs.xml, as it was an XML
file and not a SGML file.
* tests/Makefile.am:
* tests/interactive/Makefile.am:
* tests/interactive/test-animation.c:
* tests/interactive/test-easing.c: Add two tests for the
new simple animation API and the easing functions.
* tests/interactive/test-actors.c:
* tests/interactive/test-behave.c:
* tests/interactive/test-depth.c:
* tests/interactive/test-effects.c:
* tests/interactive/test-layout.c:
* tests/interactive/test-multistage.c:
* tests/interactive/test-paint-wrapper.c:
* tests/interactive/test-rotate.c:
* tests/interactive/test-scale.c:
* tests/interactive/test-texture-quality.c:
* tests/interactive/test-threads.c:
* tests/interactive/test-viewport.c: Update interactive tests
to the deprecations and new alpha API.
2008-11-18 09:50:03 +00:00
|
|
|
clutter-animation-tutorial.xml \
|
2008-06-26 09:02:58 +00:00
|
|
|
creating-behaviours.xml \
|
|
|
|
clutter-overview.xml \
|
2009-02-23 13:44:03 +00:00
|
|
|
building-clutter.xml \
|
2009-06-23 14:25:16 +00:00
|
|
|
running-clutter.xml \
|
2009-09-09 15:01:07 +00:00
|
|
|
migrating-ClutterEffect.xml \
|
|
|
|
migrating-ClutterPath.xml
|
2008-04-25 13:37: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
|
|
|
|
expand_content_files= \
|
2009-09-03 15:51:14 +00:00
|
|
|
glossary.xml \
|
2008-06-26 09:02:58 +00:00
|
|
|
subclassing-ClutterActor.xml \
|
2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com>
Bug 1014 - Clutter Animation API Improvements
* clutter/Makefile.am:
* clutter/clutter.h: Update the build
* clutter/clutter-types.h: Add AnimationMode, an enumeration
for easing functions.
* clutter/clutter-alpha.[ch]: Add the :mode property to
control the function bound to an Alpha instance using an
enumeration value. Also add six new alpha functions:
- ease-in, ease-out, ease-in-out
- sine-in, sine-out, sine-in-out
* clutter/clutter-deprecated.h: Deprecate the #defines for
the alpha functions. They will be replaced by entries in the
ClutterAnimationMode.
* clutter/clutter-interval.[ch]: Add ClutterInterval, an
object for defining, validating and computing an interval
between two values.
* clutter/clutter-animation.[ch]: Add ClutterAnimation, an
object responsible for animation the properties of a single
actor along an interval of values. ClutterAnimation memory
management is automatic. A simple wrapper method for
ClutterActor is provided:
clutter_actor_animate()
which will create, or update, an animation for the passed
actor.
* clutter/clutter-debug.h:
* clutter/clutter-main.c: Add a new 'animation' debug note.
* clutter/clutter-script.c: Clean up the alpha functions
whitelist, and add the new functions.
* doc/reference/clutter/Makefile.am:
* doc/reference/clutter/clutter-sections.txt: Update the
API reference.
* doc/reference/clutter/clutter-animation.xml: Renamed to
doc/reference/clutter/clutter-animation-tutorial.xml to
avoid clashes with the ClutterAnimation section.
* doc/reference/clutter/clutter-docs.sgml: Renamed to
doc/reference/clutter/clutter-docs.xml, as it was an XML
file and not a SGML file.
* tests/Makefile.am:
* tests/interactive/Makefile.am:
* tests/interactive/test-animation.c:
* tests/interactive/test-easing.c: Add two tests for the
new simple animation API and the easing functions.
* tests/interactive/test-actors.c:
* tests/interactive/test-behave.c:
* tests/interactive/test-depth.c:
* tests/interactive/test-effects.c:
* tests/interactive/test-layout.c:
* tests/interactive/test-multistage.c:
* tests/interactive/test-paint-wrapper.c:
* tests/interactive/test-rotate.c:
* tests/interactive/test-scale.c:
* tests/interactive/test-texture-quality.c:
* tests/interactive/test-threads.c:
* tests/interactive/test-viewport.c: Update interactive tests
to the deprecations and new alpha API.
2008-11-18 09:50:03 +00:00
|
|
|
clutter-animation-tutorial.xml \
|
2008-06-26 09:02:58 +00:00
|
|
|
creating-behaviours.xml \
|
|
|
|
clutter-overview.xml \
|
2009-02-23 13:44:03 +00:00
|
|
|
building-clutter.xml \
|
2009-06-23 14:25:16 +00:00
|
|
|
running-clutter.xml \
|
2009-09-09 15:01:07 +00:00
|
|
|
migrating-ClutterEffect.xml \
|
|
|
|
migrating-ClutterPath.xml
|
2008-04-25 13:37: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)
|
|
|
|
|
2010-06-03 12:48:53 +00:00
|
|
|
INCLUDES=-I$(top_srcdir) -I$(top_srcdir)/clutter -I$(top_srcdir)/clutter/cogl -I$(top_builddir) -I$(top_builddir)/clutter -I$(top_builddir)/clutter/cogl $(CLUTTER_CFLAGS)
|
2010-06-18 00:25:46 +00:00
|
|
|
GTKDOC_LIBS=$(top_builddir)/clutter/libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la $(CLUTTER_LIBS)
|
2008-04-25 13:37: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-04-28 15:22:54 +00:00
|
|
|
EXTRA_DIST += \
|
2008-04-25 13:37:36 +00:00
|
|
|
actor-box.png \
|
2010-02-25 17:09:55 +00:00
|
|
|
animator-key-frames.png \
|
|
|
|
animator-key-frames.svg \
|
2009-10-23 16:32:18 +00:00
|
|
|
bin-layout.png \
|
|
|
|
box-layout.png \
|
2009-01-20 18:13:36 +00:00
|
|
|
easing-modes.png \
|
|
|
|
easing-modes.svg \
|
2008-04-25 13:37:36 +00:00
|
|
|
event-flow.png \
|
2009-10-23 16:32:18 +00:00
|
|
|
flow-layout-horizontal.png \
|
|
|
|
flow-layout-vertical.png \
|
2008-04-25 13:37:36 +00:00
|
|
|
path-alpha-func.png
|