Commit 1ae7b100 authored by Daniel Elstner's avatar Daniel Elstner Committed by Daniel Elstner

Adopt new mm-common build infrastructure

* build/: Rename directory from scripts/ and delete the obsolete
M4 macros and build files.
* codegen/: Rename directory from tools/.
* codegen/extradefs/: Rename from tools/extra_defs_gen/.
* codegen/extradefs/generate_extra_defs_clutter.cc: Rename from
tools/extra_defs_gen/generate_defs_clutter to match the name of
the executable.
* doc/: Rename directory from docs/.
* build_shared/: Delete obsolete build support files.
* autogen.sh: Replace with minimal script based on autoreconf.
* configure.ac: Rename from configure.in and rewrite for mm-common.
* Makefile.am, doc/Makefile.am, examples/Makefile.am,
clutter/src/Makefile.am, clutter/cluttermm/Makefile.am,
tests/Makefile.am: Replace with mm-common skeleton build files
adapted for cluttermm.
* codegen/Makefile.am: Replace with skeleton file adapted for
cluttermm.  Do not install convert.m4 along with the public macro
files for gmmproc.
* codegen/m4/filelist.am, clutter/src/filelist.am,
clutter/cluttermm/filelist.am: New Automake include files listing
the cluttermm source files.
* codegen/m4/convert_cairo.m4: Rename from convert_cairomm.m4.
* codegen/m4/convert_clutter.m4: Rename from convert_cluttermm.m4.
* codegen/m4/convert_cogl.m4: Rename from convert_coglmm.m4.
* codegen/m4/convert.m4: Include M4 files by their new name.
* clutter/Makefile.am, clutter/src/Makefile_list_of_hg.am_fragment,
clutter/cluttermm/private/Makefile.am, docs/Makefile_web.am_fragment,
docs/reference/Makefile.am, examples/Makefile.am_fragment,
tools/Makefile_list_of_sources.am_fragment, tools/m4/Makefile.am,
tools/m4/Makefile_list_of_sources.am_fragment,
tools/extra_defs_gen/Makefile.am: Delete obsolete files.
* clutter/cluttermm.pc.in: Merge the modernized skeleton pkg-config
file from mm-common.
* clutter/cluttermm-uninstalled.pc.in: New pkg-config data file for
linking to an uninstalled build of cluttermm.
* clutter/cluttermmconfig.h.in: Remove all non-namespaced macros,
leaving only the cluttermm version number components.
* clutter/cluttermm.h: Clean up a bit and include cluttermmconfig.h.
Remove extern declarations of the runtime version number components
as they don't appear to be defined anywhere.
* doc/reference/Doxyfile.in: Replace file with mm-common skeleton
Doxygen configuration, adapted for cluttermm.
* clutter/README, docs/reference/README, examples/README.txt,
tools/m4/README: Delete useless or empty text files.
parent 20e1b539
# wildcard patterns
*.o
*.lo
*.a
*.la
Makefile
Makefile.in
.deps/
.dirstamp
.libs/
.stamps/
# generated private headers
*_p.h
# /
aclocal.m4
INSTALL
autom4te.cache/
config.h
config.log
config.status
configure
libtool
stamp-h1
# clutter
clutter/cluttermm-0.9.pc
clutter/cluttermm/actor.cc
clutter/cluttermm/actor.h
clutter/cluttermm/alpha.cc
clutter/cluttermm/alpha.h
clutter/cluttermm/animation.cc
clutter/cluttermm/animation.h
clutter/cluttermm/backend.h
clutter/cluttermm/backend.cc
clutter/cluttermm/behaviour-depth.cc
clutter/cluttermm/behaviour-depth.h
clutter/cluttermm/behaviour-ellipse.cc
clutter/cluttermm/behaviour-ellipse.h
clutter/cluttermm/behaviour-opacity.cc
clutter/cluttermm/behaviour-opacity.h
clutter/cluttermm/behaviour-path.cc
clutter/cluttermm/behaviour-path.h
clutter/cluttermm/behaviour-rotate.cc
clutter/cluttermm/behaviour-rotate.h
clutter/cluttermm/behaviour-scale.cc
clutter/cluttermm/behaviour-scale.h
clutter/cluttermm/behaviour.cc
clutter/cluttermm/behaviour.h
clutter/cluttermm/cairo-texture.cc
clutter/cluttermm/cairo-texture.h
clutter/cluttermm/childmeta.cc
clutter/cluttermm/childmeta.h
clutter/cluttermm/clone.cc
clutter/cluttermm/clone.h
clutter/cluttermm/color.cc
clutter/cluttermm/color.h
clutter/cluttermm/container.cc
clutter/cluttermm/container.h
clutter/cluttermm/group.cc
clutter/cluttermm/group.h
clutter/cluttermm/interval.cc
clutter/cluttermm/interval.h
clutter/cluttermm/media.cc
clutter/cluttermm/media.h
clutter/cluttermm/path.cc
clutter/cluttermm/path.h
clutter/cluttermm/rectangle.cc
clutter/cluttermm/rectangle.h
clutter/cluttermm/score.cc
clutter/cluttermm/score.h
clutter/cluttermm/script.cc
clutter/cluttermm/script.h
clutter/cluttermm/scriptable.cc
clutter/cluttermm/scriptable.h
clutter/cluttermm/shader.cc
clutter/cluttermm/shader.h
clutter/cluttermm/stage.cc
clutter/cluttermm/stage.h
clutter/cluttermm/text.cc
clutter/cluttermm/text.h
clutter/cluttermm/texture.cc
clutter/cluttermm/texture.h
clutter/cluttermm/timeline.cc
clutter/cluttermm/timeline.h
clutter/cluttermm/types.cc
clutter/cluttermm/types.h
clutter/cluttermm/wrap_init.cc
clutter/cluttermmconfig.h
# docs
docs/reference/Doxyfile
docs/reference/html/
# examples
examples/actors
# scripts
scripts/config.guess
scripts/config.sub
scripts/ltmain.sh
# tests
tests/test-alpha-creation
tests/test-alpha-func
tests/test-interval-creation
# tools
tools/extra_defs_gen/generate_extra_defs_clutter
Makefile
Makefile.in
stamp-h?
*.[ao]
*.l[ao]
/INSTALL
/aclocal.m4
/autom4te.cache/
/config*.lineno
/config.log
/config.status
/configure
/cluttermm-*.tar.*
/libtool
/codegen/extradefs/generate_extra_defs
/clutter/cluttermmconfig.h
/clutter/cluttermm*.pc
/clutter/src/.stamps/
/doc/reference/Doxyfile
/doc/reference/doxygen.log
/doc/reference/cluttermm-*.devhelp2
/doc/reference/cluttermm-*.tag
/doc/reference/html/
/examples/actors
/tests/test-alpha-creation
/tests/test-alpha-func
/tests/test-interval-creation
2009-10-02 Daniel Elstner <danielk@openismus.com>
Adopt new mm-common build infrastructure
* build/: Rename directory from scripts/ and delete the obsolete
M4 macros and build files.
* codegen/: Rename directory from tools/.
* codegen/extradefs/: Rename from tools/extra_defs_gen/.
* codegen/extradefs/generate_extra_defs_clutter.cc: Rename from
tools/extra_defs_gen/generate_defs_clutter to match the name of
the executable.
* doc/: Rename directory from docs/.
* build_shared/: Delete obsolete build support files.
* autogen.sh: Replace with minimal script based on autoreconf.
* configure.ac: Rename from configure.in and rewrite for mm-common.
* Makefile.am, doc/Makefile.am, examples/Makefile.am,
clutter/src/Makefile.am, clutter/cluttermm/Makefile.am,
tests/Makefile.am: Replace with mm-common skeleton build files
adapted for cluttermm.
* codegen/Makefile.am: Replace with skeleton file adapted for
cluttermm. Do not install convert.m4 along with the public macro
files for gmmproc.
* codegen/m4/filelist.am, clutter/src/filelist.am,
clutter/cluttermm/filelist.am: New Automake include files listing
the cluttermm source files.
* codegen/m4/convert_cairo.m4: Rename from convert_cairomm.m4.
* codegen/m4/convert_clutter.m4: Rename from convert_cluttermm.m4.
* codegen/m4/convert_cogl.m4: Rename from convert_coglmm.m4.
* codegen/m4/convert.m4: Include M4 files by their new name.
* clutter/Makefile.am, clutter/src/Makefile_list_of_hg.am_fragment,
clutter/cluttermm/private/Makefile.am, docs/Makefile_web.am_fragment,
docs/reference/Makefile.am, examples/Makefile.am_fragment,
tools/Makefile_list_of_sources.am_fragment, tools/m4/Makefile.am,
tools/m4/Makefile_list_of_sources.am_fragment,
tools/extra_defs_gen/Makefile.am: Delete obsolete files.
* clutter/cluttermm.pc.in: Merge the modernized skeleton pkg-config
file from mm-common.
* clutter/cluttermm-uninstalled.pc.in: New pkg-config data file for
linking to an uninstalled build of cluttermm.
* clutter/cluttermmconfig.h.in: Remove all non-namespaced macros,
leaving only the cluttermm version number components.
* clutter/cluttermm.h: Clean up a bit and include cluttermmconfig.h.
Remove extern declarations of the runtime version number components
as they don't appear to be defined anywhere.
* doc/reference/Doxyfile.in: Replace file with mm-common skeleton
Doxygen configuration, adapted for cluttermm.
* clutter/README, docs/reference/README, examples/README.txt,
tools/m4/README: Delete useless or empty text files.
2009-08-26 Murray Cumming <murrayc@murrayc.com>
* clutter/cluttermm.pc.in: Depend on clutter-1.0 rather than clutter-0.9.
......
Basic Installation
==================
These are generic installation instructions.
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, a file
`config.cache' that saves the results of its tests to speed up
reconfiguring, and a file `config.log' containing compiler output
(useful mainly for debugging `configure').
If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If at some point `config.cache'
contains results you don't want to keep, you may remove or edit it.
The file `configure.in' is used to create `configure' by a program
called `autoconf'. You only need `configure.in' if you want to change
it or regenerate `configure' using a newer version of `autoconf'.
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
the package.
4. Type `make install' to install the programs and any data files and
documentation.
5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.
Compilers and Options
=====================
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. You can give `configure'
initial values for variables by setting them in the environment. Using
a Bourne-compatible shell, you can do that on the command line like
this:
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
Or on systems that have the `env' program, you can do it like this:
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
Compiling For Multiple Architectures
====================================
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you must use a version of `make' that
supports the `VPATH' variable, such as GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.
If you have to use a `make' that does not supports the `VPATH'
variable, you have to compile the package for one architecture at a time
in the source code directory. After you have installed the package for
one architecture, use `make distclean' before reconfiguring for another
architecture.
Installation Names
==================
By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc. You can specify an
installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
give `configure' the option `--exec-prefix=PATH', the package will use
PATH as the prefix for installing programs and libraries.
Documentation and other data files will still use the regular prefix.
In addition, if you use an unusual directory layout you can give
options like `--bindir=PATH' to specify different values for particular
kinds of files. Run `configure --help' for a list of the directories
you can set and what kinds of files go in them.
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Optional Features
=================
Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.
For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.
Specifying the System Type
==========================
There may be some features `configure' can not figure out
automatically, but needs to determine by the type of host the package
will run on. Usually `configure' can figure that out, but if it prints
a message saying it can not guess the host type, give it the
`--host=TYPE' option. TYPE can either be a short name for the system
type, such as `sun4', or a canonical name with three fields:
CPU-COMPANY-SYSTEM
See the file `config.sub' for the possible values of each field. If
`config.sub' isn't included in this package, then this package doesn't
need to know the host type.
If you are building compiler tools for cross-compiling, you can also
use the `--target=TYPE' option to select the type of system they will
produce code for and the `--build=TYPE' option to select the type of
system on which you are compiling the package.
Sharing Defaults
================
If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists. Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.
Operation Controls
==================
`configure' recognizes the following options to control how it
operates.
`--cache-file=FILE'
Use and save the results of the tests in FILE instead of
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
debugging `configure'.
`--help'
Print a summary of the options to `configure', and exit.
`--quiet'
`--silent'
`-q'
Do not print messages saying which checks are being made. To
suppress all normal output, redirect it to `/dev/null' (any error
messages will still be shown).
`--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
`configure' can determine that directory automatically.
`--version'
Print the version of Autoconf used to generate the `configure'
script, and exit.
`configure' also accepts some other, not widely useful, options.
SUBDIRS = tools clutter docs examples tests
DIST_SUBDIRS = $(SUBDIRS) scripts
## Copyright (c) 2009 Openismus GmbH <http://www.openismus.com/>
##
## This file is part of cluttermm.
##
## cluttermm is free software: you can redistribute it and/or modify it
## under the terms of the GNU Lesser General Public License as published
## by the Free Software Foundation, either version 2.1 of the License,
## or (at your option) any later version.
##
## cluttermm is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
## See the GNU Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
EXTRA_DIST = \
build_shared/Makefile_build.am_fragment \
build_shared/Makefile_build_gensrc.am_fragment \
build_shared/Makefile_gensrc.am_fragment
ACLOCAL_AMFLAGS = -I build ${ACLOCAL_FLAGS}
DISTCHECK_CONFIGURE_FLAGS = --enable-warnings=fatal
if MAINTAINER_MODE
src_subdirs = clutter/src
else
src_subdirs =
endif
if ENABLE_DOCUMENTATION
doc_subdirs = doc
else
doc_subdirs =
endif
SUBDIRS = codegen $(src_subdirs) clutter/cluttermm examples tests $(doc_subdirs)
all-local:
@echo "*** Everything completed ***"
cluttermm_includedir = $(includedir)/$(CLUTTERMM_MODULE_NAME)
cluttermm_include_HEADERS = clutter/cluttermm.h
dist-hook:
@echo; echo; \
echo "**********************************************************"; \
echo "* IMPORTANT NOTICE: *"; \
echo "* *"; \
echo "* Be sure you have done a complete build before running *"; \
echo "* 'make dist' or 'make distcheck', because otherwise *"; \
echo "* the tarball will _not_ contain the dependency rules *"; \
echo "* generated by the compiler. *"; \
echo "**********************************************************"; \
echo; echo
cluttermm_libincludedir = $(libdir)/$(CLUTTERMM_MODULE_NAME)/include
nodist_cluttermm_libinclude_HEADERS = clutter/cluttermmconfig.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = clutter/$(CLUTTERMM_MODULE_NAME).pc
dist_noinst_SCRIPTS = autogen.sh
# Optional: auto-generate the ChangeLog file from the git log on make dist
#include $(top_srcdir)/build/dist-changelog.am
#!/bin/sh
MAKE=`which gnumake`
if test ! -x "$MAKE" ; then MAKE=`which gmake` ; fi
if test ! -x "$MAKE" ; then MAKE=`which make` ; fi
HAVE_GNU_MAKE=`$MAKE --version|grep -c "Free Software Foundation"`
if test "$HAVE_GNU_MAKE" != "1"; then
echo !!!! ERROR: You need GNU make to build from cvs!;
echo !!!! $MAKE is not GNU make;
exit 1;
fi
echo Found GNU Make at $MAKE ... good.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="cluttermm"
(test -f $srcdir/configure.in \
&& test -d $srcdir/clutter/src \
&& test -d $srcdir/clutter/cluttermm) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level $PKG_NAME directory"
exit 1
}
echo "Adding libtools."
libtoolize --automake
echo "Building macros."
aclocal -I scripts $ACLOCAL_FLAGS
#echo "Building config header."
#autoheader
echo "Building makefiles."
automake --add-missing || exit 1
echo "Building configure."
autoconf
rm -f config.cache
if test -z "$AUTOGEN_SUBDIR_MODE"; then
echo "Running configure."
./configure --enable-maintainer-mode "$@"
echo
echo 'run "make"'
echo
else
echo
echo 'run "./configure ; make"'
echo
fi
#! /bin/sh -e
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
mm-common-prepare --copy --force "$srcdir"
autoreconf --force --install --verbose "$srcdir"
test -n "$NOCONFIGURE" || "$srcdir/configure" --enable-maintainer-mode "$@"
/compile
/compile-binding.am
/config.*
/depcomp
/dist-changelog.am
/doc-reference.am
/generate-binding.am
/install-sh
/libtool.m4
/lt*.m4
/ltmain.sh
/missing
/stamp-h?
## Copyright (c) 2001
## The gtkmm development team.
##
## **** Common rules for inclusion in Makefile.am ****
## Included by Makefile_build_gensrc.am_fragment
##
## Used variable: Example content:
##
## sublib_name = glibmm
## sublib_cflags = $(GLIBMM_CFLAGS)
## files_built_cc =
## files_built_h = proxy.h
## files_extra_cc = array.cc class.cc closure.cc
## files_extra_h = array.h boxedtype.h class.h
##
## Returned variable: Usage example:
##
## files_all_cc libglibmm_la_SOURCES = $(files_all_cc)
## common_ldflags libglibmm_la_LDFLAGS = $(common_ldflags)
files_all_cc = $(files_built_cc) $(files_extra_cc)
common_ldflags = -version-info $(sublib_libversion)
all_includes = -I$(top_builddir)/$(sublib_topdir) -I$(top_srcdir)/$(sublib_topdir) \
$(sublib_cflags)
dist_sources = $(files_built_cc) $(files_extra_cc) $(files_built_h) $(files_extra_h)
DISTFILES = $(DIST_COMMON) $(dist_sources) $(TEXINFOS) $(EXTRA_DIST)
DEFS = @DEFS@ -DG_LOG_DOMAIN=\"$(sublib_name)\"
DEFAULT_INCLUDES =
INCLUDES = $(strip $(all_includes))
sublib_includedir = $(includedir)/$(sublib_libname)/$(sublib_name)
sublib_include_HEADERS = $(files_built_h) $(files_extra_h)
maintainer-clean-local:
(cd $(srcdir) && rm -f $(files_built_cc) $(files_built_h))
## Copyright (c) 2001
## The gtkmm development team.
##
## **** Common rules for inclusion in Makefile.am ****
## ## Included from something/somethingmm/Makefile.am
##
## Used variable: Example content:
##
## sublib_name = gtkmm
## sublib_cflags = $(GTKMM_CFLAGS)
## files_extra_cc = stock_id.cc
## files_extra_h = base.h stock_id.h
##
## Returned variable: Usage example:
##
## files_all_cc libgtkmm_la_SOURCES = $(files_all_cc)
## common_ldflags libgtkmm_la_LDFLAGS = $(common_ldflags)
include $(srcdir)/../src/Makefile_list_of_hg.am_fragment
files_built_cc = $(files_hg:.hg=.cc) wrap_init.cc
files_built_h = $(files_hg:.hg=.h)
files_extra_h += wrap_init.h
include $(top_srcdir)/build_shared/Makefile_build.am_fragment
## Copyright (c) 2001
## The gtkmm development team.
##
## **** Common rules for inclusion in Makefile.am ****
## Included from something/src/Makefile.am
##
## Used variable: Example content:
##
## sublib_name = gdkmm
## sublib_namespace = Gdk
## files_defs = gdk.defs gdk_pixbuf.defs
tools_dir = $(top_srcdir)/tools
tools_dir_m4= $(top_srcdir)/tools/m4
tools_dir_pm= $(top_srcdir)/tools/pm
gensrc_destdir = $(srcdir)/../$(sublib_name)
stamp_dir = $(srcdir)/.stamps
include $(top_srcdir)/tools/Makefile_list_of_sources.am_fragment
tools_m4 = $(files_tools_m4:%.m4=$(tools_dir_m4)/%.m4)
# tools_pm = $(files_tools_pm:%.pm=$(tools_dir_pm)/%.pm)
include $(srcdir)/Makefile_list_of_hg.am_fragment
files_ccg = $(files_hg:%.hg=%.ccg)
files_h = $(files_hg:%.hg=$(gensrc_destdir)/%.h)
files_cc = $(files_hg:%.hg=$(gensrc_destdir)/%.cc)
files_stamp = $(files_hg:%.hg=$(stamp_dir)/stamp-%)
#Installed gmmproc stuff, from gtkmm:
gmmproc_path = $(GMM_PROC)
gmmproc_dir = $(GMM_PROCDIR)
# We use our own m4 and pm files as well as the ones installed by gtkmm:
# Our override m4 include seems to need to be before the default one.
gmmproc_args = -I $(tools_dir_m4) --defs $(srcdir)
run_gmmproc = $(gmmproc_path) $(gmmproc_args)
gen_wrap_init_path = $(gmmproc_dir)/generate_wrap_init.pl
# nested namespaces should be whitespace-separated. The following line will
# then translate them into the correct arguments to pass to
# generate_wrap_init.pl
namespaces = $(sublib_namespace:%=--namespace=%)
gen_wrap_init_args = $(namespaces) --parent_dir=$(sublib_parentdir)
run_gen_wrap_init = $(gen_wrap_init_path) $(gen_wrap_init_args)
EXTRA_DIST = Makefile_list_of_hg.am_fragment \
$(files_defs) $(files_hg) $(files_ccg)
$(stamp_dir)/stamp-%: %.hg %.ccg $(tools_m4) $(files_defs)
$(run_gmmproc) $(notdir $*) $(srcdir) $(gensrc_destdir)
@echo 'timestamp' > $@
sublib_srcdir = $(srcdir)/../src
files_hg_with_path = $(patsubst %.hg,$(sublib_srcdir)/%.hg,$(files_hg))
$(gensrc_destdir)/wrap_init.cc: $(gen_wrap_init_path) $(files_hg_with_path)
$(run_gen_wrap_init) $(files_hg:%.hg=$(srcdir)/%.hg) >$@
create-stamp-dir:
@(test -d $(stamp_dir) || mkdir $(stamp_dir))
if MAINTAINER_MODE
all-local: create-stamp-dir $(files_stamp) $(gensrc_destdir)/wrap_init.cc
endif
maintainer-clean-local:
rm -rf $(stamp_dir)
SUBDIRS = src cluttermm
EXTRA_DIST = README \
cluttermmconfig.h.in cluttermm.h \
cluttermm.pc.in
cluttermm_includedir = $(includedir)/cluttermm-$(API_VER)
cluttermm_include_HEADERS = cluttermm.h
cluttermm_configdir = $(libdir)/cluttermm-$(API_VER)/include
cluttermm_config_DATA = cluttermmconfig.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = cluttermm-$(API_VER).pc
DISTCLEANFILES = $(pkgconfig_DATA)
Base directory for cluttermm - the widget set.
Here is the layout
src - actual sources used to build, processed with gmmproc
cluttermm - built sources (do not edit)
gmmprocdir=${pc_top_builddir}/${pcfiledir}/@top_srcdir@/codegen
doxytagfile=${pc_top_builddir}/doc/reference/@CLUTTERMM_MODULE_NAME@.tag
htmlrefpub=http://library.gnome.org/@PACKAGE_TARNAME@/unstable/
Name: cluttermm
Description: C++ binding for clutter, not installed
Version: @CLUTTERMM_VERSION@
URL: http://www.gtkmm.org/
Requires: @CLUTTERMM_MODULES@
Libs: ${pc_top_builddir}/${pcfiledir}/cluttermm/libcluttermm-@CLUTTERMM_API_VERSION@.la
Cflags: -I${pc_top_builddir}/${pcfiledir} -I${pc_top_builddir}/${pcfiledir}/@srcdir@
/*
* cluttermm - a C++ wrapper for clutter
/* Copyright (c) 2007-2009 The cluttermm Development Team
*
* Copyright (c) 2007-2009 The cluttermm Development Team
* This file is part of cluttermm.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
* cluttermm is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 2.1 of the License,
* or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* cluttermm is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef LIBCLUTTERMM_H
#define LIBCLUTTERMM_H
// cluttermm version
extern const int cluttermm_major_version;
extern const int cluttermm_minor_version;
extern const int cluttermm_micro_version;
#ifndef CLUTTERMM_H_INCLUDED
#define CLUTTERMM_H_INCLUDED
#include <glibmm.h>
#include <cluttermmconfig.h>
#include <cluttermm/actor.h>
#include <cluttermm/alpha.h>
#include <cluttermm/animation.h>
......@@ -60,9 +54,4 @@ extern const int cluttermm_micro_version;
#include <cluttermm/types.h>