mirror of
https://github.com/brl/mutter.git
synced 2025-02-23 16:34:10 +00:00
build: Update the API reference build
Add the Cogl prefix to the fix-cross-references script options, and update the location of the extra headers.
This commit is contained in:
parent
d5ea422c8f
commit
3861a1c3ba
31
configure.ac
31
configure.ac
@ -123,16 +123,16 @@ m4_define([gtk_doc_req_version], [1.13])
|
|||||||
m4_define([xfixes_req_version], [3])
|
m4_define([xfixes_req_version], [3])
|
||||||
m4_define([xcomposite_req_version], [0.4])
|
m4_define([xcomposite_req_version], [0.4])
|
||||||
|
|
||||||
AC_SUBST([GLIB_REQ_VERSION], [glib_req_version])
|
AC_SUBST([GLIB_REQ_VERSION], [glib_req_version])
|
||||||
AC_SUBST([COGL_REQ_VERSION], [cogl_req_version])
|
AC_SUBST([COGL_REQ_VERSION], [cogl_req_version])
|
||||||
AC_SUBST([JSON_GLIB_REQ_VERSION], [json_glib_req_version])
|
AC_SUBST([JSON_GLIB_REQ_VERSION], [json_glib_req_version])
|
||||||
AC_SUBST([ATK_REQ_VERSION], [atk_req_version])
|
AC_SUBST([ATK_REQ_VERSION], [atk_req_version])
|
||||||
AC_SUBST([CAIRO_REQ_VERSION], [cairo_req_version])
|
AC_SUBST([CAIRO_REQ_VERSION], [cairo_req_version])
|
||||||
AC_SUBST([PANGO_REQ_VERSION], [pango_req_version])
|
AC_SUBST([PANGO_REQ_VERSION], [pango_req_version])
|
||||||
AC_SUBST([GI_REQ_VERSION], [gi_req_version])
|
AC_SUBST([GI_REQ_VERSION], [gi_req_version])
|
||||||
AC_SUBST([UPROF_REQ_VERSION], [uprof_req_version])
|
AC_SUBST([UPROF_REQ_VERSION], [uprof_req_version])
|
||||||
AC_SUBST([GTK_DOC_REQ_VERSION], [gtk_doc_req_version])
|
AC_SUBST([GTK_DOC_REQ_VERSION], [gtk_doc_req_version])
|
||||||
AC_SUBST([XFIXES_REQ_VERSION], [xfixes_req_version])
|
AC_SUBST([XFIXES_REQ_VERSION], [xfixes_req_version])
|
||||||
AC_SUBST([XCOMPOSITE_REQ_VERSION], [xcomposite_req_version])
|
AC_SUBST([XCOMPOSITE_REQ_VERSION], [xcomposite_req_version])
|
||||||
|
|
||||||
# Checks for typedefs, structures, and compiler characteristics.
|
# Checks for typedefs, structures, and compiler characteristics.
|
||||||
@ -305,7 +305,7 @@ AS_CASE([$CLUTTER_FLAVOUR],
|
|||||||
# Make sure we don't enable tslib and evdev at the same time, we
|
# Make sure we don't enable tslib and evdev at the same time, we
|
||||||
# don't support multiple event backends yet.
|
# don't support multiple event backends yet.
|
||||||
AS_IF([test "x$have_tslib" = "xyes" -a "x$have_evdev" = "xyes"],
|
AS_IF([test "x$have_tslib" = "xyes" -a "x$have_evdev" = "xyes"],
|
||||||
[AC_MSG_ERROR([Can't enable both tslib and evdev events])])
|
[AC_MSG_ERROR([Cannot enable both tslib and evdev events])])
|
||||||
|
|
||||||
FLAVOUR_LIBS="$FLAVOUR_LIBS $TSLIB_LIBS $EVDEV_LIBS"
|
FLAVOUR_LIBS="$FLAVOUR_LIBS $TSLIB_LIBS $EVDEV_LIBS"
|
||||||
FLAVOUR_CFLAGS="$FLAVOUR_CFLAGS $TSLIB_CFLAGS $EVDEV_CFLAGS"
|
FLAVOUR_CFLAGS="$FLAVOUR_CFLAGS $TSLIB_CFLAGS $EVDEV_CFLAGS"
|
||||||
@ -425,8 +425,8 @@ AM_CONDITIONAL(SUPPORT_WIN32, [test "x$CLUTTER_WINSYS" = "xwin32"])
|
|||||||
AM_CONDITIONAL(SUPPORT_CEX100, [test "x$SUPPORT_EGL_PLATFORM_GDL" = "x1"])
|
AM_CONDITIONAL(SUPPORT_CEX100, [test "x$SUPPORT_EGL_PLATFORM_GDL" = "x1"])
|
||||||
AM_CONDITIONAL(SUPPORT_WAYLAND, [test "x$CLUTTER_WINSYS" = "xwayland"])
|
AM_CONDITIONAL(SUPPORT_WAYLAND, [test "x$CLUTTER_WINSYS" = "xwayland"])
|
||||||
AM_CONDITIONAL(SUPPORT_STUB, [test "x$CLUTTER_WINSYS" = "xwin32" -o \
|
AM_CONDITIONAL(SUPPORT_STUB, [test "x$CLUTTER_WINSYS" = "xwin32" -o \
|
||||||
"x$CLUTTER_WINSYS" = "xosx" -o \
|
"x$CLUTTER_WINSYS" = "xosx" -o \
|
||||||
"x$CLUTTER_WINSYS" = "xwayland"])
|
"x$CLUTTER_WINSYS" = "xwayland"])
|
||||||
|
|
||||||
AM_CONDITIONAL(USE_TSLIB, [test "x$have_tslib" = "xyes"])
|
AM_CONDITIONAL(USE_TSLIB, [test "x$have_tslib" = "xyes"])
|
||||||
AM_CONDITIONAL(SUPPORT_EVDEV, [test "x$have_evdev" = "xyes"])
|
AM_CONDITIONAL(SUPPORT_EVDEV, [test "x$have_evdev" = "xyes"])
|
||||||
@ -436,8 +436,7 @@ dnl COGL_ENABLE_EXPERIMENTAL_2_0_API is defined while compiling clutter
|
|||||||
dnl and cogl code we use a define in config.h instead. This helps ensure
|
dnl and cogl code we use a define in config.h instead. This helps ensure
|
||||||
dnl other tools such as glib-mkenums and gir-scanner don't end up
|
dnl other tools such as glib-mkenums and gir-scanner don't end up
|
||||||
dnl using the define also.
|
dnl using the define also.
|
||||||
AC_DEFINE([COGL_ENABLE_EXPERIMENTAL_2_0_API], [1],
|
AC_DEFINE([COGL_ENABLE_EXPERIMENTAL_2_0_API], [1], [Can use Cogl 2.0 API internally])
|
||||||
[Can use Cogl 2.0 API internally])
|
|
||||||
|
|
||||||
dnl === Clutter configuration =================================================
|
dnl === Clutter configuration =================================================
|
||||||
|
|
||||||
@ -874,10 +873,12 @@ AM_CONDITIONAL([BUILD_GTK_DOC], [test "x$enable_gtk_doc" = "xyes" || test ! -f "
|
|||||||
CAIRO_PREFIX="`$PKG_CONFIG --variable=prefix cairo`"
|
CAIRO_PREFIX="`$PKG_CONFIG --variable=prefix cairo`"
|
||||||
GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
|
GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
|
||||||
PANGO_PREFIX="`$PKG_CONFIG --variable=prefix pango`"
|
PANGO_PREFIX="`$PKG_CONFIG --variable=prefix pango`"
|
||||||
|
COGL_PREFIX="`$PKG_CONFIG --variable=prefix cogl-1.0`"
|
||||||
ATK_PREFIX="`$PKG_CONFIG --variable=prefix atk`"
|
ATK_PREFIX="`$PKG_CONFIG --variable=prefix atk`"
|
||||||
AC_SUBST(CAIRO_PREFIX)
|
AC_SUBST(CAIRO_PREFIX)
|
||||||
AC_SUBST(GLIB_PREFIX)
|
AC_SUBST(GLIB_PREFIX)
|
||||||
AC_SUBST(PANGO_PREFIX)
|
AC_SUBST(PANGO_PREFIX)
|
||||||
|
AC_SUBST(COGL_PREFIX)
|
||||||
AC_SUBST(ATK_PREFIX)
|
AC_SUBST(ATK_PREFIX)
|
||||||
|
|
||||||
dnl === Manual ================================================================
|
dnl === Manual ================================================================
|
||||||
|
@ -42,24 +42,27 @@ FIXXREF_OPTIONS=\
|
|||||||
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
|
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
|
||||||
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
|
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
|
||||||
--extra-dir=$(CAIRO_PREFIX)/share/gtk-doc/html/cairo \
|
--extra-dir=$(CAIRO_PREFIX)/share/gtk-doc/html/cairo \
|
||||||
--extra-dir=$(PANGO_PREFIX)/share/gtk-doc/html/pango
|
--extra-dir=$(PANGO_PREFIX)/share/gtk-doc/html/pango \
|
||||||
|
--extra-dir=$(COGL_PREFIX)/share/gtk-doc/html/cogl
|
||||||
|
|
||||||
# Used for dependencies. The docs will be rebuilt if any of these change.
|
# Used for dependencies. The docs will be rebuilt if any of these change.
|
||||||
# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
|
# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
|
||||||
# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
|
# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
|
||||||
HFILE_GLOB=$(top_srcdir)/clutter/*.h \
|
HFILE_GLOB=\
|
||||||
|
$(top_srcdir)/clutter/*.h \
|
||||||
$(top_builddir)/clutter/*.h \
|
$(top_builddir)/clutter/*.h \
|
||||||
$(top_srcdir)/clutter/x11/clutter-x11.h \
|
$(top_srcdir)/clutter/x11/clutter-x11.h \
|
||||||
$(top_srcdir)/clutter/x11/clutter-x11-texture-pixmap.h \
|
$(top_srcdir)/clutter/x11/clutter-x11-texture-pixmap.h \
|
||||||
$(top_srcdir)/clutter/glx/clutter-glx-texture-pixmap.h \
|
$(top_srcdir)/clutter/cogl/clutter-glx-texture-pixmap.h \
|
||||||
$(top_srcdir)/clutter/egl/clutter-egl.h \
|
$(top_srcdir)/clutter/cogl/clutter-egl.h \
|
||||||
$(top_srcdir)/clutter/egl/clutter-cex100.h \
|
$(top_srcdir)/clutter/cogl/clutter-cex100.h \
|
||||||
$(top_srcdir)/clutter/win32/clutter-win32.h
|
$(top_srcdir)/clutter/win32/clutter-win32.h
|
||||||
CFILE_GLOB=$(top_srcdir)/clutter/*.c \
|
|
||||||
|
CFILE_GLOB=\
|
||||||
|
$(top_srcdir)/clutter/*.c \
|
||||||
|
$(top_srcdir)/clutter/cogl/*.c \
|
||||||
$(top_srcdir)/clutter/x11/*.c \
|
$(top_srcdir)/clutter/x11/*.c \
|
||||||
$(top_srcdir)/clutter/glx/*.c \
|
$(top_srcdir)/clutter/win32/*.c
|
||||||
$(top_srcdir)/clutter/win32/*.c \
|
|
||||||
$(top_srcdir)/clutter/egl/*.c
|
|
||||||
|
|
||||||
# Header files to ignore when scanning.
|
# Header files to ignore when scanning.
|
||||||
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
|
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
|
||||||
@ -94,9 +97,7 @@ IGNORE_HFILES=\
|
|||||||
clutter-timeout-interval.h \
|
clutter-timeout-interval.h \
|
||||||
cally \
|
cally \
|
||||||
cogl \
|
cogl \
|
||||||
egl \
|
|
||||||
evdev \
|
evdev \
|
||||||
glx \
|
|
||||||
osx \
|
osx \
|
||||||
x11 \
|
x11 \
|
||||||
wayland \
|
wayland \
|
||||||
@ -105,9 +106,9 @@ IGNORE_HFILES=\
|
|||||||
EXTRA_HFILES=\
|
EXTRA_HFILES=\
|
||||||
$(top_srcdir)/clutter/x11/clutter-x11.h \
|
$(top_srcdir)/clutter/x11/clutter-x11.h \
|
||||||
$(top_srcdir)/clutter/x11/clutter-x11-texture-pixmap.h \
|
$(top_srcdir)/clutter/x11/clutter-x11-texture-pixmap.h \
|
||||||
$(top_srcdir)/clutter/glx/clutter-glx-texture-pixmap.h \
|
$(top_srcdir)/clutter/cogl/clutter-glx-texture-pixmap.h \
|
||||||
$(top_srcdir)/clutter/egl/clutter-egl.h \
|
$(top_srcdir)/clutter/cogl/clutter-egl.h \
|
||||||
$(top_srcdir)/clutter/egl/clutter-cex100.h \
|
$(top_srcdir)/clutter/cogl/clutter-cex100.h \
|
||||||
$(top_srcdir)/clutter/wayland/clutter-wayland.h \
|
$(top_srcdir)/clutter/wayland/clutter-wayland.h \
|
||||||
$(top_srcdir)/clutter/win32/clutter-win32.h
|
$(top_srcdir)/clutter/win32/clutter-win32.h
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user