2008-04-25 09:37:36 -04:00
|
|
|
SUBDIRS = common $(CLUTTER_COGL)
|
2007-03-26 19:18:39 -04:00
|
|
|
|
2009-02-12 07:42:58 -05:00
|
|
|
BUILT_SOURCES = cogl.h
|
|
|
|
|
2009-02-28 12:54:27 -05:00
|
|
|
EXTRA_DIST = cogl.h.in cogl.pc.in
|
2007-03-27 17:09:11 -04:00
|
|
|
|
2008-04-28 12:57:44 -04:00
|
|
|
DIST_SUBDIRS = common gl gles
|
2009-02-28 12:54:27 -05:00
|
|
|
|
|
|
|
pc_files = \
|
|
|
|
cogl-$(CLUTTER_COGL)-$(CLUTTER_API_VERSION).pc \
|
|
|
|
cogl-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
|
|
|
cogl-$(CLUTTER_API_VERSION).pc: cogl.pc
|
|
|
|
$(QUIET_GEN)cp -f $< $(@F)
|
|
|
|
|
|
|
|
cogl-$(CLUTTER_COGL)-$(CLUTTER_API_VERSION).pc: cogl.pc
|
|
|
|
$(QUIET_GEN)cp -f $< $(@F)
|
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = $(pc_files)
|
|
|
|
|
|
|
|
CLEANFILES = $(pc_files)
|
2009-05-06 06:18:31 -04:00
|
|
|
|
|
|
|
AM_CPPFLAGS = $(CLUTTER_CFLAGS) $(CLUTTER_DEBUG_CFLAGS) $(MAINTAINER_CFLAGS)
|
|
|
|
|
|
|
|
if HAVE_INTROSPECTION
|
|
|
|
|
|
|
|
cogl_headers = \
|
|
|
|
$(top_srcdir)/clutter/cogl/cogl-bitmap.h \
|
|
|
|
$(top_srcdir)/clutter/cogl/cogl-color.h \
|
|
|
|
$(top_srcdir)/clutter/cogl/cogl-debug.h \
|
|
|
|
$(top_srcdir)/clutter/cogl/cogl-fixed.h \
|
|
|
|
$(top_srcdir)/clutter/cogl/cogl-material.h \
|
|
|
|
$(top_srcdir)/clutter/cogl/cogl-matrix.h \
|
|
|
|
$(top_srcdir)/clutter/cogl/cogl-offscreen.h \
|
|
|
|
$(top_srcdir)/clutter/cogl/cogl-path.h \
|
|
|
|
$(top_srcdir)/clutter/cogl/cogl-shader.h \
|
|
|
|
$(top_srcdir)/clutter/cogl/cogl-texture.h \
|
|
|
|
$(top_srcdir)/clutter/cogl/cogl-types.h \
|
|
|
|
$(top_srcdir)/clutter/cogl/cogl-vertex-buffer.h
|
|
|
|
|
|
|
|
Cogl-@CLUTTER_API_VERSION@.gir: $(INTROSPECTION_SCANNER) $(CLUTTER_COGL)/libclutter-cogl.la
|
|
|
|
$(QUIET_GEN)$(INTROSPECTION_SCANNER) -v \
|
|
|
|
--namespace Cogl --nsversion=@CLUTTER_API_VERSION@ \
|
|
|
|
-I$(top_srcdir)/clutter/cogl \
|
|
|
|
-I$(top_srcdir)/clutter/cogl/common \
|
|
|
|
-I$(top_srcdir)/clutter/cogl/@CLUTTER_COGL@ \
|
|
|
|
-I$(top_builddir)/clutter \
|
|
|
|
-DCLUTTER_COMPILATION \
|
|
|
|
--include=GL-1.0 \
|
|
|
|
--include=GObject-2.0 \
|
|
|
|
--library=clutter-@CLUTTER_FLAVOUR@-@CLUTTER_API_VERSION@ \
|
|
|
|
--libtool="$(top_builddir)/doltlibtool" \
|
|
|
|
--pkg gobject-2.0 \
|
|
|
|
--output $@ \
|
|
|
|
$(top_builddir)/clutter/cogl/cogl-defines-@CLUTTER_COGL@.h \
|
|
|
|
$(top_builddir)/clutter/cogl/cogl.h \
|
|
|
|
$(cogl_headers)
|
|
|
|
|
|
|
|
BUILT_GIRSOURCES = Cogl-@CLUTTER_API_VERSION@.gir
|
|
|
|
|
|
|
|
girdir = $(datadir)/gir-1.0
|
|
|
|
gir_DATA = $(BUILT_GIRSOURCES)
|
|
|
|
|
|
|
|
#typelibsdir = $(libdir)/girepository-1.0
|
|
|
|
#typelibs_DATA = Cogl-@CLUTTER_API_VERSION@.typelib
|
|
|
|
|
|
|
|
#%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
|
|
|
# $(QUIET_GEN)$(DEBUG) $(INTROSPECTION_COMPILER) \
|
|
|
|
# --includedir=$(top_builddir)/clutter \
|
|
|
|
# --includedir=$(top_srcdir)/clutter \
|
|
|
|
# --includedir=$(srcdir) \
|
|
|
|
# --includedir=. \
|
|
|
|
# $(INTROSPECTION_COMPILER_OPTS) \
|
|
|
|
# $< -o $(@F)
|
|
|
|
|
|
|
|
CLEANFILES += $(BUILT_GIRSOURCES) #$(typelibs_DATA)
|
|
|
|
|
|
|
|
endif
|