mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
build: Start moving to a non-recursive layout
*** WARNING: THIS COMMIT CHANGES THE BUILD *** Do not recurse into the backend directories to build private, internal libraries. We only recurse from clutter/ into the cogl sub-directory; from there, we don't recurse any further. All the backend-specific code in Cogl and Clutter is compiled conditionally depending on the macros defined by the configure script. We still recurse from the top-level directory into doc, clutter and tests, because gtk-doc and tests do not deal nicely with non-recursive layouts. This change makes Clutter compile slightly faster, and cleans up the build system, especially when dealing with introspection data. Ideally, we also want to make Cogl part of the top-level build, so that we can finally drop the sed trick to change the shared library from the GIR before compiling it. Currently disabled: ‣ OSX backend ‣ Fruity backend Currently enabled but untested: ‣ EGL backend ‣ Windows backend
This commit is contained in:
parent
27aebb5c9d
commit
8dd8fbdbdf
7
.gitignore
vendored
7
.gitignore
vendored
@ -5,8 +5,7 @@ Makefile.in
|
|||||||
aclocal.m4
|
aclocal.m4
|
||||||
autom4te.cache
|
autom4te.cache
|
||||||
compile
|
compile
|
||||||
clutter-*.pc
|
*.pc
|
||||||
clutter.pc
|
|
||||||
.deps
|
.deps
|
||||||
.libs
|
.libs
|
||||||
*.o
|
*.o
|
||||||
@ -22,16 +21,12 @@ stamp-marshal
|
|||||||
/clutter/gcov-report.txt
|
/clutter/gcov-report.txt
|
||||||
/clutter/clutter-json.h
|
/clutter/clutter-json.h
|
||||||
/clutter/cogl/cogl/cogl-defines.h
|
/clutter/cogl/cogl/cogl-defines.h
|
||||||
/clutter/cogl/cogl/*.pc
|
|
||||||
/clutter/cogl/cogl/cogl-enum-types.[ch]
|
/clutter/cogl/cogl/cogl-enum-types.[ch]
|
||||||
/clutter/cogl/cogl/driver/gl/cogl-defines.h
|
/clutter/cogl/cogl/driver/gl/cogl-defines.h
|
||||||
/clutter/cogl/cogl/driver/gles/cogl-defines.h
|
/clutter/cogl/cogl/driver/gles/cogl-defines.h
|
||||||
/clutter/cogl/cogl/driver/gles/cogl-fixed-vertex-shader.[ch]
|
/clutter/cogl/cogl/driver/gles/cogl-fixed-vertex-shader.[ch]
|
||||||
/clutter/cogl/cogl/driver/gles/cogl-fixed-fragment-shader.[ch]
|
/clutter/cogl/cogl/driver/gles/cogl-fixed-fragment-shader.[ch]
|
||||||
/clutter/egl/clutter-cex100.h
|
/clutter/egl/clutter-cex100.h
|
||||||
/clutter/x11/clutter-x11-enum-types.[ch]
|
|
||||||
/clutter/json/*.gir
|
|
||||||
/clutter/cally/cally*.pc
|
|
||||||
/build/autotools/*.m4
|
/build/autotools/*.m4
|
||||||
!/build/autotools/introspection.m4
|
!/build/autotools/introspection.m4
|
||||||
!/build/autotools/as-linguas.m4
|
!/build/autotools/as-linguas.m4
|
||||||
|
19
Makefile.am
19
Makefile.am
@ -6,29 +6,12 @@ SUBDIRS = build clutter tests doc po
|
|||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I build/autotools
|
ACLOCAL_AMFLAGS = -I build/autotools
|
||||||
|
|
||||||
pcfiles = \
|
|
||||||
clutter-$(CLUTTER_API_VERSION).pc \
|
|
||||||
clutter-$(CLUTTER_SONAME_INFIX)-$(CLUTTER_API_VERSION).pc \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
# clutter-<major>.<minor>.pc - for generic dependencies
|
|
||||||
clutter-$(CLUTTER_API_VERSION).pc: clutter.pc
|
|
||||||
$(QUIET_GEN)cp $< $@
|
|
||||||
|
|
||||||
# clutter-<winsys>-<major>.<minor>.pc - for backend-specific dependencies
|
|
||||||
clutter-$(CLUTTER_SONAME_INFIX)-$(CLUTTER_API_VERSION).pc: clutter.pc
|
|
||||||
$(QUIET_GEN)cp $< $@
|
|
||||||
|
|
||||||
.PHONY: test-report full-report
|
.PHONY: test-report full-report
|
||||||
test-report full-report:
|
test-report full-report:
|
||||||
$(MAKE) -C tests/conform $(@)
|
$(MAKE) -C tests/conform $(@)
|
||||||
|
|
||||||
pkgconfig_DATA = $(pcfiles)
|
EXTRA_DIST = \
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
ChangeLog.pre-git-import \
|
ChangeLog.pre-git-import \
|
||||||
clutter.pc.in \
|
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
CLEANFILES = $(pcfiles)
|
CLEANFILES = $(pcfiles)
|
||||||
|
@ -115,6 +115,5 @@ cd $ORIGDIR || exit $?
|
|||||||
|
|
||||||
if test -z "$NOCONFIGURE"; then
|
if test -z "$NOCONFIGURE"; then
|
||||||
$srcdir/configure $AUTOGEN_CONFIGURE_ARGS "$@" || exit $?
|
$srcdir/configure $AUTOGEN_CONFIGURE_ARGS "$@" || exit $?
|
||||||
|
|
||||||
echo "Now type 'make' to compile $PROJECT."
|
echo "Now type 'make' to compile $PROJECT."
|
||||||
fi
|
fi
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
SUBDIRS = autotools mingw
|
SUBDIRS = autotools mingw
|
||||||
|
|
||||||
EXTRA_DIST = gen-gcov.pl
|
EXTRA_DIST = gen-gcov.pl stringify.sh
|
||||||
|
@ -1,18 +1,10 @@
|
|||||||
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
||||||
|
|
||||||
|
# preamble
|
||||||
NULL =
|
NULL =
|
||||||
|
|
||||||
SUBDIRS = cogl $(CLUTTER_WINSYS_BASE) $(CLUTTER_WINSYS) cally
|
# we recurse only into Cogl
|
||||||
|
SUBDIRS = cogl
|
||||||
if LOCAL_JSON_GLIB
|
|
||||||
SUBDIRS += json
|
|
||||||
clutter_json_include = -I$(top_srcdir)/clutter/json
|
|
||||||
clutter_json_dep = json/libclutter-json.la
|
|
||||||
clutter_json_libadd = $(top_builddir)/clutter/json/libclutter-json.la
|
|
||||||
clutter_json_gir = ClutterJson-@CLUTTER_API_VERSION@.gir
|
|
||||||
endif
|
|
||||||
|
|
||||||
DIST_SUBDIRS = glx egl cogl json osx x11 win32 fruity cally
|
|
||||||
|
|
||||||
# common definitions
|
# common definitions
|
||||||
CLEANFILES =
|
CLEANFILES =
|
||||||
@ -20,30 +12,16 @@ DISTCLEANFILES =
|
|||||||
EXTRA_DIST =
|
EXTRA_DIST =
|
||||||
BUILT_SOURCES =
|
BUILT_SOURCES =
|
||||||
|
|
||||||
if SUPPORT_WIN32
|
lib_LTLIBRARIES =
|
||||||
|
|
||||||
# Ideally this resources stuff would go in win32/ but libtool doesn't
|
|
||||||
# seem to pass on the -Wl argument when linking a convenience library
|
|
||||||
# so we need to do it here as part of linking the dll. libtool also
|
|
||||||
# won't let you link against the .o directly because it wants you to
|
|
||||||
# link against libtool objects for dynamic libraries.
|
|
||||||
.rc.o :
|
|
||||||
$(WINDRES) -I$(srcdir)/win32 $< $@
|
|
||||||
|
|
||||||
win32/resources.o : $(srcdir)/win32/invisible-cursor.cur
|
|
||||||
|
|
||||||
win32_resources = win32/resources.o
|
|
||||||
win32_resources_ldflag = -Wl,win32/resources.o
|
|
||||||
|
|
||||||
endif # SUPPORT_WIN32
|
|
||||||
|
|
||||||
INCLUDES = \
|
INCLUDES = \
|
||||||
-I$(top_srcdir) \
|
-I$(top_srcdir) \
|
||||||
-I$(top_srcdir)/clutter/cally \
|
-I$(top_srcdir)/clutter \
|
||||||
-I$(top_srcdir)/clutter/cogl \
|
-I$(top_srcdir)/clutter/cogl \
|
||||||
-I$(top_srcdir)/clutter/cogl/pango \
|
-I$(top_srcdir)/clutter/cogl/pango \
|
||||||
-I$(top_srcdir)/clutter \
|
-I$(top_srcdir)/clutter/$(CLUTTER_WINSYS) \
|
||||||
$(clutter_json_include) \
|
-I$(top_srcdir)/clutter/$(CLUTTER_WINSYS_BASE) \
|
||||||
|
-I$(top_srcdir)/clutter/cally \
|
||||||
-I$(top_builddir) \
|
-I$(top_builddir) \
|
||||||
-I$(top_builddir)/clutter \
|
-I$(top_builddir)/clutter \
|
||||||
-I$(top_builddir)/clutter/cogl \
|
-I$(top_builddir)/clutter/cogl \
|
||||||
@ -66,7 +44,19 @@ AM_CPPFLAGS = \
|
|||||||
|
|
||||||
AM_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS) $(GCOV_CFLAGS)
|
AM_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS) $(GCOV_CFLAGS)
|
||||||
|
|
||||||
# please, keep this sorted alphabetically
|
# these are the gir files we generate by hand
|
||||||
|
BUILT_GIRSOURCES =
|
||||||
|
|
||||||
|
# these are the gir files we generate using g-ir-scanner
|
||||||
|
INTROSPECTION_GIRS =
|
||||||
|
|
||||||
|
# the base include path for headers
|
||||||
|
clutter_includedir = $(includedir)/clutter-$(CLUTTER_API_VERSION)/clutter
|
||||||
|
|
||||||
|
# pkg-config files
|
||||||
|
pc_files =
|
||||||
|
|
||||||
|
# common sources - please, keep these sorted alphabetically
|
||||||
source_h = \
|
source_h = \
|
||||||
$(srcdir)/clutter-action.h \
|
$(srcdir)/clutter-action.h \
|
||||||
$(srcdir)/clutter-actor-meta.h \
|
$(srcdir)/clutter-actor-meta.h \
|
||||||
@ -146,22 +136,6 @@ source_h = \
|
|||||||
$(srcdir)/clutter-util.h \
|
$(srcdir)/clutter-util.h \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
built_source_h = \
|
|
||||||
clutter-enum-types.h \
|
|
||||||
clutter-marshal.h
|
|
||||||
|
|
||||||
# glib-genmarshal rules
|
|
||||||
glib_marshal_list = clutter-marshal.list
|
|
||||||
glib_marshal_prefix = _clutter_marshal
|
|
||||||
include $(top_srcdir)/build/autotools/Makefile.am.marshal
|
|
||||||
|
|
||||||
# glib-mkenums rules
|
|
||||||
glib_enum_h = clutter-enum-types.h
|
|
||||||
glib_enum_c = clutter-enum-types.c
|
|
||||||
glib_enum_headers = $(source_h)
|
|
||||||
include $(top_srcdir)/build/autotools/Makefile.am.enums
|
|
||||||
|
|
||||||
# please, keep this sorted alphabetically
|
|
||||||
source_c = \
|
source_c = \
|
||||||
$(srcdir)/clutter-action.c \
|
$(srcdir)/clutter-action.c \
|
||||||
$(srcdir)/clutter-actor-meta.c \
|
$(srcdir)/clutter-actor-meta.c \
|
||||||
@ -240,16 +214,7 @@ source_c = \
|
|||||||
$(srcdir)/clutter-util.c \
|
$(srcdir)/clutter-util.c \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
source_c_priv = \
|
# private headers; these should not be distributed or introspected
|
||||||
$(srcdir)/clutter-id-pool.c \
|
|
||||||
$(srcdir)/clutter-profile.c \
|
|
||||||
$(srcdir)/clutter-timeout-interval.c \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
built_source_c = \
|
|
||||||
clutter-enum-types.c \
|
|
||||||
clutter-marshal.c
|
|
||||||
|
|
||||||
source_h_priv = \
|
source_h_priv = \
|
||||||
$(srcdir)/clutter-actor-meta-private.h \
|
$(srcdir)/clutter-actor-meta-private.h \
|
||||||
$(srcdir)/clutter-bezier.h \
|
$(srcdir)/clutter-bezier.h \
|
||||||
@ -264,32 +229,341 @@ source_h_priv = \
|
|||||||
$(srcdir)/clutter-timeout-interval.h \
|
$(srcdir)/clutter-timeout-interval.h \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
# private source code; these should not be introspected
|
||||||
|
source_c_priv = \
|
||||||
|
$(srcdir)/clutter-id-pool.c \
|
||||||
|
$(srcdir)/clutter-profile.c \
|
||||||
|
$(srcdir)/clutter-timeout-interval.c \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
# built sources
|
||||||
|
built_source_c = \
|
||||||
|
clutter-enum-types.c \
|
||||||
|
clutter-marshal.c \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
# built headers
|
||||||
|
built_source_h = \
|
||||||
|
clutter-enum-types.h \
|
||||||
|
clutter-marshal.h \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
# version header
|
||||||
|
DISTCLEANFILES += clutter-version.h
|
||||||
|
EXTRA_DIST += clutter-version.h.in
|
||||||
|
|
||||||
|
# key symbol update script
|
||||||
|
EXTRA_DIST += clutter-keysyms-update.pl
|
||||||
|
|
||||||
|
pc_files += clutter-$(CLUTTER_API_VERSION).pc
|
||||||
|
|
||||||
|
# backends source listings
|
||||||
|
#
|
||||||
|
# backend_source_c := source code
|
||||||
|
# backend_source_h := installed public headers
|
||||||
|
# backend_source_c_priv := source that should not be scanned by g-i
|
||||||
|
# backend_source_h_priv := private headers
|
||||||
|
# backend_source_built := built sources
|
||||||
|
#
|
||||||
|
backend_source_c =
|
||||||
|
backend_source_h =
|
||||||
|
backend_source_c_priv =
|
||||||
|
backend_source_h_priv =
|
||||||
|
backend_source_built =
|
||||||
|
|
||||||
|
# X11 backend rules
|
||||||
|
if SUPPORT_X11
|
||||||
|
x11_source_c = \
|
||||||
|
$(srcdir)/x11/clutter-backend-x11.c \
|
||||||
|
$(srcdir)/x11/clutter-device-manager-x11.c \
|
||||||
|
$(srcdir)/x11/clutter-event-x11.c \
|
||||||
|
$(srcdir)/x11/clutter-input-device-x11.c \
|
||||||
|
$(srcdir)/x11/clutter-keymap-x11.c \
|
||||||
|
$(srcdir)/x11/clutter-stage-x11.c \
|
||||||
|
$(srcdir)/x11/clutter-x11-texture-pixmap.c \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
x11_source_h = \
|
||||||
|
$(srcdir)/x11/clutter-x11.h \
|
||||||
|
$(srcdir)/x11/clutter-x11-texture-pixmap.h \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
backend_source_h_priv += \
|
||||||
|
$(srcdir)/x11/clutter-backend-x11.h \
|
||||||
|
$(srcdir)/x11/clutter-device-manager-x11.h \
|
||||||
|
$(srcdir)/x11/clutter-input-device-x11.h \
|
||||||
|
$(srcdir)/x11/clutter-keymap-x11.h \
|
||||||
|
$(srcdir)/x11/clutter-settings-x11.h \
|
||||||
|
$(srcdir)/x11/clutter-stage-x11.h \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
backend_source_c_priv += \
|
||||||
|
$(srcdir)/x11/xsettings/xsettings-client.c \
|
||||||
|
$(srcdir)/x11/xsettings/xsettings-client.h \
|
||||||
|
$(srcdir)/x11/xsettings/xsettings-common.c \
|
||||||
|
$(srcdir)/x11/xsettings/xsettings-common.h \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
backend_source_h += $(x11_source_h)
|
||||||
|
backend_source_c += $(x11_source_c)
|
||||||
|
|
||||||
|
# the list of files we want to introspect on X11
|
||||||
|
x11_introspection = $(x11_source_c) $(x11_source_h)
|
||||||
|
|
||||||
|
# pkg-config file for the X11 meta-backend
|
||||||
|
clutter-x11-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
|
||||||
|
$(QUIET_GEN)cp -f $< $(@F)
|
||||||
|
|
||||||
|
pc_files += clutter-x11-$(CLUTTER_API_VERSION).pc
|
||||||
|
|
||||||
|
clutterx11_includedir = $(clutter_includedir)/x11
|
||||||
|
clutterx11_include_HEADERS = $(x11_source_h)
|
||||||
|
endif # SUPPORT_X11
|
||||||
|
|
||||||
|
# GLX backend rules
|
||||||
|
if SUPPORT_GLX
|
||||||
|
glx_source_c = \
|
||||||
|
$(srcdir)/glx/clutter-backend-glx.c \
|
||||||
|
$(srcdir)/glx/clutter-event-glx.c \
|
||||||
|
$(srcdir)/glx/clutter-glx-texture-pixmap.c \
|
||||||
|
$(srcdir)/glx/clutter-stage-glx.c \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
glx_source_h = \
|
||||||
|
$(srcdir)/glx/clutter-glx-texture-pixmap.h \
|
||||||
|
$(srcdir)/glx/clutter-glx.h \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
backend_source_h_priv += \
|
||||||
|
$(srcdir)/glx/clutter-backend-glx.h \
|
||||||
|
$(srcdir)/glx/clutter-event-glx.h \
|
||||||
|
$(srcdir)/glx/clutter-stage-glx.h \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
backend_source_h += $(glx_source_h)
|
||||||
|
backend_source_c += $(glx_source_c)
|
||||||
|
|
||||||
|
# XXX - this is another hack; we installed glx headers under includedir/glx
|
||||||
|
# instead of using the same directory.
|
||||||
|
clutterglx_includedir = $(clutter_includedir)/glx
|
||||||
|
clutterglx_include_HEADERS = $(glx_source_h)
|
||||||
|
endif # SUPPORT_GLX
|
||||||
|
|
||||||
|
# Windows backend rules
|
||||||
|
if SUPPORT_WIN32
|
||||||
|
# Ideally this resources stuff would go in win32/ but libtool doesn't
|
||||||
|
# seem to pass on the -Wl argument when linking a convenience library
|
||||||
|
# so we need to do it here as part of linking the dll. libtool also
|
||||||
|
# won't let you link against the .o directly because it wants you to
|
||||||
|
# link against libtool objects for dynamic libraries.
|
||||||
|
.rc.o :
|
||||||
|
$(WINDRES) -I$(srcdir)/win32 $< $@
|
||||||
|
|
||||||
|
win32/resources.o : $(srcdir)/win32/invisible-cursor.cur
|
||||||
|
|
||||||
|
win32_resources = win32/resources.o
|
||||||
|
win32_resources_ldflag = -Wl,win32/resources.o
|
||||||
|
|
||||||
|
win32_source_c = \
|
||||||
|
$(srcdir)/win32/clutter-backend-win32.c \
|
||||||
|
$(srcdir)/win32/clutter-device-manager-win32.c \
|
||||||
|
$(srcdir)/win32/clutter-event-win32.c \
|
||||||
|
$(srcdir)/win32/clutter-stage-win32.c \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
win32_source_h = \
|
||||||
|
$(srcdir)/win32/clutter-win32.h \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
backend_source_h_priv += \
|
||||||
|
$(srcdir)/win32/clutter-backend-win32.h \
|
||||||
|
$(srcdir)/win32/clutter-device-manager-win32.h \
|
||||||
|
$(srcdir)/win32/clutter-stage-win32.h \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
backend_source_h += $(win32_source_h)
|
||||||
|
backend_source_c += $(win32_source_c)
|
||||||
|
|
||||||
|
clutterwin_includedir = $(clutter_includedir)/win32
|
||||||
|
clutterwin_include_HEADERS = $(win32_source_h)
|
||||||
|
|
||||||
|
EXTRA_DIST += invisible-cursor.cur resources.rc
|
||||||
|
endif # SUPPORT_WIN32
|
||||||
|
|
||||||
|
# EGL backend rules
|
||||||
|
if SUPPORT_EGL
|
||||||
|
egl_source_h = \
|
||||||
|
$(srcdir)/egl/clutter-egl-headers.h \
|
||||||
|
$(srcdir)/egl/clutter-egl.h \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
backend_source_c += \
|
||||||
|
$(srcdir)/egl/clutter-backend-egl.c \
|
||||||
|
$(srcdir)/egl/clutter-stage-egl.c \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
backend_source_h_priv += \
|
||||||
|
$(srcdir)/egl/clutter-backend-egl.h \
|
||||||
|
$(srcdir)/egl/clutter-stage-egl.h \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
if USE_TSLIB
|
||||||
|
backend_source_c_priv += $(srcdir)/egl/clutter-event-tslib.c
|
||||||
|
endif # SUPPORT_TSLIB
|
||||||
|
|
||||||
|
if SUPPORT_CEX100
|
||||||
|
backend_source_h_priv += $(srcdir)/egl/clutter-backend-cex100.h
|
||||||
|
backend_source_c_priv += $(srcdir)/egl/clutter-backend-cex100.c
|
||||||
|
|
||||||
|
egl_source_h += $(srcdir)/egl/clutter-cex100.h
|
||||||
|
endif # SUPPORT_CEX100
|
||||||
|
|
||||||
|
backend_source_h += $(egl_source_h)
|
||||||
|
|
||||||
|
clutteregl_includedir = $(clutter_includedir)/egl
|
||||||
|
clutteregl_include_HEADERS = $(egl_source_h)
|
||||||
|
endif # SUPPORT_EGL
|
||||||
|
|
||||||
|
# OSX backend rules
|
||||||
|
if SUPPORT_OSX
|
||||||
|
|
||||||
|
endif # SUPPORT_OSX
|
||||||
|
|
||||||
|
# Fruity backend rules
|
||||||
|
if SUPPORT_FRUITY
|
||||||
|
|
||||||
|
endif # SUPPORT_FRUITY
|
||||||
|
|
||||||
|
# cally
|
||||||
|
cally_sources_h = \
|
||||||
|
$(srcdir)/cally/cally-actor.h \
|
||||||
|
$(srcdir)/cally/cally-clone.h \
|
||||||
|
$(srcdir)/cally/cally-factory.h \
|
||||||
|
$(srcdir)/cally/cally-group.h \
|
||||||
|
$(srcdir)/cally/cally.h \
|
||||||
|
$(srcdir)/cally/cally-main.h \
|
||||||
|
$(srcdir)/cally/cally-rectangle.h \
|
||||||
|
$(srcdir)/cally/cally-root.h \
|
||||||
|
$(srcdir)/cally/cally-stage.h \
|
||||||
|
$(srcdir)/cally/cally-text.h \
|
||||||
|
$(srcdir)/cally/cally-texture.h \
|
||||||
|
$(srcdir)/cally/cally-util.h \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
cally_sources_c = \
|
||||||
|
$(srcdir)/cally/cally-actor.c \
|
||||||
|
$(srcdir)/cally/cally.c \
|
||||||
|
$(srcdir)/cally/cally-clone.c \
|
||||||
|
$(srcdir)/cally/cally-group.c \
|
||||||
|
$(srcdir)/cally/cally-rectangle.c \
|
||||||
|
$(srcdir)/cally/cally-root.c \
|
||||||
|
$(srcdir)/cally/cally-stage.c \
|
||||||
|
$(srcdir)/cally/cally-text.c \
|
||||||
|
$(srcdir)/cally/cally-texture.c \
|
||||||
|
$(srcdir)/cally/cally-util.c \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
cally_sources_private = \
|
||||||
|
$(srcdir)/cally/cally-actor-private.h \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
cally_includedir = $(clutter_includedir)/cally
|
||||||
|
cally_include_HEADERS = $(cally_sources_h)
|
||||||
|
|
||||||
|
pc_files += cally/cally-$(CLUTTER_API_VERSION).pc
|
||||||
|
EXTRA_DIST += cally/cally.pc.in
|
||||||
|
|
||||||
|
# json
|
||||||
|
if LOCAL_JSON_GLIB
|
||||||
|
json_gir = ClutterJson-@CLUTTER_API_VERSION@.gir
|
||||||
|
json_gir_include = --include-uninstalled=$(top_builddir)/clutter/ClutterJson-@CLUTTER_API_VERSION@.gir
|
||||||
|
|
||||||
|
json_sources_h = \
|
||||||
|
$(srcdir)/json/json-generator.h \
|
||||||
|
$(srcdir)/json/json-glib.h \
|
||||||
|
$(srcdir)/json/json-parser.h \
|
||||||
|
$(srcdir)/json/json-types.h \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
json_sources_c = \
|
||||||
|
$(srcdir)/json/json-array.c \
|
||||||
|
$(srcdir)/json/json-node.c \
|
||||||
|
$(srcdir)/json/json-object.c \
|
||||||
|
$(srcdir)/json/json-parser.c \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
json_sources_priv = \
|
||||||
|
$(srcdir)/json/json-marshal.c \
|
||||||
|
$(srcdir)/json/json-marshal.h \
|
||||||
|
$(srcdir)/json/json-types-private.h \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
INCLUDES += $(top_srcdir)/clutter/json
|
||||||
|
else
|
||||||
|
json_gir_include=--include=Json-1.0
|
||||||
|
endif # LOCAL_JSON_GLIB
|
||||||
|
|
||||||
|
# general build rules:
|
||||||
|
# you should not need to modify anything below this point
|
||||||
|
|
||||||
|
# glib-genmarshal rules
|
||||||
|
glib_marshal_list = clutter-marshal.list
|
||||||
|
glib_marshal_prefix = _clutter_marshal
|
||||||
|
include $(top_srcdir)/build/autotools/Makefile.am.marshal
|
||||||
|
|
||||||
|
# glib-mkenums rules
|
||||||
|
glib_enum_h = clutter-enum-types.h
|
||||||
|
glib_enum_c = clutter-enum-types.c
|
||||||
|
glib_enum_headers = $(source_h) $(backend_source_h)
|
||||||
|
include $(top_srcdir)/build/autotools/Makefile.am.enums
|
||||||
|
|
||||||
|
# backend-specific pkg-config file
|
||||||
|
clutter-$(CLUTTER_WINSYS)-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
|
||||||
|
$(QUIET_GEN)cp -f $< $(@F)
|
||||||
|
|
||||||
|
pc_files += clutter-$(CLUTTER_WINSYS)-$(CLUTTER_API_VERSION).pc
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = $(pc_files)
|
||||||
|
DISTCLEANFILES += $(pc_files)
|
||||||
|
|
||||||
|
clutter_include_HEADERS = $(source_h) $(top_srcdir)/clutter/clutter.h
|
||||||
|
nodist_clutter_include_HEADERS = \
|
||||||
|
$(top_builddir)/clutter/clutter-json.h \
|
||||||
|
$(top_builddir)/clutter/clutter-version.h \
|
||||||
|
$(built_source_h)
|
||||||
|
|
||||||
|
lib_LTLIBRARIES += libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
|
||||||
|
|
||||||
libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_LIBADD = \
|
libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_LIBADD = \
|
||||||
$(CLUTTER_LIBS) \
|
$(CLUTTER_LIBS) \
|
||||||
$(top_builddir)/clutter/cally/libcally.la \
|
|
||||||
$(top_builddir)/clutter/cogl/cogl/libclutter-cogl.la \
|
$(top_builddir)/clutter/cogl/cogl/libclutter-cogl.la \
|
||||||
$(top_builddir)/clutter/cogl/pango/libcoglpango.la \
|
$(top_builddir)/clutter/cogl/pango/libcoglpango.la
|
||||||
$(top_builddir)/clutter/$(CLUTTER_WINSYS)/libclutter-$(CLUTTER_WINSYS).la \
|
|
||||||
$(clutter_json_libadd) \
|
|
||||||
$(CLUTTER_WINSYS_BASE_LIB)
|
|
||||||
|
|
||||||
|
|
||||||
libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_DEPENDENCIES = \
|
libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_DEPENDENCIES = \
|
||||||
$(top_builddir)/clutter/cally/libcally.la \
|
|
||||||
$(top_builddir)/clutter/cogl/cogl/libclutter-cogl.la \
|
$(top_builddir)/clutter/cogl/cogl/libclutter-cogl.la \
|
||||||
$(top_builddir)/clutter/cogl/pango/libcoglpango.la \
|
$(top_builddir)/clutter/cogl/pango/libcoglpango.la \
|
||||||
$(top_builddir)/clutter/$(CLUTTER_WINSYS)/libclutter-$(CLUTTER_WINSYS).la \
|
|
||||||
$(clutter_json_dep) \
|
|
||||||
$(CLUTTER_WINSYS_BASE_LIB) \
|
|
||||||
$(win32_resources)
|
$(win32_resources)
|
||||||
|
|
||||||
libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_SOURCES = \
|
libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_SOURCES = \
|
||||||
|
$(backend_source_c) \
|
||||||
|
$(backend_source_h) \
|
||||||
|
$(backend_source_c_priv) \
|
||||||
|
$(backend_source_h_priv) \
|
||||||
$(source_c) \
|
$(source_c) \
|
||||||
$(source_h) \
|
$(source_h) \
|
||||||
$(source_c_priv) \
|
$(source_c_priv) \
|
||||||
$(source_h_priv)
|
$(source_h_priv) \
|
||||||
|
$(cally_sources_c) \
|
||||||
|
$(cally_sources_h) \
|
||||||
|
$(cally_sources_private) \
|
||||||
|
$(json_sources_c) \
|
||||||
|
$(json_sources_h) \
|
||||||
|
$(json_sources_priv) \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
nodist_libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_SOURCES = \
|
nodist_libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_SOURCES = \
|
||||||
|
$(backend_source_built) \
|
||||||
$(built_source_c) \
|
$(built_source_c) \
|
||||||
$(built_source_h)
|
$(built_source_h)
|
||||||
|
|
||||||
@ -303,51 +577,7 @@ libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_LDFLAGS = \
|
|||||||
$(win32_resources_ldflag) \
|
$(win32_resources_ldflag) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
lib_LTLIBRARIES = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
|
# gobject-introspection rules
|
||||||
|
|
||||||
clutterdir = $(includedir)/clutter-$(CLUTTER_API_VERSION)/clutter
|
|
||||||
clutter_HEADERS = \
|
|
||||||
$(source_h) \
|
|
||||||
$(top_srcdir)/clutter/clutter.h
|
|
||||||
nodist_clutter_HEADERS = \
|
|
||||||
$(top_builddir)/clutter/clutter-json.h \
|
|
||||||
$(top_builddir)/clutter/clutter-version.h \
|
|
||||||
$(built_source_h)
|
|
||||||
|
|
||||||
|
|
||||||
DISTCLEANFILES += clutter-version.h
|
|
||||||
EXTRA_DIST += clutter-version.h.in
|
|
||||||
|
|
||||||
# these are the gir files we generate
|
|
||||||
BUILT_GIRSOURCES =
|
|
||||||
|
|
||||||
# these are the gir files we scan
|
|
||||||
INTROSPECTION_GIRS =
|
|
||||||
|
|
||||||
if LOCAL_JSON_GLIB
|
|
||||||
json_gir_include=--include-uninstalled=$(top_builddir)/clutter/ClutterJson-@CLUTTER_API_VERSION@.gir
|
|
||||||
|
|
||||||
ClutterJson-@CLUTTER_API_VERSION@.gir: libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la Makefile
|
|
||||||
|
|
||||||
clutterjson_sources = $(top_srcdir)/clutter/json/*.h $(top_srcdir)/clutter/json/*.c
|
|
||||||
clutterjson_introspection_files=$(filter-out %-private.h, $(clutterjson_sources))
|
|
||||||
|
|
||||||
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = ClutterJson
|
|
||||||
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
|
|
||||||
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
|
|
||||||
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_FILES = $(clutterjson_introspection_files)
|
|
||||||
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -DJSON_COMPILATION
|
|
||||||
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = GObject-2.0
|
|
||||||
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
|
|
||||||
--warn-all \
|
|
||||||
--identifier-prefix=Json \
|
|
||||||
--symbol-prefix=json
|
|
||||||
|
|
||||||
INTROSPECTION_GIRS += ClutterJson-@CLUTTER_API_VERSION@.gir
|
|
||||||
else
|
|
||||||
json_gir_include=--include=Json-1.0
|
|
||||||
endif # LOCAL_JSON_GLIB
|
|
||||||
|
|
||||||
-include $(INTROSPECTION_MAKEFILE)
|
-include $(INTROSPECTION_MAKEFILE)
|
||||||
|
|
||||||
if HAVE_INTROSPECTION
|
if HAVE_INTROSPECTION
|
||||||
@ -364,13 +594,13 @@ Clutter_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = GL-1.0 GObject-2.0 Atk-1.0 Pango
|
|||||||
Clutter_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
|
Clutter_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
|
||||||
--warn-all \
|
--warn-all \
|
||||||
--c-include='clutter/clutter.h' \
|
--c-include='clutter/clutter.h' \
|
||||||
--pkg-export clutter-1.0 \
|
--pkg-export clutter-@CLUTTER_API_VERSION@ \
|
||||||
$(json_gir_include) \
|
$(json_gir_include) \
|
||||||
--include-uninstalled=$(top_builddir)/clutter/cogl/cogl/Cogl-@CLUTTER_API_VERSION@.gir
|
--include-uninstalled=$(top_builddir)/clutter/cogl/cogl/Cogl-@CLUTTER_API_VERSION@.gir
|
||||||
|
|
||||||
# ClutterJson.gir and Cogl.gir are used included into Clutter.gir, so they
|
# ClutterJson.gir and Cogl.gir are used included into Clutter.gir, so they
|
||||||
# need to be built before the typelib is generated
|
# need to be built before the typelib is generated
|
||||||
Clutter-@CLUTTER_API_VERSION@.typelib: $(clutter_json_gir) Cogl-@CLUTTER_API_VERSION@.gir
|
Clutter-@CLUTTER_API_VERSION@.typelib: $(json_gir) Cogl-@CLUTTER_API_VERSION@.gir
|
||||||
|
|
||||||
# We build Cogl.gir in the cogl/ subdir, but it needs to reference the shared
|
# We build Cogl.gir in the cogl/ subdir, but it needs to reference the shared
|
||||||
# library that it's built into, so we delay compiling the gir into typelib
|
# library that it's built into, so we delay compiling the gir into typelib
|
||||||
@ -384,62 +614,54 @@ Cogl-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir cogl/
|
|||||||
|
|
||||||
BUILT_GIRSOURCES += Cogl-@CLUTTER_API_VERSION@.gir
|
BUILT_GIRSOURCES += Cogl-@CLUTTER_API_VERSION@.gir
|
||||||
|
|
||||||
# Cally depends on Clutter because it exposes Clutter types; for this reason,
|
|
||||||
# we cannot build Cally.gir under cally/ and then do the shlib trick we do
|
|
||||||
# for Cogl
|
|
||||||
cally_sources=$(top_srcdir)/clutter/cally/*.h $(top_srcdir)/clutter/cally/*.c
|
|
||||||
cally_introspection_files=$(filter-out %-private.h, $(cally_sources))
|
|
||||||
|
|
||||||
Cally-@CLUTTER_API_VERSION@.gir: Clutter-@CLUTTER_API_VERSION@.gir Makefile
|
Cally-@CLUTTER_API_VERSION@.gir: Clutter-@CLUTTER_API_VERSION@.gir Makefile
|
||||||
|
|
||||||
Cally_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Cally
|
Cally_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Cally
|
||||||
Cally_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
|
Cally_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
|
||||||
Cally_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
|
Cally_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
|
||||||
Cally_@CLUTTER_API_VERSION_AM@_gir_FILES = $(cally_introspection_files)
|
Cally_@CLUTTER_API_VERSION_AM@_gir_FILES = $(cally_sources_h) $(cally_sources_c)
|
||||||
Cally_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
|
Cally_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
|
||||||
Cally_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
|
Cally_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
|
||||||
--warn-all \
|
--warn-all \
|
||||||
--c-include='cally/cally.h' \
|
--c-include='cally/cally.h' \
|
||||||
--add-include-path $(top_builddir)/clutter \
|
--pkg-export=cally-@CLUTTER_API_VERSION@ \
|
||||||
$(json_gir_include) \
|
$(json_gir_include) \
|
||||||
|
--include-uninstalled $(top_builddir)/clutter/Cogl-@CLUTTER_API_VERSION@.gir \
|
||||||
--include-uninstalled $(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
|
--include-uninstalled $(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
|
||||||
|
|
||||||
INTROSPECTION_GIRS += Cally-@CLUTTER_API_VERSION@.gir
|
INTROSPECTION_GIRS += Cally-@CLUTTER_API_VERSION@.gir
|
||||||
|
|
||||||
|
if LOCAL_JSON_GLIB
|
||||||
|
ClutterJson-@CLUTTER_API_VERSION@.gir: libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
|
||||||
|
|
||||||
|
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = ClutterJson
|
||||||
|
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
|
||||||
|
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
|
||||||
|
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_FILES = $(json_sources_c) $(json_sources_h)
|
||||||
|
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS)
|
||||||
|
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = GObject-2.0
|
||||||
|
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
|
||||||
|
--warn-all \
|
||||||
|
--identifier-prefix=Json \
|
||||||
|
--symbol-prefix=json
|
||||||
|
|
||||||
|
INTROSPECTION_GIRS += ClutterJson-@CLUTTER_API_VERSION@.gir
|
||||||
|
endif # LOCAL_JSON_GLIB
|
||||||
|
|
||||||
if SUPPORT_X11
|
if SUPPORT_X11
|
||||||
|
ClutterX11-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir Cogl-@CLUTTER_API_VERSION@.gir
|
||||||
x11_sources = \
|
|
||||||
x11/clutter-backend-x11.c \
|
|
||||||
x11/clutter-backend-x11.h \
|
|
||||||
x11/clutter-device-manager-x11.c \
|
|
||||||
x11/clutter-device-manager-x11.h \
|
|
||||||
x11/clutter-event-x11.c \
|
|
||||||
x11/clutter-input-device-x11.c \
|
|
||||||
x11/clutter-input-device-x11.h \
|
|
||||||
x11/clutter-keymap-x11.c \
|
|
||||||
x11/clutter-keymap-x11.h \
|
|
||||||
x11/clutter-settings-x11.h \
|
|
||||||
x11/clutter-stage-x11.c \
|
|
||||||
x11/clutter-stage-x11.h \
|
|
||||||
x11/clutter-x11-enum-types.c \
|
|
||||||
x11/clutter-x11-enum-types.h \
|
|
||||||
x11/clutter-x11.h \
|
|
||||||
x11/clutter-x11-texture-pixmap.c \
|
|
||||||
x11/clutter-x11-texture-pixmap.h
|
|
||||||
|
|
||||||
ClutterX11-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
|
|
||||||
|
|
||||||
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
|
||||||
--warn-all \
|
--warn-all \
|
||||||
--identifier-prefix=ClutterX11 \
|
--identifier-prefix=ClutterX11 \
|
||||||
--symbol-prefix=clutter_x11 \
|
--symbol-prefix=clutter_x11 \
|
||||||
$(json_gir_include) \
|
$(json_gir_include) \
|
||||||
--include-uninstalled=$(top_builddir)/clutter/cogl/cogl/Cogl-@CLUTTER_API_VERSION@.gir \
|
--include-uninstalled=$(top_builddir)/clutter/Cogl-@CLUTTER_API_VERSION@.gir \
|
||||||
--include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
|
--include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
|
||||||
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = xlib-2.0
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = xlib-2.0
|
||||||
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
|
||||||
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_FILES = $(x11_sources)
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_FILES = $(x11_introspection)
|
||||||
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED -L$(top_builddir)/clutter
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
|
||||||
|
|
||||||
INTROSPECTION_GIRS += ClutterX11-@CLUTTER_API_VERSION@.gir
|
INTROSPECTION_GIRS += ClutterX11-@CLUTTER_API_VERSION@.gir
|
||||||
endif # SUPPORT_X11
|
endif # SUPPORT_X11
|
||||||
@ -455,7 +677,6 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) $(INTROSPECTION_GIRS:.gir=.typ
|
|||||||
CLEANFILES += $(gir_DATA) $(typelibs_DATA)
|
CLEANFILES += $(gir_DATA) $(typelibs_DATA)
|
||||||
endif # HAVE_INTROSPECTION
|
endif # HAVE_INTROSPECTION
|
||||||
|
|
||||||
EXTRA_DIST += clutter-keysyms-update.pl
|
# GCov rules
|
||||||
|
gcov_sources = $(source_c) $(backend_source_c)
|
||||||
gcov_sources = $(source_c)
|
|
||||||
include $(top_srcdir)/build/autotools/Makefile.am.gcov
|
include $(top_srcdir)/build/autotools/Makefile.am.gcov
|
||||||
|
@ -1,80 +0,0 @@
|
|||||||
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
||||||
|
|
||||||
EXTRA_DIST =
|
|
||||||
CLEANFILES =
|
|
||||||
DISTCLEANFILES =
|
|
||||||
|
|
||||||
# pkg-config ==================================================================
|
|
||||||
pc_files = \
|
|
||||||
cally-$(CLUTTER_API_VERSION).pc
|
|
||||||
|
|
||||||
cally-$(CLUTTER_API_VERSION).pc: cally.pc
|
|
||||||
$(QUIET_GEN)cp -f $< $(@F)
|
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
|
||||||
pkgconfig_DATA = $(pc_files)
|
|
||||||
|
|
||||||
EXTRA_DIST += cally.pc.in
|
|
||||||
CLEANFILES += $(pc_files)
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libcally.la
|
|
||||||
|
|
||||||
cally_h_sources = cally.h \
|
|
||||||
cally-actor.h \
|
|
||||||
cally-factory.h \
|
|
||||||
cally-group.h \
|
|
||||||
cally-main.h \
|
|
||||||
cally-rectangle.h \
|
|
||||||
cally-root.h \
|
|
||||||
cally-stage.h \
|
|
||||||
cally-text.h \
|
|
||||||
cally-texture.h \
|
|
||||||
cally-clone.h \
|
|
||||||
cally-util.h
|
|
||||||
|
|
||||||
cally_private_h_sources = cally-actor-private.h
|
|
||||||
|
|
||||||
cally_c_sources = cally.c \
|
|
||||||
cally-actor.c \
|
|
||||||
cally-group.c \
|
|
||||||
cally-rectangle.c \
|
|
||||||
cally-root.c \
|
|
||||||
cally-stage.c \
|
|
||||||
cally-text.c \
|
|
||||||
cally-texture.c \
|
|
||||||
cally-clone.c \
|
|
||||||
cally-util.c
|
|
||||||
|
|
||||||
libcally_la_SOURCES = \
|
|
||||||
$(cally_private_h_sources) \
|
|
||||||
$(cally_h_sources) \
|
|
||||||
$(cally_c_sources)
|
|
||||||
|
|
||||||
INCLUDES = \
|
|
||||||
-I$(top_srcdir) \
|
|
||||||
-I$(top_srcdir)/clutter \
|
|
||||||
-I$(top_srcdir)/clutter/cally \
|
|
||||||
-I$(top_srcdir)/clutter/cogl \
|
|
||||||
-I$(top_builddir)/clutter \
|
|
||||||
-I$(top_builddir)/clutter/cogl
|
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
|
||||||
-DG_LOG_DOMAIN=\"Cally\" \
|
|
||||||
-DCLUTTER_COMPILATION \
|
|
||||||
-DVERSION=\"$(VERSION)\" \
|
|
||||||
$(CLUTTER_DEBUG_CFLAGS)
|
|
||||||
|
|
||||||
AM_CFLAGS = \
|
|
||||||
$(CLUTTER_CFLAGS) \
|
|
||||||
$(MAINTAINER_CFLAGS)
|
|
||||||
|
|
||||||
|
|
||||||
libcallydir=$(includedir)/clutter-@CLUTTER_API_VERSION@/cally
|
|
||||||
|
|
||||||
# In opposit to GAIL, CALLY exports all the headers. It will very
|
|
||||||
# unlikely in any real final clutter-based application to use only raw
|
|
||||||
# CALLY. In fact, after HAIL experience, probably export GAIL
|
|
||||||
# interfaces would be a good idea
|
|
||||||
libcally_HEADERS = $(cally_h_sources)
|
|
||||||
|
|
||||||
libcally_la_LIBADD = $(CLUTTER_LIBS)
|
|
@ -3,16 +3,9 @@ exec_prefix=@exec_prefix@
|
|||||||
libdir=@libdir@
|
libdir=@libdir@
|
||||||
includedir=@includedir@
|
includedir=@includedir@
|
||||||
|
|
||||||
apiversion=@CLUTTER_API_VERSION@
|
|
||||||
winsys=@CLUTTER_WINSYS@
|
|
||||||
soname_infix=@CLUTTER_SONAME_INFIX@
|
|
||||||
cogl_driver=@COGL_DRIVER@
|
|
||||||
requires=@CLUTTER_REQUIRES@
|
|
||||||
|
|
||||||
Name: Cally
|
Name: Cally
|
||||||
Description: Clutter Accessibility Implementation Library
|
Description: Clutter Accessibility Implementation Library
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Requires: atk clutter-1.0
|
|
||||||
Libs: -L${libdir} -lclutter-${winsys}-${apiversion}
|
Libs: -L${libdir} -lclutter-${winsys}-${apiversion}
|
||||||
Cflags: -I${includedir}/clutter-${apiversion}
|
Cflags: -I${includedir}/clutter-${apiversion}
|
||||||
Requires: ${requires}
|
Requires: atk clutter-1.0
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
||||||
|
|
||||||
|
# preamble
|
||||||
|
|
||||||
NULL =
|
NULL =
|
||||||
|
|
||||||
SUBDIRS = driver
|
SUBDIRS =
|
||||||
|
|
||||||
BUILT_SOURCES =
|
BUILT_SOURCES =
|
||||||
|
|
||||||
@ -12,23 +14,6 @@ DISTCLEANFILES =
|
|||||||
|
|
||||||
noinst_LTLIBRARIES =
|
noinst_LTLIBRARIES =
|
||||||
|
|
||||||
# pkg-config ==================================================================
|
|
||||||
pc_files = \
|
|
||||||
cogl-$(COGL_DRIVER)-$(CLUTTER_API_VERSION).pc \
|
|
||||||
cogl-$(CLUTTER_API_VERSION).pc
|
|
||||||
|
|
||||||
cogl-$(CLUTTER_API_VERSION).pc: cogl.pc
|
|
||||||
$(QUIET_GEN)cp -f $< $(@F)
|
|
||||||
|
|
||||||
cogl-$(COGL_DRIVER)-$(CLUTTER_API_VERSION).pc: cogl.pc
|
|
||||||
$(QUIET_GEN)cp -f $< $(@F)
|
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
|
||||||
pkgconfig_DATA = $(pc_files)
|
|
||||||
|
|
||||||
EXTRA_DIST += cogl.pc.in
|
|
||||||
CLEANFILES += $(pc_files)
|
|
||||||
|
|
||||||
INCLUDES = \
|
INCLUDES = \
|
||||||
-I$(top_srcdir) \
|
-I$(top_srcdir) \
|
||||||
-I$(top_srcdir)/clutter/cogl \
|
-I$(top_srcdir)/clutter/cogl \
|
||||||
@ -54,6 +39,20 @@ BUILT_SOURCES += cogl-defines.h
|
|||||||
DISTCLEANFILES += cogl-defines.h
|
DISTCLEANFILES += cogl-defines.h
|
||||||
EXTRA_DIST += cogl-defines.h.in
|
EXTRA_DIST += cogl-defines.h.in
|
||||||
|
|
||||||
|
# pkg-config
|
||||||
|
pc_files = \
|
||||||
|
cogl-$(COGL_DRIVER)-$(CLUTTER_API_VERSION).pc \
|
||||||
|
cogl-$(CLUTTER_API_VERSION).pc
|
||||||
|
|
||||||
|
cogl-$(COGL_DRIVER)-$(CLUTTER_API_VERSION).pc: cogl-$(CLUTTER_API_VERSION).pc
|
||||||
|
$(QUIET_GEN)cp -f $< $(@F)
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = $(pc_files)
|
||||||
|
|
||||||
|
EXTRA_DIST += cogl.pc.in
|
||||||
|
DISTCLEANFILES += $(pc_files)
|
||||||
|
|
||||||
# public headers
|
# public headers
|
||||||
cogl_public_h = \
|
cogl_public_h = \
|
||||||
$(srcdir)/cogl-object.h \
|
$(srcdir)/cogl-object.h \
|
||||||
@ -76,6 +75,58 @@ cogl_public_h = \
|
|||||||
$(srcdir)/cogl.h \
|
$(srcdir)/cogl.h \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
# driver sources
|
||||||
|
cogl_driver_sources =
|
||||||
|
|
||||||
|
if COGL_DRIVER_GL
|
||||||
|
cogl_driver_sources += \
|
||||||
|
$(srcdir)/driver/gl/cogl-context-driver-gl.c \
|
||||||
|
$(srcdir)/driver/gl/cogl-context-driver-gl.h \
|
||||||
|
$(srcdir)/driver/gl/cogl-feature-functions-gl.h \
|
||||||
|
$(srcdir)/driver/gl/cogl-gl.c \
|
||||||
|
$(srcdir)/driver/gl/cogl-program-gl.c \
|
||||||
|
$(srcdir)/driver/gl/cogl-program-gl.h \
|
||||||
|
$(srcdir)/driver/gl/cogl-texture-driver-gl.c \
|
||||||
|
$(NULL)
|
||||||
|
endif
|
||||||
|
|
||||||
|
if COGL_DRIVER_GLES
|
||||||
|
cogl_driver_sources += \
|
||||||
|
$(srcdir)/driver/gles/cogl-context-driver-gles.c \
|
||||||
|
$(srcdir)/driver/gles/cogl-context-driver-gles.h \
|
||||||
|
$(srcdir)/driver/gles/cogl-feature-functions-gles.h \
|
||||||
|
$(srcdir)/driver/gles/cogl-gles.c \
|
||||||
|
$(srcdir)/driver/gles/cogl-program-gles.c \
|
||||||
|
$(srcdir)/driver/gles/cogl-program-gles.h \
|
||||||
|
$(srcdir)/driver/gles/cogl-texture-driver-gles.c \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
if USE_GLES2_WRAPPER
|
||||||
|
cogl_driver_sources += \
|
||||||
|
$(srcdir)/driver/gles/cogl-gles2-wrapper.c \
|
||||||
|
$(srcdir)/driver/gles/cogl-gles2-wrapper.h \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
BUILT_SOURCES += \
|
||||||
|
cogl-fixed-vertex-shader.h \
|
||||||
|
cogl-fixed-vertex-shader.c \
|
||||||
|
cogl-fixed-fragment-shader.h \
|
||||||
|
cogl-fixed-fragment-shader.c
|
||||||
|
|
||||||
|
%.h: $(srcdir)/driver/gles/%.glsl
|
||||||
|
/bin/sh $(top_srcdir)/build/stringify.sh -h $< > $@
|
||||||
|
%.c: $(srcdir)/driver/gles/%.glsl
|
||||||
|
/bin/sh $(top_srcdir)/build/stringify.sh $< > $@
|
||||||
|
|
||||||
|
endif # USE_GLES2_WAPPER
|
||||||
|
|
||||||
|
EXTRA_DIST += \
|
||||||
|
$(srcdir)/driver/gles/cogl-fixed-vertex-shader.glsl \
|
||||||
|
$(srcdir)/driver/gles/cogl-fixed-fragment-shader.glsl \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
endif # COGL_DRIVER_GLES
|
||||||
|
|
||||||
# winsys sources, common to all backends
|
# winsys sources, common to all backends
|
||||||
cogl_winsys_common_sources = \
|
cogl_winsys_common_sources = \
|
||||||
$(srcdir)/winsys/cogl-winsys.h \
|
$(srcdir)/winsys/cogl-winsys.h \
|
||||||
@ -114,11 +165,13 @@ cogl_tesselator_sources = \
|
|||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
$(srcdir)/tesselator/README \
|
$(srcdir)/tesselator/README \
|
||||||
$(srcdir)/tesselator/priorityq-heap.c
|
$(srcdir)/tesselator/priorityq-heap.c \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
# sources
|
# sources
|
||||||
cogl_sources_c = \
|
cogl_sources_c = \
|
||||||
|
$(cogl_driver_sources) \
|
||||||
$(cogl_winsys_common_sources) \
|
$(cogl_winsys_common_sources) \
|
||||||
$(cogl_tesselator_sources) \
|
$(cogl_tesselator_sources) \
|
||||||
$(srcdir)/cogl-debug.h \
|
$(srcdir)/cogl-debug.h \
|
||||||
@ -212,6 +265,47 @@ cogl_sources_c = \
|
|||||||
$(srcdir)/cogl-callback-list.c \
|
$(srcdir)/cogl-callback-list.c \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
if SUPPORT_XLIB
|
||||||
|
cogl_public_h += \
|
||||||
|
$(srcdir)/winsys/cogl-texture-pixmap-x11.h
|
||||||
|
|
||||||
|
cogl_sources_c += \
|
||||||
|
$(srcdir)/winsys/cogl-xlib.h \
|
||||||
|
$(srcdir)/winsys/cogl-xlib.c \
|
||||||
|
$(srcdir)/winsys/cogl-texture-pixmap-x11.c \
|
||||||
|
$(srcdir)/winsys/cogl-texture-pixmap-x11-private.h
|
||||||
|
endif
|
||||||
|
if SUPPORT_GLX
|
||||||
|
cogl_sources_c += \
|
||||||
|
$(srcdir)/winsys/cogl-glx.c
|
||||||
|
endif
|
||||||
|
if SUPPORT_EGL_PLATFORM_POWERVR_X11
|
||||||
|
cogl_sources_c += \
|
||||||
|
$(srcdir)/winsys/cogl-egl.c
|
||||||
|
endif
|
||||||
|
if SUPPORT_EGL_PLATFORM_POWERVR_NULL
|
||||||
|
cogl_sources_c += \
|
||||||
|
$(srcdir)/winsys/cogl-egl.c
|
||||||
|
endif
|
||||||
|
if SUPPORT_EGL_PLATFORM_POWERVR_GDL
|
||||||
|
cogl_sources_c += \
|
||||||
|
$(srcdir)/winsys/cogl-egl.c
|
||||||
|
endif
|
||||||
|
if SUPPORT_EGL_PLATFORM_FRUITY
|
||||||
|
cogl_sources_c += \
|
||||||
|
$(srcdir)/winsys/cogl-fruity.c
|
||||||
|
endif
|
||||||
|
if SUPPORT_WIN32
|
||||||
|
cogl_sources_c += \
|
||||||
|
$(srcdir)/winsys/cogl-win32.c
|
||||||
|
endif
|
||||||
|
if SUPPORT_OSX
|
||||||
|
cogl_sources_c += \
|
||||||
|
$(srcdir)/winsys/cogl-osx.c
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST += stb_image.c
|
||||||
|
|
||||||
# glib-mkenums rules
|
# glib-mkenums rules
|
||||||
glib_enum_h = cogl-enum-types.h
|
glib_enum_h = cogl-enum-types.h
|
||||||
glib_enum_c = cogl-enum-types.c
|
glib_enum_c = cogl-enum-types.c
|
||||||
@ -220,54 +314,10 @@ include $(top_srcdir)/build/autotools/Makefile.am.enums
|
|||||||
|
|
||||||
noinst_LTLIBRARIES += libclutter-cogl.la
|
noinst_LTLIBRARIES += libclutter-cogl.la
|
||||||
|
|
||||||
libclutter_cogl_la_LIBADD = \
|
libclutter_cogl_la_LIBADD = -lm $(CLUTTER_LIBS)
|
||||||
-lm $(CLUTTER_LIBS) \
|
|
||||||
$(top_builddir)/clutter/cogl/cogl/driver/$(COGL_DRIVER)/libclutter-cogl-driver.la
|
|
||||||
|
|
||||||
libclutter_cogl_la_SOURCES = $(cogl_sources_c)
|
libclutter_cogl_la_SOURCES = $(cogl_sources_c)
|
||||||
nodist_libclutter_cogl_la_SOURCES = $(BUILT_SOURCES)
|
nodist_libclutter_cogl_la_SOURCES = $(BUILT_SOURCES)
|
||||||
|
|
||||||
if SUPPORT_XLIB
|
|
||||||
cogl_public_h += \
|
|
||||||
$(srcdir)/winsys/cogl-texture-pixmap-x11.h
|
|
||||||
|
|
||||||
libclutter_cogl_la_SOURCES += \
|
|
||||||
$(srcdir)/winsys/cogl-xlib.h \
|
|
||||||
$(srcdir)/winsys/cogl-xlib.c \
|
|
||||||
$(srcdir)/winsys/cogl-texture-pixmap-x11.c \
|
|
||||||
$(srcdir)/winsys/cogl-texture-pixmap-x11-private.h
|
|
||||||
endif
|
|
||||||
if SUPPORT_GLX
|
|
||||||
libclutter_cogl_la_SOURCES += \
|
|
||||||
$(srcdir)/winsys/cogl-glx.c
|
|
||||||
endif
|
|
||||||
if SUPPORT_EGL_PLATFORM_POWERVR_X11
|
|
||||||
libclutter_cogl_la_SOURCES += \
|
|
||||||
$(srcdir)/winsys/cogl-egl.c
|
|
||||||
endif
|
|
||||||
if SUPPORT_EGL_PLATFORM_POWERVR_NULL
|
|
||||||
libclutter_cogl_la_SOURCES += \
|
|
||||||
$(srcdir)/winsys/cogl-egl.c
|
|
||||||
endif
|
|
||||||
if SUPPORT_EGL_PLATFORM_POWERVR_GDL
|
|
||||||
libclutter_cogl_la_SOURCES += \
|
|
||||||
$(srcdir)/winsys/cogl-egl.c
|
|
||||||
endif
|
|
||||||
if SUPPORT_EGL_PLATFORM_FRUITY
|
|
||||||
libclutter_cogl_la_SOURCES += \
|
|
||||||
$(srcdir)/winsys/cogl-fruity.c
|
|
||||||
endif
|
|
||||||
if SUPPORT_WIN32
|
|
||||||
libclutter_cogl_la_SOURCES += \
|
|
||||||
$(srcdir)/winsys/cogl-win32.c
|
|
||||||
endif
|
|
||||||
if SUPPORT_OSX
|
|
||||||
libclutter_cogl_la_SOURCES += \
|
|
||||||
$(srcdir)/winsys/cogl-osx.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
EXTRA_DIST += stb_image.c
|
|
||||||
|
|
||||||
# COGL installed headers
|
# COGL installed headers
|
||||||
cogl_headers = \
|
cogl_headers = \
|
||||||
$(cogl_public_h) \
|
$(cogl_public_h) \
|
||||||
|
@ -25,7 +25,15 @@
|
|||||||
#define __COGL_CONTEXT_H
|
#define __COGL_CONTEXT_H
|
||||||
|
|
||||||
#include "cogl-internal.h"
|
#include "cogl-internal.h"
|
||||||
#include "cogl-context-driver.h"
|
|
||||||
|
#if HAVE_COGL_GL
|
||||||
|
#include "cogl-context-driver-gl.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if HAVE_COGL_GLES || HAVE_COGL_GLES2
|
||||||
|
#include "cogl-context-driver-gles.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "cogl-context-winsys.h"
|
#include "cogl-context-winsys.h"
|
||||||
#include "cogl-primitives.h"
|
#include "cogl-primitives.h"
|
||||||
#include "cogl-clip-stack.h"
|
#include "cogl-clip-stack.h"
|
||||||
|
@ -44,8 +44,13 @@
|
|||||||
#include "cogl-journal-private.h"
|
#include "cogl-journal-private.h"
|
||||||
#include "cogl-color-private.h"
|
#include "cogl-color-private.h"
|
||||||
#include "cogl-profile.h"
|
#include "cogl-profile.h"
|
||||||
#ifndef HAVE_COGL_GLES
|
|
||||||
#include "cogl-program.h"
|
#ifdef HAVE_COGL_GL
|
||||||
|
#include "cogl-program-gl.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_COGL_GLES2
|
||||||
|
#include "cogl-program-gles.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
@ -42,8 +42,13 @@
|
|||||||
#include "cogl-texture-private.h"
|
#include "cogl-texture-private.h"
|
||||||
#include "cogl-blend-string.h"
|
#include "cogl-blend-string.h"
|
||||||
#include "cogl-profile.h"
|
#include "cogl-profile.h"
|
||||||
#ifndef HAVE_COGL_GLES
|
|
||||||
#include "cogl-program.h"
|
#ifdef HAVE_COGL_GL
|
||||||
|
#include "cogl-program-gl.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_COGL_GLES2
|
||||||
|
#include "cogl-program-gles.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
@ -40,8 +40,12 @@
|
|||||||
#include "cogl-handle.h"
|
#include "cogl-handle.h"
|
||||||
#include "cogl-shader-private.h"
|
#include "cogl-shader-private.h"
|
||||||
|
|
||||||
#ifndef HAVE_COGL_GLES
|
#ifdef HAVE_COGL_GL
|
||||||
#include "cogl-program.h"
|
#include "cogl-program-gl.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_COGL_GLES2
|
||||||
|
#include "cogl-program-gles.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
@ -36,8 +36,13 @@
|
|||||||
#include "cogl-material-private.h"
|
#include "cogl-material-private.h"
|
||||||
#include "cogl-context.h"
|
#include "cogl-context.h"
|
||||||
#include "cogl-texture-private.h"
|
#include "cogl-texture-private.h"
|
||||||
#ifndef HAVE_COGL_GLES
|
|
||||||
#include "cogl-program.h"
|
#ifdef HAVE_COGL_GL
|
||||||
|
#include "cogl-program-gl.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_COGL_GLES2
|
||||||
|
#include "cogl-program-gles.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef COGL_MATERIAL_BACKEND_GLSL
|
#ifdef COGL_MATERIAL_BACKEND_GLSL
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
||||||
|
|
||||||
NULL =
|
|
||||||
|
|
||||||
INCLUDES = \
|
|
||||||
-I$(top_srcdir) \
|
|
||||||
-I$(srcdir) \
|
|
||||||
-I$(srcdir)/../.. \
|
|
||||||
-I$(srcdir)/../../.. \
|
|
||||||
-I$(srcdir)/../../winsys \
|
|
||||||
-I../.. \
|
|
||||||
-I../../.. \
|
|
||||||
-DG_DISABLE_SINGLE_INCLUDES \
|
|
||||||
-DG_LOG_DOMAIN=\"Cogl-Driver\" \
|
|
||||||
-DCLUTTER_COMPILATION
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libclutter-cogl-driver.la
|
|
||||||
libclutter_cogl_driver_la_CPPFLAGS = \
|
|
||||||
$(CLUTTER_CFLAGS) \
|
|
||||||
$(COGL_DEBUG_CFLAGS) \
|
|
||||||
$(CLUTTER_DEBUG_CFLAGS) \
|
|
||||||
$(MAINTAINER_CFLAGS)
|
|
||||||
libclutter_cogl_driver_la_SOURCES = \
|
|
||||||
cogl.c \
|
|
||||||
cogl-texture-driver.c \
|
|
||||||
cogl-program.h \
|
|
||||||
cogl-program.c \
|
|
||||||
cogl-context-driver.h \
|
|
||||||
cogl-context-driver.c \
|
|
||||||
cogl-feature-functions.h \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -35,5 +35,5 @@
|
|||||||
void
|
void
|
||||||
_cogl_create_context_driver (CoglContext *_context)
|
_cogl_create_context_driver (CoglContext *_context)
|
||||||
{
|
{
|
||||||
#include "cogl-feature-functions.h"
|
#include "cogl-feature-functions-gl.h"
|
||||||
}
|
}
|
@ -40,7 +40,7 @@
|
|||||||
typedef struct _CoglContextDriver
|
typedef struct _CoglContextDriver
|
||||||
{
|
{
|
||||||
/* This defines a list of function pointers */
|
/* This defines a list of function pointers */
|
||||||
#include "cogl-feature-functions.h"
|
#include "cogl-feature-functions-gl.h"
|
||||||
|
|
||||||
GLint gl_max_program_temoraries_arb;
|
GLint gl_max_program_temoraries_arb;
|
||||||
} CoglContextDriver;
|
} CoglContextDriver;
|
@ -153,7 +153,7 @@ _cogl_check_driver_valid (GError **error)
|
|||||||
#define COGL_FEATURE_END() \
|
#define COGL_FEATURE_END() \
|
||||||
{ NULL, 0 }, \
|
{ NULL, 0 }, \
|
||||||
};
|
};
|
||||||
#include "cogl-feature-functions.h"
|
#include "cogl-feature-functions-gl.h"
|
||||||
|
|
||||||
/* Define an array of features */
|
/* Define an array of features */
|
||||||
#undef COGL_FEATURE_BEGIN
|
#undef COGL_FEATURE_BEGIN
|
||||||
@ -170,7 +170,7 @@ _cogl_check_driver_valid (GError **error)
|
|||||||
|
|
||||||
static const CoglFeatureData cogl_feature_data[] =
|
static const CoglFeatureData cogl_feature_data[] =
|
||||||
{
|
{
|
||||||
#include "cogl-feature-functions.h"
|
#include "cogl-feature-functions-gl.h"
|
||||||
};
|
};
|
||||||
|
|
||||||
void
|
void
|
@ -29,7 +29,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "cogl.h"
|
#include "cogl.h"
|
||||||
#include "cogl-program.h"
|
#include "cogl-program-gl.h"
|
||||||
#include "cogl-shader-private.h"
|
#include "cogl-shader-private.h"
|
||||||
#include "cogl-internal.h"
|
#include "cogl-internal.h"
|
||||||
#include "cogl-handle.h"
|
#include "cogl-handle.h"
|
@ -1,57 +0,0 @@
|
|||||||
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
||||||
|
|
||||||
NULL =
|
|
||||||
|
|
||||||
INCLUDES = \
|
|
||||||
-I$(top_srcdir) \
|
|
||||||
-I$(srcdir) \
|
|
||||||
-I$(srcdir)/../.. \
|
|
||||||
-I$(srcdir)/../../.. \
|
|
||||||
-I$(srcdir)/../../winsys \
|
|
||||||
-I../.. \
|
|
||||||
-I../../.. \
|
|
||||||
-DG_DISABLE_SINGLE_INCLUDES \
|
|
||||||
-DG_LOG_DOMAIN=\"Cogl-Driver\" \
|
|
||||||
-DCLUTTER_COMPILATION
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libclutter-cogl-driver.la
|
|
||||||
libclutter_cogl_driver_la_CPPFLAGS = \
|
|
||||||
$(CLUTTER_CFLAGS) \
|
|
||||||
$(COGL_DEBUG_CFLAGS) \
|
|
||||||
$(CLUTTER_DEBUG_CFLAGS) \
|
|
||||||
$(MAINTAINER_CFLAGS)
|
|
||||||
libclutter_cogl_driver_la_SOURCES = \
|
|
||||||
cogl.c \
|
|
||||||
cogl-texture-driver.c \
|
|
||||||
cogl-context-driver.c \
|
|
||||||
cogl-context-driver.h \
|
|
||||||
cogl-gles2-wrapper.h \
|
|
||||||
cogl-program.h \
|
|
||||||
cogl-program.c \
|
|
||||||
cogl-feature-functions.h
|
|
||||||
|
|
||||||
if USE_GLES2_WRAPPER
|
|
||||||
libclutter_cogl_driver_la_SOURCES += \
|
|
||||||
cogl-gles2-wrapper.c \
|
|
||||||
cogl-fixed-vertex-shader.h \
|
|
||||||
cogl-fixed-vertex-shader.c \
|
|
||||||
cogl-fixed-fragment-shader.h \
|
|
||||||
cogl-fixed-fragment-shader.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
stringify.sh \
|
|
||||||
cogl-fixed-vertex-shader.glsl \
|
|
||||||
cogl-fixed-fragment-shader.glsl
|
|
||||||
|
|
||||||
BUILT_SOURCES = \
|
|
||||||
cogl-fixed-vertex-shader.h \
|
|
||||||
cogl-fixed-vertex-shader.c \
|
|
||||||
cogl-fixed-fragment-shader.h \
|
|
||||||
cogl-fixed-fragment-shader.c
|
|
||||||
|
|
||||||
%.h: $(srcdir)/%.glsl
|
|
||||||
/bin/sh $(srcdir)/stringify.sh -h $< > $@
|
|
||||||
%.c: $(srcdir)/%.glsl
|
|
||||||
/bin/sh $(srcdir)/stringify.sh $< > $@
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
|||||||
void
|
void
|
||||||
_cogl_create_context_driver (CoglContext *_context)
|
_cogl_create_context_driver (CoglContext *_context)
|
||||||
{
|
{
|
||||||
#include "cogl-feature-functions.h"
|
#include "cogl-feature-functions-gles.h"
|
||||||
|
|
||||||
/* Init the GLES2 wrapper */
|
/* Init the GLES2 wrapper */
|
||||||
#ifdef HAVE_COGL_GLES2
|
#ifdef HAVE_COGL_GLES2
|
@ -41,7 +41,7 @@
|
|||||||
typedef struct _CoglContextDriver
|
typedef struct _CoglContextDriver
|
||||||
{
|
{
|
||||||
/* This defines a list of function pointers */
|
/* This defines a list of function pointers */
|
||||||
#include "cogl-feature-functions.h"
|
#include "cogl-feature-functions-gles.h"
|
||||||
|
|
||||||
#ifdef HAVE_COGL_GLES2
|
#ifdef HAVE_COGL_GLES2
|
||||||
CoglGles2Wrapper gles2;
|
CoglGles2Wrapper gles2;
|
@ -50,7 +50,7 @@ _cogl_check_driver_valid (GError **error)
|
|||||||
#define COGL_FEATURE_END() \
|
#define COGL_FEATURE_END() \
|
||||||
{ NULL, 0 }, \
|
{ NULL, 0 }, \
|
||||||
};
|
};
|
||||||
#include "cogl-feature-functions.h"
|
#include "cogl-feature-functions-gles.h"
|
||||||
|
|
||||||
/* Define an array of features */
|
/* Define an array of features */
|
||||||
#undef COGL_FEATURE_BEGIN
|
#undef COGL_FEATURE_BEGIN
|
@ -25,7 +25,6 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <clutter/clutter-fixed.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include "cogl.h" /* needed for gl header include */
|
#include "cogl.h" /* needed for gl header include */
|
||||||
#include "cogl-internal.h"
|
#include "cogl-internal.h"
|
||||||
#include "cogl-program.h"
|
#include "cogl-program-gles.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "cogl-shader-private.h"
|
#include "cogl-shader-private.h"
|
||||||
#include "cogl-program.h"
|
#include "cogl-program-gles.h"
|
||||||
|
|
||||||
static void _cogl_program_free (CoglProgram *program);
|
static void _cogl_program_free (CoglProgram *program);
|
||||||
|
|
@ -1,46 +0,0 @@
|
|||||||
libclutterincludedir = $(includedir)/clutter-@CLUTTER_API_VERSION@/clutter/egl
|
|
||||||
libclutterinclude_HEADERS = clutter-egl.h clutter-egl-headers.h
|
|
||||||
|
|
||||||
INCLUDES = \
|
|
||||||
-DG_LOG_DOMAIN=\"ClutterEGL\" \
|
|
||||||
-DCLUTTER_COMPILATION \
|
|
||||||
-I$(top_srcdir) \
|
|
||||||
-I$(top_srcdir)/clutter \
|
|
||||||
-I$(top_srcdir)/clutter/cogl \
|
|
||||||
-I$(top_builddir)/clutter \
|
|
||||||
-I$(top_builddir)/clutter/cogl \
|
|
||||||
$(CLUTTER_CFLAGS) \
|
|
||||||
$(CLUTTER_DEBUG_CFLAGS) \
|
|
||||||
$(MAINTAINER_CFLAGS)
|
|
||||||
if SUPPORT_X11
|
|
||||||
INCLUDES += -I$(top_srcdir)/clutter/x11
|
|
||||||
endif
|
|
||||||
|
|
||||||
LDADD = $(CLUTTER_LIBS)
|
|
||||||
if SUPPORT_X11
|
|
||||||
LDADD += $(top_builddir)/clutter/x11/libclutter-x11.la
|
|
||||||
endif
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libclutter-egl.la
|
|
||||||
|
|
||||||
if SUPPORT_X11
|
|
||||||
libclutter_egl_la_DEPENDENCIES = \
|
|
||||||
$(top_builddir)/clutter/x11/libclutter-x11.la
|
|
||||||
endif
|
|
||||||
|
|
||||||
libclutter_egl_la_SOURCES = \
|
|
||||||
clutter-backend-egl.h \
|
|
||||||
clutter-backend-egl.c \
|
|
||||||
clutter-stage-egl.h \
|
|
||||||
clutter-stage-egl.c \
|
|
||||||
clutter-egl.h \
|
|
||||||
clutter-egl-headers.h
|
|
||||||
|
|
||||||
if USE_TSLIB
|
|
||||||
libclutter_egl_la_SOURCES += clutter-event-tslib.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
if SUPPORT_CEX100
|
|
||||||
libclutter_egl_la_SOURCES += clutter-backend-cex100.c clutter-backend-cex100.h
|
|
||||||
libclutterinclude_HEADERS += clutter-cex100.h
|
|
||||||
endif
|
|
@ -1,36 +0,0 @@
|
|||||||
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
||||||
|
|
||||||
libclutter_glx_includedir = $(includedir)/clutter-@CLUTTER_API_VERSION@/clutter/glx
|
|
||||||
libclutter_glx_include_HEADERS = clutter-glx.h clutter-glx-texture-pixmap.h
|
|
||||||
|
|
||||||
INCLUDES = \
|
|
||||||
-DG_LOG_DOMAIN=\"ClutterGLX\" \
|
|
||||||
-I$(top_srcdir) \
|
|
||||||
-I$(top_srcdir)/clutter \
|
|
||||||
-I$(top_srcdir)/clutter/cogl \
|
|
||||||
-I$(top_srcdir)/clutter/x11 \
|
|
||||||
-I$(top_builddir)/clutter \
|
|
||||||
-I$(top_builddir)/clutter/cogl \
|
|
||||||
-DCLUTTER_COMPILATION \
|
|
||||||
-DCOGL_ENABLE_EXPERIMENTAL_API \
|
|
||||||
$(CLUTTER_CFLAGS) \
|
|
||||||
$(CLUTTER_DEBUG_CFLAGS) \
|
|
||||||
$(MAINTAINER_CFLAGS)
|
|
||||||
|
|
||||||
LDADD = $(CLUTTER_LIBS) $(top_builddir)/clutter/x11/libclutter-x11.la
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libclutter-glx.la
|
|
||||||
|
|
||||||
libclutter_glx_la_DEPENDENCIES = \
|
|
||||||
$(top_builddir)/clutter/x11/libclutter-x11.la
|
|
||||||
|
|
||||||
libclutter_glx_la_SOURCES = \
|
|
||||||
clutter-backend-glx.h \
|
|
||||||
clutter-backend-glx.c \
|
|
||||||
clutter-event-glx.h \
|
|
||||||
clutter-event-glx.c \
|
|
||||||
clutter-stage-glx.h \
|
|
||||||
clutter-stage-glx.c \
|
|
||||||
clutter-glx-texture-pixmap.h \
|
|
||||||
clutter-glx-texture-pixmap.c \
|
|
||||||
clutter-glx.h
|
|
@ -1,39 +0,0 @@
|
|||||||
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
||||||
|
|
||||||
source_c = \
|
|
||||||
$(srcdir)/json-array.c \
|
|
||||||
$(srcdir)/json-generator.c \
|
|
||||||
$(srcdir)/json-marshal.c \
|
|
||||||
$(srcdir)/json-node.c \
|
|
||||||
$(srcdir)/json-object.c \
|
|
||||||
$(srcdir)/json-parser.c
|
|
||||||
|
|
||||||
source_h = \
|
|
||||||
$(top_srcdir)/clutter/json/json-generator.h \
|
|
||||||
$(top_srcdir)/clutter/json/json-glib.h \
|
|
||||||
$(top_srcdir)/clutter/json/json-marshal.h \
|
|
||||||
$(top_srcdir)/clutter/json/json-parser.h \
|
|
||||||
$(top_srcdir)/clutter/json/json-types.h
|
|
||||||
|
|
||||||
source_h_priv = \
|
|
||||||
$(top_srcdir)/clutter/json/json-types-private.h
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libclutter-json.la
|
|
||||||
|
|
||||||
INCLUDES = \
|
|
||||||
-I$(top_srcdir) \
|
|
||||||
-DG_DISABLE_SINGLE_INCLUDES \
|
|
||||||
-DG_LOG_DOMAIN=\"Clutter-Json\" \
|
|
||||||
-DG_DISABLE_DEPRECATED \
|
|
||||||
-DJSON_COMPILATION
|
|
||||||
|
|
||||||
AM_CFLAGS = $(MAINTAINER_CFLAGS)
|
|
||||||
AM_CPPFLAGS = $(CLUTTER_CFLAGS) $(CLUTTER_DEBUG_CFLAGS)
|
|
||||||
|
|
||||||
clutterjsondir = $(includedir)/clutter-@CLUTTER_API_VERSION@/clutter/json
|
|
||||||
clutterjson_HEADERS = $(source_h)
|
|
||||||
|
|
||||||
libclutter_json_la_SOURCES = $(source_c) $(source_h) $(source_h_priv)
|
|
||||||
|
|
||||||
noinst_DATA =
|
|
||||||
CLEANFILES =
|
|
@ -1,38 +0,0 @@
|
|||||||
libclutterincludedir = $(includedir)/clutter-@CLUTTER_API_VERSION@/clutter
|
|
||||||
libclutterinclude_HEADERS = clutter-win32.h
|
|
||||||
|
|
||||||
clutter-win32-$(CLUTTER_API_VERSION).pc: clutter-win32.pc
|
|
||||||
@cp -f $< $(@F)
|
|
||||||
|
|
||||||
pkgconfig_DATA = clutter-win32-@CLUTTER_API_VERSION@.pc
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
|
||||||
|
|
||||||
INCLUDES = \
|
|
||||||
-DG_LOG_DOMAIN=\"ClutterWin32\" \
|
|
||||||
-DCLUTTER_COMPILATION \
|
|
||||||
-I$(top_srcdir) \
|
|
||||||
-I$(top_srcdir)/clutter \
|
|
||||||
-I$(top_srcdir)/clutter/cogl \
|
|
||||||
-I$(top_builddir)/clutter \
|
|
||||||
-I$(top_builddir)/clutter/cogl \
|
|
||||||
$(CLUTTER_CFLAGS) \
|
|
||||||
$(CLUTTER_DEBUG_CFLAGS) \
|
|
||||||
$(MAINTAINER_CFLAGS)
|
|
||||||
|
|
||||||
LDADD = $(CLUTTER_LIBS)
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libclutter-win32.la
|
|
||||||
|
|
||||||
libclutter_win32_la_SOURCES = \
|
|
||||||
clutter-backend-win32.h \
|
|
||||||
clutter-backend-win32.c \
|
|
||||||
clutter-device-manager-win32.h \
|
|
||||||
clutter-device-manager-win32.c \
|
|
||||||
clutter-event-win32.c \
|
|
||||||
clutter-stage-win32.h \
|
|
||||||
clutter-stage-win32.c \
|
|
||||||
clutter-win32.h
|
|
||||||
|
|
||||||
CLEANFILES = clutter-win32-$(CLUTTER_API_VERSION).pc
|
|
||||||
|
|
||||||
EXTRA_DIST = clutter-win32.pc.in resources.rc invisible-cursor.cur
|
|
@ -1,16 +0,0 @@
|
|||||||
prefix=@prefix@
|
|
||||||
exec_prefix=@exec_prefix@
|
|
||||||
libdir=@libdir@
|
|
||||||
includedir=@includedir@
|
|
||||||
apiversion=@CLUTTER_API_VERSION@
|
|
||||||
requires=@CLUTTER_REQUIRES@
|
|
||||||
backend=@CLUTTER_WINSYS@ #only kept for backward compatability
|
|
||||||
winsys=@CLUTTER_WINSYS@
|
|
||||||
cogl_driver=@COGL_DRIVER@
|
|
||||||
|
|
||||||
Name: Clutter
|
|
||||||
Description: Clutter Core Library (${winsys}/${cogl_driver} backend)
|
|
||||||
Version: @VERSION@
|
|
||||||
Libs: -L${libdir} -lclutter-${winsys}-${apiversion}
|
|
||||||
Cflags: -I${includedir}/clutter-${apiversion}
|
|
||||||
Requires: ${requires}
|
|
@ -1,74 +0,0 @@
|
|||||||
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
||||||
|
|
||||||
NULL =
|
|
||||||
|
|
||||||
INCLUDES = \
|
|
||||||
-DG_LOG_DOMAIN=\"ClutterX11\" \
|
|
||||||
-DCLUTTER_COMPILATION \
|
|
||||||
-DCOGL_ENABLE_EXPERIMENTAL_API \
|
|
||||||
-I$(top_srcdir) \
|
|
||||||
-I$(top_srcdir)/clutter \
|
|
||||||
-I$(top_srcdir)/clutter/cogl \
|
|
||||||
-I$(srcdir)/xsettings \
|
|
||||||
-I$(top_builddir)/clutter \
|
|
||||||
-I$(top_builddir)/clutter/cogl \
|
|
||||||
$(CLUTTER_CFLAGS) \
|
|
||||||
$(CLUTTER_DEBUG_CFLAGS) \
|
|
||||||
$(MAINTAINER_CFLAGS)
|
|
||||||
|
|
||||||
LDADD = $(CLUTTER_LIBS)
|
|
||||||
|
|
||||||
source_h = \
|
|
||||||
$(top_srcdir)/clutter/x11/clutter-x11-texture-pixmap.h \
|
|
||||||
$(top_srcdir)/clutter/x11/clutter-x11.h
|
|
||||||
|
|
||||||
BUILT_SOURCES =
|
|
||||||
|
|
||||||
EXTRA_DIST =
|
|
||||||
|
|
||||||
CLEANFILES =
|
|
||||||
|
|
||||||
DISTCLEANFILES =
|
|
||||||
|
|
||||||
# glib-mkenums rules
|
|
||||||
glib_enum_h = clutter-x11-enum-types.h
|
|
||||||
glib_enum_c = clutter-x11-enum-types.c
|
|
||||||
glib_enum_headers = $(source_h)
|
|
||||||
include $(top_srcdir)/build/autotools/Makefile.am.enums
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libclutter-x11.la
|
|
||||||
|
|
||||||
libclutter_x11_la_SOURCES = \
|
|
||||||
$(srcdir)/clutter-backend-x11.h \
|
|
||||||
$(srcdir)/clutter-backend-x11.c \
|
|
||||||
$(srcdir)/clutter-device-manager-x11.h \
|
|
||||||
$(srcdir)/clutter-device-manager-x11.c \
|
|
||||||
$(srcdir)/clutter-event-x11.c \
|
|
||||||
$(srcdir)/clutter-input-device-x11.h \
|
|
||||||
$(srcdir)/clutter-input-device-x11.c \
|
|
||||||
$(srcdir)/clutter-keymap-x11.h \
|
|
||||||
$(srcdir)/clutter-keymap-x11.c \
|
|
||||||
$(srcdir)/clutter-settings-x11.h \
|
|
||||||
$(srcdir)/clutter-stage-x11.h \
|
|
||||||
$(srcdir)/clutter-stage-x11.c \
|
|
||||||
$(srcdir)/clutter-x11-texture-pixmap.c \
|
|
||||||
$(srcdir)/xsettings/xsettings-client.c \
|
|
||||||
$(srcdir)/xsettings/xsettings-client.h \
|
|
||||||
$(srcdir)/xsettings/xsettings-common.c \
|
|
||||||
$(srcdir)/xsettings/xsettings-common.h \
|
|
||||||
clutter-x11-enum-types.h \
|
|
||||||
clutter-x11-enum-types.c \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
libclutter_x11_includedir = $(includedir)/clutter-@CLUTTER_API_VERSION@/clutter/x11
|
|
||||||
libclutter_x11_include_HEADERS = $(source_h) clutter-x11-enum-types.h
|
|
||||||
|
|
||||||
clutter-x11-$(CLUTTER_API_VERSION).pc: clutter-x11.pc
|
|
||||||
@cp -f $< $(@F)
|
|
||||||
|
|
||||||
pkgconfig_DATA = clutter-x11-@CLUTTER_API_VERSION@.pc
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
|
||||||
|
|
||||||
CLEANFILES += clutter-x11-$(CLUTTER_API_VERSION).pc
|
|
||||||
|
|
||||||
EXTRA_DIST += clutter-x11.pc.in
|
|
@ -55,11 +55,12 @@
|
|||||||
#include "cogl/cogl.h"
|
#include "cogl/cogl.h"
|
||||||
#include "cogl/cogl-internal.h"
|
#include "cogl/cogl-internal.h"
|
||||||
|
|
||||||
#include "../clutter-debug.h"
|
#include "clutter-backend.h"
|
||||||
#include "../clutter-device-manager.h"
|
#include "clutter-debug.h"
|
||||||
#include "../clutter-event.h"
|
#include "clutter-device-manager.h"
|
||||||
#include "../clutter-main.h"
|
#include "clutter-event.h"
|
||||||
#include "../clutter-private.h"
|
#include "clutter-main.h"
|
||||||
|
#include "clutter-private.h"
|
||||||
|
|
||||||
G_DEFINE_TYPE (ClutterBackendX11, clutter_backend_x11, CLUTTER_TYPE_BACKEND);
|
G_DEFINE_TYPE (ClutterBackendX11, clutter_backend_x11, CLUTTER_TYPE_BACKEND);
|
||||||
|
|
||||||
@ -285,11 +286,14 @@ clutter_backend_x11_post_parse (ClutterBackend *backend,
|
|||||||
|
|
||||||
if (backend_x11->xdpy)
|
if (backend_x11->xdpy)
|
||||||
{
|
{
|
||||||
|
ClutterSettings *settings;
|
||||||
Atom atoms[n_atom_names];
|
Atom atoms[n_atom_names];
|
||||||
double dpi;
|
double dpi;
|
||||||
|
|
||||||
CLUTTER_NOTE (BACKEND, "Getting the X screen");
|
CLUTTER_NOTE (BACKEND, "Getting the X screen");
|
||||||
|
|
||||||
|
settings = clutter_settings_get_default ();
|
||||||
|
|
||||||
/* Cogl needs to know the Xlib display connection for
|
/* Cogl needs to know the Xlib display connection for
|
||||||
CoglTexturePixmapX11 */
|
CoglTexturePixmapX11 */
|
||||||
_cogl_xlib_set_display (backend_x11->xdpy);
|
_cogl_xlib_set_display (backend_x11->xdpy);
|
||||||
@ -310,7 +314,7 @@ clutter_backend_x11_post_parse (ClutterBackend *backend,
|
|||||||
dpi = (((double) DisplayHeight (backend_x11->xdpy, backend_x11->xscreen_num) * 25.4)
|
dpi = (((double) DisplayHeight (backend_x11->xdpy, backend_x11->xscreen_num) * 25.4)
|
||||||
/ (double) DisplayHeightMM (backend_x11->xdpy, backend_x11->xscreen_num));
|
/ (double) DisplayHeightMM (backend_x11->xdpy, backend_x11->xscreen_num));
|
||||||
|
|
||||||
clutter_backend_set_resolution (backend, dpi);
|
g_object_set (settings, "font-dpi", (int) dpi * 1024, NULL);
|
||||||
|
|
||||||
/* register input devices */
|
/* register input devices */
|
||||||
backend_x11->device_manager =
|
backend_x11->device_manager =
|
||||||
|
@ -1,31 +0,0 @@
|
|||||||
/*** BEGIN file-header ***/
|
|
||||||
#include "clutter-x11-enum-types.h"
|
|
||||||
/*** END file-header ***/
|
|
||||||
|
|
||||||
/*** BEGIN file-production ***/
|
|
||||||
/* enumerations from "@filename@" */
|
|
||||||
#include "@filename@"
|
|
||||||
/*** END file-production ***/
|
|
||||||
|
|
||||||
/*** BEGIN value-header ***/
|
|
||||||
GType
|
|
||||||
@enum_name@_get_type(void) {
|
|
||||||
static GType etype = 0;
|
|
||||||
if (G_UNLIKELY (!etype))
|
|
||||||
{
|
|
||||||
static const G@Type@Value values[] = {
|
|
||||||
/*** END value-header ***/
|
|
||||||
|
|
||||||
/*** BEGIN value-production ***/
|
|
||||||
{ @VALUENAME@, "@VALUENAME@", "@valuenick@" },
|
|
||||||
/*** END value-production ***/
|
|
||||||
|
|
||||||
/*** BEGIN value-tail ***/
|
|
||||||
{ 0, NULL, NULL }
|
|
||||||
};
|
|
||||||
etype = g_@type@_register_static (g_intern_static_string ("@EnumName@"), values);
|
|
||||||
}
|
|
||||||
return etype;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*** END value-tail ***/
|
|
@ -1,26 +0,0 @@
|
|||||||
/*** BEGIN file-header ***/
|
|
||||||
#ifndef __CLUTTER_X11_ENUM_TYPES_H__
|
|
||||||
#define __CLUTTER_X11_ENUM_TYPES_H__
|
|
||||||
|
|
||||||
#include <glib-object.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*** END file-header ***/
|
|
||||||
|
|
||||||
/*** BEGIN file-production ***/
|
|
||||||
/* enumerations from "@filename@" */
|
|
||||||
/*** END file-production ***/
|
|
||||||
|
|
||||||
/*** BEGIN file-tail ***/
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* !__CLUTTER_X11_ENUM_TYPES_H__ */
|
|
||||||
/*** END file-tail ***/
|
|
||||||
|
|
||||||
/*** BEGIN value-header ***/
|
|
||||||
GType @enum_name@_get_type (void) G_GNUC_CONST;
|
|
||||||
#define CLUTTER_X11_TYPE_@ENUMSHORT@ (@enum_name@_get_type())
|
|
||||||
|
|
||||||
/*** END value-header ***/
|
|
||||||
|
|
@ -42,7 +42,6 @@
|
|||||||
#include <X11/Xatom.h>
|
#include <X11/Xatom.h>
|
||||||
#include <X11/Xutil.h>
|
#include <X11/Xutil.h>
|
||||||
#include <clutter/clutter.h>
|
#include <clutter/clutter.h>
|
||||||
#include <clutter/x11/clutter-x11-enum-types.h>
|
|
||||||
#include <clutter/x11/clutter-x11-texture-pixmap.h>
|
#include <clutter/x11/clutter-x11-texture-pixmap.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
prefix=@prefix@
|
|
||||||
exec_prefix=@exec_prefix@
|
|
||||||
libdir=@libdir@
|
|
||||||
includedir=@includedir@
|
|
||||||
apiversion=@CLUTTER_API_VERSION@
|
|
||||||
requires=@CLUTTER_REQUIRES@
|
|
||||||
backend=@CLUTTER_WINSYS@ #only kept for backward compatability
|
|
||||||
winsys=@CLUTTER_WINSYS@
|
|
||||||
cogl_driver=@COGL_DRIVER@
|
|
||||||
|
|
||||||
Name: Clutter
|
|
||||||
Description: Clutter Core Library (${winsys}/${cogl_driver} backend)
|
|
||||||
Version: @VERSION@
|
|
||||||
Libs: -L${libdir} -lclutter-${winsys}-${apiversion}
|
|
||||||
Cflags: -I${includedir}/clutter-${apiversion}
|
|
||||||
Requires: ${requires}
|
|
102
configure.ac
102
configure.ac
@ -413,6 +413,7 @@ AM_CONDITIONAL(SUPPORT_EGL_PLATFORM_POWERVR_NULL, [test "x$SUPPORT_EGL_PLATFORM_
|
|||||||
AM_CONDITIONAL(SUPPORT_EGL_PLATFORM_POWERVR_GDL, [test "x$SUPPORT_EGL_PLATFORM_POWERVR_GDL" = "x1"])
|
AM_CONDITIONAL(SUPPORT_EGL_PLATFORM_POWERVR_GDL, [test "x$SUPPORT_EGL_PLATFORM_POWERVR_GDL" = "x1"])
|
||||||
AM_CONDITIONAL(SUPPORT_EGL_PLATFORM_FRUITY, [test "x$CLUTTER_WINSYS" = "xfruity"])
|
AM_CONDITIONAL(SUPPORT_EGL_PLATFORM_FRUITY, [test "x$CLUTTER_WINSYS" = "xfruity"])
|
||||||
AM_CONDITIONAL(SUPPORT_OSX, [test "x$CLUTTER_WINSYS" = "xosx"])
|
AM_CONDITIONAL(SUPPORT_OSX, [test "x$CLUTTER_WINSYS" = "xosx"])
|
||||||
|
AM_CONDITIONAL(SUPPORT_FRUITY, [test "x$CLUTTER_WINSYS" = "xfruity"])
|
||||||
AM_CONDITIONAL(SUPPORT_WIN32, [test "x$CLUTTER_WINSYS" = "xwin32"])
|
AM_CONDITIONAL(SUPPORT_WIN32, [test "x$CLUTTER_WINSYS" = "xwin32"])
|
||||||
AM_CONDITIONAL(SUPPORT_CEX100, [test "x$SUPPORT_EGL_PLATFORM_POWERVR_GDL" = "x1"])
|
AM_CONDITIONAL(SUPPORT_CEX100, [test "x$SUPPORT_EGL_PLATFORM_POWERVR_GDL" = "x1"])
|
||||||
|
|
||||||
@ -581,6 +582,8 @@ for x in $cogl_gl_headers; do
|
|||||||
done;
|
done;
|
||||||
AC_SUBST(COGL_GL_HEADER_INCLUDES)
|
AC_SUBST(COGL_GL_HEADER_INCLUDES)
|
||||||
|
|
||||||
|
AM_CONDITIONAL([COGL_DRIVER_GLES], [test "x$COGL_DRIVER" = "xgles"])
|
||||||
|
AM_CONDITIONAL([COGL_DRIVER_GL], [test "x$COGL_DRIVER" = "xgl"])
|
||||||
|
|
||||||
dnl === Clutter substitutions =================================================
|
dnl === Clutter substitutions =================================================
|
||||||
# Eventually the idea of a winsys should be hidden from Clutter and moved
|
# Eventually the idea of a winsys should be hidden from Clutter and moved
|
||||||
@ -1106,58 +1109,53 @@ AS_ALL_LINGUAS
|
|||||||
dnl ===========================================================================
|
dnl ===========================================================================
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
Makefile
|
Makefile
|
||||||
build/Makefile
|
|
||||||
build/autotools/Makefile
|
build/Makefile
|
||||||
build/mingw/Makefile
|
build/autotools/Makefile
|
||||||
clutter/Makefile
|
build/mingw/Makefile
|
||||||
clutter/clutter-version.h
|
|
||||||
clutter/clutter-json.h
|
clutter/Makefile
|
||||||
clutter/x11/Makefile
|
clutter/clutter-version.h
|
||||||
clutter/x11/clutter-x11.pc
|
clutter/clutter-json.h
|
||||||
clutter/glx/Makefile
|
clutter/clutter-$CLUTTER_API_VERSION.pc:clutter/clutter.pc.in
|
||||||
clutter/egl/Makefile
|
|
||||||
clutter/egl/clutter-cex100.h
|
clutter/cally/cally-$CLUTTER_API_VERSION.pc:clutter/cally/cally.pc.in
|
||||||
clutter/fruity/Makefile
|
|
||||||
clutter/osx/Makefile
|
clutter/cogl/Makefile
|
||||||
clutter/win32/Makefile
|
clutter/cogl/cogl/Makefile
|
||||||
clutter/win32/clutter-win32.pc
|
clutter/cogl/cogl/cogl-defines.h
|
||||||
clutter/cally/Makefile
|
clutter/cogl/cogl/cogl-$CLUTTER_API_VERSION.pc:clutter/cogl/cogl/cogl.pc.in
|
||||||
clutter/cally/cally.pc
|
clutter/cogl/pango/Makefile
|
||||||
clutter/cogl/Makefile
|
|
||||||
clutter/cogl/cogl/Makefile
|
clutter/egl/clutter-cex100.h
|
||||||
clutter/cogl/cogl/cogl-defines.h
|
|
||||||
clutter/cogl/cogl/cogl.pc
|
tests/Makefile
|
||||||
clutter/cogl/cogl/driver/Makefile
|
tests/accessibility/Makefile
|
||||||
clutter/cogl/cogl/driver/gl/Makefile
|
tests/conform/Makefile
|
||||||
clutter/cogl/cogl/driver/gles/Makefile
|
tests/conform/test-launcher.sh
|
||||||
clutter/cogl/pango/Makefile
|
tests/data/Makefile
|
||||||
clutter/json/Makefile
|
tests/interactive/Makefile
|
||||||
tests/Makefile
|
tests/interactive/wrapper.sh
|
||||||
tests/accessibility/Makefile
|
tests/micro-bench/Makefile
|
||||||
tests/conform/Makefile
|
tests/tools/Makefile
|
||||||
tests/conform/test-launcher.sh
|
|
||||||
tests/data/Makefile
|
doc/Makefile
|
||||||
tests/interactive/Makefile
|
doc/reference/Makefile
|
||||||
tests/interactive/wrapper.sh
|
doc/reference/clutter/Makefile
|
||||||
tests/micro-bench/Makefile
|
doc/reference/clutter/clutter-docs.xml
|
||||||
tests/tools/Makefile
|
doc/reference/cogl/Makefile
|
||||||
doc/Makefile
|
doc/reference/cogl/cogl-docs.xml
|
||||||
doc/reference/Makefile
|
doc/reference/cally/Makefile
|
||||||
doc/reference/clutter/Makefile
|
doc/reference/cally/cally-docs.xml
|
||||||
doc/reference/clutter/clutter-docs.xml
|
doc/common/Makefile
|
||||||
doc/reference/cogl/Makefile
|
doc/manual/Makefile
|
||||||
doc/reference/cogl/cogl-docs.xml
|
doc/manual/clutter-manual.xml
|
||||||
doc/reference/cally/Makefile
|
doc/cookbook/Makefile
|
||||||
doc/reference/cally/cally-docs.xml
|
doc/cookbook/clutter-cookbook.xml
|
||||||
doc/common/Makefile
|
doc/cookbook/examples/Makefile
|
||||||
doc/manual/Makefile
|
|
||||||
doc/manual/clutter-manual.xml
|
po/Makefile.in
|
||||||
doc/cookbook/Makefile
|
|
||||||
doc/cookbook/clutter-cookbook.xml
|
|
||||||
doc/cookbook/examples/Makefile
|
|
||||||
po/Makefile.in
|
|
||||||
clutter.pc
|
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
Loading…
Reference in New Issue
Block a user